commit b619436c81156db747d2a8a280eddd3b1917e483
parent 7cc6000c1e474a8c7d6f7b4ef2321104b00eaa5e
Author: parazyd <parazyd@dyne.org>
Date: Sat, 17 Feb 2018 09:52:43 +0100
net-dns/dnscrypt-proxy: Remove.
Diffstat:
6 files changed, 0 insertions(+), 176 deletions(-)
diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
@@ -1 +0,0 @@
-DIST dnscrypt-proxy-1.9.5.tar.bz2 1290573 SHA256 e89f5b9039979ab392302faf369ef7593155d5ea21580402a75bbc46329d1bb6 SHA512 84c0f7587521b3a198292cf20dd71cb592ccf8a9e003abbc62c5ca112f6c5ed27c49b1642cf91f403d52b4147e25f24af540b65cecfcf93814338329097df836 WHIRLPOOL dec0090456a36fcc2b6883c1510c09d7a17459f022b0957eccf5f48272a305f546a760f9fb5c598b3fe86747ff16fac9b6767e3422f999dfca5fb717cd926ea1
diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-1.9.5.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-1.9.5.ebuild
@@ -1,58 +0,0 @@
-# Copyright 1999-2016 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://github.com/jedisct1/${PN}/releases/download/${PV}/${P}.tar.bz2"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+plugins systemd static-libs"
-
-CDEPEND="
- dev-libs/libsodium
- net-libs/ldns
- systemd? ( sys-apps/systemd )"
-RDEPEND="${CDEPEND}"
-DEPEND="${CDEPEND}
- 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 plugins) \
- $(use_with systemd) \
- $(use_enable static-libs static)
-}
-
-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
@@ -1,13 +0,0 @@
-DNSCRYPT_LOCALIP=127.0.0.1
-DNSCRYPT_LOCALPORT=53
-DNSCRYPT_USER=dnscrypt
-DNSCRYPT_OPTIONS="--ephemeral-keys"
-# Pick exactly ONE of the following sets:
-# option 1) selection from CSV file, uses the first column as the key
-DNSCRYPT_RESOLVER_NAME=cisco # Cisco OpenDNS
-DNSCRYPT_RESOLVERS_LIST=/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv
-# option 2) manually specified parameters
-#DNSCRYPT_RESOLVERIP=203.0.133.53
-#DNSCRYPT_RESOLVERPORT=443
-#DNSCRYPT_PROVIDER_NAME=2.dnscrypt-cert.example.com
-#DNSCRYPT_PROVIDER_KEY=1234:5678:90AB:CDEF:DEAD:BEEF:CAFE:BEA7:1234:5678:90AB:CDEF:DEAD:BEEF:CAFE:BEA7
diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
@@ -1,65 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DNSCRYPT_LOGFILE=${DNSCRYPT_LOGFILE:-syslog}
-DNSCRYPT_RESOLVERS_LIST=${DNSCRYPT_RESOLVERS_LIST:-/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv}
-
-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
-
- if [ -n "$DNSCRYPT_RESOLVER_NAME" -a -n "$DNSCRYPT_RESOLVERIP" ]; then
- eerror "You must set exactly one of DNSCRYPT_RESOLVER_NAME or DNSCRYPT_RESOLVERIP!"
- return 1
- elif [ -n "$DNSCRYPT_RESOLVER_NAME" ]; then
- resolver_opts="--resolvers-list=${DNSCRYPT_RESOLVERS_LIST} --resolver-name=${DNSCRYPT_RESOLVER_NAME}"
- elif [ -n "$DNSCRYPT_RESOLVERIP" ]; then
- resolver_opts="--resolver-address=${DNSCRYPT_RESOLVERIP}:${DNSCRYPT_RESOLVERPORT} --provider-name=${DNSCRYPT_PROVIDER_NAME} --provider-key=${DNSCRYPT_PROVIDER_KEY}"
- else
- eerror "You must set exactly one of DNSCRYPT_RESOLVER_NAME or DNSCRYPT_RESOLVERIP!"
- return 1
- fi
-
- if [ "${DNSCRYPT_LOGFILE}" = syslog ]; then
- logopt="--syslog"
- else
- logopt="--logfile='${DNSCRYPT_LOGFILE}'"
- fi
- ebegin "Starting dnscrypt-proxy"
- start-stop-daemon --start --quiet \
- --exec /usr/sbin/dnscrypt-proxy \
- -- \
- $logopt \
- --pidfile="${pidfile}" \
- --daemonize --user=${runas_user} \
- --local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} \
- $resolver_opts \
- ${DNSCRYPT_OPTIONS}
- 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
@@ -1,20 +0,0 @@
-[Unit]
-Description=A tool for securing communications between a client and a DNS resolver
-
-[Service]
-Type=forking
-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 --daemonize \
- --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
diff --git a/net-dns/dnscrypt-proxy/metadata.xml b/net-dns/dnscrypt-proxy/metadata.xml
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>parazyd@dyne.org</email>
- </maintainer>
- <longdescription lang="en">
- dnscrypt-proxy provides local service which can be used directly as your
- local resolver or as a DNS forwarder, encrypting and authenticating
- requests using the DNSCrypt protocol and passing them to an upstream
- server.
- </longdescription>
- <use>
- <flag name="plugins">Enable plugin support to inspect and modify
- queries and responses</flag>
- <flag name="systemd">Use systemd's socket activation instead of
- creating the sockets itself</flag>
- </use>
-</pkgmetadata>