[32780] trunk/dports/mail/assp

ryandesign at macports.org ryandesign at macports.org
Sun Jan 13 03:11:53 PST 2008


Revision: 32780
          http://trac.macosforge.org/projects/macports/changeset/32780
Author:   ryandesign at macports.org
Date:     2008-01-13 03:11:51 -0800 (Sun, 13 Jan 2008)

Log Message:
-----------
assp: fix names of patchfiles to match recommendations

Modified Paths:
--------------
    trunk/dports/mail/assp/Portfile

Added Paths:
-----------
    trunk/dports/mail/assp/files/patch-assp.pl.diff

Removed Paths:
-------------
    trunk/dports/mail/assp/files/patch-assp.pl

Modified: trunk/dports/mail/assp/Portfile
===================================================================
--- trunk/dports/mail/assp/Portfile	2008-01-13 11:10:50 UTC (rev 32779)
+++ trunk/dports/mail/assp/Portfile	2008-01-13 11:11:51 UTC (rev 32780)
@@ -36,7 +36,7 @@
 		reinplace "s%\r%%" $file
 	}
 }
-patchfiles		patch-assp.pl
+patchfiles		patch-assp.pl.diff
 
 configure {
 	reinplace "s%^#!.*perl%#![binaryInPath perl]%" \

Deleted: trunk/dports/mail/assp/files/patch-assp.pl
===================================================================
--- trunk/dports/mail/assp/files/patch-assp.pl	2008-01-13 11:10:50 UTC (rev 32779)
+++ trunk/dports/mail/assp/files/patch-assp.pl	2008-01-13 11:11:51 UTC (rev 32780)
@@ -1,24 +0,0 @@
---- assp.pl.orig	Thu Jan 13 23:25:31 2005
-+++ assp.pl	Thu Jan 13 23:26:49 2005
-@@ -730,18 +730,19 @@
-   if($(+0==$gid) {
-    mlog('',"Switched real gid to $gid ($gname)");
-   } else {
--   mlog('',"Failed to switch real gid to $gid ($gname) -- real uid=$(");
-+   mlog('',"Failed to switch real gid to $gid ($gname) -- real gid=$(");
-   }
-  }
-  if($uid) {
-   # do it both ways so linux and bsd are happy
--  $<=$uid; $>=$uid; $<=$uid; $>=$uid;
-+  $>=$uid;
-   if($>==$uid) {
-   mlog('',"Switched effective uid to $uid ($uname)");
-   } else {
-    mlog('',"Failed to switch effective uid to $uid ($uname) -- real uid=$< -- quitting");
-    die "Failed to switch effective uid to $uid ($uname) -- real uid=$< -- quitting";
-   }
-+  $<=$uid;
-   if($<==$uid) {
-    mlog('',"Switched real uid to $uid ($uname)");
-   } else {

Copied: trunk/dports/mail/assp/files/patch-assp.pl.diff (from rev 32740, trunk/dports/mail/assp/files/patch-assp.pl)
===================================================================
--- trunk/dports/mail/assp/files/patch-assp.pl.diff	                        (rev 0)
+++ trunk/dports/mail/assp/files/patch-assp.pl.diff	2008-01-13 11:11:51 UTC (rev 32780)
@@ -0,0 +1,24 @@
+--- assp.pl.orig	Thu Jan 13 23:25:31 2005
++++ assp.pl	Thu Jan 13 23:26:49 2005
+@@ -730,18 +730,19 @@
+   if($(+0==$gid) {
+    mlog('',"Switched real gid to $gid ($gname)");
+   } else {
+-   mlog('',"Failed to switch real gid to $gid ($gname) -- real uid=$(");
++   mlog('',"Failed to switch real gid to $gid ($gname) -- real gid=$(");
+   }
+  }
+  if($uid) {
+   # do it both ways so linux and bsd are happy
+-  $<=$uid; $>=$uid; $<=$uid; $>=$uid;
++  $>=$uid;
+   if($>==$uid) {
+   mlog('',"Switched effective uid to $uid ($uname)");
+   } else {
+    mlog('',"Failed to switch effective uid to $uid ($uname) -- real uid=$< -- quitting");
+    die "Failed to switch effective uid to $uid ($uname) -- real uid=$< -- quitting";
+   }
++  $<=$uid;
+   if($<==$uid) {
+    mlog('',"Switched real uid to $uid ($uname)");
+   } else {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080113/142f5799/attachment.html


More information about the macports-changes mailing list