1 |
commit: a538c2bc0cfd392c7b29a9691cd1c18bffdb5cb3 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 9 22:37:12 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 9 22:43:51 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a538c2bc |
7 |
|
8 |
net-proxy/dnsproxy: Clean up patch |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-proxy/dnsproxy/dnsproxy-1.16-r2.ebuild | 25 +++++++++++----------- |
14 |
.../dnsproxy/files/dnsproxy-1.16-include.patch | 4 ++-- |
15 |
2 files changed, 14 insertions(+), 15 deletions(-) |
16 |
|
17 |
diff --git a/net-proxy/dnsproxy/dnsproxy-1.16-r2.ebuild b/net-proxy/dnsproxy/dnsproxy-1.16-r2.ebuild |
18 |
index 05f68e06d9f..57ab8dd9b98 100644 |
19 |
--- a/net-proxy/dnsproxy/dnsproxy-1.16-r2.ebuild |
20 |
+++ b/net-proxy/dnsproxy/dnsproxy-1.16-r2.ebuild |
21 |
@@ -1,9 +1,8 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
- |
28 |
-inherit eutils flag-o-matic |
29 |
+inherit flag-o-matic |
30 |
|
31 |
DESCRIPTION="The dnsproxy daemon is a proxy for DNS queries" |
32 |
HOMEPAGE="https://www.wolfermann.org/dnsproxy.html" |
33 |
@@ -12,19 +11,19 @@ SRC_URI="https://www.wolfermann.org/${P}.tar.gz" |
34 |
LICENSE="MIT GPL-2" |
35 |
SLOT="0" |
36 |
KEYWORDS="amd64 x86" |
37 |
-IUSE="" |
38 |
- |
39 |
-DEPEND="dev-libs/libevent" |
40 |
-RDEPEND="${DEPEND}" |
41 |
- |
42 |
-src_prepare() { |
43 |
- eapply -p0 "${FILESDIR}"/${P}-include.patch |
44 |
- append-cppflags -D_GNU_SOURCE |
45 |
|
46 |
- default |
47 |
-} |
48 |
+DEPEND=" |
49 |
+ dev-libs/libevent |
50 |
+" |
51 |
+RDEPEND=" |
52 |
+ ${DEPEND} |
53 |
+" |
54 |
+PATCHES=( |
55 |
+ "${FILESDIR}"/${PN}-1.16-include.patch |
56 |
+) |
57 |
|
58 |
src_compile() { |
59 |
+ append-cppflags -D_GNU_SOURCE |
60 |
emake ${PN} |
61 |
} |
62 |
|
63 |
|
64 |
diff --git a/net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch b/net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch |
65 |
index 96296f5ed2d..81cbcce5183 100644 |
66 |
--- a/net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch |
67 |
+++ b/net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch |
68 |
@@ -1,5 +1,5 @@ |
69 |
---- dnsproxy.c.orig 2010-01-11 16:02:00.000000000 +0100 |
70 |
-+++ dnsproxy.c 2010-10-27 05:07:05.000000000 +0200 |
71 |
+--- a/dnsproxy.c |
72 |
++++ b/dnsproxy.c |
73 |
@@ -28,6 +28,7 @@ |
74 |
#include <stdio.h> |
75 |
#include <stdlib.h> |