diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-02 19:30:45 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-02 19:30:45 +0700 |
commit | 9a762c4a9b2b66426481844762a60ca93714e0e4 (patch) | |
tree | a652a10d0ea394ad058b7c2dce3cec202ec98de6 | |
parent | 04d6e8f1a479defbf9a6d0bfaaad469727f6b010 (diff) |
perl/Net-SSLeay: Updated for version 1.72 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | perl/Net-SSLeay/Net-SSLeay.SlackBuild | 41 | ||||
-rw-r--r-- | perl/Net-SSLeay/Net-SSLeay.info | 10 |
2 files changed, 24 insertions, 27 deletions
diff --git a/perl/Net-SSLeay/Net-SSLeay.SlackBuild b/perl/Net-SSLeay/Net-SSLeay.SlackBuild index 5528d08022c8..6e62b0afc7e7 100644 --- a/perl/Net-SSLeay/Net-SSLeay.SlackBuild +++ b/perl/Net-SSLeay/Net-SSLeay.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for Net-SSLeay # # Copyright 2009-2011 Marco Bonetti <sid77@slackware.it> +# Copyright 2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Net-SSLeay -VERSION=1.55 +VERSION=${VERSION:-1.72} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,32 +60,28 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $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 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; -# Change to "y" if you want to enable tests -# (connectivity needed) -echo "n" | perl Makefile.PL -make OPTIMIZE="$SLKCFLAGS" -make DESTDIR=$PKG \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN3DIR=/usr/man/man3 \ - install +echo "n" | perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +make +make test +make install DESTDIR=$PKG + +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 -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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 -( cd $PKG - find -L . \( -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" \) \ - -exec rm -f {} \; -) +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/perl/Net-SSLeay/Net-SSLeay.info b/perl/Net-SSLeay/Net-SSLeay.info index 8cf19942130e..75bb0a532b1b 100644 --- a/perl/Net-SSLeay/Net-SSLeay.info +++ b/perl/Net-SSLeay/Net-SSLeay.info @@ -1,10 +1,10 @@ PRGNAM="Net-SSLeay" -VERSION="1.55" +VERSION="1.72" HOMEPAGE="https://metacpan.org/pod/Net::SSLeay" -DOWNLOAD="http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.55.tar.gz" -MD5SUM="473b8d66ca69d5784bb0e428721f58e0" +DOWNLOAD="http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.72.tar.gz" +MD5SUM="a740d7792dbac8ca8c4eb38d3b8fbd01" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Marco Bonetti" -EMAIL="sid77@slackware.it" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org" |