summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2005-03-17 02:34:15 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2005-03-17 02:34:15 +0000
commit51933c88fa8f340019ea0be9e1ad36bc5b9979f2 (patch)
tree1d2cdfd47fd0b4988352447990143b5536c29b93 /www
parent- Update WWW and MASTER_SITES (diff)
- A Perl module that use DBD::SQLite 1.x for Apache::Session storage
- required by some RT-Apps.
Notes
Notes: svn path=/head/; revision=131464
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Apache-Session-SQLite3/Makefile26
-rw-r--r--www/p5-Apache-Session-SQLite3/distinfo2
-rw-r--r--www/p5-Apache-Session-SQLite3/pkg-descr9
-rw-r--r--www/p5-Apache-Session-SQLite3/pkg-plist9
5 files changed, 47 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 24880645d056..70fa28a1ecee 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -410,6 +410,7 @@
SUBDIR += p5-Apache-Scoreboard
SUBDIR += p5-Apache-Session
SUBDIR += p5-Apache-Session-PHP
+ SUBDIR += p5-Apache-Session-SQLite3
SUBDIR += p5-Apache-Session-SharedMem
SUBDIR += p5-Apache-Session-Wrapper
SUBDIR += p5-Apache-Singleton
diff --git a/www/p5-Apache-Session-SQLite3/Makefile b/www/p5-Apache-Session-SQLite3/Makefile
new file mode 100644
index 000000000000..b636354d093c
--- /dev/null
+++ b/www/p5-Apache-Session-SQLite3/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Apache-Session-SQLite3
+# Date created: March 17, 2005
+# Whom: clsung
+#
+# $FreeBSD$
+#
+
+PORTNAME= Apache-Session-SQLite3
+PORTVERSION= 0.03
+CATEGORIES= www databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Apache
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Use DBD::SQLite 1.x for Apache::Session storage
+
+BUILD_DEPENDS= ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \
+ ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Apache::Session::SQLite3.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-Apache-Session-SQLite3/distinfo b/www/p5-Apache-Session-SQLite3/distinfo
new file mode 100644
index 000000000000..f55694407d58
--- /dev/null
+++ b/www/p5-Apache-Session-SQLite3/distinfo
@@ -0,0 +1,2 @@
+MD5 (Apache-Session-SQLite3-0.03.tar.gz) = 6d48a6ee3a45b5e37a17b17689b820d9
+SIZE (Apache-Session-SQLite3-0.03.tar.gz) = 10247
diff --git a/www/p5-Apache-Session-SQLite3/pkg-descr b/www/p5-Apache-Session-SQLite3/pkg-descr
new file mode 100644
index 000000000000..a4673ec42fab
--- /dev/null
+++ b/www/p5-Apache-Session-SQLite3/pkg-descr
@@ -0,0 +1,9 @@
+This module is an implementation of Apache::Session.
+It uses the DBD::SQLite backing store. It requires DBD::SQLite
+version 1.00 or above, due to its use of SQLite3 API for BLOB support.
+Also, an extra LastUpdated field is populated with the current time().
+
+There is no need to create the data source file beforehand;
+this module creates the session table automatically.
+
+WWW: http://search.cpan.org/dist/Apache-Session-SQLite3/
diff --git a/www/p5-Apache-Session-SQLite3/pkg-plist b/www/p5-Apache-Session-SQLite3/pkg-plist
new file mode 100644
index 000000000000..9eb0af14907b
--- /dev/null
+++ b/www/p5-Apache-Session-SQLite3/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/Apache/Session/SQLite3.pm
+%%SITE_PERL%%/Apache/Session/Store/SQLite3.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Session/SQLite3/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Session/SQLite3
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Session 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Apache/Session/Store 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Apache/Session 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true