1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add p5-Apache-Session-Wrapper 0.17, a simple wrapper around

Apache::Session.
This commit is contained in:
Mathieu Arnold 2004-10-12 11:32:32 +00:00
parent 733a2edd02
commit e69c4b5265
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118960
5 changed files with 53 additions and 0 deletions

View File

@ -396,6 +396,7 @@
SUBDIR += p5-Apache-Session
SUBDIR += p5-Apache-Session-PHP
SUBDIR += p5-Apache-Session-SharedMem
SUBDIR += p5-Apache-Session-Wrapper
SUBDIR += p5-Apache-SubProcess
SUBDIR += p5-Apache-Test
SUBDIR += p5-ApacheBench

View File

@ -0,0 +1,35 @@
# New ports collection makefile for: p5-Apache-Session-Wrapper
# Date created: 20 Sep 2004
# Whom: mat
#
# $FreeBSD$
#
PORTNAME= Apache-Session-Wrapper
PORTVERSION= 0.17
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= A simple wrapper around Apache::Session
BUILD_DEPENDS= ${SITE_PERL}/Class/Container.pm:${PORTSDIR}/devel/p5-Class-Container \
${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
MAN3= Apache::Session::Wrapper.3
.include <bsd.port.pre.mk>
# Depends on devel/p5-Class-Container whichs needs perl 5.6.x or later
.if ${PERL_LEVEL} < 500600
IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (Apache-Session-Wrapper-0.17.tar.gz) = c7876bad731c2e407816e2ee434ecb14
SIZE (Apache-Session-Wrapper-0.17.tar.gz) = 17662

View File

@ -0,0 +1,12 @@
This module is a simple wrapper around Apache::Session which provides some
methods to simplify getting and setting the session id.
It can uses cookies to store the session id, or it can look in a provided
object for a specific parameter. Alternately, you can simply provide the
session id yourself in the call to the session() method.
If you're using Mason, you should probably take a look at
MasonX::Request::WithApacheSession first, which integrates this module directly
into Mason.
WWW: http://search.cpan.org/dist/Apache-Session-Wrapper/

View File

@ -0,0 +1,3 @@
%%SITE_PERL%%/Apache/Session/Wrapper.pm
@unexec rmdir %D/%%SITE_PERL%%/Apache/Session 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true