summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorminskim <minskim>2006-08-22 21:46:13 +0000
committerminskim <minskim>2006-08-22 21:46:13 +0000
commit1b0753ccabd2df9d0deb10c7b13540e604e2b837 (patch)
treee4b1c2661678d121fb493203698e71fd3688ba30 /www
parentc2873c8d2e37aae82301e1b222d09e4ad5e946e2 (diff)
downloadpkgsrc-1b0753ccabd2df9d0deb10c7b13540e604e2b837.tar.gz
Import p5-HTTP-Lite from pkgsrc-wip. Packaged by Eric Schnoebelen.
HTTP::Lite is a stand-alone lightweight HTTP/1.1 implementation for perl. It is not intended as a replacement for the fully-features LWP module. Instead, it is intended for use in situations where it is desirable to install the minimal number of modules to achieve HTTP support, or where LWP is not a good candidate due to CPU overhead, such as slower processors. HTTP::Lite is also significantly faster than LWP.
Diffstat (limited to 'www')
-rw-r--r--www/p5-HTTP-Lite/DESCR7
-rw-r--r--www/p5-HTTP-Lite/Makefile18
-rw-r--r--www/p5-HTTP-Lite/PLIST1
-rw-r--r--www/p5-HTTP-Lite/distinfo6
-rw-r--r--www/p5-HTTP-Lite/patches/patch-aa17
5 files changed, 49 insertions, 0 deletions
diff --git a/www/p5-HTTP-Lite/DESCR b/www/p5-HTTP-Lite/DESCR
new file mode 100644
index 00000000000..8f41a2e358d
--- /dev/null
+++ b/www/p5-HTTP-Lite/DESCR
@@ -0,0 +1,7 @@
+HTTP::Lite is a stand-alone lightweight HTTP/1.1 implementation
+for perl. It is not intended as a replacement for the fully-features
+LWP module. Instead, it is intended for use in situations where
+it is desirable to install the minimal number of modules to achieve
+HTTP support, or where LWP is not a good candidate due to CPU
+overhead, such as slower processors. HTTP::Lite is also significantly
+faster than LWP.
diff --git a/www/p5-HTTP-Lite/Makefile b/www/p5-HTTP-Lite/Makefile
new file mode 100644
index 00000000000..95ef8ec4837
--- /dev/null
+++ b/www/p5-HTTP-Lite/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/22 21:46:13 minskim Exp $
+
+DISTNAME= HTTP-Lite-2.1.6
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5hl
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/}
+
+MAINTAINER= eric@cirr.com
+HOMEPAGE= http://search.cpan.org/dist/HTTP-Lite/
+COMMENT= Lightweight HTTP client implementation
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+PERL5_PACKLIST= auto/HTTP/Lite/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-HTTP-Lite/PLIST b/www/p5-HTTP-Lite/PLIST
new file mode 100644
index 00000000000..97611afe65d
--- /dev/null
+++ b/www/p5-HTTP-Lite/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/22 21:46:13 minskim Exp $
diff --git a/www/p5-HTTP-Lite/distinfo b/www/p5-HTTP-Lite/distinfo
new file mode 100644
index 00000000000..8503977f703
--- /dev/null
+++ b/www/p5-HTTP-Lite/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/22 21:46:13 minskim Exp $
+
+SHA1 (HTTP-Lite-2.1.6.tar.gz) = dbba37219eb1628490ef8f7b8aafbc7f1f4223a3
+RMD160 (HTTP-Lite-2.1.6.tar.gz) = a2c95fe592c8ee3686b53a219a14cbb12c4d14ee
+Size (HTTP-Lite-2.1.6.tar.gz) = 276955 bytes
+SHA1 (patch-aa) = 536fe0a864e139b069a26e179993132fece92e9b
diff --git a/www/p5-HTTP-Lite/patches/patch-aa b/www/p5-HTTP-Lite/patches/patch-aa
new file mode 100644
index 00000000000..6a5f4cc33a5
--- /dev/null
+++ b/www/p5-HTTP-Lite/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/08/22 21:46:13 minskim Exp $
+
+--- test.pl.orig 2003-02-10 15:13:57.000000000 -0600
++++ test.pl
+@@ -42,10 +42,10 @@ to be successful, as one many tests curr
+
+ What is the full URL for the above? Enter 'none' to skip tests.
+ EOF
+-print STDERR "Location: [http://www.thetoybox.org/HTTP-Lite-Tests] ";
++print STDERR "Location: [http://www.toybox.ca/HTTP-Lite-Tests] ";
+ $testpath = <>;
+ chomp($testpath);
+-$testpath = $testpath ? $testpath : "http://www.thetoybox.org/HTTP-Lite-Tests";
++$testpath = $testpath ? $testpath : "http://www.toybox.ca/HTTP-Lite-Tests";
+
+ if ($testpath =~ /\s*'*none'*\s*/)
+ {