aboutsummaryrefslogtreecommitdiff
path: root/perl/libwww-perl
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2011-12-14 22:40:14 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-18 00:07:50 -0200
commitaed75ba0708219f026c8e23903a68146c97d15ee (patch)
treebb6c10d24429f8615eed26cb7a1ea71588a3cd2d /perl/libwww-perl
parentc7a0f155ff647d3d6d6d1561c7fec8e893bb8c15 (diff)
perl/libwww-perl: Updated for version 6.03.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/libwww-perl')
-rw-r--r--perl/libwww-perl/README30
-rw-r--r--perl/libwww-perl/libwww-perl.SlackBuild14
-rw-r--r--perl/libwww-perl/libwww-perl.info6
-rw-r--r--perl/libwww-perl/slack-desc8
4 files changed, 23 insertions, 35 deletions
diff --git a/perl/libwww-perl/README b/perl/libwww-perl/README
index b61fa2c2226e..92b0886a7617 100644
--- a/perl/libwww-perl/README
+++ b/perl/libwww-perl/README
@@ -1,24 +1,14 @@
libwww-perl - WWW client/server library for perl
This is a set of Perl modules which provides a simple and consistent
-application programming interface to the World-Wide Web. The main focus of
-the library is to provide classes and functions that allow you to write
-WWW clients. The library also contain modules that are of more general
-use and even classes that help you implement simple HTTP servers.
+application programming interface to the World-Wide Web. The main focus
+of the library is to provide classes and functions that allow you to
+write WWW clients. The library also contain modules that are of more
+general use and even classes that help you implement simple HTTP
+servers.
-It includes the following perl modules: Bundle::LWP, File::Listing,
-HTML::Form, HTTP::Cookies, HTTP::Cookies::Microsoft, HTTP::Cookies::Netscape,
-HTTP::Daemon, HTTP::Date, HTTP::Headers, HTTP::Headers::Auth,
-HTTP::Headers::ETag, HTTP::Headers::Util, HTTP::Message, HTTP::Negotiate,
-HTTP::Request, HTTP::Request::Common, HTTP::Response, HTTP::Status, LWP,
-LWP::Authen::Basic, LWP::Authen::Digest, LWP::Authen::Ntlm, LWP::ConnCache,
-LWP::Debug, LWP::DebugFile, LWP::MediaTypes, LWP::MemberMixin, LWP::Protocol,
-LWP::Protocol::GHTTP, LWP::Protocol::cpan, LWP::Protocol::data,
-LWP::Protocol::file, LWP::Protocol::ftp, LWP::Protocol::gopher,
-LWP::Protocol::http, LWP::Protocol::http10, LWP::Protocol::https,
-LWP::Protocol::https10, LWP::Protocol::loopback, LWP::Protocol::mailto,
-LWP::Protocol::nntp, LWP::Protocol::nogo, LWP::RobotUA, LWP::Simple,
-LWP::UserAgent, Net::HTTP, Net::HTTP::Methods, Net::HTTP::NB, Net::HTTPS,
-WWW::RobotRules, WWW::RobotRules::AnyDBM_File.
-
-This requires perl-html-parser and perl-html-tagset.
+Since version 6, several submodules have been unbundled. Therefore,
+this requires perl-html-parser, perl-html-tagset, perl-encode-locale,
+perl-uri-escape, perl-http-date, perl-lwp-mediatypes, perl-http-messages,
+perl-http-cookies, perl-http-daemon, perl-file-listing,
+perl-http-negotiate, perl-net-http, and perl-www-robotrules.
diff --git a/perl/libwww-perl/libwww-perl.SlackBuild b/perl/libwww-perl/libwww-perl.SlackBuild
index 53d71e4dd3ea..89042e819dc2 100644
--- a/perl/libwww-perl/libwww-perl.SlackBuild
+++ b/perl/libwww-perl/libwww-perl.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libwww-perl
-# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2008-2011 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libwww-perl
-VERSION=${VERSION:-5.837}
+VERSION=${VERSION:-6.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,23 +57,21 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-echo "y" | perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor \
+echo "y" | perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3
-
make
make test
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Remove perllocal.pod and other special files that don't need to be installed,
-# as they will overwrite what's already on the system.
find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
# Remove empty directories
diff --git a/perl/libwww-perl/libwww-perl.info b/perl/libwww-perl/libwww-perl.info
index 5cdff758cf69..c2c7ae0840fe 100644
--- a/perl/libwww-perl/libwww-perl.info
+++ b/perl/libwww-perl/libwww-perl.info
@@ -1,8 +1,8 @@
PRGNAM="libwww-perl"
-VERSION="5.837"
+VERSION="6.03"
HOMEPAGE="http://search.cpan.org/dist/libwww-perl/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.837.tar.gz"
-MD5SUM="9bbf1bce482b0bac98bb4f04253c03d0"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-6.03.tar.gz"
+MD5SUM="e8f0ad4a990e13db41cdf6d4a4adbb18"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="LukenShiro"
diff --git a/perl/libwww-perl/slack-desc b/perl/libwww-perl/slack-desc
index aee050c9e085..6722af99b6ab 100644
--- a/perl/libwww-perl/slack-desc
+++ b/perl/libwww-perl/slack-desc
@@ -10,10 +10,10 @@ libwww-perl: libwww-perl (WWW client/server library for perl)
libwww-perl:
libwww-perl: It is a set of Perl modules which provides a simple and consistent
libwww-perl: application programming interface to the World-Wide Web. The main
-libwww-perl: focus of the library is to provide classes and functions that
-libwww-perl: allow you to write WWW clients. The library also contain modules
-libwww-perl: that are of more general use and even classes that help you
-libwww-perl: implement simple HTTP servers.
+libwww-perl: focus of the library is to provide classes and functions that
+libwww-perl: allow you to write WWW clients.
libwww-perl:
libwww-perl: Homepage: http://search.cpan.org/dist/libwww-perl
libwww-perl:
+libwww-perl:
+libwww-perl: