From 632f74a9055bf64626eb60cc038ba3a41bc038d7 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Sat, 21 Dec 2019 18:39:25 -0800 Subject: net-dns/dnscrypt-proxy: rename initd file Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev --- net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild | 2 +- net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild | 2 +- net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild | 2 +- net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild | 2 +- net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild | 2 +- net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd | 20 ++++++++++++++++++++ net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd-r1 | 20 -------------------- 7 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd delete mode 100644 net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd-r1 (limited to 'net-dns/dnscrypt-proxy') diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild index eac66d7f0824..357e2fb1bc95 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild @@ -57,7 +57,7 @@ src_install() { insinto /usr/share/dnscrypt-proxy doins -r "utils/generate-domains-blacklists/." - newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy + newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket dnscrypt-proxy.socket diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild index e3266982fa26..3d902b82aaef 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild @@ -53,7 +53,7 @@ src_install() { insinto /usr/share/dnscrypt-proxy doins -r "utils/generate-domains-blacklists/." - newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy + newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild index e3266982fa26..3d902b82aaef 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild @@ -53,7 +53,7 @@ src_install() { insinto /usr/share/dnscrypt-proxy doins -r "utils/generate-domains-blacklists/." - newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy + newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild index e3266982fa26..3d902b82aaef 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild @@ -53,7 +53,7 @@ src_install() { insinto /usr/share/dnscrypt-proxy doins -r "utils/generate-domains-blacklists/." - newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy + newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild index e3266982fa26..3d902b82aaef 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild @@ -53,7 +53,7 @@ src_install() { insinto /usr/share/dnscrypt-proxy doins -r "utils/generate-domains-blacklists/." - newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy + newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd new file mode 100644 index 000000000000..ce1d1175d707 --- /dev/null +++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/dnscrypt-proxy" +command_args="${DNSCRYPT_PROXY_OPTS:--config /etc/dnscrypt-proxy/dnscrypt-proxy.toml}" +command_user="${DNSCRYPT_PROXY_USER:-dnscrypt-proxy}:${DNSCRYPT_PROXY_GROUP:-dnscrypt-proxy}" +pidfile="/run/${RC_SVCNAME}.pid" +retry="SIGTERM/5/SIGTERM/5/SIGKILL/5" +start_stop_daemon_args="--background --make-pidfile" + +depend() { + use logger net + provide dns +} + +start_pre() { + checkpath -q -d -m 0775 -o "${command_user}" /var/cache/"${RC_SVCNAME}" + checkpath -q -d -m 0775 -o "${command_user}" /var/log/"${RC_SVCNAME}" +} diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd-r1 b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd-r1 deleted file mode 100644 index ce1d1175d707..000000000000 --- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd-r1 +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/bin/dnscrypt-proxy" -command_args="${DNSCRYPT_PROXY_OPTS:--config /etc/dnscrypt-proxy/dnscrypt-proxy.toml}" -command_user="${DNSCRYPT_PROXY_USER:-dnscrypt-proxy}:${DNSCRYPT_PROXY_GROUP:-dnscrypt-proxy}" -pidfile="/run/${RC_SVCNAME}.pid" -retry="SIGTERM/5/SIGTERM/5/SIGKILL/5" -start_stop_daemon_args="--background --make-pidfile" - -depend() { - use logger net - provide dns -} - -start_pre() { - checkpath -q -d -m 0775 -o "${command_user}" /var/cache/"${RC_SVCNAME}" - checkpath -q -d -m 0775 -o "${command_user}" /var/log/"${RC_SVCNAME}" -} -- cgit v1.2.3-65-gdbad