diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-08-25 22:36:48 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-08-25 22:37:10 +0300 |
commit | 422fd28e4f1883e62b8831beee41d37087f926e6 (patch) | |
tree | 657815e3f47f51409bab87b2a45d379b939d4e5c /app-crypt/gnupg-pkcs11-scd/files | |
parent | www-client/google-chrome: automated update (60.0.3112.113) (diff) | |
download | gentoo-422fd28e4f1883e62b8831beee41d37087f926e6.tar.gz gentoo-422fd28e4f1883e62b8831beee41d37087f926e6.tar.bz2 gentoo-422fd28e4f1883e62b8831beee41d37087f926e6.zip |
app-crypt/gnupg-pkcs11-scd: version bump
Diffstat (limited to 'app-crypt/gnupg-pkcs11-scd/files')
-rw-r--r-- | app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.confd | 1 | ||||
-rw-r--r-- | app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.confd b/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.confd new file mode 100644 index 000000000000..702cf615fa6d --- /dev/null +++ b/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.confd @@ -0,0 +1 @@ +SCD_CONFIG=/etc/gnupg-pkcs11-scd.conf diff --git a/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd b/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd new file mode 100644 index 000000000000..50b324882400 --- /dev/null +++ b/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd @@ -0,0 +1,23 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="gnupg-pkcs11-scd proxy." + +GNUPG_PKCS11_GROUP="${GNUPG_PKCS11_GROUP:-gnupg-pkcs11}" + +command="/usr/bin/gnupg-pkcs11-scd-proxy-server" +command_args="--scd-config='${SCD_CONFIG}' --socket-group=${GNUPG_PKCS11_GROUP} ${EXTRA_OPTS}" +pidfile=${PIDFILE:-/run/${SVCNAME}.pid} +user=${USER:-gnupg-pkcs11-scd-proxy} +group=${GROUP:-gnupg-pkcs11-scd-proxy} +start_stop_daemon_args="--user ${user} --group ${group} --background --make-pidfile" + +depend() { + need localmount + after bootmisc +} + +start_pre() { + checkpath -o ${user}:${GNUPG_PKCS11_GROUP} -m 0750 -d /run/gnupg-pkcs11-scd-proxy +} |