--- /dev/null
+# ChangeLog for net-dns/dnsproxy
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 26 Jun 2006; Martin Hierling <mad@cc.fh-luh.de> ChangeLog:
+ New Ebuild for bug 104208 net-dns/dnsproxy thanks to Tomoyuki Sakurai
+
--- /dev/null
+MD5 402ae6d7449c6630cbb343a49a8ed43d ChangeLog 251
+MD5 84552d2ecde34e9fb6a297e28461f248 dnsproxy-1.15.ebuild 558
+MD5 dd1ad38ad64858ee3c1ecc49f9c114b1 files/confd 297
+MD5 0f41464d3234fd6811e6b569acb2e549 files/digest-dnsproxy-1.15 65
+MD5 014840e6426c7af958c263164a9985be files/initd 598
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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=""
+RDEPEND=""
+
+src_install() {
+ dosbin dnsproxy
+ dodoc README
+ doman dnsproxy.1
+ insinto /etc/dnsproxy
+ newins dnsproxy.conf dnsproxy.conf-dist
+ newconfd ${FILESDIR}/confd dnsproxy
+ newinitd ${FILESDIR}/initd dnsproxy
+}
+
--- /dev/null
+# options for dnsproxy
+#
+# -c file Read configuration from file.
+# -d Detach from current terminal and run as background process.
+# (do NOT use here, start-stop-daemon does it for you)
+
+# rarely you need to change these
+OPTIONS="-c /etc/dnsproxy/dnsproxy.conf"
+PIDFILE="/var/run/dnsproxy.pid"
+
--- /dev/null
+MD5 52851b2ebe0ab3fe58158a7a64d98811 dnsproxy-1.15.tar.gz 116565
--- /dev/null
+opts="depend checkconfig start stop"
+BIN="dnsproxy"
+CONF="/etc/dnsproxy/dnsproxy.conf"
+
+depend() {
+ need net
+}
+
+checkconfig() {
+ if [ ! -e ${CONF} ] ; then
+ eerror "You need to create ${CONF} first."
+ eerror "An example can be found in ${CONF}-dist"
+ return 1
+ fi
+}
+start() {
+ ebegin "Starting ${BIN}"
+ checkconfig && \
+ start-stop-daemon --start --make-pidfile \
+ --quiet -b --pidfile ${PIDFILE} \
+ --exec /usr/sbin/${BIN} -- ${OPTIONS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${BIN}"
+ start-stop-daemon --stop --quiet \
+ --pidfile ${PIDFILE} \
+ && rm ${PIDFILE}
+ eend $?
+}
+
+restart() {
+
+}