ports/76976: Update port: security/pear-File_Passwd to 1.1.2

Antonio Carlos Venancio Junior antonio at php.net
Tue Feb 1 20:00:38 UTC 2005


>Number:         76976
>Category:       ports
>Synopsis:       Update port: security/pear-File_Passwd to 1.1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 01 20:00:37 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #4: Mon Jan 10 10:53:56 BRST 2005     root at antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
+ 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
>How-To-Repeat:
>Fix:
diff -ruN pear-File_Passwd.orig/Makefile pear-File_Passwd/Makefile
--- pear-File_Passwd.orig/Makefile	Tue Feb  1 17:36:24 2005
+++ pear-File_Passwd/Makefile	Tue Feb  1 17:43:27 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	File_Passwd
-PORTVERSION=	1.1.1
+PORTVERSION=	1.1.2
 CATEGORIES=	security www pear
 
 MAINTAINER=	antonio at php.net
@@ -15,6 +15,11 @@
 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,17 @@
 		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
+
 .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 .include <bsd.port.post.mk>
diff -ruN pear-File_Passwd.orig/distinfo pear-File_Passwd/distinfo
--- pear-File_Passwd.orig/distinfo	Tue Feb  1 17:36:24 2005
+++ pear-File_Passwd/distinfo	Tue Feb  1 17:41:31 2005
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list