From 5515e86cd2b95cd04b2700431e14bee92e14c90f Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 14 Jan 2020 20:47:06 +0100 Subject: system/pcsc-lite: Updated for version 1.8.26. Changed maintainer Signed-off-by: Matteo Bernardini --- system/pcsc-lite/pcsc-lite.SlackBuild | 22 ++++++++++------------ system/pcsc-lite/pcsc-lite.info | 10 +++++----- 2 files changed, 15 insertions(+), 17 deletions(-) (limited to 'system/pcsc-lite') diff --git a/system/pcsc-lite/pcsc-lite.SlackBuild b/system/pcsc-lite/pcsc-lite.SlackBuild index 7be660105f81..e6617f89300c 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 , 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||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 94205e0b12a3..fcc3cd640dd3 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" -- cgit v1.2.3