summaryrefslogtreecommitdiff
path: root/source/d
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2018-06-05 05:24:22 +0000
committerEric Hameleers <alien@slackware.com>2018-06-05 14:23:15 +0200
commitec4fd2d70a99a651f8498ce4c1ca8b38b9583c39 (patch)
tree4d7e472dd250677ad2bec251cb7ac5e7d8e3f6e3 /source/d
parentb5c37d741f799c8289c331f601c6499e8b974ec7 (diff)
downloadcurrent-ec4fd2d70a99a651f8498ce4c1ca8b38b9583c39.tar.gz
Tue Jun 5 05:24:22 UTC 201820180605052422
ap/mc-4.8.21-x86_64-1.txz: Upgraded. ap/soma-3.0.4-noarch-1.txz: Upgraded. d/perl-5.26.2-x86_64-4.txz: Rebuilt. Added IO-Socket-SSL-2.056 and Net-SSLeay-1.85. Thanks to Xsane. n/ModemManager-1.8.0-x86_64-1.txz: Upgraded. n/bluez-5.50-x86_64-1.txz: Upgraded. n/dhcpcd-7.0.5b-x86_64-1.txz: Upgraded. xap/gnuplot-5.2.4-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/d')
-rwxr-xr-xsource/d/perl/perl.SlackBuild45
1 files changed, 44 insertions, 1 deletions
diff --git a/source/d/perl/perl.SlackBuild b/source/d/perl/perl.SlackBuild
index 94518bfe..bb35a6bc 100755
--- a/source/d/perl/perl.SlackBuild
+++ b/source/d/perl/perl.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=perl
VERSION=5.26.2
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -56,15 +56,30 @@ TMP=${TMP:-/tmp}
PKG=$TMP/package-perl
# Additional required modules:
+#
+# https://metacpan.org/release/DBD-mysql
DBDMYSQL=4.046
+# https://metacpan.org/release/DBI
DBI=1.641
+# https://metacpan.org/release/gettext
GETTEXT=1.07
+# https://metacpan.org/release/TermReadKey
TERMREADKEY=2.37
+# https://metacpan.org/release/URI
URI=1.74
+# https://metacpan.org/release/XML-Parser
XMLPARSER=2.44
+# https://metacpan.org/release/XML-Simple
XMLSIMPLE=2.25
+# https://metacpan.org/release/Authen-SASL
AUTHENSASL=2.16
+# https://metacpan.org/release/MIME-Base64
MIMEBASE64=3.15
+# https://metacpan.org/release/IO-Socket-SSL
+IOSOCKETSSL=2.056
+# https://metacpan.org/release/Net-SSLeay
+NETSSLEAY=1.85
+# https://metacpan.org/release/libnet
LIBNET=3.11
if [ "$ARCH" = "i486" ]; then
@@ -304,6 +319,34 @@ make install DESTDIR=$PKG || exit 1
cp -a README* $PKG/usr/doc/perl-$VERSION/MIME-Base64-${MIMEBASE64}
chmod 644 $PKG/usr/doc/perl-$VERSION/MIME-Base64-${MIMEBASE64}/*
) || exit 1
+ ( tar xzvf $CWD/IO-Socket-SSL-${IOSOCKETSSL}.tar.gz
+ cd IO-Socket-SSL-${IOSOCKETSSL}
+ chown -R root:root .
+ echo Y | perl Makefile.PL INSTALLDIRS=vendor
+ make || exit 1
+ if [ "$MAKETEST" = "yes" ]; then
+ make test || exit 1
+ fi
+ make install || exit 1
+ make install DESTDIR=$PKG || exit 1
+ mkdir -p $PKG/usr/doc/perl-$VERSION/IO-Socket-SSL-${IOSOCKETSSL}
+ cp -a README* $PKG/usr/doc/perl-$VERSION/IO-Socket-SSL-${IOSOCKETSSL}
+ chmod 644 $PKG/usr/doc/perl-$VERSION/IO-Socket-SSL-${IOSOCKETSSL}/*
+ ) || exit 1
+ ( tar xzvf $CWD/Net-SSLeay-${NETSSLEAY}.tar.gz
+ cd Net-SSLeay-${NETSSLEAY}
+ chown -R root:root .
+ echo y | perl Makefile.PL INSTALLDIRS=vendor
+ make || exit 1
+ if [ "$MAKETEST" = "yes" ]; then
+ make test || exit 1
+ fi
+ make install || exit 1
+ make install DESTDIR=$PKG || exit 1
+ mkdir -p $PKG/usr/doc/perl-$VERSION/Net-SSLeay-${NETSSLEAY}
+ cp -a README* $PKG/usr/doc/perl-$VERSION/Net-SSLeay-${NETSSLEAY}
+ chmod 644 $PKG/usr/doc/perl-$VERSION/Net-SSLeay-${NETSSLEAY}/*
+ ) || exit 1
( tar xzvf $CWD/libnet-${LIBNET}.tar.gz
cd libnet-${LIBNET}
zcat $CWD/libnet-3.08-Do-not-create-Net-libnet.cfg.patch.gz | patch -p1 --verbose || exit 1