diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-10-06 04:59:02 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-10-06 04:59:02 +0000 |
commit | d9e19a9f2ed2a891b9866892afd735d9808899a0 (patch) | |
tree | d1e574221e941f870d2b69923401e0756c3281d4 | |
parent | Initial ebuild by Hanno Boeck <hanno@gentoo.org>, #143350 (diff) | |
download | gentoo-2-d9e19a9f2ed2a891b9866892afd735d9808899a0.tar.gz gentoo-2-d9e19a9f2ed2a891b9866892afd735d9808899a0.tar.bz2 gentoo-2-d9e19a9f2ed2a891b9866892afd735d9808899a0.zip |
Initial import from sunrise overlay (#104208)
(Portage version: 2.1.1)
-rw-r--r-- | net-proxy/dnsproxy/ChangeLog | 10 | ||||
-rw-r--r-- | net-proxy/dnsproxy/Manifest | 24 | ||||
-rw-r--r-- | net-proxy/dnsproxy/dnsproxy-1.15.ebuild | 32 | ||||
-rw-r--r-- | net-proxy/dnsproxy/files/digest-dnsproxy-1.15 | 3 | ||||
-rw-r--r-- | net-proxy/dnsproxy/files/dnsproxy.confd | 3 | ||||
-rw-r--r-- | net-proxy/dnsproxy/files/dnsproxy.initd | 31 | ||||
-rw-r--r-- | net-proxy/dnsproxy/metadata.xml | 9 |
7 files changed, 112 insertions, 0 deletions
diff --git a/net-proxy/dnsproxy/ChangeLog b/net-proxy/dnsproxy/ChangeLog new file mode 100644 index 000000000000..ea3a4060c34d --- /dev/null +++ b/net-proxy/dnsproxy/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-proxy/dnsproxy +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dnsproxy/ChangeLog,v 1.1 2006/10/06 04:59:02 mrness Exp $ + +*dnsproxy-1.15 (06 Oct 2006) + + 06 Oct 2006; Alin Nastac <mrness@gentoo.org> +files/dnsproxy.confd, + +files/dnsproxy.initd, +metadata.xml, +dnsproxy-1.15.ebuild: + Initial import from sunrise overlay, thanks to Tomoyuki Sakurai + <trombik@gentoo.gr.jp> (#104208). diff --git a/net-proxy/dnsproxy/Manifest b/net-proxy/dnsproxy/Manifest new file mode 100644 index 000000000000..56ceba84342c --- /dev/null +++ b/net-proxy/dnsproxy/Manifest @@ -0,0 +1,24 @@ +AUX dnsproxy.confd 153 RMD160 93f8eb1e1e92be77f9c2afb10da517f1a58617ba SHA1 ede2105b82724477ecae8421dcbef320db3c2cab SHA256 e955c254d81323baa40f1ef844465407c1fa2d61994578edd83489c283861113 +MD5 34730ce7fe2ba6097a34b65de5a58fa9 files/dnsproxy.confd 153 +RMD160 93f8eb1e1e92be77f9c2afb10da517f1a58617ba files/dnsproxy.confd 153 +SHA256 e955c254d81323baa40f1ef844465407c1fa2d61994578edd83489c283861113 files/dnsproxy.confd 153 +AUX dnsproxy.initd 703 RMD160 7c9cdc1e969d5b27bf86336782aa3bbec71b267b SHA1 208338bfaf16ecff599e6769f8563729b975a9d4 SHA256 8920e5746b2700c81907bb9e8aa14e54080015965947c522fdbfe23ec0c5f754 +MD5 fec6e6d3fbbdf7a6b659cc4f5e96cb3e files/dnsproxy.initd 703 +RMD160 7c9cdc1e969d5b27bf86336782aa3bbec71b267b files/dnsproxy.initd 703 +SHA256 8920e5746b2700c81907bb9e8aa14e54080015965947c522fdbfe23ec0c5f754 files/dnsproxy.initd 703 +DIST dnsproxy-1.15.tar.gz 116565 RMD160 bae5b8d2bf3149dbb697d46c4736685627a8f18b SHA1 859b8b5c07a05ad7daa830363e4e52db05261662 SHA256 c70b83a4183e7b50d19a05282d38167a42fa2dbc66724c079dd89fb235185bd6 +EBUILD dnsproxy-1.15.ebuild 714 RMD160 d224b705afa9907de27ebf9cec4c8a97b9fcce1d SHA1 326b351b817cd30381e7de0ad55bda83d285210d SHA256 28065944135855da2627416dc64ae152455b4064a2b0c33952d7251b06e3d0b6 +MD5 3ca469b3864bc9c6789d964dcdec84a6 dnsproxy-1.15.ebuild 714 +RMD160 d224b705afa9907de27ebf9cec4c8a97b9fcce1d dnsproxy-1.15.ebuild 714 +SHA256 28065944135855da2627416dc64ae152455b4064a2b0c33952d7251b06e3d0b6 dnsproxy-1.15.ebuild 714 +MISC ChangeLog 384 RMD160 b6d956189e9819da9c926fe3e00c8c6c000f63ce SHA1 4c57d84c5f054f5ad04bde7b9ca6d413096c873f SHA256 eaac2b404de0aac3e439687f4dca8548f8b8d4d596f072b1aa6aba79c2977c61 +MD5 e87fca640c697dc89b2998c99faf9c8b ChangeLog 384 +RMD160 b6d956189e9819da9c926fe3e00c8c6c000f63ce ChangeLog 384 +SHA256 eaac2b404de0aac3e439687f4dca8548f8b8d4d596f072b1aa6aba79c2977c61 ChangeLog 384 +MISC metadata.xml 472 RMD160 c484b9b811f8da361ac492c567f8c1cb038f5062 SHA1 d56be4d80d8bd8eb84107ac5a80ff4c35ae3a672 SHA256 26494c654d0f52f0b1a724561b0eac13f988a25cdbfb24d1526b1c8fe723b937 +MD5 d81582d0126cf5ed75ccdc59dcca14b6 metadata.xml 472 +RMD160 c484b9b811f8da361ac492c567f8c1cb038f5062 metadata.xml 472 +SHA256 26494c654d0f52f0b1a724561b0eac13f988a25cdbfb24d1526b1c8fe723b937 metadata.xml 472 +MD5 77aa4f00df8ecfd14e50a9d15f6cebe8 files/digest-dnsproxy-1.15 241 +RMD160 d18478f8fad464ae0e171b59e617678d84b24c0d files/digest-dnsproxy-1.15 241 +SHA256 d15f8bd3ac867e615e74a4f616d6afddfb9316d285367a8ccafcb15e32de9c41 files/digest-dnsproxy-1.15 241 diff --git a/net-proxy/dnsproxy/dnsproxy-1.15.ebuild b/net-proxy/dnsproxy/dnsproxy-1.15.ebuild new file mode 100644 index 000000000000..baeb50501b86 --- /dev/null +++ b/net-proxy/dnsproxy/dnsproxy-1.15.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dnsproxy/dnsproxy-1.15.ebuild,v 1.1 2006/10/06 04:59:02 mrness Exp $ + +DESCRIPTION="The dnsproxy daemon is a proxy for DNS queries" +HOMEPAGE="http://www.wolfermann.org/dnsproxy.html" +SRC_URI="http://www.wolfermann.org/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="dev-libs/libevent" + +src_compile() { + econf --with-native-libevent || die "econf failed" + make dnsproxy || die "make failed" +} + +src_install() { + dosbin dnsproxy + keepdir /var/empty + + newconfd "${FILESDIR}"/dnsproxy.confd dnsproxy + newinitd "${FILESDIR}"/dnsproxy.initd dnsproxy + insinto /etc/dnsproxy + newins dnsproxy.conf dnsproxy.conf.dist + + dodoc README + doman dnsproxy.1 +} diff --git a/net-proxy/dnsproxy/files/digest-dnsproxy-1.15 b/net-proxy/dnsproxy/files/digest-dnsproxy-1.15 new file mode 100644 index 000000000000..c428325ea383 --- /dev/null +++ b/net-proxy/dnsproxy/files/digest-dnsproxy-1.15 @@ -0,0 +1,3 @@ +MD5 52851b2ebe0ab3fe58158a7a64d98811 dnsproxy-1.15.tar.gz 116565 +RMD160 bae5b8d2bf3149dbb697d46c4736685627a8f18b dnsproxy-1.15.tar.gz 116565 +SHA256 c70b83a4183e7b50d19a05282d38167a42fa2dbc66724c079dd89fb235185bd6 dnsproxy-1.15.tar.gz 116565 diff --git a/net-proxy/dnsproxy/files/dnsproxy.confd b/net-proxy/dnsproxy/files/dnsproxy.confd new file mode 100644 index 000000000000..48f8a51e57f0 --- /dev/null +++ b/net-proxy/dnsproxy/files/dnsproxy.confd @@ -0,0 +1,3 @@ +# Options for dnsproxy daemon (rarely you need to change these) +DNSPROXY_CONFFILE="/etc/dnsproxy/dnsproxy.conf" +DNSPROXY_PIDFILE="/var/run/dnsproxy.pid" diff --git a/net-proxy/dnsproxy/files/dnsproxy.initd b/net-proxy/dnsproxy/files/dnsproxy.initd new file mode 100644 index 000000000000..000fc95eaa2b --- /dev/null +++ b/net-proxy/dnsproxy/files/dnsproxy.initd @@ -0,0 +1,31 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net +} + +checkconfig() { + if [ ! -e "${DNSPROXY_CONFFILE}" ] ; then + eerror "You need to create and select the configuration file first." + eerror "An example can be found in /etc/dnsproxy/dnsproxy.conf.dist" + return 1 + fi +} + +start() { + ebegin "Starting dnsproxy" + checkconfig && \ + start-stop-daemon --start --make-pidfile \ + --quiet -b --pidfile ${DNSPROXY_PIDFILE} \ + --exec /usr/sbin/dnsproxy -- -c "${DNSPROXY_CONFFILE}" + eend $? +} + +stop() { + ebegin "Stopping dnsproxy" + start-stop-daemon --stop --quiet \ + --pidfile ${DNSPROXY_PIDFILE} + eend $? +} diff --git a/net-proxy/dnsproxy/metadata.xml b/net-proxy/dnsproxy/metadata.xml new file mode 100644 index 000000000000..1d897c16502b --- /dev/null +++ b/net-proxy/dnsproxy/metadata.xml @@ -0,0 +1,9 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-proxy</herd> + <longdescription>The dnsproxy daemon is a proxy for DNS queries. It forwards these queries to +two previously configured nameservers: one for authoritative queries and another +for recursive queries. The received answers are sent back to the client unchanged. +No local caching is done.</longdescription> +</pkgmetadata> |