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 | 33ad9e2b4032fcb8183b79039af895b781799f7a (patch) | |
tree | 918fe835104ff8c19615c8d39b10044ae742c232 /net-proxy | |
parent | Initial ebuild by Hanno Boeck <hanno@gentoo.org>, #143350 (diff) | |
download | historical-33ad9e2b4032fcb8183b79039af895b781799f7a.tar.gz historical-33ad9e2b4032fcb8183b79039af895b781799f7a.tar.bz2 historical-33ad9e2b4032fcb8183b79039af895b781799f7a.zip |
Initial import from sunrise overlay (#104208)
Package-Manager: portage-2.1.1
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/dnsproxy/ChangeLog | 10 | ||||
-rw-r--r-- | net-proxy/dnsproxy/Manifest | 34 | ||||
-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, 122 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..41aeb2f84e5c --- /dev/null +++ b/net-proxy/dnsproxy/Manifest @@ -0,0 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 815 RMD160 3305ba107c9249a9c275ab0bb982b6f94c041560 SHA1 85a24e4277778823bf205888de6ebf83440641f8 SHA256 fb4efd02c2e6b52e260e7f7dc0339a20a2decdf9cff5e089ef14e985b420eccf +MD5 3c18a406231a4dccb8db2181a7263e2b dnsproxy-1.15.ebuild 815 +RMD160 3305ba107c9249a9c275ab0bb982b6f94c041560 dnsproxy-1.15.ebuild 815 +SHA256 fb4efd02c2e6b52e260e7f7dc0339a20a2decdf9cff5e089ef14e985b420eccf dnsproxy-1.15.ebuild 815 +MISC ChangeLog 474 RMD160 98bee30fe11e77897937dca60960a75f8ee75b04 SHA1 8944c1a430d33420f071875d35b1a3764eafefa9 SHA256 b1cf60f04c095261e808f3d83cd162cb81c30c6df9ddec23a56c36734c2e8224 +MD5 602f0c81370255327b84772a678c71b2 ChangeLog 474 +RMD160 98bee30fe11e77897937dca60960a75f8ee75b04 ChangeLog 474 +SHA256 b1cf60f04c095261e808f3d83cd162cb81c30c6df9ddec23a56c36734c2e8224 ChangeLog 474 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFJeKj3sf9c6kjmR8RAnRIAKCyxNVF8fU79WsRqYRKp0p8PBCZXgCgvh8F +wN7ep0B+iSaDkCB/fgn6Jjc= +=Qrff +-----END PGP SIGNATURE----- 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> |