summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-10-27 03:17:56 +0000
committerJeroen Roovers <jer@gentoo.org>2010-10-27 03:17:56 +0000
commitebce35d9bc415f48010a07d8fc6d16b4952c6965 (patch)
tree44d2ba4864fb3869257634f065c7a37ec32b5a03 /net-proxy
parentFix typo in description (diff)
downloadgentoo-2-ebce35d9bc415f48010a07d8fc6d16b4952c6965.tar.gz
gentoo-2-ebce35d9bc415f48010a07d8fc6d16b4952c6965.tar.bz2
gentoo-2-ebce35d9bc415f48010a07d8fc6d16b4952c6965.zip
Fix some compiler warnings. Set RDEPEND.
(Portage version: 2.2.0_alpha1/cvs/Linux i686)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/dnsproxy/ChangeLog8
-rw-r--r--net-proxy/dnsproxy/dnsproxy-1.16-r1.ebuild45
-rw-r--r--net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch10
3 files changed, 62 insertions, 1 deletions
diff --git a/net-proxy/dnsproxy/ChangeLog b/net-proxy/dnsproxy/ChangeLog
index 8f2ae1068f20..048465b0c6e3 100644
--- a/net-proxy/dnsproxy/ChangeLog
+++ b/net-proxy/dnsproxy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/dnsproxy
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/dnsproxy/ChangeLog,v 1.6 2010/08/17 00:43:50 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/dnsproxy/ChangeLog,v 1.7 2010/10/27 03:17:56 jer Exp $
+
+*dnsproxy-1.16-r1 (27 Oct 2010)
+
+ 27 Oct 2010; Jeroen Roovers <jer@gentoo.org> +dnsproxy-1.16-r1.ebuild,
+ +files/dnsproxy-1.16-include.patch:
+ Fix some compiler warnings. Set RDEPEND.
17 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org>
dnsproxy-1.16.ebuild:
diff --git a/net-proxy/dnsproxy/dnsproxy-1.16-r1.ebuild b/net-proxy/dnsproxy/dnsproxy-1.16-r1.ebuild
new file mode 100644
index 000000000000..d4078679037e
--- /dev/null
+++ b/net-proxy/dnsproxy/dnsproxy-1.16-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/dnsproxy/dnsproxy-1.16-r1.ebuild,v 1.1 2010/10/27 03:17:56 jer Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic
+
+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="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/libevent"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-include.patch
+}
+
+src_configure() {
+ append-flags -D_GNU_SOURCE
+ econf --with-native-libevent || die "econf failed"
+}
+
+src_compile() {
+ emake 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/dnsproxy-1.16-include.patch b/net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch
new file mode 100644
index 000000000000..96296f5ed2d8
--- /dev/null
+++ b/net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch
@@ -0,0 +1,10 @@
+--- dnsproxy.c.orig 2010-01-11 16:02:00.000000000 +0100
++++ dnsproxy.c 2010-10-27 05:07:05.000000000 +0200
+@@ -28,6 +28,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <grp.h> /* setgroups() */
+ #include <unistd.h>
+
+ #define GLOBALS 1