summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-11-07 09:45:00 +0000
committerheinz <heinz@pkgsrc.org>2007-11-07 09:45:00 +0000
commitbbf6e9a4762b4f063042958ccf9c58aae8e323df (patch)
treeaed65737ecaba5def86e5aa66e5161d71e1358ce
parent4cfb5cb0173af76da32d02d1fcb57e38a3fd6924 (diff)
downloadpkgsrc-bbf6e9a4762b4f063042958ccf9c58aae8e323df.tar.gz
Changed default behaviour to make the package install the GET, HEAD and
POST symlinks to lwp-request, as suggested in PR pkg/30737.
-rw-r--r--www/p5-libwww/Makefile4
-rw-r--r--www/p5-libwww/distinfo4
-rw-r--r--www/p5-libwww/patches/patch-aa15
3 files changed, 16 insertions, 7 deletions
diff --git a/www/p5-libwww/Makefile b/www/p5-libwww/Makefile
index 5fde7001a41..81669781e55 100644
--- a/www/p5-libwww/Makefile
+++ b/www/p5-libwww/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.52 2007/10/01 11:35:21 heinz Exp $
+# $NetBSD: Makefile,v 1.53 2007/11/07 09:45:00 heinz Exp $
DISTNAME= libwww-perl-5.808
PKGNAME= p5-${DISTNAME:S/-perl-/-/}
SVR4_PKGNAME= p5lww
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/}
diff --git a/www/p5-libwww/distinfo b/www/p5-libwww/distinfo
index 87b1d74b779..1bdde06fc80 100644
--- a/www/p5-libwww/distinfo
+++ b/www/p5-libwww/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.16 2007/08/29 23:21:49 wiz Exp $
+$NetBSD: distinfo,v 1.17 2007/11/07 09:45:00 heinz Exp $
SHA1 (libwww-perl-5.808.tar.gz) = 9eeb0a88a4f08006ba4a798effd74b139867f3ab
RMD160 (libwww-perl-5.808.tar.gz) = 4ccc1c06cde162cc2a43e14554c9d4ad7103e51a
Size (libwww-perl-5.808.tar.gz) = 240305 bytes
-SHA1 (patch-aa) = 15b7ec5241ee02fa88338a9ff9eefa7471a2f34f
+SHA1 (patch-aa) = 111a05ad721ee094aaf555535768e6b0e16cad0a
diff --git a/www/p5-libwww/patches/patch-aa b/www/p5-libwww/patches/patch-aa
index 353ec21fc44..de1e6b66359 100644
--- a/www/p5-libwww/patches/patch-aa
+++ b/www/p5-libwww/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2001/12/15 10:12:40 martti Exp $
+$NetBSD: patch-aa,v 1.3 2007/11/07 09:45:01 heinz Exp $
---- Makefile.PL.orig Sat Dec 15 16:03:49 2001
+--- Makefile.PL.orig 2007-07-19 22:45:32.000000000 +0200
+++ Makefile.PL
-@@ -41,13 +41,16 @@
+@@ -56,13 +56,16 @@ my $some_time_ago = sprintf "%04d-%02d-%
sub { ($_[5]+1900, $_[4]+1, $_[3])}->(localtime(time - 45 * 24*60*60));
if ($some_time_ago lt $release_date) {
# Check if we have internet connection
@@ -24,3 +24,12 @@ $NetBSD: patch-aa,v 1.2 2001/12/15 10:12:40 martti Exp $
print <<EOT;
+@@ -128,7 +131,7 @@ $Config{installscript}.
+ EOT
+ my @tmp;
+ for my $alias (@request_aliases) {
+- my $default = "n";
++ my $default = "y";
+ if (prompt("Do you want to install the $alias alias?", $default) =~ /^y/) {
+ push(@tmp, $alias);
+ }