summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2014-10-17 08:28:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-17 08:28:30 +0700
commit8c07cd4408e18d7bab710f7bb583cd806cda3898 (patch)
tree6363badc9c4cc369c0cfc66ac43841ea5bbc4a50
parent30e52ed164decb649bfb9ef2c5628be7863bc4f7 (diff)
downloadslackbuilds-8c07cd4408e18d7bab710f7bb583cd806cda3898.tar.gz
system/pcsc-lite: Updated for version 1.8.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/pcsc-lite/docs-DRIVERS.diff34
-rw-r--r--system/pcsc-lite/pcsc-lite.SlackBuild14
-rw-r--r--system/pcsc-lite/pcsc-lite.info8
3 files changed, 11 insertions, 45 deletions
diff --git a/system/pcsc-lite/docs-DRIVERS.diff b/system/pcsc-lite/docs-DRIVERS.diff
deleted file mode 100644
index 2796aa5225..0000000000
--- a/system/pcsc-lite/docs-DRIVERS.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- DRIVERS 2008-05-17 17:20:11.636054139 +0200
-+++ DRIVERS.new 2008-05-17 17:21:51.637812109 +0200
-@@ -2,18 +2,18 @@
-
- To install USB drivers, download the driver from http://www.linuxnet.com/
- and copy it to a temporary location. After you have unarchived the files
--copy the directory to /usr/local/pcsc/drivers/. If the directory
--/usr/local/pcsc/drivers/ does not exist create it before copying the driver
-+copy the directory to <libdir>/pcsc/drivers/. If the directory
-+<libdir>/pcsc/drivers/ does not exist, create it before copying the driver
- directory to it.
-
- Example Mac OS X, Linux 2.4:
-
- tar -xzvf driver.bundle-0.1.0.tar.gz
--cp -r driver.bundle /usr/local/pcsc/drivers/
--cd /usr/local/pcsc/drivers/driver.bundle
-+cp -r driver.bundle <libdir>/pcsc/drivers/
-+cd <libdir>/pcsc/drivers/driver.bundle
- build or use Project Builder to build
-
--The /usr/local/pcsc/drivers/ directory should contain bundle directories only.
-+The <libdir>/pcsc/drivers/ directory should contain bundle directories only.
- You must restart pcscd to use the new driver.
-
-
-@@ -28,3 +28,7 @@
- Refer to the driver README for more information.
-
- $Id: DRIVERS 867 2004-05-13 13:25:06Z rousseau $
-+
-+# Edited by Robby Workman <rworkman@slackbuilds.org> to reflect correct
-+# information when installed from SlackBuilds.org -- 20080305
-+
diff --git a/system/pcsc-lite/pcsc-lite.SlackBuild b/system/pcsc-lite/pcsc-lite.SlackBuild
index d08fdb3faf..f562b87794 100644
--- a/system/pcsc-lite/pcsc-lite.SlackBuild
+++ b/system/pcsc-lite/pcsc-lite.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pcsc-lite
-# Copyright 2007-2013 LukenShiro, Italy
+# Copyright 2007-2014 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcsc-lite
-VERSION=${VERSION:-1.8.10}
+VERSION=${VERSION:-1.8.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,14 +85,14 @@ 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 666 -o -perm 664 -o -perm 640 -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 {} \;
# Fix the DRIVERS file to reflect the correct drivers directory as built
# with this script
-patch -p0 < $CWD/docs-DRIVERS.diff || exit 1
+sed -i "s|\/usr\/local|<libdir>|g" DRIVERS
# ATR (answer to reset) debug parsing output
case "$DEBUGATR" in
diff --git a/system/pcsc-lite/pcsc-lite.info b/system/pcsc-lite/pcsc-lite.info
index 78b75a1c8a..0745027249 100644
--- a/system/pcsc-lite/pcsc-lite.info
+++ b/system/pcsc-lite/pcsc-lite.info
@@ -1,10 +1,10 @@
PRGNAM="pcsc-lite"
-VERSION="1.8.10"
+VERSION="1.8.12"
HOMEPAGE="http://pcsclite.alioth.debian.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/pcsc-lite-1.8.10.tar.bz2"
-MD5SUM="7268cc5ef8fc01b785c7cea87adb1ade"
+DOWNLOAD="https://alioth.debian.org/frs/download.php/file/4115/pcsc-lite-1.8.12.tar.bz2"
+MD5SUM="0be8ccfe749314dc8200bddcd2d5fa43"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README%"
+REQUIRES=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"