2003-02-24 06:59:41 +01:00
|
|
|
# Ports collection makefile for: pear-Auth
|
|
|
|
# Date created: 2 February 2003
|
|
|
|
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Auth
|
2006-10-31 14:33:22 +01:00
|
|
|
PORTVERSION= 1.4.0
|
2005-03-15 21:09:37 +01:00
|
|
|
CATEGORIES= security pear
|
2003-02-24 06:59:41 +01:00
|
|
|
|
2006-10-31 14:33:22 +01:00
|
|
|
MAINTAINER= chinsan@FreeBSD.org
|
2005-03-15 21:09:37 +01:00
|
|
|
COMMENT= PEAR class for creating an authentication system
|
2003-02-24 06:59:41 +01:00
|
|
|
|
2005-12-09 20:24:52 +01:00
|
|
|
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
|
2003-02-24 06:59:41 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2005-03-15 21:09:37 +01:00
|
|
|
LATEST_LINK= pear-Auth
|
|
|
|
OPTIONS= PEAR_FILE_PASSWD "PEAR::File_Passwd support" off \
|
|
|
|
PEAR_NET_POP3 "PEAR::Net_POP3 support" off \
|
2006-10-31 14:33:22 +01:00
|
|
|
PEAR_CRYPT_CHAP "PEAR::CRYPT_CHAP support" off \
|
2005-03-15 21:09:37 +01:00
|
|
|
PEAR_DB "PEAR::DB support" off \
|
|
|
|
PEAR_MDB "PEAR::MDB support" off \
|
2006-09-19 10:27:08 +02:00
|
|
|
PEAR_MDB2 "PEAR::MDB2 support" off \
|
2006-10-31 14:33:22 +01:00
|
|
|
PEAR_AUTH_RADIUS "PEAR::AUTH_RADIUS support" off \
|
|
|
|
PEAR_FILE_SMBPASSWD "PEAR::File_SMBPasswd support" off \
|
|
|
|
PEAR_SOAP "PEAR::SOAP support" off
|
2005-03-15 21:09:37 +01:00
|
|
|
|
2003-12-28 09:44:09 +01:00
|
|
|
CATEGORY= Auth
|
2006-10-31 14:33:22 +01:00
|
|
|
FILES= Auth.php Container.php Auth/Anonymous.php Auth/Auth.php \
|
|
|
|
Auth/Controller.php Container/DB.php Container/DBLite.php \
|
|
|
|
Container/File.php Container/IMAP.php Container/KADM5.php\
|
|
|
|
Container/LDAP.php Container/MDB.php Container/MDB2.php \
|
|
|
|
Container/PEAR.php Container/POP3.php Container/RADIUS.php \
|
|
|
|
Container/SMBPasswd.php Container/SOAP.php Container/SOAP5.php \
|
|
|
|
Container/vpopmail.php Frontend/Html.php Frontend/md5.js
|
|
|
|
TESTS= auth_container_db_options.php auth_container_file_options.php \
|
|
|
|
auth_container_mdb2_options.php auth_container_mdb_options.php \
|
|
|
|
auth_container_pop3a_options.php auth_container_pop3_options.php \
|
|
|
|
DBContainer.php FileContainer.php MDB2Container.php \
|
|
|
|
MDBContainer.php mysql_test_db.sql POP3aContainer.php \
|
|
|
|
POP3Container.php TestAuthContainer.php tests.php users \
|
|
|
|
bug8735.passwd bug8735.phpt
|
2005-03-15 21:09:37 +01:00
|
|
|
DOCS= README.Auth
|
|
|
|
_DOCSDIR= .
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/Auth.php
|
2003-12-28 09:44:09 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-03-15 21:09:37 +01:00
|
|
|
.if defined(WITH_PEAR_FILE_PASSWD)
|
|
|
|
RUN_DEPENDS+= ${PEARDIR}/File/Passwd.php:${PORTSDIR}/security/pear-File_Passwd
|
2003-12-28 09:44:09 +01:00
|
|
|
.endif
|
|
|
|
|
2006-10-31 14:33:22 +01:00
|
|
|
.if defined(WITH_PEAR_CRYPT_CHAP)
|
|
|
|
RUN_DEPENDS+= ${PEARDIR}/Crypt/CHAP.php:${PORTSDIR}/security/pear-Crypt_CHAP
|
|
|
|
.endif
|
|
|
|
|
2005-03-15 21:09:37 +01:00
|
|
|
.if defined(WITH_PEAR_NET_POP3)
|
|
|
|
RUN_DEPENDS+= ${PEARDIR}/Net/POP3.php:${PORTSDIR}/net/pear-Net_POP3
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PEAR_DB)
|
2003-12-28 09:44:09 +01:00
|
|
|
RUN_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
|
2003-08-25 03:21:45 +02:00
|
|
|
.endif
|
2003-02-24 06:59:41 +01:00
|
|
|
|
2005-03-15 21:09:37 +01:00
|
|
|
.if defined(WITH_PEAR_MDB)
|
|
|
|
RUN_DEPENDS+= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
|
|
|
|
.endif
|
|
|
|
|
2006-09-19 10:27:08 +02:00
|
|
|
.if defined(WITH_PEAR_MDB2)
|
|
|
|
RUN_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
|
|
|
|
.endif
|
|
|
|
|
2005-03-15 21:09:37 +01:00
|
|
|
.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
|
|
|
|
|
2006-10-31 14:33:22 +01:00
|
|
|
.if defined(WITH_PEAR_SOAP)
|
|
|
|
RUN_DEPENDS+= ${PEARDIR}/SOAP/Base.php:${PORTSDIR}/net/pear-SOAP
|
|
|
|
.endif
|
|
|
|
|
2005-12-09 20:24:52 +01:00
|
|
|
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
|
2003-02-24 06:59:41 +01:00
|
|
|
.include <bsd.port.post.mk>
|