ports/78862: Update port: security/pear-Auth

Antonio Carlos Venancio Junior antonio at php.net
Tue Mar 15 12:00:14 UTC 2005


>Number:         78862
>Category:       ports
>Synopsis:       Update port: security/pear-Auth
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 15 12:00:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #5: Tue Feb 22 17:32:18 BRT 2005     root at antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
+ fix CATEGORIES
+ take maintainership
+ update COMMENT
+ add PEAR package dependencies
+ replace @version@ strings
+ update pkg-descr
>How-To-Repeat:
>Fix:
diff -ruN pear-Auth.orig/Makefile pear-Auth/Makefile
--- pear-Auth.orig/Makefile	Wed Mar  9 13:53:15 2005
+++ pear-Auth/Makefile	Tue Mar 15 08:47:48 2005
@@ -7,38 +7,66 @@
 
 PORTNAME=	Auth
 PORTVERSION=	1.2.3
-CATEGORIES=	security www pear
+PORTREVISION=	1
+CATEGORIES=	security pear
 
-MAINTAINER=	ports at FreeBSD.org
-COMMENT=	PEAR authentication methods
+MAINTAINER=	antonio at php.net
+COMMENT=	PEAR class for creating an authentication system
 
 BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
+LATEST_LINK=	pear-Auth
+OPTIONS=	PEAR_FILE_PASSWD "PEAR::File_Passwd support" off \
+		PEAR_NET_POP3 "PEAR::Net_POP3 support" off \
+		PEAR_DB "PEAR::DB support" off \
+		PEAR_MDB "PEAR::MDB support" off \
+		PEAR_AUTH_RADIUS "PEAR::Auth_RADIUS support" off \
+		PEAR_FILE_SMBPASSWD "PEAR::File_SMBPasswd support" off
+
+USE_REINPLACE=	yes
+
 CATEGORY=	Auth
-FILES=		Auth.php Container.php Container/DB.php Container/File.php \
-		Container/IMAP.php Container/LDAP.php Container/MDB.php \
-		Container/POP3.php Container/RADIUS.php Container/SMBPasswd.php \
-		Container/SOAP.php Container/vpopmail.php
-TESTS=		DBContainer.php FileContainer.php POP3Container.php \
-		POP3aContainer.php TestAuthContainer.php \
-		auth_container_db_options.php auth_container_file_options.php \
-		auth_container_pop3_options.php auth_container_pop3a_options.php \
-		tests.php users
-
-do-install-tests-msg: .USE
-	@${ECHO_MSG} "     (These tests require PHPUnit - see"
-	@${ECHO_MSG} "     <http://pear.php.net/package/PHPUnit/>;)."
+FILES=		Auth.php Auth/Auth.php Container.php Container/DB.php \
+		Container/File.php Container/IMAP.php Container/POP3.php \
+		Container/LDAP.php Container/MDB.php Container/RADIUS.php \
+		Container/SMBPasswd.php Container/SOAP.php Container/vpopmail.php
+TESTS=		auth_container_db_options.php DBContainer.php \
+		auth_container_file_options.php FileContainer.php \
+		auth_container_pop3_options.php POP3Container.php \
+		auth_container_pop3a_options.php POP3aContainer.php \
+		TestAuthContainer.php users tests.php
+DOCS=		README.Auth
+_DOCSDIR=	.
+
+post-extract:
+	@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/Auth.php
 
 .include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
-.if exists(${PEARDIR}/DB.php)
-WITH_DB=	yes
+.if defined(WITH_PEAR_FILE_PASSWD)
+RUN_DEPENDS+=	${PEARDIR}/File/Passwd.php:${PORTSDIR}/security/pear-File_Passwd
 .endif
 
-.if defined(WITH_DB)
+.if defined(WITH_PEAR_NET_POP3)
+RUN_DEPENDS+=	${PEARDIR}/Net/POP3.php:${PORTSDIR}/net/pear-Net_POP3
+.endif
+
+.if defined(WITH_PEAR_DB)
 RUN_DEPENDS+=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
 .endif
 
+.if defined(WITH_PEAR_MDB)
+RUN_DEPENDS+=	${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
+.endif
+
+.if defined(WITH_PEAR_AUTH_RADIUS)
+RUN_DEPENDS+=	${PEARDIR}/Auth/RADIUS.php:${PORTSDIR}/net/pear-Auth_RADIUS
+.endif
+
+.if defined(WITH_PEAR_FILE_SMBPASSWD)
+RUN_DEPENDS+=	${PEARDIR}/File/SMBPasswd.php:${PORTSDIR}/security/pear-File_SMBPasswd
+.endif
+
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 .include <bsd.port.post.mk>
diff -ruN pear-Auth.orig/pkg-descr pear-Auth/pkg-descr
--- pear-Auth.orig/pkg-descr	Wed Mar  9 13:53:15 2005
+++ pear-Auth/pkg-descr	Tue Mar 15 08:56:23 2005
@@ -6,6 +6,7 @@
 
 * All databases supported by the PEAR database layer
 * All databases supported by the MDB database layer
+* All databases supported by the MDB2 database layer
 * Plaintext files
 * LDAP servers
 * POP3 servers
@@ -13,6 +14,6 @@
 * vpopmail accounts
 * RADIUS
 * SAMBA password files
-* SOAP.
+* SOAP
 
 WWW: http://pear.php.net/package/Auth/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list