summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-04-01 16:08:26 +0000
committermat <mat@FreeBSD.org>2004-04-01 16:08:26 +0000
commit2e69d4aecf788d5a63c0c60b4acc3092f3aac222 (patch)
treec4aabe9ecbb08c49698c721fe670af2775e539f3 /www
parent650f07ee47f03b5c4f7ef36dda8d988c7e7470cf (diff)
downloadFreeBSD-ports-2e69d4aecf788d5a63c0c60b4acc3092f3aac222.zip
FreeBSD-ports-2e69d4aecf788d5a63c0c60b4acc3092f3aac222.tar.gz
Add p5-HTTP-Recorder 0.03.01, record interaction with websites.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-HTTP-Recorder/Makefile37
-rw-r--r--www/p5-HTTP-Recorder/distinfo2
-rw-r--r--www/p5-HTTP-Recorder/pkg-descr7
-rw-r--r--www/p5-HTTP-Recorder/pkg-plist7
5 files changed, 54 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 1180fc5..821fd1c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -425,6 +425,7 @@
SUBDIR += p5-HTTP-MHTTP
SUBDIR += p5-HTTP-MobileAgent
SUBDIR += p5-HTTP-Proxy
+ SUBDIR += p5-HTTP-Recorder
SUBDIR += p5-HTTP-WebTest
SUBDIR += p5-HTTPD-Log-Filter
SUBDIR += p5-HTTPD-Tools
diff --git a/www/p5-HTTP-Recorder/Makefile b/www/p5-HTTP-Recorder/Makefile
new file mode 100644
index 0000000..220d22c
--- /dev/null
+++ b/www/p5-HTTP-Recorder/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: p5-HTTP-Recorder
+# Date created: 1 April 2004
+# Whom: mat
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTTP-Recorder
+PORTVERSION= 0.03.01
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/L/LE/LEIRA
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/_\1/}
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= Record interaction with websites
+
+BUILD_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/TokeParser.pm:${PORTSDIR}/www/p5-HTML-Parser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= HTTP::Recorder.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/;' \
+ -e '$$_ = "" if /use warnings/;' \
+ ${WRKSRC}/lib/HTTP/Recorder.pm \
+ ${WRKSRC}/lib/HTTP/Recorder/Logger.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-HTTP-Recorder/distinfo b/www/p5-HTTP-Recorder/distinfo
new file mode 100644
index 0000000..f2d17c3
--- /dev/null
+++ b/www/p5-HTTP-Recorder/distinfo
@@ -0,0 +1,2 @@
+MD5 (HTTP-Recorder-0.03_01.tar.gz) = e8250d7d4c38afbfb156f094de2b7d26
+SIZE (HTTP-Recorder-0.03_01.tar.gz) = 7715
diff --git a/www/p5-HTTP-Recorder/pkg-descr b/www/p5-HTTP-Recorder/pkg-descr
new file mode 100644
index 0000000..813f008
--- /dev/null
+++ b/www/p5-HTTP-Recorder/pkg-descr
@@ -0,0 +1,7 @@
+This module implements a HTTP proxy, using a HTTP::Daemon to accept client
+connections, and a LWP::UserAgent to ask for the requested pages.
+
+The most interesting feature of this proxy object is its hability to filter the
+HTTP requests and responses through user-defined filters.
+
+WWW: http://search.cpan.org/dist/HTTP-Proxy/
diff --git a/www/p5-HTTP-Recorder/pkg-plist b/www/p5-HTTP-Recorder/pkg-plist
new file mode 100644
index 0000000..2dfe03f
--- /dev/null
+++ b/www/p5-HTTP-Recorder/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/HTTP/Recorder.pm
+%%SITE_PERL%%/HTTP/Recorder/Logger.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Recorder/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Recorder
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP 2>/dev/null || true
+@dirrm %%SITE_PERL%%/HTTP/Recorder
+@unexec rmdir %D/%%SITE_PERL%%/HTTP 2>/dev/null || true
OpenPOWER on IntegriCloud