diff options
author | Luis Ressel <aranea@aixah.de> | 2019-02-20 14:59:54 +0100 |
---|---|---|
committer | Luis Ressel <aranea@aixah.de> | 2019-02-20 15:05:18 +0100 |
commit | 239d65fedb321a9368169a571e9806df67d6b065 (patch) | |
tree | bf9b08dec9db3b75465c93f37f58d9282d50054b | |
parent | b71f5dcea9a12a5f0ed3817ad72d0df33bc8ebde (diff) | |
download | packages-239d65fedb321a9368169a571e9806df67d6b065.tar.gz packages-239d65fedb321a9368169a571e9806df67d6b065.tar.bz2 packages-239d65fedb321a9368169a571e9806df67d6b065.tar.xz packages-239d65fedb321a9368169a571e9806df67d6b065.zip |
Drop pcsc-lite and revdeps due to QA concerns
If it is re-added later, pcscd should at least be run as an unpriv user
w/o any capabilities.
-rw-r--r-- | user/ccid/APKBUILD | 33 | ||||
-rw-r--r-- | user/pcsc-lite/APKBUILD | 68 | ||||
-rw-r--r-- | user/pcsc-lite/pcsc-lite.pre-install | 10 | ||||
l--------- | user/pcsc-lite/pcsc-lite.pre-upgrade | 1 | ||||
-rw-r--r-- | user/pcsc-lite/pcscd.initd | 23 | ||||
-rw-r--r-- | user/pcsc-tools/APKBUILD | 37 |
6 files changed, 0 insertions, 172 deletions
diff --git a/user/ccid/APKBUILD b/user/ccid/APKBUILD deleted file mode 100644 index bddade1d6..000000000 --- a/user/ccid/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> -pkgname=ccid -pkgver=1.4.30 -pkgrel=0 -pkgdesc="Open-source driver for Chip/SmartCard Interface Devices (CCID)" -url="https://ccid.apdu.fr/" -arch="all" -options="!check" # no tests -license="LGPL-2.1+ AND GPL-2.0+ AND ISC" -depends="pcsc-lite" -makedepends="pcsc-lite-dev libusb-dev" -source="https://ccid.apdu.fr/files/ccid-$pkgver.tar.bz2" - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - install -Dm644 src/92_pcscd_ccid.rules "$pkgdir"/lib/udev/rules.d/92_pcscd_ccid.rules -} - -sha512sums="1761a4053a99eb28184d0ffece951aec5d4b646080597b4ae36b18a31fb7a76c55fabfa57ee8e5d7f2db1a6e13d209f7fa995fe6ed067f44558bea34a26d46da ccid-1.4.30.tar.bz2" diff --git a/user/pcsc-lite/APKBUILD b/user/pcsc-lite/APKBUILD deleted file mode 100644 index 3066ad3bc..000000000 --- a/user/pcsc-lite/APKBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Contributor: Timo Teräs <timo.teras@iki.fi> -# Maintainer: -pkgname=pcsc-lite -pkgver=1.8.24 -pkgrel=0 -pkgdesc="Middleware to access a smart card using SCard API (PC/SC)" -url="https://pcsclite.apdu.fr/" -arch="all" -license="BSD-3-Clause AND GPL-3.0+ AND BSD-2-Clause AND MIT" -depends="" -depends_dev="eudev-dev" -makedepends="$depends_dev perl perl-dev libcap-ng-utils polkit-dev" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-openrc" -install="pcsc-lite.pre-install pcsc-lite.pre-upgrade" -source="https://pcsclite.apdu.fr/files/pcsc-lite-$pkgver.tar.bz2 - pcscd.initd" - -build() { - cd "$builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-libusb \ - --enable-libudev \ - --disable-maintainer-mode \ - --disable-silent-rules \ - --without-systemdsystemunitdir \ - --enable-ipcdir=/run/pcscd \ - --enable-usbdropdir=/usr/lib/pcsc/drivers \ - --disable-libsystemd \ - --enable-polkit - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - install -D -m755 "$srcdir"/pcscd.initd \ - "$pkgdir"/etc/init.d/pcscd - mkdir -p "$pkgdir"/usr/lib/pcsc/drivers - - # grant sysfs access - filecap "$pkgdir"/usr/sbin/pcscd dac_override -} - -libs() { - pkgdesc="Middleware to access a smart card using SCard API (PC/SC) (libraries)" - mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/lib "$subpkgdir"/usr -} - -dev() { - default_dev - # move back the /usr/lib/libpcsclite.so - # see http://bugs.alpinelinux.org/issues/3236 (and 6392) - mv "$subpkgdir"/usr/lib/libpcsclite.so "$pkgdir"/usr/lib/libpcsclite.so -} - -sha512sums="df2e6a7a8179563a6dbf654ab75cf78a4b297b0562214a081d7d2b5d00fd4adf92fd892bd16aacf9d5e2867f3ad46c88a88e5834e311011f37556dd7e8936a0c pcsc-lite-1.8.24.tar.bz2 -6810ab357b5bcf07bf1ad76ed17ebb8e92be4599303a4e697b87a05d43b8d2bec5d3c29d44d8ddb5d031910ea62ca52a9868e6de9a255227eaeb29d1a7ee0041 pcscd.initd" diff --git a/user/pcsc-lite/pcsc-lite.pre-install b/user/pcsc-lite/pcsc-lite.pre-install deleted file mode 100644 index 2e654f28d..000000000 --- a/user/pcsc-lite/pcsc-lite.pre-install +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -username=pcscd -groupname=$username - -addgroup -S $username 2>/dev/null -adduser -S -D -H -h /var/run/$username -s /sbin/nologin -G $groupname \ - -g $username $username 2>/dev/null - -exit 0 diff --git a/user/pcsc-lite/pcsc-lite.pre-upgrade b/user/pcsc-lite/pcsc-lite.pre-upgrade deleted file mode 120000 index 46d75afae..000000000 --- a/user/pcsc-lite/pcsc-lite.pre-upgrade +++ /dev/null @@ -1 +0,0 @@ -pcsc-lite.pre-install
\ No newline at end of file diff --git a/user/pcsc-lite/pcscd.initd b/user/pcsc-lite/pcscd.initd deleted file mode 100644 index 7c580253a..000000000 --- a/user/pcsc-lite/pcscd.initd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init.7,v 1.1 2014/02/14 23:11:54 flameeyes Exp $ - -name="PC/SC Daemon" - -pidfile=/run/pcscd/pcscd.pid - -command=/usr/sbin/pcscd -command_args="${EXTRA_OPTS}" - -start_stop_daemon_args="--user pcscd:pcscd" - -depend() { - need localmount - after udev openct dbus - use logger -} - -start_pre() { - checkpath -d -m 0755 -o pcscd:pcscd /run/pcscd -} diff --git a/user/pcsc-tools/APKBUILD b/user/pcsc-tools/APKBUILD deleted file mode 100644 index 07fd60e32..000000000 --- a/user/pcsc-tools/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> -pkgname=pcsc-tools -pkgver=1.5.4 -pkgrel=0 -pkgdesc="Tools for scanning for and interacting with PC/SC devices" -url="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/" -arch="all" -license="GPL-2.0+" -depends="perl" -makedepends="pcsc-lite-dev" -subpackages="$pkgname-doc" -source="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/pcsc-tools-$pkgver.tar.bz2" - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="c64b9445dcdf72a7e5627380894c1f627ebcb343a497524ee185b64110c2c2b8b6138cae5610439991ab9756fd89ea5de0e054e68698b220d11606b38f7a90c6 pcsc-tools-1.5.4.tar.bz2" |