Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  9 Feb 2003 23:49:03 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48120: New port: security/pear-Auth_SASL - PEAR abstraction of various SASL mechanism responses.
Message-ID:  <20030209224903.ACC3C76A7@graf.pompo.net>

next in thread | raw e-mail | index | archive | help

>Number:         48120
>Category:       ports
>Synopsis:       New port: security/pear-Auth_SASL - PEAR abstraction of various SASL mechanism responses.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 09 15:00:29 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Dec 29 12:46:07 CET 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	This port is required to update net/pear-Net_SMTP.

>How-To-Repeat:
	N/A.

>Fix:

	Pre-requisite: PR ports/47921 must have been committed.

	Then, please execute the following shar file:



# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	security/pear-Auth_SASL
#	security/pear-Auth_SASL/pkg-plist
#	security/pear-Auth_SASL/pkg-descr
#	security/pear-Auth_SASL/pkg-comment
#	security/pear-Auth_SASL/Makefile
#	security/pear-Auth_SASL/pkg-deinstall
#	security/pear-Auth_SASL/distinfo
#
echo c - security/pear-Auth_SASL
mkdir -p security/pear-Auth_SASL > /dev/null 2>&1
echo x - security/pear-Auth_SASL/pkg-plist
sed 's/^X//' >security/pear-Auth_SASL/pkg-plist << 'END-of-security/pear-Auth_SASL/pkg-plist'
X%%PEARDIR%%/SASL.php
X%%PEARDIR%%/SASL/Anonymous.php
X%%PEARDIR%%/SASL/Common.php
X%%PEARDIR%%/SASL/CramMD5.php
X%%PEARDIR%%/SASL/DigestMD5.php
X%%PEARDIR%%/SASL/Login.php
X%%PEARDIR%%/SASL/Plain.php
X@dirrm %%PEARDIR%%/SASL
END-of-security/pear-Auth_SASL/pkg-plist
echo x - security/pear-Auth_SASL/pkg-descr
sed 's/^X//' >security/pear-Auth_SASL/pkg-descr << 'END-of-security/pear-Auth_SASL/pkg-descr'
XProvides PHP code to generate responses to common SASL mechanisms, including:
X
Xo Digest-MD5
Xo CramMD5
Xo Plain
Xo Anonymous
Xo Login (Pseudo mechanism).
X
XWWW: http://pear.php.net/package-info.php?pacid=123
END-of-security/pear-Auth_SASL/pkg-descr
echo x - security/pear-Auth_SASL/pkg-comment
sed 's/^X//' >security/pear-Auth_SASL/pkg-comment << 'END-of-security/pear-Auth_SASL/pkg-comment'
XPEAR abstraction of various SASL mechanism responses
END-of-security/pear-Auth_SASL/pkg-comment
echo x - security/pear-Auth_SASL/Makefile
sed 's/^X//' >security/pear-Auth_SASL/Makefile << 'END-of-security/pear-Auth_SASL/Makefile'
X# Ports collection makefile for:  pear-Auth_SASL
X# Date created:			  2 February 2003
X# Whom:				  Thierry Thomas (<thierry@pompo.net>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Auth_SASL
XPORTVERSION=	1.0.0
XCATEGORIES=	security www
XMASTER_SITES=	http://pear.php.net/get/
XPKGNAMEPREFIX=	pear-
XEXTRACT_SUFX=	.tgz
XDIST_SUBDIR=	PEAR
X
XMAINTAINER=	ports@FreeBSD.org
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XNO_BUILD=	yes
X
X.include <bsd.port.pre.mk>
X
X.if exists(${LOCALBASE}/bin/php-config)
XPHP_BASE!=	${LOCALBASE}/bin/php-config --prefix
X.else
XPHP_BASE!=	${LOCALBASE}
X.endif
XPEAR=		${LOCALBASE}/bin/pear
XLPHP_LIB=	lib/php
XPEARDIR=	${PHP_BASE}/${LPHP_LIB}
XPLIST_SUB=	PEARDIR=${LPHP_LIB}
X
XMANIFEST=	SASL.php SASL
X
Xdo-install:
X.for FILE in ${MANIFEST}
X	@${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR}
X	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${FILE}
X.endfor
X	@${CHMOD} a-x ${PEARDIR}/SASL/*
X	@${CHMOD} a-x ${PEARDIR}/SASL.php
X
Xpost-install:
X# Register a new package
X	@${PEAR} install -r -f ${WRKDIR}/package.xml
X
X.include <bsd.port.post.mk>
END-of-security/pear-Auth_SASL/Makefile
echo x - security/pear-Auth_SASL/pkg-deinstall
sed 's/^X//' >security/pear-Auth_SASL/pkg-deinstall << 'END-of-security/pear-Auth_SASL/pkg-deinstall'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X# Remove package declaration from PEAR's registry.
X
Xif [ x$2 != xDEINSTALL ]; then
X    exit
Xfi
XPKG_NAME=${1%%-[0-9._]*}
XPACKAGE=$(echo $PKG_NAME | sed 's/pear-//')
X
X${PKG_PREFIX}/bin/pear uninstall -r ${PACKAGE} || true
END-of-security/pear-Auth_SASL/pkg-deinstall
echo x - security/pear-Auth_SASL/distinfo
sed 's/^X//' >security/pear-Auth_SASL/distinfo << 'END-of-security/pear-Auth_SASL/distinfo'
XMD5 (PEAR/Auth_SASL-1.0.0.tgz) = e7f1f635e9292533601349e2e334b7ed
END-of-security/pear-Auth_SASL/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030209224903.ACC3C76A7>