diff options
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/dnscrypt-proxy/ChangeLog | 9 | ||||
-rw-r--r-- | net-dns/dnscrypt-proxy/dnscrypt-proxy-1.4.3.ebuild | 43 |
2 files changed, 50 insertions, 2 deletions
diff --git a/net-dns/dnscrypt-proxy/ChangeLog b/net-dns/dnscrypt-proxy/ChangeLog index 5599d4a46df5..98c95f3d14f0 100644 --- a/net-dns/dnscrypt-proxy/ChangeLog +++ b/net-dns/dnscrypt-proxy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dns/dnscrypt-proxy -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/dnscrypt-proxy/ChangeLog,v 1.1 2014/12/22 14:30:41 dlan Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnscrypt-proxy/ChangeLog,v 1.2 2015/01/20 07:40:55 dlan Exp $ + +*dnscrypt-proxy-1.4.3 (20 Jan 2015) + + 20 Jan 2015; Yixun Lan <dlan@gentoo.org> +dnscrypt-proxy-1.4.3.ebuild: + version bump, bug 536936, thanks Florian Steinel, Wang Jiajun *dnscrypt-proxy-1.4.2 (22 Dec 2014) diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-1.4.3.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-1.4.3.ebuild new file mode 100644 index 000000000000..656fd06eff9a --- /dev/null +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-1.4.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnscrypt-proxy/dnscrypt-proxy-1.4.3.ebuild,v 1.1 2015/01/20 07:40:55 dlan Exp $ + +EAPI=5 + +inherit eutils systemd user + +DESCRIPTION="A tool for securing communications between a client and a DNS resolver" +HOMEPAGE="http://dnscrypt.org/" +SRC_URI="http://download.dnscrypt.org/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+plugins ldns systemd" + +DEPEND="dev-libs/libsodium + ldns? ( net-libs/ldns )" +RDEPEND="${DEPEND} + systemd? ( sys-apps/systemd )" + +DOCS=( AUTHORS ChangeLog COPYING NEWS README.markdown README-PLUGINS.markdown + TECHNOTES THANKS ) + +pkg_setup() { + enewgroup dnscrypt + enewuser dnscrypt -1 -1 /var/empty dnscrypt +} + +src_configure() { + econf \ + $(use_enable plugins) \ + $(use_with systemd ) +} + +src_install() { + default + + newinitd "${FILESDIR}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service +} |