aboutsummaryrefslogtreecommitdiff
path: root/security/pam-mysql
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-10-10 15:06:08 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-10-10 15:06:08 +0000
commite0d5a97f3546c87bfbb30d130041e958bb358b29 (patch)
treee23a9b33bb4278c5c1aa49180a51e0d315f40d95 /security/pam-mysql
parent8d79f6122f57573519f85cffe266f223a8f9a58d (diff)
downloadports-e0d5a97f3546c87bfbb30d130041e958bb358b29.tar.gz
ports-e0d5a97f3546c87bfbb30d130041e958bb358b29.zip
Notes
Diffstat (limited to 'security/pam-mysql')
-rw-r--r--security/pam-mysql/Makefile19
-rw-r--r--security/pam-mysql/distinfo4
-rw-r--r--security/pam-mysql/files/pkg-message.in10
3 files changed, 21 insertions, 12 deletions
diff --git a/security/pam-mysql/Makefile b/security/pam-mysql/Makefile
index 20b96a553720..77d6fea8b3dd 100644
--- a/security/pam-mysql/Makefile
+++ b/security/pam-mysql/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pam_mysql
-PORTVERSION= 0.6.0
+PORTVERSION= 0.6.2
CATEGORIES= security databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
@@ -19,6 +19,9 @@ USE_MYSQL= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --with-pam-mods-dir=${PREFIX}/lib --with-pam=/usr
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
PLIST_FILES= lib/pam_mysql.la lib/pam_mysql.so
.if !defined(NOPORTDOCS)
@@ -27,15 +30,11 @@ PORTDOCS= *
post-install:
.if !defined(NOPORTDOCS)
- @${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
- @${ECHO_MSG} "================================================================================"
- @${ECHO_MSG} "Copy/move/symlink ${PREFIX}/lib/pam_mysql.so to /usr/lib/pam_mysql.so"
- @${ECHO_MSG} "to be able to use it. Read files in ${PREFIX}/share/doc/pam_mysql"
- @${ECHO_MSG} "for info on how to set up."
- @${ECHO_MSG} "================================================================================"
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/security/pam-mysql/distinfo b/security/pam-mysql/distinfo
index b2eba5275935..0711cdb666f3 100644
--- a/security/pam-mysql/distinfo
+++ b/security/pam-mysql/distinfo
@@ -1,2 +1,2 @@
-MD5 (pam_mysql-0.6.0.tar.gz) = b7f59c5450d89126b7f25fa2645b1b71
-SIZE (pam_mysql-0.6.0.tar.gz) = 312187
+MD5 (pam_mysql-0.6.2.tar.gz) = 623edc50023b183c7b36a03353edcdf0
+SIZE (pam_mysql-0.6.2.tar.gz) = 325657
diff --git a/security/pam-mysql/files/pkg-message.in b/security/pam-mysql/files/pkg-message.in
new file mode 100644
index 000000000000..411598882769
--- /dev/null
+++ b/security/pam-mysql/files/pkg-message.in
@@ -0,0 +1,10 @@
+*****************************************************************************
+
+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.
+
+Example:
+ln -sf %%PREFIX%%/lib/pam_mysql.so /usr/lib/pam_mysql.so
+
+*****************************************************************************