aboutsummaryrefslogtreecommitdiff
path: root/security/pear-File_Passwd
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-02-02 12:37:34 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-02-02 12:37:34 +0000
commit98f77420e6db607edfc92472b4ce577d849742a5 (patch)
tree98fb6a477fb3972a0b1f285156bdad3afded0aed /security/pear-File_Passwd
parent74bc1ddc523b58c9bae54ea27e21e155949742e9 (diff)
downloadports-98f77420e6db607edfc92472b4ce577d849742a5.tar.gz
ports-98f77420e6db607edfc92472b4ce577d849742a5.zip
Update port: security/pear-File_Passwd to 1.1.2
+ update port: security/pear-File_Passwd to 1.1.2 + changelog: http://pear.php.net/package/File_Passwd/download/1.1.2/ + add PEAR::Crypt_CHAP dependency (optional) + add PHP version dependency PR: ports/76976 Submitted by: Antônio Carlos Venâncio Júnior <antonio@php.net>
Notes
Notes: svn path=/head/; revision=127905
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