[79379] trunk/dports/perl
l2g at macports.org
l2g at macports.org
Sat Jun 11 20:36:03 PDT 2011
Revision: 79379
http://trac.macports.org/changeset/79379
Author: l2g at macports.org
Date: 2011-06-11 20:36:02 -0700 (Sat, 11 Jun 2011)
Log Message:
-----------
p5-libwww-perl: upgraded to version 6.02, broken up into many new ports and
dependencies
Modified Paths:
--------------
trunk/dports/perl/p5-libwww-perl/Portfile
Added Paths:
-----------
trunk/dports/perl/p5-encode-locale/
trunk/dports/perl/p5-encode-locale/Portfile
trunk/dports/perl/p5-file-listing/
trunk/dports/perl/p5-file-listing/Portfile
trunk/dports/perl/p5-html-form/
trunk/dports/perl/p5-html-form/Portfile
trunk/dports/perl/p5-http-cookies/
trunk/dports/perl/p5-http-cookies/Portfile
trunk/dports/perl/p5-http-daemon/
trunk/dports/perl/p5-http-daemon/Portfile
trunk/dports/perl/p5-http-date/
trunk/dports/perl/p5-http-date/Portfile
trunk/dports/perl/p5-http-date/files/
trunk/dports/perl/p5-http-date/files/patch-lib-HTTP-Date.pm.diff
trunk/dports/perl/p5-http-message/
trunk/dports/perl/p5-http-message/Portfile
trunk/dports/perl/p5-http-negotiate/
trunk/dports/perl/p5-http-negotiate/Portfile
trunk/dports/perl/p5-lwp-mediatypes/
trunk/dports/perl/p5-lwp-mediatypes/Portfile
trunk/dports/perl/p5-lwp-protocol-http10/
trunk/dports/perl/p5-lwp-protocol-http10/Portfile
trunk/dports/perl/p5-lwp-protocol-https/
trunk/dports/perl/p5-lwp-protocol-https/Portfile
trunk/dports/perl/p5-mozilla-ca/
trunk/dports/perl/p5-mozilla-ca/Portfile
trunk/dports/perl/p5-net-http/
trunk/dports/perl/p5-net-http/Portfile
trunk/dports/perl/p5-www-robotrules/
trunk/dports/perl/p5-www-robotrules/Portfile
Removed Paths:
-------------
trunk/dports/perl/p5-libwww-perl/files/patch-lib-HTTP-Date.pm.diff
Added: trunk/dports/perl/p5-encode-locale/Portfile
===================================================================
--- trunk/dports/perl/p5-encode-locale/Portfile (rev 0)
+++ trunk/dports/perl/p5-encode-locale/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,18 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup Encode-Locale 1.02
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description Encode::Locale - Determine the locale encoding
+
+long_description ${description}
+
+checksums sha1 25f79c9fc7636887ddf00e0a759a8cd4b9cb492c \
+ rmd160 c0848157d2d78952817f3d86811cbce5bcab1020
Property changes on: trunk/dports/perl/p5-encode-locale/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-file-listing/Portfile
===================================================================
--- trunk/dports/perl/p5-file-listing/Portfile (rev 0)
+++ trunk/dports/perl/p5-file-listing/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,30 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup File-Listing 6.02
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description File::Listing - parse directory listing
+
+long_description ${description}
+
+checksums sha1 022e3396bfcc3f8790dd81ddc89ae5903bf3a9f7 \
+ rmd160 baf3e0c8be66a25d3a2cff98f054f5532b6f6d7e
+
+depends_lib-append port:p5-http-date
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/File/Listing.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-file-listing/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-html-form/Portfile
===================================================================
--- trunk/dports/perl/p5-html-form/Portfile (rev 0)
+++ trunk/dports/perl/p5-html-form/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,32 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup HTML-Form 6.00
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description HTML::Form - Class that represents an HTML form element
+
+long_description ${description}
+
+checksums sha1 45fe6121ea15fbc3fad4ab6851d2dbf1c72971d1 \
+ rmd160 268e696bb925ce5c34d47050ed352a233a42aa05
+
+depends_lib-append port:p5-html-parser \
+ port:p5-http-message \
+ port:p5-uri
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/HTML/Form.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-html-form/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-http-cookies/Portfile
===================================================================
--- trunk/dports/perl/p5-http-cookies/Portfile (rev 0)
+++ trunk/dports/perl/p5-http-cookies/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,31 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup HTTP-Cookies 6.00
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description HTTP::Cookies - HTTP cookie jars
+
+long_description ${description}
+
+checksums sha1 a7132472166ac32a68a2f186ad1518ba4a0c29b3 \
+ rmd160 d6630e0c7c57523ec536af36e7b75b4fc25e3c3d
+
+depends_lib-append port:p5-http-date \
+ port:p5-http-message
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/HTTP/Cookies.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-http-cookies/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-http-daemon/Portfile
===================================================================
--- trunk/dports/perl/p5-http-daemon/Portfile (rev 0)
+++ trunk/dports/perl/p5-http-daemon/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,32 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup HTTP-Daemon 6.00
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description HTTP::Daemon - a simple HTTP server class
+
+long_description ${description}
+
+checksums sha1 cf33910549d83252f662754022b8d299f351f5bd \
+ rmd160 b372f2281bf256139ff1ebf80ddd784b00974ed4
+
+depends_lib-append port:p5-http-date \
+ port:p5-http-message \
+ port:p5-lwp-mediatypes
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/HTTP/Daemon.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-http-daemon/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-http-date/Portfile
===================================================================
--- trunk/dports/perl/p5-http-date/Portfile (rev 0)
+++ trunk/dports/perl/p5-http-date/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,30 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup HTTP-Date 6.00
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description HTTP::Date - date conversion for HTTP date formats
+
+long_description ${description}
+
+patchfiles patch-lib-HTTP-Date.pm.diff
+
+checksums sha1 2b3c445e098ecf0fb30d1d2907fc584b852bc113 \
+ rmd160 2f06178f44bd872409654f7925a2d109c852a144
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/HTTP/Date.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-http-date/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-http-date/files/patch-lib-HTTP-Date.pm.diff
===================================================================
--- trunk/dports/perl/p5-http-date/files/patch-lib-HTTP-Date.pm.diff (rev 0)
+++ trunk/dports/perl/p5-http-date/files/patch-lib-HTTP-Date.pm.diff 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,32 @@
+--- lib/HTTP/Date.pm.orig 2008-04-11 11:59:19.000000000 -0700
++++ lib/HTTP/Date.pm 2009-06-01 10:37:20.000000000 -0700
+@@ -40,7 +40,8 @@
+ if ($str =~ /^[SMTWF][a-z][a-z], (\d\d) ([JFMAJSOND][a-z][a-z]) (\d\d\d\d) (\d\d):(\d\d):(\d\d) GMT$/) {
+ return eval {
+ my $t = Time::Local::timegm($6, $5, $4, $1, $MoY{$2}-1, $3);
+- $t < 0 ? undef : $t;
++## $t < 0 ? undef : $t;
++ $t;
+ };
+ }
+
+@@ -53,7 +54,8 @@
+ unless (defined($tz = shift)) {
+ return eval { my $frac = $d[-1]; $frac -= ($d[-1] = int($frac));
+ my $t = Time::Local::timelocal(reverse @d) + $frac;
+- $t < 0 ? undef : $t;
++## $t < 0 ? undef : $t;
++ $t;
+ };
+ }
+ }
+@@ -75,7 +77,8 @@
+
+ return eval { my $frac = $d[-1]; $frac -= ($d[-1] = int($frac));
+ my $t = Time::Local::timegm(reverse @d) + $frac;
+- $t < 0 ? undef : $t - $offset;
++## $t < 0 ? undef : $t - $offset;
++ $t - $offset;
+ };
+ }
+
Added: trunk/dports/perl/p5-http-message/Portfile
===================================================================
--- trunk/dports/perl/p5-http-message/Portfile (rev 0)
+++ trunk/dports/perl/p5-http-message/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,37 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup HTTP-Message 6.02
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description HTTP::Message - Representation of HTTP messages
+
+long_description \
+ The HTTP-Message distribution contains classes useful for representing \
+ the messages passed in HTTP style communication. These are classes \
+ representing requests, responses and the headers contained within them.
+
+checksums sha1 8622a3ac18c39c3594ff42a330ceb65ac6c91c43 \
+ rmd160 6703f508af52ba7d30a1a3362c0f40f8a01af20d
+
+depends_lib-append port:p5-encode-locale \
+ port:p5-html-parser \
+ port:p5-http-date \
+ port:p5-lwp-mediatypes \
+ port:p5-uri
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/HTTP/Message.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-http-message/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-http-negotiate/Portfile
===================================================================
--- trunk/dports/perl/p5-http-negotiate/Portfile (rev 0)
+++ trunk/dports/perl/p5-http-negotiate/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,30 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup HTTP-Negotiate 6.00
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description HTTP content negotiation
+
+long_description ${description}
+
+checksums sha1 4ef0f026a9c710d876444dcfdc3a56cbb2c8a478 \
+ rmd160 d6294ced942b213b851cfe5088334934ab5e9a43
+
+depends_lib-append port:p5-http-message
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/HTTP/Negotiate.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-http-negotiate/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Modified: trunk/dports/perl/p5-libwww-perl/Portfile
===================================================================
--- trunk/dports/perl/p5-libwww-perl/Portfile 2011-06-12 03:25:17 UTC (rev 79378)
+++ trunk/dports/perl/p5-libwww-perl/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -3,9 +3,9 @@
PortSystem 1.0
PortGroup perl5 1.0
-perl5.setup libwww-perl 5.837 ../by-authors/id/G/GA/GAAS
-revision 1
+perl5.setup libwww-perl 6.02 LWP
maintainers narf_tm openmaintainer
+license Artistic GPL
supported_archs noarch
description The World-Wide Web library for Perl
@@ -19,18 +19,59 @@
and even classes that help you implement \
simple HTTP servers.
-checksums sha1 43b4b0449d9432be29a136a10545c8d1162bcc88 \
- rmd160 eed2d55409e0f712df188599abcb5ea237d93ac9
+checksums sha1 211393d014a9c991e572138aaaf367d10ea7103e \
+ rmd160 741b292c6adbe70b6b33827606b8df0786a09922
-patchfiles patch-lib-HTTP-Date.pm.diff
-
platforms darwin
-depends_lib-append port:p5-io-compress \
- port:p5-compress-raw-zlib \
+depends_lib-append port:p5-encode-locale \
+ port:p5-file-listing \
+ port:p5-html-form \
port:p5-html-parser \
- port:p5-html-tagset \
+ port:p5-http-cookies \
+ port:p5-http-daemon \
+ port:p5-http-date \
+ port:p5-http-message \
+ port:p5-http-negotiate \
+ port:p5-lwp-mediatypes \
+ port:p5-net-http \
port:p5-uri \
- port:p5-crypt-ssleay
+ port:p5-www-robotrules
use_parallel_build yes
+
+post-destroot {
+ # Install miscellaneous doc files
+ file mkdir ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/AUTHORS \
+ ${worksrcpath}/Changes \
+ ${worksrcpath}/README \
+ ${worksrcpath}/README.SSL \
+ ${destroot}${prefix}/share/doc/${name}
+}
+
+notes \
+ "As of version 6.00, libwww-perl has been broken up into multiple" \
+ "packages. If you were using ${name} for just one or two of its" \
+ "modules before, you may be able to pare down your installation to" \
+ "just those modules now. Other important changes have been made that" \
+ "may affect your code; for details, please see:" \
+ ${prefix}/share/doc/${name}/Changes
+
+# Starting with version 6.02, LWP::Protocol::https began to be packaged
+# separately from libwww-perl as well. The thinking seems to have been that
+# any package requiring HTTPS support would just declare an extra dependency
+# on LWP::Protocol::https, and those that didn't, wouldn't.
+#
+# However, at this writing, there are 59 ports in MacPorts that depend on
+# p5-libwww-perl, and I don't want to audit them all for their HTTPS
+# requirements. So in keeping with the Principle of Least Astonishment while
+# recognizing that some people won't need or want the extra modules installed,
+# I've decided to add a new variant and have it enabled by default.
+# --Larry Gilbert (L2G) 2011-06-02
+
+default_variants +ssl
+
+variant ssl description {Include optional SSL/TLS (HTTPS) support} {
+ depends_lib-append port:p5-lwp-protocol-https
+}
Deleted: trunk/dports/perl/p5-libwww-perl/files/patch-lib-HTTP-Date.pm.diff
===================================================================
--- trunk/dports/perl/p5-libwww-perl/files/patch-lib-HTTP-Date.pm.diff 2011-06-12 03:25:17 UTC (rev 79378)
+++ trunk/dports/perl/p5-libwww-perl/files/patch-lib-HTTP-Date.pm.diff 2011-06-12 03:36:02 UTC (rev 79379)
@@ -1,32 +0,0 @@
---- lib/HTTP/Date.pm.orig 2008-04-11 11:59:19.000000000 -0700
-+++ lib/HTTP/Date.pm 2009-06-01 10:37:20.000000000 -0700
-@@ -40,7 +40,8 @@
- if ($str =~ /^[SMTWF][a-z][a-z], (\d\d) ([JFMAJSOND][a-z][a-z]) (\d\d\d\d) (\d\d):(\d\d):(\d\d) GMT$/) {
- return eval {
- my $t = Time::Local::timegm($6, $5, $4, $1, $MoY{$2}-1, $3);
-- $t < 0 ? undef : $t;
-+## $t < 0 ? undef : $t;
-+ $t;
- };
- }
-
-@@ -53,7 +54,8 @@
- unless (defined($tz = shift)) {
- return eval { my $frac = $d[-1]; $frac -= ($d[-1] = int($frac));
- my $t = Time::Local::timelocal(reverse @d) + $frac;
-- $t < 0 ? undef : $t;
-+## $t < 0 ? undef : $t;
-+ $t;
- };
- }
- }
-@@ -75,7 +77,8 @@
-
- return eval { my $frac = $d[-1]; $frac -= ($d[-1] = int($frac));
- my $t = Time::Local::timegm(reverse @d) + $frac;
-- $t < 0 ? undef : $t - $offset;
-+## $t < 0 ? undef : $t - $offset;
-+ $t - $offset;
- };
- }
-
Added: trunk/dports/perl/p5-lwp-mediatypes/Portfile
===================================================================
--- trunk/dports/perl/p5-lwp-mediatypes/Portfile (rev 0)
+++ trunk/dports/perl/p5-lwp-mediatypes/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,27 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup LWP-MediaTypes 6.01
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description Media types and mailcap processing
+long_description ${description}
+
+checksums sha1 b794d54a4f8c36ee51b28987bfc1abc33be5561d \
+ rmd160 2ea782c0da693951f1614f3a5f74d63e505368d6
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/LWP/MediaTypes.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-lwp-mediatypes/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-lwp-protocol-http10/Portfile
===================================================================
--- trunk/dports/perl/p5-lwp-protocol-http10/Portfile (rev 0)
+++ trunk/dports/perl/p5-lwp-protocol-http10/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,30 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup LWP-Protocol-http10 6.02
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description Deprecated support for HTTP/1.0 in libwww-perl
+
+long_description ${description}
+
+checksums sha1 208173e438ece63a2b0b701e59640caa377a5419 \
+ rmd160 8641b37ed0fb8b5d9312af48ea0a18cc4e764d38
+
+depends_lib-append port:p5-libwww-perl
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/LWP/Protocol/http10.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-lwp-protocol-http10/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-lwp-protocol-https/Portfile
===================================================================
--- trunk/dports/perl/p5-lwp-protocol-https/Portfile (rev 0)
+++ trunk/dports/perl/p5-lwp-protocol-https/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,37 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup LWP-Protocol-https 6.02
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description LWP::Protocol::https - SSL support for libwww-perl
+
+long_description \
+ The LWP::Protocol::https module used to be bundled with p5-libwww-perl, \
+ but it was unbundled in v6.02 so that dependencies could be declared \
+ properly. Ports that need https support can just declare their \
+ dependency on ${name} and will no longer need to know what \
+ underlying modules to install.
+
+checksums sha1 476a62275bf5ae89dd6799d8f660071dba1819b9 \
+ rmd160 a4ee19e141a4da9dc0d6a415573204c80a330569
+
+depends_lib-append port:p5-io-socket-ssl \
+ port:p5-mozilla-ca \
+ port:p5-net-http
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/LWP/Protocol/https.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-lwp-protocol-https/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-mozilla-ca/Portfile
===================================================================
--- trunk/dports/perl/p5-mozilla-ca/Portfile (rev 0)
+++ trunk/dports/perl/p5-mozilla-ca/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,21 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup Mozilla-CA 20110409
+platforms darwin
+license MPL-1.1 GPL-2 LGPL-2.1
+maintainers l2g openmaintainer
+supported_archs noarch
+
+description Mozilla::CA - Mozilla's CA cert bundle in PEM format
+
+long_description \
+ Mozilla::CA provides a copy of Mozilla\'s bundle of Certificate \
+ Authority certificates in a form that can be consumed by modules and \
+ libraries based on OpenSSL.
+
+checksums sha1 0aa37930b8be113590aa6f5bd12a7a650c7eea37 \
+ rmd160 4fb0e67859df36d27548052854455975f95657b2
Property changes on: trunk/dports/perl/p5-mozilla-ca/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-net-http/Portfile
===================================================================
--- trunk/dports/perl/p5-net-http/Portfile (rev 0)
+++ trunk/dports/perl/p5-net-http/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,28 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup Net-HTTP 6.01
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description Low-level HTTP connection (client)
+
+long_description ${description}
+
+checksums sha1 ffefc52e4e171d2b578a6e50d2fd29ea71fcdbe8 \
+ rmd160 156670bd93ce465d7a9d2fcac685820e4708f252
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/Net/HTTP.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-net-http/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-www-robotrules/Portfile
===================================================================
--- trunk/dports/perl/p5-www-robotrules/Portfile (rev 0)
+++ trunk/dports/perl/p5-www-robotrules/Portfile 2011-06-12 03:36:02 UTC (rev 79379)
@@ -0,0 +1,30 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup WWW-RobotRules 6.01
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+supported_archs noarch
+
+description Parse /robots.txt file
+
+long_description ${description}
+
+checksums sha1 426920bbfc73a38dffa319dd2f53b0eb9b294b5b \
+ rmd160 6f2c1bef375ad2b2f171b4feae721eec8e1007ec
+
+depends_lib-append port:p5-uri
+
+# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
+pre-activate {
+ if {[file exists ${perl5.lib}/WWW/RobotRules.pm]
+ && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 6.0] < 0} {
+ ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
+ registry_deactivate p5-libwww-perl "" [list ports_nodepcheck 1]
+ }
+}
Property changes on: trunk/dports/perl/p5-www-robotrules/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110611/7f4f7604/attachment-0001.html>
More information about the macports-changes
mailing list