diff options
author | edwin <edwin@FreeBSD.org> | 2003-02-24 13:55:57 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-02-24 13:55:57 +0800 |
commit | 5b85235bf1cde6e59ff8580b8abba653fde06e87 (patch) | |
tree | 36981c00929af24269d297ab4fef18eedcab5770 /security | |
parent | 76d25a165d28f930203aefdbce7db21693818a54 (diff) | |
download | freebsd-ports-gnome-5b85235bf1cde6e59ff8580b8abba653fde06e87.tar.gz freebsd-ports-gnome-5b85235bf1cde6e59ff8580b8abba653fde06e87.tar.zst freebsd-ports-gnome-5b85235bf1cde6e59ff8580b8abba653fde06e87.zip |
New port: security/pear-Auth_SASL
PEAR abstraction of various SASL mechanism responses.
PR: ports/48120
Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/pear-Auth_SASL/Makefile | 50 | ||||
-rw-r--r-- | security/pear-Auth_SASL/distinfo | 1 | ||||
-rw-r--r-- | security/pear-Auth_SASL/pkg-deinstall | 13 | ||||
-rw-r--r-- | security/pear-Auth_SASL/pkg-descr | 9 | ||||
-rw-r--r-- | security/pear-Auth_SASL/pkg-plist | 8 |
6 files changed, 82 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 63ba24510fb6..e771aca004f0 100644 --- a/security/Makefile +++ b/security/Makefile @@ -229,6 +229,7 @@ SUBDIR += pam_pop3 SUBDIR += pam_pwdfile SUBDIR += pam_smb + SUBDIR += pear-Auth_SASL SUBDIR += pear-Crypt_CBC SUBDIR += pgp SUBDIR += pgp5 diff --git a/security/pear-Auth_SASL/Makefile b/security/pear-Auth_SASL/Makefile new file mode 100644 index 000000000000..76b4bd69916b --- /dev/null +++ b/security/pear-Auth_SASL/Makefile @@ -0,0 +1,50 @@ +# Ports collection makefile for: pear-Auth_SASL +# Date created: 2 February 2003 +# Whom: Thierry Thomas (<thierry@pompo.net>) +# +# $FreeBSD$ +# + +PORTNAME= Auth_SASL +PORTVERSION= 1.0.0 +CATEGORIES= security www +MASTER_SITES= http://pear.php.net/get/ +PKGNAMEPREFIX= pear- +EXTRACT_SUFX= .tgz +DIST_SUBDIR= PEAR + +MAINTAINER= ports@FreeBSD.org +COMMENT= PEAR abstraction of various SASL mechanism responses + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR +RUN_DEPENDS= ${BUILD_DEPENDS} + +NO_BUILD= yes + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/bin/php-config) +PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix +.else +PHP_BASE!= ${LOCALBASE} +.endif +PEAR= ${LOCALBASE}/bin/pear +LPHP_LIB= lib/php +PEARDIR= ${PHP_BASE}/${LPHP_LIB} +PLIST_SUB= PEARDIR=${LPHP_LIB} + +MANIFEST= SASL.php SASL + +do-install: +.for FILE in ${MANIFEST} + @${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR} + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${FILE} +.endfor + @${CHMOD} a-x ${PEARDIR}/SASL/* + @${CHMOD} a-x ${PEARDIR}/SASL.php + +post-install: +# Register a new package + @${PEAR} install -r -f ${WRKDIR}/package.xml + +.include <bsd.port.post.mk> diff --git a/security/pear-Auth_SASL/distinfo b/security/pear-Auth_SASL/distinfo new file mode 100644 index 000000000000..0a8a7bd88c99 --- /dev/null +++ b/security/pear-Auth_SASL/distinfo @@ -0,0 +1 @@ +MD5 (PEAR/Auth_SASL-1.0.0.tgz) = e7f1f635e9292533601349e2e334b7ed diff --git a/security/pear-Auth_SASL/pkg-deinstall b/security/pear-Auth_SASL/pkg-deinstall new file mode 100644 index 000000000000..c17e9d19ced0 --- /dev/null +++ b/security/pear-Auth_SASL/pkg-deinstall @@ -0,0 +1,13 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# Remove package declaration from PEAR's registry. + +if [ x$2 != xDEINSTALL ]; then + exit +fi +PKG_NAME=${1%%-[0-9._]*} +PACKAGE=$(echo $PKG_NAME | sed 's/pear-//') + +${PKG_PREFIX}/bin/pear uninstall -r ${PACKAGE} || true diff --git a/security/pear-Auth_SASL/pkg-descr b/security/pear-Auth_SASL/pkg-descr new file mode 100644 index 000000000000..afaefb265022 --- /dev/null +++ b/security/pear-Auth_SASL/pkg-descr @@ -0,0 +1,9 @@ +Provides PHP code to generate responses to common SASL mechanisms, including: + +o Digest-MD5 +o CramMD5 +o Plain +o Anonymous +o Login (Pseudo mechanism). + +WWW: http://pear.php.net/package-info.php?pacid=123 diff --git a/security/pear-Auth_SASL/pkg-plist b/security/pear-Auth_SASL/pkg-plist new file mode 100644 index 000000000000..4baebaa60a7e --- /dev/null +++ b/security/pear-Auth_SASL/pkg-plist @@ -0,0 +1,8 @@ +%%PEARDIR%%/SASL.php +%%PEARDIR%%/SASL/Anonymous.php +%%PEARDIR%%/SASL/Common.php +%%PEARDIR%%/SASL/CramMD5.php +%%PEARDIR%%/SASL/DigestMD5.php +%%PEARDIR%%/SASL/Login.php +%%PEARDIR%%/SASL/Plain.php +@dirrm %%PEARDIR%%/SASL |