summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinz <heinz>2007-06-11 21:15:10 +0000
committerheinz <heinz>2007-06-11 21:15:10 +0000
commit5a2d49e05d3c4be00da8bf580c8b53fa73d524f8 (patch)
treeeaf2a6061b5793136443cf101bac7a6a80d18828
parent39223880f1805560ad39e0dd41eb9d3d6f959919 (diff)
downloadpkgsrc-5a2d49e05d3c4be00da8bf580c8b53fa73d524f8.tar.gz
Initial import of p5-LWPx-ParanoidAgent 1.03.
The Perl module LWPx::ParanoidAgent is a subclass of LWP::UserAgent, but paranoid against attackers. It's to be used when you're fetching a remote resource on behalf of a possibly malicious user. This class can do whatever LWP::UserAgent can (callbacks, uploads from files, etc), except proxy support is explicitly removed, because in that case you should do your paranoia at your proxy. Only "http:" and "https:" URL schemes are supported.
-rw-r--r--www/p5-LWPx-ParanoidAgent/DESCR8
-rw-r--r--www/p5-LWPx-ParanoidAgent/Makefile23
-rw-r--r--www/p5-LWPx-ParanoidAgent/PLIST1
-rw-r--r--www/p5-LWPx-ParanoidAgent/distinfo5
4 files changed, 37 insertions, 0 deletions
diff --git a/www/p5-LWPx-ParanoidAgent/DESCR b/www/p5-LWPx-ParanoidAgent/DESCR
new file mode 100644
index 00000000000..84a2e472dc8
--- /dev/null
+++ b/www/p5-LWPx-ParanoidAgent/DESCR
@@ -0,0 +1,8 @@
+The Perl module LWPx::ParanoidAgent is a subclass of LWP::UserAgent,
+but paranoid against attackers. It's to be used when you're fetching a
+remote resource on behalf of a possibly malicious user.
+
+This class can do whatever LWP::UserAgent can (callbacks, uploads from
+files, etc), except proxy support is explicitly removed, because in that
+case you should do your paranoia at your proxy. Only "http:" and "https:"
+URL schemes are supported.
diff --git a/www/p5-LWPx-ParanoidAgent/Makefile b/www/p5-LWPx-ParanoidAgent/Makefile
new file mode 100644
index 00000000000..5ebdd567599
--- /dev/null
+++ b/www/p5-LWPx-ParanoidAgent/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/06/11 21:15:10 heinz Exp $
+#
+
+DISTNAME= LWPx-ParanoidAgent-1.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=LWPx/}
+
+MAINTAINER= heinz@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/LWPx-ParanoidAgent/
+COMMENT= Subclass of module LWP::UserAgent that protects you from harm
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+= p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS
+DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes
+
+PERL5_PACKLIST= auto/LWPx/ParanoidAgent/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-LWPx-ParanoidAgent/PLIST b/www/p5-LWPx-ParanoidAgent/PLIST
new file mode 100644
index 00000000000..1b03adf2471
--- /dev/null
+++ b/www/p5-LWPx-ParanoidAgent/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/11 21:15:10 heinz Exp $
diff --git a/www/p5-LWPx-ParanoidAgent/distinfo b/www/p5-LWPx-ParanoidAgent/distinfo
new file mode 100644
index 00000000000..6c8856723a3
--- /dev/null
+++ b/www/p5-LWPx-ParanoidAgent/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/06/11 21:15:10 heinz Exp $
+
+SHA1 (LWPx-ParanoidAgent-1.03.tar.gz) = a575ea72874d17ce10b894fd228f754018d6aa8e
+RMD160 (LWPx-ParanoidAgent-1.03.tar.gz) = d89fbfbf06e81c99f00392945cf3b8422317be77
+Size (LWPx-ParanoidAgent-1.03.tar.gz) = 13024 bytes