aboutsummaryrefslogtreecommitdiff
path: root/security/pam-mysql
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-30 06:14:09 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-30 06:14:09 +0000
commit8754909e19d8c00037319aa473f0635f04577478 (patch)
tree82be5bf18ecdbac79baf0874c31272cdc7dd4435 /security/pam-mysql
parentd09f7f090962416f0e9f01e650b54d89478f7c2f (diff)
downloadports-8754909e19d8c00037319aa473f0635f04577478.tar.gz
ports-8754909e19d8c00037319aa473f0635f04577478.zip
Notes
Diffstat (limited to 'security/pam-mysql')
-rw-r--r--security/pam-mysql/Makefile7
-rw-r--r--security/pam-mysql/distinfo6
-rw-r--r--security/pam-mysql/files/patch-acinclude_m412
-rw-r--r--security/pam-mysql/files/pkg-message.in9
4 files changed, 26 insertions, 8 deletions
diff --git a/security/pam-mysql/Makefile b/security/pam-mysql/Makefile
index 6a2997a1bea5..647dc11dd679 100644
--- a/security/pam-mysql/Makefile
+++ b/security/pam-mysql/Makefile
@@ -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@FreeBSD.org
COMMENT= A pam module for authenticating with MySQL
USE_MYSQL= yes
-HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
+USE_AUTOTOOLS= aclocal:14 autoconf:261
+ACLOCAL_ARGS= -I ${PREFIX}/share/aclocal
CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --with-pam-mods-dir=${PREFIX}/lib --with-pam=/usr
SUB_FILES= pkg-message
diff --git a/security/pam-mysql/distinfo b/security/pam-mysql/distinfo
index 505d1354f611..20c739a0e7f2 100644
--- a/security/pam-mysql/distinfo
+++ b/security/pam-mysql/distinfo
@@ -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
diff --git a/security/pam-mysql/files/patch-acinclude_m4 b/security/pam-mysql/files/patch-acinclude_m4
new file mode 100644
index 000000000000..85970536d3b6
--- /dev/null
+++ b/security/pam-mysql/files/patch-acinclude_m4
@@ -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])
+ ])
+ ])
diff --git a/security/pam-mysql/files/pkg-message.in b/security/pam-mysql/files/pkg-message.in
index 411598882769..c43019f1d6fb 100644
--- a/security/pam-mysql/files/pkg-message.in
+++ b/security/pam-mysql/files/pkg-message.in
@@ -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