www/60195: New port: pear-HTTP_Session: OO interface to the
session_* family functions
Alex Miller
asm at asm.kiev.ua
Fri Dec 12 15:30:29 PST 2003
>Number: 60195
>Category: www
>Synopsis: New port: pear-HTTP_Session: OO interface to the session_* family functions
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-www
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 12 15:30:24 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Alex Miller <asm at asm.kiev.ua>
>Release: FreeBSD 5.1-RELEASE-p10 i386
>Organization:
Home Sweet Home, Inc.
>Environment:
System: FreeBSD 5.1-RELEASE-p10 #5: Sat Oct 4 15:01:03 EEST 2003 asm at piggy.asa.org.ua:PIGGY i386
>Description:
Object-oriented interface to the session_* family functions
it provides extra features such as database storage for
session data using DB package. It introduces new methods
like isNew(), useCookies(), setExpire(), setIdle(),
isExpired(), isIdled() and others.
WWW: http://pear.php.net/package-info.php?package=HTTP_Session
>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:
#
# www/pear-HTTP_Session/
# www/pear-HTTP_Session/Makefile
# www/pear-HTTP_Session/distinfo
# www/pear-HTTP_Session/pkg-descr
# www/pear-HTTP_Session/pkg-plist
#
echo c - www/pear-HTTP_Session/
mkdir -p www/pear-HTTP_Session/ > /dev/null 2>&1
echo x - www/pear-HTTP_Session/Makefile
sed 's/^X//' >www/pear-HTTP_Session/Makefile << 'END-of-www/pear-HTTP_Session/Makefile'
X# Ports collection makefile for: pear-HTTP_Session
X# Date created: 13 December 2003
X# Whom: Alex Miller (<asm at asm.kiev.ua>)
X#
X# $FreeBSD$
X#
X
XPORTNAME= HTTP_Session
XPORTVERSION= 0.4
XCATEGORIES= devel www pear
X
XMAINTAINER= ports at FreeBSD.org
XCOMMENT= PEAR Object-oriented interface to the session_* family functions
X
XBUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
X.include <bsd.port.pre.mk>
X.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
X
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X @${INSTALL_DATA} ${WRKSRC}/docs/sessiondata.sql ${DOCSDIR}
X @${INSTALL_DATA} ${WRKSRC}/docs/HTTP_Session_Example.php ${DOCSDIR}
X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
X.endif
X
Xdo-install:
X @${MKDIR} ${PEARDIR}/Session/Container
X @${CP} -p ${WRKSRC}/Session/Container/DB.php ${PEARDIR}/Session/Container
X @${CP} -p ${WRKSRC}/Session/Container.php ${PEARDIR}/Session
X @${CP} ${WRKSRC}/Session.php ${PEARDIR}
X @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Session.php
X @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Session
X
X.include <bsd.port.post.mk>
END-of-www/pear-HTTP_Session/Makefile
echo x - www/pear-HTTP_Session/distinfo
sed 's/^X//' >www/pear-HTTP_Session/distinfo << 'END-of-www/pear-HTTP_Session/distinfo'
XMD5 (PEAR/HTTP_Session-0.4.tgz) = aeb0a0cc805d7755d2086e067adf1761
END-of-www/pear-HTTP_Session/distinfo
echo x - www/pear-HTTP_Session/pkg-descr
sed 's/^X//' >www/pear-HTTP_Session/pkg-descr << 'END-of-www/pear-HTTP_Session/pkg-descr'
XObject-oriented interface to the session_* family functions
Xit provides extra features such as database storage for
Xsession data using DB package. It introduces new methods
Xlike isNew(), useCookies(), setExpire(), setIdle(),
XisExpired(), isIdled() and others.
X
XWWW: http://pear.php.net/package-info.php?package=HTTP_Session
END-of-www/pear-HTTP_Session/pkg-descr
echo x - www/pear-HTTP_Session/pkg-plist
sed 's/^X//' >www/pear-HTTP_Session/pkg-plist << 'END-of-www/pear-HTTP_Session/pkg-plist'
X%%PEARDIR%%/Session.php
X%%PEARDIR%%/Session/Container.php
X%%PEARDIR%%/Session/Container/DB.php
X%%PKGREGDIR%%/package.xml
X%%PORTDOCS%%%%DOCSDIR%%/HTTP_Session_Example.php
X%%PORTDOCS%%%%DOCSDIR%%/sessiondata.sql
X at dirrm %%PEARDIR%%/Session/Container
X at unexec rmdir %D/%%PEARDIR%%/Session/Container 2>/dev/null || true
X at unexec rmdir %D/%%PEARDIR%%/Session 2>/dev/null || true
X at dirrm %%PKGREGDIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-www/pear-HTTP_Session/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-www
mailing list