perl/libwww-perl: Updated for version 6.03.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
LukenShiro 2011-12-14 22:40:14 -06:00 committed by Niels Horn
parent c7a0f155ff
commit aed75ba070
4 changed files with 23 additions and 35 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"

View file

@ -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: