diff options
Diffstat (limited to 'source/n/ca-certificates/ca-certificates.SlackBuild')
-rwxr-xr-x | source/n/ca-certificates/ca-certificates.SlackBuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/source/n/ca-certificates/ca-certificates.SlackBuild b/source/n/ca-certificates/ca-certificates.SlackBuild index fc455b14..b3efd180 100755 --- a/source/n/ca-certificates/ca-certificates.SlackBuild +++ b/source/n/ca-certificates/ca-certificates.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for ca-certificates -# Copyright 2009 Robby Workman Northport, AL, USA +# Copyright 2009,2011 Robby Workman Northport, AL, USA +# Copyright 2012 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,9 +24,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ca-certificates -VERSION=${VERSION:-20090814} +VERSION=${VERSION:-20120623} ARCH=noarch -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} CWD=$(pwd) TMP=${TMP:-/tmp} @@ -44,9 +45,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -zcat $CWD/cacerts-$VERSION-remove_debconf.diff.gz | patch -p1 || exit 1 -zcat $CWD/cacerts-$VERSION-fixup_DESTDIR.diff.gz | patch -p1 || exit 1 -zcat $CWD/cacerts-$VERSION-fixup_update-ca-certificates.diff.gz | patch -p1 || exit 1 +zcat $CWD/patches/remove_debconf.diff.gz | patch -p1 || exit 1 +zcat $CWD/patches/fixup_DESTDIR.diff.gz | patch -p1 || exit 1 +zcat $CWD/patches/fixup_update-ca-certificates.diff.gz | patch -p1 || exit 1 make || exit 1 make install DESTDIR=$PKG || exit 1 @@ -65,7 +66,10 @@ gzip -9c sbin/update-ca-certificates.8 > \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mv debian/NEWS debian/NEWS.Debian cp -a debian/NEWS.Debian debian/README.Debian $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/var/log/setup +cat $CWD/setup.11.cacerts > $PKG/var/log/setup/setup.11.cacerts +chmod 755 $PKG/var/log/setup/setup.11.cacerts mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |