ports/131791: [UPDATE] security/pwauth to 2.3.7

Edmondas Girkantas eg at fbsd.lt
Tue Feb 17 21:20:02 UTC 2009


>Number:         131791
>Category:       ports
>Synopsis:       [UPDATE] security/pwauth to 2.3.7
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 17 21:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Edmondas Girkantas
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD big.bug.lt 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Update to 2.3.7 version
>How-To-Repeat:

>Fix:
Apply given patch.

Patch attached with submission follows:

diff -ruN pwauth.orig/Makefile pwauth/Makefile
--- pwauth.orig/Makefile	2009-02-17 22:37:37.000000000 +0200
+++ pwauth/Makefile	2009-02-17 23:12:32.000000000 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	pwauth
-PORTVERSION=	2.3.2
-PORTREVISION=	1
+PORTVERSION=	2.3.7
 CATEGORIES=	security www
 MASTER_SITES=	http://www.unixpapa.com/software/
 
@@ -29,7 +28,7 @@
 		s/%%MINUID%%/${MINUID}/" ${WRKSRC}/config.h
 
 do-install:
-	-@${MKDIR} -p ${PREFIX}/bin
+	-@${MKDIR} ${PREFIX}/bin
 	@${INSTALL_PROGRAM} ${WRKSRC}/pwauth ${PREFIX}/bin
 	@${INSTALL_PROGRAM} ${WRKSRC}/checkfaillog ${PREFIX}/bin
 	@${CHMOD} u=rxs ${PREFIX}/bin/pwauth
diff -ruN pwauth.orig/distinfo pwauth/distinfo
--- pwauth.orig/distinfo	2009-02-17 22:37:37.000000000 +0200
+++ pwauth/distinfo	2009-02-17 22:39:53.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (pwauth-2.3.2.tar.gz) = 782856fa30ce2630dd57df3ad554e43a
-SHA256 (pwauth-2.3.2.tar.gz) = eff9a8020292891e892ee5aee369a7c4c2a5c6e2953c9e513f555777252bca91
-SIZE (pwauth-2.3.2.tar.gz) = 20581
+MD5 (pwauth-2.3.7.tar.gz) = ec71e0488d918edca04ee56762c9712b
+SHA256 (pwauth-2.3.7.tar.gz) = b7062011d4f7b7c69a876c40ae959d6aaf1744d5ef51e2bd97c745a84e4c1d1f
+SIZE (pwauth-2.3.7.tar.gz) = 21608
diff -ruN pwauth.orig/files/patch-config.c pwauth/files/patch-config.c
--- pwauth.orig/files/patch-config.c	2009-02-17 22:37:37.000000000 +0200
+++ pwauth/files/patch-config.c	1970-01-01 03:00:00.000000000 +0300
@@ -1,45 +0,0 @@
---- config.h.orig	Wed Sep 29 01:07:18 2004
-+++ config.h	Sun Oct 30 13:49:52 2005
-@@ -106,13 +106,13 @@
- 
- /* #define SHADOW_NONE		/**/
- /* #define SHADOW_BSD		/* FreeBSD, NetBSD, OpenBSD, BSDI */
--#define SHADOW_SUN		/* Linux, Solaris, IRIX */
-+/* #define SHADOW_SUN		/* Linux, Solaris, IRIX */
- /* #define SHADOW_JFH		/**/
- /* #define SHADOW_MDW		/**/
- /* #define SHADOW_AIX		/* AIX */
- /* #define SHADOW_HPUX		/* HPUX ? */
- 
--/* #define PAM			/* Linux PAM or OpenPAM*/
-+   #define PAM			/* Linux PAM or OpenPAM*/
- /* #define PAM_SOLARIS		/* PAM on Solaris other than 2.6 */
- /* #define PAM_SOLARIS_26	/* PAM on Solaris 2.6 */
- /* #define LOGIN_CONF_OPENBSD	/**/
-@@ -193,7 +193,7 @@
-  */
- 
- #define UNIX_LASTLOG		/**/
--#define HAVE_LASTLOG_H		/**/
-+//#define HAVE_LASTLOG_H		/**/
- 
- 
- /* If NOLOGIN_FILE is defined to the full path name of a file, then the
-@@ -238,7 +238,7 @@
-  * last).
-  */
- 
--#define SERVER_UIDS 72		/* user "nobody" */
-+#define SERVER_UIDS %%UIDS%%	/* user "www" */
- 
- 
- /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
-@@ -250,7 +250,7 @@
-  * given value will be accepted).
-  */
- 
--#define MIN_UNIX_UID 500	/**/
-+#define MIN_UNIX_UID %%MINUID%%	/**/
- 
- 
- /* If IGNORE_CASE is defined, the login given is checked in two different
diff -ruN pwauth.orig/files/patch-config.h pwauth/files/patch-config.h
--- pwauth.orig/files/patch-config.h	1970-01-01 03:00:00.000000000 +0300
+++ pwauth/files/patch-config.h	2009-02-17 23:03:40.000000000 +0200
@@ -0,0 +1,45 @@
+--- config.h.orig	2008-05-19 21:59:42.000000000 +0300
++++ config.h	2009-02-17 23:01:51.000000000 +0200
+@@ -112,13 +112,13 @@
+ 
+ /* #define SHADOW_NONE		/**/
+ /* #define SHADOW_BSD		/* FreeBSD, NetBSD, OpenBSD, BSDI, OS X */
+-#define SHADOW_SUN		/* Linux, Solaris, IRIX */
++/* #define SHADOW_SUN		/* Linux, Solaris, IRIX */
+ /* #define SHADOW_JFH		/**/
+ /* #define SHADOW_MDW		/**/
+ /* #define SHADOW_AIX		/* AIX */
+ /* #define SHADOW_HPUX		/* HPUX ? */
+ 
+-/* #define PAM			/* Linux PAM or OpenPAM*/
++   #define PAM			/* Linux PAM or OpenPAM*/
+ /* #define PAM_OS_X		/* PAM on OS X */
+ /* #define PAM_SOLARIS		/* PAM on Solaris other than 2.6 */
+ /* #define PAM_SOLARIS_26	/* PAM on Solaris 2.6 */
+@@ -200,7 +200,7 @@
+  */
+ 
+ #define UNIX_LASTLOG		/**/
+-#define HAVE_LASTLOG_H		/**/
++//#define HAVE_LASTLOG_H		/**/
+ 
+ 
+ /* If NOLOGIN_FILE is defined to the full path name of a file, then the
+@@ -245,7 +245,7 @@
+  * last).
+  */
+ 
+-#define SERVER_UIDS 72		/* user "nobody" */
++#define SERVER_UIDS %%UIDS%%	/* user "nobody" */
+ 
+ 
+ /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
+@@ -257,7 +257,7 @@
+  * given value will be accepted).
+  */
+ 
+-#define MIN_UNIX_UID 500	/**/
++#define MIN_UNIX_UID %%MINUID%%        /**/
+ 
+ 
+ /* If IGNORE_CASE is defined, the login given is checked in two different


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



More information about the freebsd-ports-bugs mailing list