summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/ccid/README4
-rw-r--r--system/ccid/ccid.SlackBuild13
-rw-r--r--system/ccid/ccid.info6
3 files changed, 13 insertions, 10 deletions
diff --git a/system/ccid/README b/system/ccid/README
index b46125e224..c4ace30482 100644
--- a/system/ccid/README
+++ b/system/ccid/README
@@ -2,9 +2,9 @@ libccid provides a PC/SC IFD handler implementation for the USB smart card
drivers compliant to the Chip Card Interface Device (CCID) protocol.
This package is needed to communicate with the CCID smartcard readers
-through the PC/SC Lite resource manager (pcscd). It also supports various
+through the PC/SC Lite resource manager (pcscd). It also supports various
Gemplus serial smart card readers.
You will need to edit the pcsc-lite config files to be able to use serial
-smart card readers. The INSTALL file in the documentation directory has
+smart card readers. The INSTALL file in the documentation directory has
all the details.
diff --git a/system/ccid/ccid.SlackBuild b/system/ccid/ccid.SlackBuild
index 999a68e061..68f5f9f672 100644
--- a/system/ccid/ccid.SlackBuild
+++ b/system/ccid/ccid.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for ccid
# Copyright 2008 Andrew Psaltis <ampsaltis@gmail.com>
+# Copyright 2014 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +30,7 @@
# 05 October 2009 -- Updated to version 1.3.11
PRGNAM=ccid
-VERSION=1.4.13
+VERSION=${VERSION:-1.4.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,6 +61,8 @@ else
LIBDIRSUFFIX=""
fi
+DOCFILES="AUTHORS COPYING INSTALL README"
+
set -e
rm -rf $PKG $TMP/$PRGNAM-$VERSION
@@ -69,8 +72,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 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 {} \;
@@ -97,14 +100,14 @@ mkdir -p $PKG/lib/udev/rules.d
cat src/92_pcscd_ccid.rules > $PKG/lib/udev/rules.d/92_pcscd_ccid.rules
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
diff --git a/system/ccid/ccid.info b/system/ccid/ccid.info
index d4ab0f7c2b..8aa7d32231 100644
--- a/system/ccid/ccid.info
+++ b/system/ccid/ccid.info
@@ -1,8 +1,8 @@
PRGNAM="ccid"
-VERSION="1.4.13"
+VERSION="1.4.14"
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/ccid-1.4.13.tar.bz2"
-MD5SUM="89c167a873df1f8bc0dc907ce209e5ff"
+DOWNLOAD="https://alioth.debian.org/frs/download.php/file/3971/ccid-1.4.14.tar.bz2"
+MD5SUM="4596f82e85e2996f7877e892b5c18382"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pcsc-lite"