ports/113882: [update] security/pam-mysql to 7.0RC1

Angelo Turetta aturetta at bestunion.it
Wed Jun 20 15:30:06 UTC 2007


>Number:         113882
>Category:       ports
>Synopsis:       [update] security/pam-mysql to 7.0RC1
>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:   Wed Jun 20 15:30:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Angelo Turetta
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD mail.logital.it 6.2-STABLE FreeBSD 6.2-STABLE #9: Mon Apr 23 17:39:50 CEST 2007 aturetta at mail.logital.it:/usr/obj/usr/src/sys/SMP i386


	
>Description:
	Includes fix for correct use of -lmd to find MD5 functions
        (see: http://sourceforge.net/tracker/index.php?func=detail&aid=1485390&group_id=5741&atid=105741)
>How-To-Repeat:
	
>Fix:

	

--- patch-pam-mysql-7.0RC1 begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/pam-mysql/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	11 Feb 2007 22:26:52 -0000	1.18
+++ Makefile	20 Jun 2007 14:53:00 -0000
@@ -6,16 +6,19 @@
 #
 
 PORTNAME=	pam_mysql
-PORTVERSION=	0.6.2
+PORTVERSION=	0.7.r1
 CATEGORIES=	security databases
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME:S/_/-/}
+DISTNAME=	${PORTNAME}-0.7RC1${DISTVERSIONSUFFIX}
 
 MAINTAINER=	anders at FreeBSD.org
 COMMENT=	A pam module for authenticating with MySQL
 
 USE_MYSQL=	yes
-HAS_CONFIGURE=	yes
+GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	aclocal:14 autoconf:259
+ACLOCAL_ARGS=	-I ${PREFIX}/share/aclocal
 CONFIGURE_ARGS=	--with-mysql=${LOCALBASE} --with-pam-mods-dir=${PREFIX}/lib --with-pam=/usr
 
 SUB_FILES=	pkg-message
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/pam-mysql/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo	24 Jan 2006 01:03:17 -0000	1.7
+++ distinfo	20 Jun 2007 09:31:55 -0000
@@ -1,3 +1,3 @@
-MD5 (pam_mysql-0.6.2.tar.gz) = 623edc50023b183c7b36a03353edcdf0
-SHA256 (pam_mysql-0.6.2.tar.gz) = c6e5dd2b887d31bf2f4d105029ef23cdc9360119bdcf0d2b31f88e433eff69ce
-SIZE (pam_mysql-0.6.2.tar.gz) = 325657
+MD5 (pam_mysql-0.7RC1.tar.gz) = 6177183d7e98dc12f2e444c9fbd4f13c
+SHA256 (pam_mysql-0.7RC1.tar.gz) = cb3cf89b9b51cb196ee8d731f85acbab72b4878a3a7c4183c5534161d4385ce7
+SIZE (pam_mysql-0.7RC1.tar.gz) = 335240
Index: files/patch-acinclude_m4
===================================================================
RCS file: files/patch-acinclude_m4
diff -N files/patch-acinclude_m4
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-acinclude_m4	20 Jun 2007 09:37:17 -0000
@@ -0,0 +1,12 @@
+*** acinclude.m4.orig	Sat Mar 11 23:36:42 2006
+--- acinclude.m4	Sat Mar 11 23:37:14 2006
+***************
+*** 445,450 ****
+--- 445,451 ----
+      AC_MSG_RESULT([no])
+  
+      AC_CHECK_HEADERS([md5.h])
++     AC_CHECK_LIB([md],[MD5Data])
+      AC_CHECK_FUNCS([MD5Data])
+    ])
+  ])
Index: files/pkg-message.in
===================================================================
RCS file: /home/ncvs/ports/security/pam-mysql/files/pkg-message.in,v
retrieving revision 1.1
diff -u -r1.1 pkg-message.in
--- files/pkg-message.in	10 Oct 2005 15:06:08 -0000	1.1
+++ files/pkg-message.in	20 Jun 2007 14:46:47 -0000
@@ -1,8 +1,11 @@
 *****************************************************************************
 
-Copy/symlink %%PREFIX%%/lib/pam_mysql.so to /usr/lib/pam_mysql.so
-to be able to use it. Read files in %%DOCSDIR%%
-for info on how to set up.
+Read files in %%DOCSDIR%% for info on how to set up.
+
+The PAM subsystem only looks for modules in /usr/lib: to use any pam module
+from the ports, either specify the full pathname in your pam.d config file
+(eg: %%PREFIX%%/lib/pam_mysql.so instead of pam_mysql.so) or copy/symlink
+%%PREFIX%%/lib/pam_mysql.so to /usr/lib/pam_mysql.so to be able to use it.
 
 Example:
 ln -sf %%PREFIX%%/lib/pam_mysql.so /usr/lib/pam_mysql.so
--- patch-pam-mysql-7.0RC1 ends here ---


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



More information about the freebsd-ports-bugs mailing list