From d46036981c928f37f8aab81b26565ac0ab592a3a Mon Sep 17 00:00:00 2001 From: onekk Date: Sun, 18 May 2014 15:03:05 +0200 Subject: [PATCH] pcsclite: Modified package added instructions on INSTALL file for launching the daemon and for the location of the drivers. modified configure_args to specify where to put systemd files. --- srcpkgs/pcsclite/INSTALL | 42 +++++++++++++++++++++++++++++++++++++++ srcpkgs/pcsclite/template | 4 ++-- 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/pcsclite/INSTALL diff --git a/srcpkgs/pcsclite/INSTALL b/srcpkgs/pcsclite/INSTALL new file mode 100644 index 0000000000..1b41fb0456 --- /dev/null +++ b/srcpkgs/pcsclite/INSTALL @@ -0,0 +1,42 @@ + +# This script will advise the user of the needed steps to +# activate the systemd service of PC/SC Lite +# +case "${ACTION}" in +post) + + cat << _EOF +===================================================================== + +- To activate the pcscd daemon, needed to manage the smart card you + have to activate the systemd service typing as root: + + # systemctl enable pcscd.socket + # systemctl start pcscd.socket + + +- DRIVERS + + To use your smart card reader you have to install a USB drivers. + Install a driver package that is named pcsc- + + The directory that contain the drivers is: + + /usr/lib/pcsc/drivers + +- In case you have a serial port reader, you have to create the + directory: + + /etc/reader.conf.d + + and put in it the configuration file for your reader, see: + + https://alioth.debian.org/projects/pcsclite/ + + for more details. + +===================================================================== + +_EOF + ;; +esac diff --git a/srcpkgs/pcsclite/template b/srcpkgs/pcsclite/template index 72847e22b2..4a64948e6f 100644 --- a/srcpkgs/pcsclite/template +++ b/srcpkgs/pcsclite/template @@ -1,13 +1,13 @@ # Template file for 'pcsclite' pkgname=pcsclite version=1.8.11 -revision=2 +revision=3 build_style=gnu-configure maintainer="Carlo Dormeletti " homepage="https://alioth.debian.org/projects/pcsclite" license="Modified BSD" short_desc="Middleware to access a smart card using SCard API (PC/SC)" -configure_args="--enable-libudev" +configure_args="--enable-libudev --with-systemdsystemunitdir=/usr/lib/systemd/system" hostmakedepends="intltool pkg-config python" makedepends="libudev-devel libusb-devel systemd-devel python-devel" depends="python"