summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-01-14 20:47:06 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-18 12:25:10 +0700
commit5515e86cd2b95cd04b2700431e14bee92e14c90f (patch)
tree4b85e0eea3a7074c0eaed09062ab2daf2e754336 /system
parent3b0f2073eec677f37bf01c825e9b8652a209f5be (diff)
downloadslackbuilds-5515e86cd2b95cd04b2700431e14bee92e14c90f.tar.gz
system/pcsc-lite: Updated for version 1.8.26.
Changed maintainer Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/pcsc-lite/pcsc-lite.SlackBuild22
-rw-r--r--system/pcsc-lite/pcsc-lite.info10
2 files changed, 15 insertions, 17 deletions
diff --git a/system/pcsc-lite/pcsc-lite.SlackBuild b/system/pcsc-lite/pcsc-lite.SlackBuild
index 7be660105f..e6617f8930 100644
--- a/system/pcsc-lite/pcsc-lite.SlackBuild
+++ b/system/pcsc-lite/pcsc-lite.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for pcsc-lite
# Copyright 2007-2015 LukenShiro, Italy
+# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcsc-lite
-VERSION=${VERSION:-1.8.14}
+VERSION=${VERSION:-1.8.26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -59,10 +60,10 @@ DEBUGATR=${DEBUGATR:-0}
AUTOPOFF=${AUTOPOFF:-0} # disabled by default
# README and README.DAEMON are not useful and partly outdated.
-DOCFILES="DRIVERS SECURITY ChangeLog* COPYING HELP NEWS TODO AUTHORS INSTALL"
+DOCFILES="SECURITY ChangeLog* COPYING HELP NEWS TODO AUTHORS INSTALL"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -90,10 +91,6 @@ find -L . \
\( -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
-sed -i "s|\/usr\/local|<libdir>|g" DRIVERS
-
# ATR (answer to reset) debug parsing output
case "$DEBUGATR" in
0) DEBUGATR_FLAG="dis" ;;
@@ -126,6 +123,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-usbdropdir="/usr/lib${LIBDIRSUFFIX}/pcsc/drivers" \
--enable-confdir=/etc/reader.conf.d \
--${DEBUGATR_FLAG}able-debugatr \
+ --disable-libsystemd \
--build=$ARCH-slackware-linux
make
@@ -140,9 +138,9 @@ mkdir -p $PKG/etc/rc.d
install -m 0755 $CWD/rc.pcscd $PKG/etc/rc.d/rc.pcscd.new
# Correct manpages in reader.conf.5 and pcscd.8
-sed -i "s|@confdir@|/etc/reader.conf.d|g" $PKG/usr/man/man5/reader.conf.5
-sed -i "s|@sysconfdir_exp@/init.d/pcscd|/etc/rc.d/rc.pcscd|g" $PKG/usr/man/man8/pcscd.8
-sed -i "s|@sysconfdir_exp@|/etc/reader.conf.d|g" $PKG/usr/man/man8/pcscd.8
+sed -i "s|@confdir@|/etc/reader.conf.d|g" $PKG/usr/man/man5/reader.conf.5 || exit 1
+sed -i "s|@sysconfdir_exp@/init.d/pcscd|/etc/rc.d/rc.pcscd|g" $PKG/usr/man/man8/pcscd.8 || exit 1
+sed -i "s|@sysconfdir_exp@|/etc/reader.conf.d|g" $PKG/usr/man/man8/pcscd.8 || exit 1
# Create the directory for drivers and such (not included with this package)
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pcsc/{drivers,services}
diff --git a/system/pcsc-lite/pcsc-lite.info b/system/pcsc-lite/pcsc-lite.info
index 94205e0b12..fcc3cd640d 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.14"
+VERSION="1.8.26"
HOMEPAGE="https://pcsclite.apdu.fr/"
-DOWNLOAD="https://pcsclite.apdu.fr/files/pcsc-lite-1.8.14.tar.bz2"
-MD5SUM="439b2c8892f502e39e5b8997a7ae01ed"
+DOWNLOAD="https://pcsclite.apdu.fr/files/pcsc-lite-1.8.26.tar.bz2"
+MD5SUM="9d36882998449daceec267c68a21ff0d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="LukenShiro"
-EMAIL="lukenshiro@ngi.it"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"