[56541] trunk/dports/net/vsftpd

toby at macports.org toby at macports.org
Sat Aug 29 15:35:23 PDT 2009


Revision: 56541
          http://trac.macports.org/changeset/56541
Author:   toby at macports.org
Date:     2009-08-29 15:35:20 -0700 (Sat, 29 Aug 2009)
Log Message:
-----------
#20898 (vsftpd 2.0.7 on OS 10.6)

Modified Paths:
--------------
    trunk/dports/net/vsftpd/Portfile
    trunk/dports/net/vsftpd/files/patch-sysdeputil.c.diff

Added Paths:
-----------
    trunk/dports/net/vsftpd/files/oldpam.diff

Modified: trunk/dports/net/vsftpd/Portfile
===================================================================
--- trunk/dports/net/vsftpd/Portfile	2009-08-29 22:24:03 UTC (rev 56540)
+++ trunk/dports/net/vsftpd/Portfile	2009-08-29 22:35:20 UTC (rev 56541)
@@ -74,3 +74,7 @@
 
     build.env-append	LDFLAGS=${configure.ldflags}
 }
+
+platform darwin 9 {
+	patchfiles-append oldpam.diff
+}

Added: trunk/dports/net/vsftpd/files/oldpam.diff
===================================================================
--- trunk/dports/net/vsftpd/files/oldpam.diff	                        (rev 0)
+++ trunk/dports/net/vsftpd/files/oldpam.diff	2009-08-29 22:35:20 UTC (rev 56541)
@@ -0,0 +1,11 @@
+--- sysdeputil.c.orig	2005-04-16 17:14:08.000000000 -0400
++++ sysdeputil.c	2005-04-16 17:15:02.000000000 -0400
+@@ -144,7 +144,7 @@
+ /* END config */
+ 
+ /* PAM support - we include our own dummy version if the system lacks this */
+-#include <security/pam_appl.h>
++#include <pam/pam_appl.h>
+ 
+ /* No PAM? Try getspnam() with a getpwnam() fallback */
+ #ifndef VSF_SYSDEP_HAVE_PAM

Modified: trunk/dports/net/vsftpd/files/patch-sysdeputil.c.diff
===================================================================
--- trunk/dports/net/vsftpd/files/patch-sysdeputil.c.diff	2009-08-29 22:24:03 UTC (rev 56540)
+++ trunk/dports/net/vsftpd/files/patch-sysdeputil.c.diff	2009-08-29 22:35:20 UTC (rev 56541)
@@ -11,12 +11,3 @@
  /* BEGIN config */
  #if defined(__linux__) && !defined(__ia64__) && !defined(__s390__)
    #define VSF_SYSDEP_TRY_LINUX_SETPROCTITLE_HACK
-@@ -139,7 +143,7 @@
- /* END config */
- 
- /* PAM support - we include our own dummy version if the system lacks this */
--#include <security/pam_appl.h>
-+#include <pam/pam_appl.h>
- 
- /* No PAM? Try getspnam() with a getpwnam() fallback */
- #ifndef VSF_SYSDEP_HAVE_PAM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090829/168e2002/attachment.html>


More information about the macports-changes mailing list