From 2529a9a1b885b3dda5b838369872a0e7ae6ff41d Mon Sep 17 00:00:00 2001 From: LukenShiro Date: Tue, 12 Jul 2011 05:23:26 -0400 Subject: [PATCH] system/opensc: Updated for version 0.12.1. Signed-off-by: dsomero --- system/opensc/README | 2 +- system/opensc/opensc.SlackBuild | 10 +++++----- system/opensc/opensc.info | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/system/opensc/README b/system/opensc/README index f4866279a6..e247e5f046 100644 --- a/system/opensc/README +++ b/system/opensc/README @@ -19,6 +19,6 @@ This requires either pcsc-lite or openct (see below for details). Since version 0.12.0, only one reader subsystem can be used and compiled in at the same time. The PCSC-LITE subsystem is used by default and it is -suitable for most smartcards (it requires pcsc-lite). If you need the +suitable for most smartcards (it requires pcsc-lite). If you need the OPENCT subsystem instead, you have to pass "OPENCT=1" to the script when building and have openct installed. diff --git a/system/opensc/opensc.SlackBuild b/system/opensc/opensc.SlackBuild index 8d2fec5c30..703a7184d5 100644 --- a/system/opensc/opensc.SlackBuild +++ b/system/opensc/opensc.SlackBuild @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=opensc -VERSION=${VERSION:-0.12.0} +VERSION=${VERSION:-0.12.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -100,8 +98,10 @@ mv $PKG/etc/opensc.conf $PKG/etc/opensc.conf.new find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -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 +# man files are not really built now, as we do not currently have XSL StyleSheets +#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 +rm -rf $PKG/usr/man mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/opensc/opensc.info b/system/opensc/opensc.info index 7de5f119b9..851220efdc 100644 --- a/system/opensc/opensc.info +++ b/system/opensc/opensc.info @@ -1,10 +1,10 @@ PRGNAM="opensc" -VERSION="0.12.0" +VERSION="0.12.1" HOMEPAGE="http://www.opensc-project.org/opensc/" -DOWNLOAD="http://www.opensc-project.org/files/opensc/opensc-0.12.0.tar.gz" -MD5SUM="630fa3b8717d22a1d069d120153a0c52" +DOWNLOAD="http://www.opensc-project.org/files/opensc/opensc-0.12.1.tar.gz" +MD5SUM="62fe8d3ed1864556c1970d7c23d8d58e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" -APPROVED="rworkman" +APPROVED="dsomero"