From b7d9014eb5d41c01af2413e64b1256726dac4c63 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 2 Nov 2015 19:39:31 +0700 Subject: [PATCH] perl/perl-IO-Socket-SSL: Updated for version 2.020 + new maintainer. Signed-off-by: Willy Sudiarto Raharjo --- .../perl-IO-Socket-SSL.SlackBuild | 39 ++++++++++--------- .../perl-IO-Socket-SSL.info | 10 ++--- 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild index e2e368ac03..7b712f4a24 100644 --- a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild +++ b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for perl-IO-Socket-SSL # Copyright 2009-2012 Marco Bonetti +# Copyright 2015 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,19 +12,19 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-IO-Socket-SSL -VERSION=${VERSION:-1.955} +VERSION=${VERSION:-2.020} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,19 +54,19 @@ tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz cd $SRC_PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -perl Makefile.PL INSTALLDIRS=perl +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test make install DESTDIR=$PKG -# Move man pages -mv $PKG/usr/share/man $PKG/usr/ - 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 diff --git a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.info b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.info index 01cd904396..b8e5d2aaf9 100644 --- a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.info +++ b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.info @@ -1,10 +1,10 @@ PRGNAM="perl-IO-Socket-SSL" -VERSION="1.955" +VERSION="2.020" HOMEPAGE="https://metacpan.org/pod/IO::Socket::SSL" -DOWNLOAD="http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-1.955.tar.gz" -MD5SUM="4f975bc3932a273c46206fa926f20b08" +DOWNLOAD="http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.020.tar.gz" +MD5SUM="dc0f5992492786a0bde79d2f8fb00cc1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="Net-SSLeay perl-Net-LibIDN" -MAINTAINER="Marco Bonetti" -EMAIL="sid77@slackware.it" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org"