[arch-commits] Commit in pcsclite/trunk (PKGBUILD pcscd)
Giovanni Scafora
giovanni at nymeria.archlinux.org
Sun Feb 3 16:05:42 UTC 2013
Date: Sunday, February 3, 2013 @ 17:05:41
Author: giovanni
Revision: 83601
upgpkg: pcsclite 1.8.8-2
drop support for initscripts
Modified:
pcsclite/trunk/PKGBUILD
Deleted:
pcsclite/trunk/pcscd
----------+
PKGBUILD | 11 ++++-------
pcscd | 53 -----------------------------------------------------
2 files changed, 4 insertions(+), 60 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-03 15:57:34 UTC (rev 83600)
+++ PKGBUILD 2013-02-03 16:05:41 UTC (rev 83601)
@@ -4,18 +4,16 @@
pkgname=pcsclite
pkgver=1.8.8
-pkgrel=1
+pkgrel=2
pkgdesc="PC/SC Architecture smartcard middleware library"
arch=('i686' 'x86_64')
url="https://alioth.debian.org/projects/pcsclite/"
license=('BSD')
-depends=('python2' 'systemd-tools')
+depends=('python2' 'systemd')
makedepends=('pkg-config')
options=('!libtool' '!docs')
-source=("https://alioth.debian.org/frs/download.php/3862/pcsc-lite-${pkgver}.tar.bz2"
- 'pcscd')
-md5sums=('069dc875a2ae2d85a2ebceac73252c0a'
- 'c97b6bce695222efb0f003d8e8369010')
+source=("https://alioth.debian.org/frs/download.php/3862/pcsc-lite-${pkgver}.tar.bz2")
+md5sums=('069dc875a2ae2d85a2ebceac73252c0a')
build() {
cd "${srcdir}/pcsc-lite-${pkgver}"
@@ -38,6 +36,5 @@
make DESTDIR="${pkgdir}" install
install -D -m644 ${srcdir}/pcsc-lite-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
- install -D -m755 ${srcdir}/pcscd ${pkgdir}/etc/rc.d/pcscd
install -d ${pkgdir}/usr/lib/pcsc/drivers
}
Deleted: pcscd
===================================================================
--- pcscd 2013-02-03 15:57:34 UTC (rev 83600)
+++ pcscd 2013-02-03 16:05:41 UTC (rev 83601)
@@ -1,53 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-DAEMON=/usr/sbin/pcscd
-NAME=pcscd
-DESC="PC/SC smart card daemon"
-PID_FILE=/run/pcscd/pcscd.pid
-PCSCD_OPTIONS=
-
-case "$1" in
- start)
- stat_busy "Starting $DESC"
- $DAEMON $PCSCD_OPTIONS
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon $NAME
- stat_done
- fi
- ;;
-
- stop)
- stat_busy "Stopping $DESC"
- [ -f $PID_FILE ] && kill `cat $PID_FILE` &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon $NAME
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
-
- status)
- stat_busy "Checking $NAME status";
- ck_status $NAME
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart|status}"
- ;;
-
-esac
-
-exit 0
-
More information about the arch-commits
mailing list