ports/138188: [PATCH] security/pam_pwdfile: update to 0.99

Sylvio Cesar scjamorim at bsd.com.br
Wed Aug 26 00:50:02 UTC 2009


>Number:         138188
>Category:       ports
>Synopsis:       [PATCH] security/pam_pwdfile: update to 0.99
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 26 00:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd72.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug  3 22:10:47 BRT
>Description:
- Update to 0.99
- Added PORTDOCS in Makefile

Removed file(s):
- pkg-plist
- files/patch-aa

You can see log in mine tinderbox:
http://www.scjamorim.org/Home/pam_pwdfile-0.99.log

Port maintainer (mschout at gkg.net) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- pam_pwdfile-0.99.patch begins here ---
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) {
--- pam_pwdfile-0.99.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list