- update to 5.803

ok alek@
This commit is contained in:
msf 2005-04-01 19:14:11 +00:00
parent 670d9fc421
commit b35ff28d89
4 changed files with 32 additions and 28 deletions

View File

@ -1,17 +1,12 @@
# $OpenBSD: Makefile,v 1.21 2004/06/26 07:35:10 xsa Exp $
# $OpenBSD: Makefile,v 1.22 2005/04/01 19:14:11 msf Exp $
COMMENT= "library for WWW access in Perl"
DISTNAME= libwww-perl-5.69
DISTNAME= libwww-perl-5.803
PKGNAME= p5-${DISTNAME:S/-perl-/-/}
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=LWP/}
RUN_DEPENDS= :p5-URI->1.10:www/p5-URI \
:p5-HTML-Parser->=2.20:www/p5-HTML-Parser \
:p5-Crypt-SSLeay-*:security/p5-Crypt-SSLeay \
:p5-HTTP-GHTTP-*:www/p5-HTTP-GHTTP
BUILD_DEPENDS= ${RUN_DEPENDS}
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
@ -19,6 +14,15 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=LWP/}
RUN_DEPENDS= :p5-Compress-Zlib->=1.10:archivers/p5-Compress-Zlib \
:p5-URI->1.10:www/p5-URI \
:p5-HTML-Parser->=3.33:www/p5-HTML-Parser \
:p5-Crypt-SSLeay-*:security/p5-Crypt-SSLeay \
:p5-HTTP-GHTTP-*:www/p5-HTTP-GHTTP
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_STYLE= perl
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
MD5 (libwww-perl-5.69.tar.gz) = b4567b6fae2b1733415a746956826e0c
RMD160 (libwww-perl-5.69.tar.gz) = 9ba4a5d2498a68d7948b404f19a1c9b60d36def3
SHA1 (libwww-perl-5.69.tar.gz) = 4f975c9ca1b404bcb0afaa0ee945ad0bfd059527
SIZE (libwww-perl-5.69.tar.gz) = 205846
MD5 (libwww-perl-5.803.tar.gz) = 3345d5f15a4f42350847254141725c8f
RMD160 (libwww-perl-5.803.tar.gz) = fd8b842e1f8c8dc7d26d019fb7930db7300e8a61
SHA1 (libwww-perl-5.803.tar.gz) = b1e811b4de2275d52da76798886801926c834725
SIZE (libwww-perl-5.803.tar.gz) = 234773

View File

@ -1,28 +1,25 @@
--- Makefile.PL.orig Thu Jan 23 23:13:42 2003
+++ Makefile.PL Thu Jul 10 13:22:54 2003
@@ -41,13 +41,16 @@
sub { ($_[5]+1900, $_[4]+1, $_[3])}->(localtime(time - 45 * 24*60*60));
$OpenBSD: patch-Makefile_PL,v 1.4 2005/04/01 19:14:11 msf Exp $
--- Makefile.PL.orig Sun Mar 27 10:22:55 2005
+++ Makefile.PL Sun Mar 27 10:25:58 2005
@@ -57,12 +57,13 @@ my $some_time_ago = sprintf "%04d-%02d-%
if ($some_time_ago lt $release_date) {
# Check if we have internet connection
- require IO::Socket;
require IO::Socket;
- my $s = IO::Socket::INET->new(PeerAddr => "www.google.com:80",
- Timeout => 10,
- );
+# require IO::Socket;
+# my $s = IO::Socket::INET->new(PeerAddr => "www.google.com:80",
+# Timeout => 10,
+# );
+
+my $s = 0;
+
+ my $s = 0;
if ($s) {
# XXX could try to send a GET to it???
- close($s);
+# close($s);
+ #close($s);
print <<EOT;
@@ -95,7 +98,7 @@
@@ -110,7 +111,7 @@ to install in $Config{installscript}.
EOT
my @tmp;
for (@programs_to_install) {
@ -31,10 +28,10 @@
push(@tmp, $_);
}
}
@@ -126,7 +129,7 @@
}
close(PROG);
}
@@ -129,7 +130,7 @@ EOT
my @tmp;
for my $alias (@request_aliases) {
my $default = "n";
- if (prompt("Do you want to install the $alias alias?", $default) =~ /^y/) {
+ if (1) {
push(@tmp, $alias);

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2004/09/15 18:49:52 espie Exp $
@comment $OpenBSD: PLIST,v 1.15 2005/04/01 19:14:11 msf Exp $
bin/GET
bin/HEAD
bin/POST
@ -10,6 +10,7 @@ ${P5SITE}/Bundle/
${P5SITE}/Bundle/LWP.pm
${P5SITE}/File/
${P5SITE}/File/Listing.pm
${P5SITE}/HTML/
${P5SITE}/HTML/Form.pm
${P5SITE}/HTTP/
${P5SITE}/HTTP/Cookies/
@ -44,6 +45,7 @@ ${P5SITE}/LWP/MemberMixin.pm
${P5SITE}/LWP/Protocol/
${P5SITE}/LWP/Protocol.pm
${P5SITE}/LWP/Protocol/GHTTP.pm
${P5SITE}/LWP/Protocol/cpan.pm
${P5SITE}/LWP/Protocol/data.pm
${P5SITE}/LWP/Protocol/file.pm
${P5SITE}/LWP/Protocol/ftp.pm
@ -52,6 +54,7 @@ ${P5SITE}/LWP/Protocol/http.pm
${P5SITE}/LWP/Protocol/http10.pm
${P5SITE}/LWP/Protocol/https.pm
${P5SITE}/LWP/Protocol/https10.pm
${P5SITE}/LWP/Protocol/loopback.pm
${P5SITE}/LWP/Protocol/mailto.pm
${P5SITE}/LWP/Protocol/nntp.pm
${P5SITE}/LWP/Protocol/nogo.pm