diff options
author | Georgy Yakovlev <ya@sysdump.net> | 2018-02-10 22:46:45 -0800 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-11 22:13:32 +0100 |
commit | 4dee603320e14298cbf69488a2b8d1127c80b469 (patch) | |
tree | bf1633acbcb0fa81e5c52cae3b11bd9b226a5dd7 /net-dns/dnscrypt-proxy/files | |
parent | sys-devel/binutils-hppa64: Second try at an updated ebuild. (diff) | |
download | gentoo-4dee603320e14298cbf69488a2b8d1127c80b469.tar.gz gentoo-4dee603320e14298cbf69488a2b8d1127c80b469.tar.bz2 gentoo-4dee603320e14298cbf69488a2b8d1127c80b469.zip |
net-dns/dnscrypt-proxy: drop old
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-dns/dnscrypt-proxy/files')
-rw-r--r-- | net-dns/dnscrypt-proxy/files/dnscrypt-proxy.confd | 7 | ||||
-rw-r--r-- | net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd | 47 | ||||
-rw-r--r-- | net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service | 20 |
3 files changed, 0 insertions, 74 deletions
diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.confd b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.confd deleted file mode 100644 index ceedd454b5fb..000000000000 --- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.confd +++ /dev/null @@ -1,7 +0,0 @@ -DNSCRYPT_LOCALIP=127.0.0.1 -DNSCRYPT_LOCALPORT=53 -DNSCRYPT_USER=dnscrypt -DNSCRYPT_PROVIDER_NAME=2.dnscrypt-cert.opendns.com -DNSCRYPT_PROVIDER_KEY=B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79 -DNSCRYPT_RESOLVERIP=208.67.220.220 -DNSCRYPT_RESOLVERPORT=443 diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd deleted file mode 100644 index 9b07d7d47d82..000000000000 --- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -DNSCRYPT_LOGFILE=${DNSCRYPT_LOGFILE:-/var/log/dnscrypt-proxy.log} - -rundir=${rundir:-/var/run/dnscrypt-proxy} -pidfile=${pidfile:-${rundir}/dnscrypt-proxy.pid} -rundir=${rundir:-/var/run/dnscrypt-proxy} -runas_user=${runas_user:-dnscrypt} -runas_group=${runas_user:-dnscrypt} - -depend() { - use net - before dns - after logger -} - -start() { - if [ ! -d "${rundir}" ]; then - mkdir "${rundir}" - if [ -n "${runas_user}" ]; then - touch "${DNSCRYPT_LOGFILE}" - chown ${runas_user}:${runas_group} "${DNSCRYPT_LOGFILE}" - chown -R ${runas_user}:${runas_group} "${rundir}" - fi - fi - - ebegin "Starting dnscrypt-proxy" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dnscrypt-proxy \ - -- \ - --pidfile="${pidfile}" \ - --logfile="${DNSCRYPT_LOGFILE}" \ - --daemonize --user=${runas_user} \ - --local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} \ - --resolver-address=${DNSCRYPT_RESOLVERIP}:${DNSCRYPT_RESOLVERPORT} \ - --provider-name=${DNSCRYPT_PROVIDER_NAME} \ - --provider-key=${DNSCRYPT_PROVIDER_KEY} - eend $? -} - -stop() { - ebegin "Stopping dnscrypt-proxy" - start-stop-daemon --stop --quiet --exec /usr/sbin/dnscrypt-proxy - eend $? -} diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service deleted file mode 100644 index 4403254280a2..000000000000 --- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service +++ /dev/null @@ -1,20 +0,0 @@ -[Unit] -Description=A tool for securing communications between a client and a DNS resolver - -[Service] -Type=simple -PIDFile=/var/run/dnscrypt-proxy.pid -EnvironmentFile=/etc/conf.d/dnscrypt-proxy -ExecStartPre=/bin/rm -f /var/run/dnscrypt-proxy.pid -ExecStart=/usr/sbin/dnscrypt-proxy \ - --pidfile=/var/run/dnscrypt-proxy.pid \ - --logfile=/var/log/dnscrypt-proxy.log \ - --local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} \ - --resolver-address=${DNSCRYPT_RESOLVERIP}:${DNSCRYPT_RESOLVERPORT} \ - --provider-name=${DNSCRYPT_PROVIDER_NAME} \ - --provider-key=${DNSCRYPT_PROVIDER_KEY} \ - --user=${DNSCRYPT_USER} -Restart=on-abort - -[Install] -WantedBy=multi-user.target |