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 | |
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')
-rw-r--r-- | net-dns/dnscrypt-proxy/Manifest | 1 | ||||
-rw-r--r-- | net-dns/dnscrypt-proxy/dnscrypt-proxy-1.9.4-r1.ebuild | 62 | ||||
-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 |
5 files changed, 0 insertions, 137 deletions
diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest index 659abf0ea059..ffe9265161ef 100644 --- a/net-dns/dnscrypt-proxy/Manifest +++ b/net-dns/dnscrypt-proxy/Manifest @@ -1,2 +1 @@ -DIST dnscrypt-proxy-1.9.4.tar.gz 1660333 BLAKE2B 8b6fb85e8fb0784a4bc87f4d4b4af593cc78baa2e0f88e79183890cc62dcdc59755d31da76f4aa75807b6d4ef1491e81251307af01cab9e0d83699a255eb0379 SHA512 b19103dc39655f199c85ec69daab949d07adc12e64411d2323308afb398e6ac6563bbc17f2e317bfe1e6c95c810487d8d62da3f4c7f7257bdcf837cd0390bfb0 DIST dnscrypt-proxy-1.9.5.tar.bz2 1290573 BLAKE2B 8f16fdb58012e00a8b58d36364377c3bc25158b9484a8df2bd6bc98d1c9cbf5ac758997e31f95ecaeb9da2f6b7272316c5a4a1c069a39549fbc1c1b136857da0 SHA512 84c0f7587521b3a198292cf20dd71cb592ccf8a9e003abbc62c5ca112f6c5ed27c49b1642cf91f403d52b4147e25f24af540b65cecfcf93814338329097df836 diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-1.9.4-r1.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-1.9.4-r1.ebuild deleted file mode 100644 index b8069db8ab60..000000000000 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-1.9.4-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd user - -DESCRIPTION="A tool for securing communications between a client and a DNS resolver" -HOMEPAGE="https://dnscrypt.org" -SRC_URI="https://download.dnscrypt.org/${PN}/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="hardened libressl +plugins ssl systemd" - -RDEPEND=" - dev-libs/libsodium - net-libs/ldns - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - ) - systemd? ( sys-apps/systemd )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS="AUTHORS ChangeLog NEWS README* THANKS *txt" - -pkg_setup() { - enewgroup dnscrypt - enewuser dnscrypt -1 -1 /var/empty dnscrypt -} - -src_configure() { - econf \ - $(use_enable hardened pie) \ - $(use_enable plugins) \ - $(use_enable ssl openssl) \ - $(use_with systemd) -} - -src_install() { - default - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} - systemd_dounit "${FILESDIR}"/${PN}.service -} - -pkg_postinst() { - elog "After starting the service you will need to update your" - elog "/etc/resolv.conf and replace your current set of resolvers" - elog "with:" - elog - elog "nameserver <DNSCRYPT_LOCALIP>" - elog - elog "where <DNSCRYPT_LOCALIP> is what you supplied in" - elog "/etc/conf.d/dnscrypt-proxy, default is \"127.0.0.1\"." - elog - elog "Also see https://github.com/jedisct1/dnscrypt-proxy#usage." -} 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 |