FreeBSD Bugzilla – Attachment 99157 Details for
Bug 138188
[PATCH] security/pam_pwdfile: update to 0.99
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pam_pwdfile-0.99.patch
pam_pwdfile-0.99.patch (text/plain), 2.79 KB, created by
Sylvio César Teixeira Amorim
on 2009-08-26 01:50:01 UTC
(
hide
)
Description:
pam_pwdfile-0.99.patch
Filename:
MIME Type:
Creator:
Sylvio César Teixeira Amorim
Created:
2009-08-26 01:50:01 UTC
Size:
2.79 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/security/pam_pwdfile/Makefile,v >retrieving revision 1.5 >diff -u -u -r1.5 Makefile >--- Makefile 21 Feb 2003 13:26:53 -0000 1.5 >+++ Makefile 26 Aug 2009 00:39:44 -0000 >@@ -6,8 +6,7 @@ > # > > PORTNAME= pam_pwdfile >-PORTVERSION= 0.95 >-PORTREVISION= 1 >+PORTVERSION= 0.99 > CATEGORIES= security > MASTER_SITES= http://cpbotha.net/files/pam_pwdfile/ > >@@ -16,11 +15,18 @@ > > MAKEFILE= ${FILESDIR}/Makefile.bsd > >+PLIST_FILES= lib/pam_pwdfile.so >+PORTDOCS= README INSTALL changelog >+ >+post-patch: >+ ${REINPLACE_CMD} -e 's|#include <features.h>||g' ${WRKSRC}/pam_pwdfile.c >+ > post-install: > .if !defined(NOPORTDOCS) > @${MKDIR} ${DOCSDIR} >- @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/changelog \ >- ${WRKSRC}/INSTALL ${DOCSDIR} >+.for docs in ${PORTDOCS} >+ @${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} >+.endfor > .endif > > .include <bsd.port.mk> >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/security/pam_pwdfile/distinfo,v >retrieving revision 1.3 >diff -u -u -r1.3 distinfo >--- distinfo 24 Jan 2006 01:03:18 -0000 1.3 >+++ distinfo 26 Aug 2009 00:39:44 -0000 >@@ -1,3 +1,3 @@ >-MD5 (pam_pwdfile-0.95.tar.gz) = 1eb2d29567f54c5b5eb482bb0ed9538f >-SHA256 (pam_pwdfile-0.95.tar.gz) = 0ff679e65f7136187e355f0d148387b7afe20006fe6c851be98a92cf5997f642 >-SIZE (pam_pwdfile-0.95.tar.gz) = 7385 >+MD5 (pam_pwdfile-0.99.tar.gz) = a05b41f0bd1c0de16bec8aad6b1b30a9 >+SHA256 (pam_pwdfile-0.99.tar.gz) = 973420f203976ac98508bb253b33a23d189cfbaf72143670964470e84085688e >+SIZE (pam_pwdfile-0.99.tar.gz) = 16994 >Index: pkg-plist >=================================================================== >RCS file: pkg-plist >diff -N pkg-plist >--- pkg-plist 20 Sep 2002 07:56:39 -0000 1.2 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,5 +0,0 @@ >-%%PORTDOCS%%share/doc/pam_pwdfile/README >-%%PORTDOCS%%share/doc/pam_pwdfile/INSTALL >-%%PORTDOCS%%share/doc/pam_pwdfile/changelog >-%%PORTDOCS%%@dirrm share/doc/pam_pwdfile >-lib/pam_pwdfile.so >Index: files/patch-aa >=================================================================== >RCS file: files/patch-aa >diff -N files/patch-aa >--- files/patch-aa 8 Nov 2002 09:54:05 -0000 1.2 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,25 +0,0 @@ >---- pam_pwdfile.c.orig Sat Jul 14 23:50:21 2001 >-+++ pam_pwdfile.c Fri Nov 8 11:25:49 2002 >-@@ -42,7 +42,6 @@ >- * OF THE POSSIBILITY OF SUCH DAMAGE. >- */ >- >--#include <features.h> >- #include <syslog.h> >- #include <stdarg.h> >- #include <stdio.h> >-@@ -85,10 +84,14 @@ >- va_list args; >- >- va_start(args, format); >-+#ifndef __FreeBSD__ >- openlog("pam_pwdfile", LOG_CONS|LOG_PID, LOG_AUTH); >-+#endif >- vsyslog(err, format, args); >- va_end(args); >-+#ifndef __FreeBSD__ >- closelog(); >-+#endif >- } >- >- static int lock_fd(int fd) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 138188
: 99157