aboutsummaryrefslogtreecommitdiff
path: root/security/pear-File_Passwd
diff options
context:
space:
mode:
Diffstat (limited to 'security/pear-File_Passwd')
-rw-r--r--security/pear-File_Passwd/Makefile21
-rw-r--r--security/pear-File_Passwd/distinfo4
2 files changed, 22 insertions, 3 deletions
diff --git a/security/pear-File_Passwd/Makefile b/security/pear-File_Passwd/Makefile
index 7d9f35fb9a8a..9b864f69c601 100644
--- a/security/pear-File_Passwd/Makefile
+++ b/security/pear-File_Passwd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= File_Passwd
-PORTVERSION= 1.1.1
+PORTVERSION= 1.1.2
CATEGORIES= security www pear
MAINTAINER= antonio@php.net
@@ -15,6 +15,11 @@ COMMENT= PEAR class to manipulate many kinds of password files
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
+USE_PHP= yes
+
+LATEST_LINK= pear-File_Passwd
+OPTIONS= PEAR_CRYPT_RC4 "PEAR::Crypt_RC4 support" off
+
CATEGORY= File
FILES= Passwd.php Passwd/Common.php Passwd/Unix.php Passwd/Cvs.php \
Passwd/Smb.php Passwd/Authbasic.php Passwd/Authdigest.php \
@@ -25,6 +30,20 @@ TESTS= testsuite.php test_file_passwd.php test_common.php test_unix.php \
passwd.cvs.txt passwd.smb.txt passwd.authbasic.txt \
passwd.authdigest.txt passwd.custom.txt
+.if defined(WITH_PEAR_CRYPT_RC4)
+RUN_DEPENDS+= ${PEARDIR}/Crypt/Rc4.php:${PORTSDIR}/security/pear-Crypt_RC4
+.endif
+
.include <bsd.port.pre.mk>
+
+PHP_VERS= ${PHP_VERSION:S/.//g}
+
+.if defined(PHP_VERS) && ${PHP_VERS} < 406
+IGNORE= "You need PHP 4.0.6 or later to install PEAR::File_Passwd"
+.endif
+
+do-build:
+ ${DO_NADA}
+
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>
diff --git a/security/pear-File_Passwd/distinfo b/security/pear-File_Passwd/distinfo
index 03cbd2ed882f..281d9620730e 100644
--- a/security/pear-File_Passwd/distinfo
+++ b/security/pear-File_Passwd/distinfo
@@ -1,2 +1,2 @@
-MD5 (PEAR/File_Passwd-1.1.1.tgz) = 55275a4affd6734d56aaa25b6a8f5821
-SIZE (PEAR/File_Passwd-1.1.1.tgz) = 23200
+MD5 (PEAR/File_Passwd-1.1.2.tgz) = 2a5a15c8c227d480d62b5ea21684db18
+SIZE (PEAR/File_Passwd-1.1.2.tgz) = 23282