From b18d0b8aa926e402e245415cb6a3cb8c13126a14 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 18 Jan 2021 11:04:43 +0100 Subject: [PATCH] helper->secmod --- debian/libtalerexchange-dev.docs | 2 -- debian/libtalerexchange-dev.install | 2 -- debian/libtalerexchange.install | 3 --- debian/taler-exchange.postinst | 14 +++++++------- debian/taler-exchange.postrm | 4 ++-- debian/taler-exchange.templates | 8 ++++---- 6 files changed, 13 insertions(+), 20 deletions(-) delete mode 100644 debian/libtalerexchange-dev.docs delete mode 100644 debian/libtalerexchange-dev.install delete mode 100644 debian/libtalerexchange.install diff --git a/debian/libtalerexchange-dev.docs b/debian/libtalerexchange-dev.docs deleted file mode 100644 index 6f12db508..000000000 --- a/debian/libtalerexchange-dev.docs +++ /dev/null @@ -1,2 +0,0 @@ -AUTHORS -README diff --git a/debian/libtalerexchange-dev.install b/debian/libtalerexchange-dev.install deleted file mode 100644 index 146a60371..000000000 --- a/debian/libtalerexchange-dev.install +++ /dev/null @@ -1,2 +0,0 @@ -usr/include -usr/lib/*/*.so diff --git a/debian/libtalerexchange.install b/debian/libtalerexchange.install deleted file mode 100644 index beef729b3..000000000 --- a/debian/libtalerexchange.install +++ /dev/null @@ -1,3 +0,0 @@ -usr/bin/taler-config -usr/lib/*/*.so.* -usr/share/ diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst index 48ebd6be1..9bad800d7 100644 --- a/debian/taler-exchange.postinst +++ b/debian/taler-exchange.postinst @@ -13,10 +13,10 @@ case "${1}" in _EUSERNAME="${RET:-taler-exchange-httpd}" db_get taler-exchange/rsecusername - _RSECUSERNAME="${RET:-taler-exchange-helper-rsa}" + _RSECUSERNAME="${RET:-taler-exchange-secmod-rsa}" db_get taler-exchange/esecusername - _ESECUSERNAME="${RET:-taler-exchange-helper-eddsa}" + _ESECUSERNAME="${RET:-taler-exchange-secmod-eddsa}" db_get taler-exchange/wireusername _WIREUSERNAME="${RET:-taler-exchange-wire}" @@ -60,13 +60,13 @@ case "${1}" in if ! getent passwd ${_RSECUSERNAME} > /dev/null then echo -n "Creating new Taler user ${_RSECUSERNAME}:" - adduser --quiet --system --ingroup ${_GROUPNAME} --home ${TALER_HOME}/helper-rsa ${_RSECUSERNAME} + adduser --quiet --system --ingroup ${_GROUPNAME} --home ${TALER_HOME}/secmod-rsa ${_RSECUSERNAME} echo " done." fi if ! getent passwd ${_ESECUSERNAME} > /dev/null then echo -n "Creating new Taler user ${_ESECUSERNAME}:" - adduser --quiet --system --ingroup ${_GROUPNAME} --home ${TALER_HOME}/helper-eddsa ${_ESECUSERNAME} + adduser --quiet --system --ingroup ${_GROUPNAME} --home ${TALER_HOME}/secmod-eddsa ${_ESECUSERNAME} echo " done." fi if ! getent passwd ${_WIREUSERNAME} > /dev/null @@ -104,7 +104,7 @@ EOF cat > "/etc/systemd/system/taler-exchange-httpd.service" < "/etc/systemd/system/taler-exchange-helper-rsa.service" < "/etc/systemd/system/taler-exchange-secmod-rsa.service" < "/etc/systemd/system/taler-exchange-helper-eddsa.service" < "/etc/systemd/system/taler-exchange-secmod-eddsa.service" <