1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

New port: security/pear-Auth - PEAR authentication methods.

PR:		ports/48119
Submitted by:	Thierry Thomas <thierry@pompo.net>
This commit is contained in:
Edwin Groothuis 2003-02-24 05:59:41 +00:00
parent 4be5606187
commit fd066d0394
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76364
6 changed files with 81 additions and 0 deletions

View File

@ -229,6 +229,7 @@
SUBDIR += pam_pop3
SUBDIR += pam_pwdfile
SUBDIR += pam_smb
SUBDIR += pear-Auth
SUBDIR += pear-Auth_SASL
SUBDIR += pear-Crypt_CBC
SUBDIR += pgp

View File

@ -0,0 +1,49 @@
# Ports collection makefile for: pear-Auth
# Date created: 2 February 2003
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= Auth
PORTVERSION= 1.1.1
CATEGORIES= security www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR authentication methods
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= Auth.php Container Container.php
do-install:
.for FILE in ${MANIFEST}
@${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR}
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${FILE}
.endfor
@${CHMOD} a-x ${PEARDIR}/Container/LDAP.php
post-install:
# Register a new package
@${PEAR} install -r -f ${WRKDIR}/package.xml
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (PEAR/Auth-1.1.1.tgz) = 26e8eeb0299506a4058535de1ca03dd2

View 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

View File

@ -0,0 +1,11 @@
The PEAR::Auth package provides methods for creating an authentication
system using PHP.
Currently it supports the following storage containers to read/write
the login data:
* All databases supported by the PEAR database layer
* Plaintext files
* LDAP servers.
WWW: http://pear.php.net/manual/en/packages.auth.auth.php

View File

@ -0,0 +1,6 @@
%%PEARDIR%%/Auth.php
%%PEARDIR%%/Container.php
%%PEARDIR%%/Container/DB.php
%%PEARDIR%%/Container/File.php
%%PEARDIR%%/Container/LDAP.php
@dirrm %%PEARDIR%%/Container