mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
New port: security/pear-Auth_SASL
PEAR abstraction of various SASL mechanism responses. PR: ports/48120 Submitted by: Thierry Thomas <thierry@pompo.net>
This commit is contained in:
parent
603f781db9
commit
ef10a5cc76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76361
@ -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
|
||||
|
50
security/pear-Auth_SASL/Makefile
Normal file
50
security/pear-Auth_SASL/Makefile
Normal file
@ -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>
|
1
security/pear-Auth_SASL/distinfo
Normal file
1
security/pear-Auth_SASL/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (PEAR/Auth_SASL-1.0.0.tgz) = e7f1f635e9292533601349e2e334b7ed
|
13
security/pear-Auth_SASL/pkg-deinstall
Normal file
13
security/pear-Auth_SASL/pkg-deinstall
Normal file
@ -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
|
9
security/pear-Auth_SASL/pkg-descr
Normal file
9
security/pear-Auth_SASL/pkg-descr
Normal file
@ -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
|
8
security/pear-Auth_SASL/pkg-plist
Normal file
8
security/pear-Auth_SASL/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user