aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-12-27 18:55:50 +0800
committertobez <tobez@FreeBSD.org>2005-12-27 18:55:50 +0800
commitf25a292f5b24a6d92687cf010da6dc69075612ad (patch)
treebaf3340ff3bc74d65819a20c3beed0956663140e /www
parent01cd873cdeab1cf969513b60c68af79e825c5840 (diff)
downloadfreebsd-ports-gnome-f25a292f5b24a6d92687cf010da6dc69075612ad.tar.gz
freebsd-ports-gnome-f25a292f5b24a6d92687cf010da6dc69075612ad.tar.zst
freebsd-ports-gnome-f25a292f5b24a6d92687cf010da6dc69075612ad.zip
Add www/p5-HTTP-Server-Simple-Recorder 0.02, a Perl mixin to record all
HTTP communication between an HTTP::Server::Simple-derived server and its clients.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-HTTP-Server-Simple-Recorder/Makefile33
-rw-r--r--www/p5-HTTP-Server-Simple-Recorder/distinfo3
-rw-r--r--www/p5-HTTP-Server-Simple-Recorder/pkg-descr8
-rw-r--r--www/p5-HTTP-Server-Simple-Recorder/pkg-plist9
5 files changed, 54 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index a44e567f33e9..7f5f353951ce 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -589,6 +589,7 @@
SUBDIR += p5-HTTP-Request-Params
SUBDIR += p5-HTTP-Server-Simple
SUBDIR += p5-HTTP-Server-Simple-Mason
+ SUBDIR += p5-HTTP-Server-Simple-Recorder
SUBDIR += p5-HTTP-Server-Simple-Static
SUBDIR += p5-HTTP-WebTest
SUBDIR += p5-HTTPD-Log-Filter
diff --git a/www/p5-HTTP-Server-Simple-Recorder/Makefile b/www/p5-HTTP-Server-Simple-Recorder/Makefile
new file mode 100644
index 000000000000..6ec0ffb01aa3
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Recorder/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: www/p5-HTTP-Server-Simple-Recorder
+# Date created: 27 December 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTTP-Server-Simple-Recorder
+PORTVERSION= 0.02
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= HTTP
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Mixin to record HTTP::Server::Simple's sockets
+
+BUILD_DEPENDS= ${SITE_PERL}/HTTP/Server/Simple.pm:${PORTSDIR}/www/p5-HTTP-Server-Simple \
+ ${SITE_PERL}/Test/HTTP/Server/Simple.pm:${PORTSDIR}/www/p5-Test-HTTP-Server-Simple \
+ ${SITE_PERL}/IO/Tee.pm:${PORTSDIR}/devel/p5-IO-Tee
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= HTTP::Server::Simple::Recorder.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-HTTP-Server-Simple-Recorder/distinfo b/www/p5-HTTP-Server-Simple-Recorder/distinfo
new file mode 100644
index 000000000000..f17fb7027eb1
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Recorder/distinfo
@@ -0,0 +1,3 @@
+MD5 (HTTP-Server-Simple-Recorder-0.02.tar.gz) = 67375dfc286a5cc6d38355a1095dd559
+SHA256 (HTTP-Server-Simple-Recorder-0.02.tar.gz) = a9cfb65c224b76a318851c6ef90a4a8423accd39f5fc71a3c3f649ebe7a71b83
+SIZE (HTTP-Server-Simple-Recorder-0.02.tar.gz) = 10883
diff --git a/www/p5-HTTP-Server-Simple-Recorder/pkg-descr b/www/p5-HTTP-Server-Simple-Recorder/pkg-descr
new file mode 100644
index 000000000000..7ea35d71f6d1
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Recorder/pkg-descr
@@ -0,0 +1,8 @@
+This module allows you to record all HTTP communication between an
+HTTP::Server::Simple-derived server and its clients. It is a mixin, so
+it doesn't itself subclass HTTP::Server::Simple; you need to subclass
+from both HTTP::Server::Simple::Recorder and an actual
+HTTP::Server::Simple subclass, and HTTP::Server::Simple::Recorder should
+be listed first.
+
+WWW: http://search.cpan.org/dist/HTTP-Server-Simple-Recorder/
diff --git a/www/p5-HTTP-Server-Simple-Recorder/pkg-plist b/www/p5-HTTP-Server-Simple-Recorder/pkg-plist
new file mode 100644
index 000000000000..31650c3f76b5
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Recorder/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/HTTP/Server/Simple/Recorder.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server/Simple/Recorder/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server/Simple/Recorder 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server/Simple 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTTP/Server/Simple 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTTP/Server 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTTP 2>/dev/null || true