1 |
commit: 8bdff3fe5eb19d7b04bb7ffdc1fbf44753fba557 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 18:57:35 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 19:17:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bdff3fe |
7 |
|
8 |
net-proxy/dnsproxy: use #!/sbin/openrc-run instead of #!/sbin/runscript |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/573846 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
net-proxy/dnsproxy/dnsproxy-1.16-r2.ebuild | 43 ++++++++++++++++++++++++++++++ |
15 |
1 file changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/net-proxy/dnsproxy/dnsproxy-1.16-r2.ebuild b/net-proxy/dnsproxy/dnsproxy-1.16-r2.ebuild |
18 |
new file mode 100644 |
19 |
index 0000000..73eead3 |
20 |
--- /dev/null |
21 |
+++ b/net-proxy/dnsproxy/dnsproxy-1.16-r2.ebuild |
22 |
@@ -0,0 +1,43 @@ |
23 |
+# Copyright 1999-2016 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+inherit eutils flag-o-matic |
30 |
+ |
31 |
+DESCRIPTION="The dnsproxy daemon is a proxy for DNS queries" |
32 |
+HOMEPAGE="http://www.wolfermann.org/dnsproxy.html" |
33 |
+SRC_URI="http://www.wolfermann.org/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="MIT GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="amd64 x86" |
38 |
+IUSE="" |
39 |
+ |
40 |
+DEPEND="dev-libs/libevent" |
41 |
+RDEPEND="${DEPEND}" |
42 |
+ |
43 |
+src_prepare() { |
44 |
+ eapply -p0 "${FILESDIR}"/${P}-include.patch |
45 |
+ append-cppflags -D_GNU_SOURCE |
46 |
+ |
47 |
+ default |
48 |
+} |
49 |
+ |
50 |
+src_compile() { |
51 |
+ emake ${PN} |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ dosbin ${PN} |
56 |
+ keepdir /var/empty |
57 |
+ |
58 |
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} |
59 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
60 |
+ insinto /etc/${PN} |
61 |
+ newins ${PN}.conf ${PN}.conf.dist |
62 |
+ |
63 |
+ dodoc README |
64 |
+ doman ${PN}.1 |
65 |
+} |