1 |
commit: 5b6cf56c35f53484063dfa46f0fa41df9432433d |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Aug 23 01:13:37 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 08:04:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b6cf56c |
7 |
|
8 |
net-dns/mdns-repeater: update version |
9 |
|
10 |
Migrate from bitbucket to github, respect system CFLAGS and LDFLAGS. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/724962 |
13 |
Closes: https://bugs.gentoo.org/724944 |
14 |
Bug: https://bugs.gentoo.org/737896 |
15 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
16 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
17 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
18 |
|
19 |
net-dns/mdns-repeater/Manifest | 1 + |
20 |
...dns-repeater-1.11-system-compiler-options.patch | 33 ++++++++++++++++++++++ |
21 |
net-dns/mdns-repeater/mdns-repeater-1.11.ebuild | 27 ++++++++++++++++++ |
22 |
net-dns/mdns-repeater/metadata.xml | 2 +- |
23 |
4 files changed, 62 insertions(+), 1 deletion(-) |
24 |
|
25 |
diff --git a/net-dns/mdns-repeater/Manifest b/net-dns/mdns-repeater/Manifest |
26 |
index 0615607d73d..4dae469e6dc 100644 |
27 |
--- a/net-dns/mdns-repeater/Manifest |
28 |
+++ b/net-dns/mdns-repeater/Manifest |
29 |
@@ -1 +1,2 @@ |
30 |
+DIST mdns-repeater-1.11.tar.gz 11220 BLAKE2B 88e6b68635be152c2fcd7eb0e5be038d694bae590edde283dec83b896c2380d83cc84d5e4cfb02b6ae957d75dd7525975e31c418d05f5732b5f41382fb130c31 SHA512 3f2fc83448db7ed84512ddc42d1769d1d7fa52aa92a4205d9956685fd5fd8b5c050b8a2c44d4b834e242568671fa278ac912f0b35f3c7cf41aa0ae8f1cf2a310 |
31 |
DIST mdns-repeater-28ecc2ab9a0e.tar.gz 10697 BLAKE2B 4272f20d08db060c27a0f1e6cd9cea6896b8f119e8b751cc25f64ecb4a542adaf55b31d8a380058371bcf7e26c4e13fd34dec8a11a58f37e270af9be6b04fc3b SHA512 06b8365a389ccc77bc31ebcbf7089e59bd2e03e4996e719f369e7c54dbc96b1ea57c9e0b82d4376fcb165160e04a48a3a679f9ab431344f46d74a3602e58a0d8 |
32 |
|
33 |
diff --git a/net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch b/net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch |
34 |
new file mode 100644 |
35 |
index 00000000000..35eaa367528 |
36 |
--- /dev/null |
37 |
+++ b/net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch |
38 |
@@ -0,0 +1,33 @@ |
39 |
+From 4d4f022eef0d0d14936288a5f6374c7a4b85c77c Mon Sep 17 00:00:00 2001 |
40 |
+From: "Azamat H. Hackimov" <azamat.hackimov@×××××.com> |
41 |
+Date: Sun, 23 Aug 2020 04:06:15 +0300 |
42 |
+Subject: [PATCH] Respect system CFLAGS and LDFLAGS |
43 |
+ |
44 |
+--- |
45 |
+ Makefile | 10 +--------- |
46 |
+ 1 file changed, 1 insertion(+), 9 deletions(-) |
47 |
+ |
48 |
+diff --git a/Makefile b/Makefile |
49 |
+index a04f707..ae4fe32 100644 |
50 |
+--- a/Makefile |
51 |
++++ b/Makefile |
52 |
+@@ -9,15 +9,7 @@ ZIP_FILES = mdns-repeater \ |
53 |
+ |
54 |
+ HGVERSION=$(shell hg parents --template "{latesttag}.{latesttagdistance}") |
55 |
+ |
56 |
+-CFLAGS=-Wall |
57 |
+- |
58 |
+-ifdef DEBUG |
59 |
+-CFLAGS+= -g |
60 |
+-else |
61 |
+-CFLAGS+= -Os |
62 |
+-LDFLAGS+= -s |
63 |
+-endif |
64 |
+- |
65 |
++CFLAGS+=-Wall |
66 |
+ CFLAGS+= -DHGVERSION="\"${HGVERSION}\"" |
67 |
+ |
68 |
+ .PHONY: all clean |
69 |
+-- |
70 |
+2.26.2 |
71 |
+ |
72 |
|
73 |
diff --git a/net-dns/mdns-repeater/mdns-repeater-1.11.ebuild b/net-dns/mdns-repeater/mdns-repeater-1.11.ebuild |
74 |
new file mode 100644 |
75 |
index 00000000000..70e66393f0c |
76 |
--- /dev/null |
77 |
+++ b/net-dns/mdns-repeater/mdns-repeater-1.11.ebuild |
78 |
@@ -0,0 +1,27 @@ |
79 |
+# Copyright 1999-2020 Gentoo Authors |
80 |
+# Distributed under the terms of the GNU General Public License v2 |
81 |
+ |
82 |
+EAPI=7 |
83 |
+ |
84 |
+inherit toolchain-funcs |
85 |
+ |
86 |
+DESCRIPTION="Multicast DNS repeater" |
87 |
+HOMEPAGE="https://github.com/kennylevinsen/mdns-repeater" |
88 |
+LICENSE="GPL-2+" |
89 |
+SLOT="0" |
90 |
+KEYWORDS="~amd64 ~arm" |
91 |
+ |
92 |
+SRC_URI="https://github.com/kennylevinsen/mdns-repeater/archive/${PV}.tar.gz -> ${P}.tar.gz" |
93 |
+ |
94 |
+PATCHES=( |
95 |
+ "${FILESDIR}/${P}-system-compiler-options.patch" |
96 |
+) |
97 |
+ |
98 |
+src_compile() { |
99 |
+ emake HGVERSION="${PV}" CC=$(tc-getCC) |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ dobin "${PN}" |
104 |
+ dodoc README.txt |
105 |
+} |
106 |
|
107 |
diff --git a/net-dns/mdns-repeater/metadata.xml b/net-dns/mdns-repeater/metadata.xml |
108 |
index 1306680b256..4a16a9ff3c0 100644 |
109 |
--- a/net-dns/mdns-repeater/metadata.xml |
110 |
+++ b/net-dns/mdns-repeater/metadata.xml |
111 |
@@ -10,6 +10,6 @@ |
112 |
<name>Gentoo Proxy Maintainers Project</name> |
113 |
</maintainer> |
114 |
<upstream> |
115 |
- <remote-id type="bitbucket">geekman/mdns-repeater</remote-id> |
116 |
+ <remote-id type="github">kennylevinsen/mdns-repeater</remote-id> |
117 |
</upstream> |
118 |
</pkgmetadata> |