perl/Net-SSLeay: Updated for version 1.72 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-11-02 19:30:45 +07:00
parent 04d6e8f1a4
commit 9a762c4a9b
2 changed files with 24 additions and 27 deletions

View file

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

View file

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