ports/79556: New port: security/pear-Auth_PrefManager PEAR preferences management class

Antonio Carlos Venancio Junior antonio at php.net
Tue Apr 5 12:40:04 UTC 2005


>Number:         79556
>Category:       ports
>Synopsis:       New port: security/pear-Auth_PrefManager PEAR preferences management class
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 05 12:40:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antonio Carlos Venancio Junior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #12: Mon Apr  4 08:35:27 BRT 2005     root at antonio.cb.sc.gov.br:/usr/src/sys/compile/ANTONIO  i386
>Description:
New port: security/pear-Auth_PrefManager PEAR preferences management class

Preference Manager is a class to handle user preferences in a web application,
looking them up in a table using a combination of their userid, and the
preference name to get a value, and (optionally) returning a default value for
the preference if no value could be found for that user.

It is designed to be used alongside the PEAR Auth class, but can be used with
anything that allows you to obtain the user's id - including your own code.
>How-To-Repeat:
>Fix:
# 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:
#
#	pear-Auth_PrefManager
#	pear-Auth_PrefManager/Makefile
#	pear-Auth_PrefManager/distinfo
#	pear-Auth_PrefManager/pkg-descr
#
echo c - pear-Auth_PrefManager
mkdir -p pear-Auth_PrefManager > /dev/null 2>&1
echo x - pear-Auth_PrefManager/Makefile
sed 's/^X//' >pear-Auth_PrefManager/Makefile << 'END-of-pear-Auth_PrefManager/Makefile'
X# Ports collection makefile for:  pear-Auth_PrefManager
X# Date created:			  05 April 2005
X# Whom:				  Antonio Carlos Venancio Junior (<antonio at inf.ufsc.br>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Auth_PrefManager
XPORTVERSION=	1.1.4
XCATEGORIES=	security www pear
X
XMAINTAINER=	antonio at php.net
XCOMMENT=	PEAR preferences management class
X
XBUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XCATEGORY=	Auth
XFILES=		PrefManager.php
XDOCS=		PM_Example.php
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X.include <bsd.port.post.mk>
END-of-pear-Auth_PrefManager/Makefile
echo x - pear-Auth_PrefManager/distinfo
sed 's/^X//' >pear-Auth_PrefManager/distinfo << 'END-of-pear-Auth_PrefManager/distinfo'
XMD5 (PEAR/Auth_PrefManager-1.1.4.tgz) = b29c2f95475fbc4970e2fa2d93715ae7
XSIZE (PEAR/Auth_PrefManager-1.1.4.tgz) = 4911
END-of-pear-Auth_PrefManager/distinfo
echo x - pear-Auth_PrefManager/pkg-descr
sed 's/^X//' >pear-Auth_PrefManager/pkg-descr << 'END-of-pear-Auth_PrefManager/pkg-descr'
XPreference Manager is a class to handle user preferences in a web application,
Xlooking them up in a table using a combination of their userid, and the
Xpreference name to get a value, and (optionally) returning a default value for
Xthe preference if no value could be found for that user.
X
XIt is designed to be used alongside the PEAR Auth class, but can be used with
Xanything that allows you to obtain the user's id - including your own code.
X
XWWW: http://pear.php.net/package/Auth_PrefManager/
END-of-pear-Auth_PrefManager/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list