diff options
author | David Seifert <soap@gentoo.org> | 2022-09-04 01:54:23 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-09-04 01:54:23 +0200 |
commit | 53b29173a0335a701414cc0128e200312e5e73b2 (patch) | |
tree | f56767fff239e8fc4afd0bfa114a947bf4363f76 /sys-apps | |
parent | Revert "sys-apps/systemd-utils: add '-b' to python_has_version" (diff) | |
download | gentoo-53b29173a0335a701414cc0128e200312e5e73b2.tar.gz gentoo-53b29173a0335a701414cc0128e200312e5e73b2.tar.bz2 gentoo-53b29173a0335a701414cc0128e200312e5e73b2.zip |
sys-apps/pcsc-lite: adjust permissions for /run/pcscd/pcscd.pid
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/pcsc-lite/files/pcsc-lite-1.9.8-systemd-user.patch | 6 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/files/pcscd.conf | 1 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/pcsc-lite-1.9.8-r2.ebuild (renamed from sys-apps/pcsc-lite/pcsc-lite-1.9.8-r1.ebuild) | 5 |
3 files changed, 10 insertions, 2 deletions
diff --git a/sys-apps/pcsc-lite/files/pcsc-lite-1.9.8-systemd-user.patch b/sys-apps/pcsc-lite/files/pcsc-lite-1.9.8-systemd-user.patch index 4cda6999224e..4d64c5c032f0 100644 --- a/sys-apps/pcsc-lite/files/pcsc-lite-1.9.8-systemd-user.patch +++ b/sys-apps/pcsc-lite/files/pcsc-lite-1.9.8-systemd-user.patch @@ -3,7 +3,11 @@ https://bugs.gentoo.org/545390 --- a/etc/pcscd.service.in +++ b/etc/pcscd.service.in -@@ -7,6 +7,8 @@ +@@ -4,9 +4,12 @@ + Documentation=man:pcscd(8) + + [Service] ++PIDFile=/run/pcscd/pcscd.pid ExecStart=@sbindir_exp@/pcscd --foreground --auto-exit $PCSCD_ARGS ExecReload=@sbindir_exp@/pcscd --hotplug EnvironmentFile=-@sysconfdir@/default/pcscd diff --git a/sys-apps/pcsc-lite/files/pcscd.conf b/sys-apps/pcsc-lite/files/pcscd.conf new file mode 100644 index 000000000000..168c860e88c8 --- /dev/null +++ b/sys-apps/pcsc-lite/files/pcscd.conf @@ -0,0 +1 @@ +d /run/pcscd 0755 pcscd pcscd - diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.9.8-r1.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.9.8-r2.ebuild index 2443f777b019..6ec37345d133 100644 --- a/sys-apps/pcsc-lite/pcsc-lite-1.9.8-r1.ebuild +++ b/sys-apps/pcsc-lite/pcsc-lite-1.9.8-r2.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) -inherit python-single-r1 systemd udev multilib-minimal +inherit python-single-r1 systemd tmpfiles udev multilib-minimal DESCRIPTION="PC/SC Architecture smartcard middleware library" HOMEPAGE="https://pcsclite.apdu.fr https://github.com/LudovicRousseau/PCSC" @@ -63,6 +63,7 @@ multilib_src_install_all() { dodoc HELP SECURITY newinitd "${FILESDIR}"/pcscd-init.7 pcscd + dotmpfiles "${FILESDIR}"/pcscd.conf if use udev; then exeinto "$(get_udevdir)" @@ -98,6 +99,8 @@ pkg_postinst() { elog " rc_hotplug=\"pcscd\"" fi + tmpfiles_process pcscd.conf + use udev && udev_reload } |