1 |
chutzpah 12/03/07 21:59:19 |
2 |
|
3 |
Modified: dnsmasq-2.57-r1.ebuild dnsmasq-2.59.ebuild |
4 |
ChangeLog dnsmasq-2.57.ebuild metadata.xml |
5 |
Added: dnsmasq-2.60.ebuild |
6 |
Removed: dnsmasq-2.56.ebuild dnsmasq-2.55.ebuild |
7 |
dnsmasq-2.52.ebuild |
8 |
Log: |
9 |
Version bump, rework configuration a bit to use a helper function. Add lua and script USE flags, and enable dhcpv6 if both the dhcp and ipv6 USE flags are enabled. Drop some older versions. Update copyright headers. |
10 |
|
11 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
12 |
|
13 |
Revision Changes Path |
14 |
1.3 net-dns/dnsmasq/dnsmasq-2.57-r1.ebuild |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57-r1.ebuild?rev=1.3&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57-r1.ebuild?rev=1.3&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57-r1.ebuild?r1=1.2&r2=1.3 |
19 |
|
20 |
Index: dnsmasq-2.57-r1.ebuild |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57-r1.ebuild,v |
23 |
retrieving revision 1.2 |
24 |
retrieving revision 1.3 |
25 |
diff -u -r1.2 -r1.3 |
26 |
--- dnsmasq-2.57-r1.ebuild 22 May 2011 19:39:43 -0000 1.2 |
27 |
+++ dnsmasq-2.57-r1.ebuild 7 Mar 2012 21:59:18 -0000 1.3 |
28 |
@@ -1,6 +1,6 @@ |
29 |
-# Copyright 1999-2011 Gentoo Foundation |
30 |
+# Copyright 1999-2012 Gentoo Foundation |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57-r1.ebuild,v 1.2 2011/05/22 19:39:43 phajdan.jr Exp $ |
33 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57-r1.ebuild,v 1.3 2012/03/07 21:59:18 chutzpah Exp $ |
34 |
|
35 |
EAPI=4 |
36 |
|
37 |
@@ -26,7 +26,7 @@ |
38 |
|
39 |
DEPEND="${RDEPEND} |
40 |
dev-util/pkgconfig |
41 |
- || ( app-arch/xz-utils app-arch/lzma-utils )" |
42 |
+ || ( app-arch/xz-utils app-arch/lzma )" |
43 |
|
44 |
S="${WORKDIR}/${PN}-${MY_PV}" |
45 |
|
46 |
|
47 |
|
48 |
|
49 |
1.2 net-dns/dnsmasq/dnsmasq-2.59.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.59.ebuild?rev=1.2&view=markup |
52 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.59.ebuild?rev=1.2&content-type=text/plain |
53 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.59.ebuild?r1=1.1&r2=1.2 |
54 |
|
55 |
Index: dnsmasq-2.59.ebuild |
56 |
=================================================================== |
57 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.59.ebuild,v |
58 |
retrieving revision 1.1 |
59 |
retrieving revision 1.2 |
60 |
diff -u -r1.1 -r1.2 |
61 |
--- dnsmasq-2.59.ebuild 9 Nov 2011 01:32:08 -0000 1.1 |
62 |
+++ dnsmasq-2.59.ebuild 7 Mar 2012 21:59:18 -0000 1.2 |
63 |
@@ -1,6 +1,6 @@ |
64 |
-# Copyright 1999-2011 Gentoo Foundation |
65 |
+# Copyright 1999-2012 Gentoo Foundation |
66 |
# Distributed under the terms of the GNU General Public License v2 |
67 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.59.ebuild,v 1.1 2011/11/09 01:32:08 chutzpah Exp $ |
68 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.59.ebuild,v 1.2 2012/03/07 21:59:18 chutzpah Exp $ |
69 |
|
70 |
EAPI=4 |
71 |
|
72 |
@@ -27,7 +27,7 @@ |
73 |
|
74 |
DEPEND="${RDEPEND} |
75 |
dev-util/pkgconfig |
76 |
- || ( app-arch/xz-utils app-arch/lzma-utils )" |
77 |
+ || ( app-arch/xz-utils app-arch/lzma )" |
78 |
|
79 |
S="${WORKDIR}/${PN}-${MY_PV}" |
80 |
|
81 |
|
82 |
|
83 |
|
84 |
1.212 net-dns/dnsmasq/ChangeLog |
85 |
|
86 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/ChangeLog?rev=1.212&view=markup |
87 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/ChangeLog?rev=1.212&content-type=text/plain |
88 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/ChangeLog?r1=1.211&r2=1.212 |
89 |
|
90 |
Index: ChangeLog |
91 |
=================================================================== |
92 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v |
93 |
retrieving revision 1.211 |
94 |
retrieving revision 1.212 |
95 |
diff -u -r1.211 -r1.212 |
96 |
--- ChangeLog 4 Dec 2011 10:28:47 -0000 1.211 |
97 |
+++ ChangeLog 7 Mar 2012 21:59:18 -0000 1.212 |
98 |
@@ -1,6 +1,16 @@ |
99 |
# ChangeLog for net-dns/dnsmasq |
100 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
101 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.211 2011/12/04 10:28:47 swegener Exp $ |
102 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
103 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.212 2012/03/07 21:59:18 chutzpah Exp $ |
104 |
+ |
105 |
+*dnsmasq-2.60 (07 Mar 2012) |
106 |
+ |
107 |
+ 07 Mar 2012; Patrick McLean <chutzpah@g.o> -dnsmasq-2.52.ebuild, |
108 |
+ -dnsmasq-2.55.ebuild, -dnsmasq-2.56.ebuild, dnsmasq-2.57.ebuild, |
109 |
+ dnsmasq-2.57-r1.ebuild, dnsmasq-2.59.ebuild, +dnsmasq-2.60.ebuild, |
110 |
+ +files/dnsmasq-init-r2, -files/resolvconf.dnsmasq, metadata.xml: |
111 |
+ Version bump, rework configuration a bit to use a helper function. Add lua |
112 |
+ and script USE flags, and enable dhcpv6 if both the dhcp and ipv6 USE flags |
113 |
+ are enabled. Drop some older versions. Update copyright headers. |
114 |
|
115 |
04 Dec 2011; Sven Wegener <swegener@g.o> files/dnsmasq-init, |
116 |
files/dnsmasq-init-r1: |
117 |
|
118 |
|
119 |
|
120 |
1.8 net-dns/dnsmasq/dnsmasq-2.57.ebuild |
121 |
|
122 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57.ebuild?rev=1.8&view=markup |
123 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57.ebuild?rev=1.8&content-type=text/plain |
124 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57.ebuild?r1=1.7&r2=1.8 |
125 |
|
126 |
Index: dnsmasq-2.57.ebuild |
127 |
=================================================================== |
128 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57.ebuild,v |
129 |
retrieving revision 1.7 |
130 |
retrieving revision 1.8 |
131 |
diff -u -r1.7 -r1.8 |
132 |
--- dnsmasq-2.57.ebuild 22 May 2011 23:57:47 -0000 1.7 |
133 |
+++ dnsmasq-2.57.ebuild 7 Mar 2012 21:59:18 -0000 1.8 |
134 |
@@ -1,6 +1,6 @@ |
135 |
-# Copyright 1999-2011 Gentoo Foundation |
136 |
+# Copyright 1999-2012 Gentoo Foundation |
137 |
# Distributed under the terms of the GNU General Public License v2 |
138 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57.ebuild,v 1.7 2011/05/22 23:57:47 josejx Exp $ |
139 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.57.ebuild,v 1.8 2012/03/07 21:59:18 chutzpah Exp $ |
140 |
|
141 |
EAPI=2 |
142 |
|
143 |
@@ -26,7 +26,7 @@ |
144 |
|
145 |
DEPEND="${RDEPEND} |
146 |
dev-util/pkgconfig |
147 |
- || ( app-arch/xz-utils app-arch/lzma-utils )" |
148 |
+ || ( app-arch/xz-utils app-arch/lzma )" |
149 |
|
150 |
S="${WORKDIR}/${PN}-${MY_PV}" |
151 |
|
152 |
|
153 |
|
154 |
|
155 |
1.11 net-dns/dnsmasq/metadata.xml |
156 |
|
157 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/metadata.xml?rev=1.11&view=markup |
158 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/metadata.xml?rev=1.11&content-type=text/plain |
159 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/metadata.xml?r1=1.10&r2=1.11 |
160 |
|
161 |
Index: metadata.xml |
162 |
=================================================================== |
163 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/metadata.xml,v |
164 |
retrieving revision 1.10 |
165 |
retrieving revision 1.11 |
166 |
diff -u -r1.10 -r1.11 |
167 |
--- metadata.xml 9 Nov 2011 01:32:08 -0000 1.10 |
168 |
+++ metadata.xml 7 Mar 2012 21:59:18 -0000 1.11 |
169 |
@@ -6,9 +6,10 @@ |
170 |
<name>Patrick McLean</name> |
171 |
</maintainer> |
172 |
<use> |
173 |
+ <flag name='conntrack'>Add support for Linux conntrack connection marking.</flag> |
174 |
<flag name='dhcp'>Enable support for reading ISC DHCPd lease files</flag> |
175 |
+ <flag name='script'>Enable support for calling scripts when leases change</flag> |
176 |
<flag name='tftp'>Enables built in TFTP server for netbooting</flag> |
177 |
- <flag name='conntrack'>Add support for Linux conntrack connection marking.</flag> |
178 |
</use> |
179 |
</pkgmetadata> |
180 |
|
181 |
|
182 |
|
183 |
|
184 |
1.1 net-dns/dnsmasq/dnsmasq-2.60.ebuild |
185 |
|
186 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.60.ebuild?rev=1.1&view=markup |
187 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.60.ebuild?rev=1.1&content-type=text/plain |
188 |
|
189 |
Index: dnsmasq-2.60.ebuild |
190 |
=================================================================== |
191 |
# Copyright 1999-2012 Gentoo Foundation |
192 |
# Distributed under the terms of the GNU General Public License v2 |
193 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.60.ebuild,v 1.1 2012/03/07 21:59:18 chutzpah Exp $ |
194 |
|
195 |
EAPI=4 |
196 |
|
197 |
inherit eutils toolchain-funcs flag-o-matic |
198 |
|
199 |
MY_P="${P/_/}" |
200 |
MY_PV="${PV/_/}" |
201 |
DESCRIPTION="Small forwarding DNS server" |
202 |
HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/" |
203 |
SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${MY_P}.tar.lzma" |
204 |
|
205 |
LICENSE="|| ( GPL-2 GPL-3 )" |
206 |
SLOT="0" |
207 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
208 |
IUSE="conntrack dbus +dhcp idn ipv6 lua nls script tftp" |
209 |
|
210 |
RDEPEND="dbus? ( sys-apps/dbus ) |
211 |
idn? ( net-dns/libidn ) |
212 |
lua? ( dev-lang/lua ) |
213 |
conntrack? ( net-libs/libnetfilter_conntrack ) |
214 |
nls? ( |
215 |
sys-devel/gettext |
216 |
net-dns/libidn |
217 |
)" |
218 |
|
219 |
DEPEND="${RDEPEND} |
220 |
dev-util/pkgconfig |
221 |
|| ( app-arch/xz-utils app-arch/lzma )" |
222 |
|
223 |
S="${WORKDIR}/${PN}-${MY_PV}" |
224 |
|
225 |
REQUIRED_USE="lua? ( script )" |
226 |
|
227 |
use_have() { |
228 |
local NO_ONLY="" |
229 |
if [ $1 == '-n' ]; then |
230 |
NO_ONLY=1 |
231 |
shift |
232 |
fi |
233 |
|
234 |
local UWORD=${2:-$1} |
235 |
UWORD=${UWORD^^*} |
236 |
|
237 |
if ! use ${1}; then |
238 |
echo " -DNO_${UWORD}" |
239 |
elif [ -z "${NO_ONLY}" ]; then |
240 |
echo " -DHAVE_${UWORD}" |
241 |
fi |
242 |
} |
243 |
|
244 |
pkg_setup() { |
245 |
enewgroup dnsmasq |
246 |
enewuser dnsmasq -1 -1 /dev/null dnsmasq |
247 |
} |
248 |
|
249 |
src_prepare() { |
250 |
# dnsmasq on FreeBSD wants the config file in a silly location, this fixes |
251 |
epatch "${FILESDIR}/${PN}-2.47-fbsd-config.patch" |
252 |
sed -i -r 's:lua5.[0-9]+:lua:' Makefile |
253 |
} |
254 |
|
255 |
src_configure() { |
256 |
COPTS="$(use_have conntrack)" |
257 |
COPTS+="$(use_have dbus)" |
258 |
COPTS+="$(use_have -n dhcp)" |
259 |
COPTS+="$(use_have idn)" |
260 |
COPTS+="$(use_have -n ipv6)" |
261 |
COPTS+="$(use_have lua luascript)" |
262 |
COPTS+="$(use_have -n script)" |
263 |
COPTS+="$(use_have -n tftp)" |
264 |
COPTS+="$(use ipv6 && use dhcp || echo " -DNO_DHCP6")" |
265 |
} |
266 |
|
267 |
src_compile() { |
268 |
emake \ |
269 |
PREFIX=/usr \ |
270 |
CC="$(tc-getCC)" \ |
271 |
CFLAGS="${CFLAGS}" \ |
272 |
COPTS="${COPTS}" \ |
273 |
all$(use nls && echo "-i18n") |
274 |
} |
275 |
|
276 |
src_install() { |
277 |
emake \ |
278 |
PREFIX=/usr \ |
279 |
MANDIR=/usr/share/man \ |
280 |
DESTDIR="${D}" \ |
281 |
install$(use nls && echo "-i18n") |
282 |
|
283 |
dodoc CHANGELOG CHANGELOG.archive FAQ |
284 |
dodoc -r logo |
285 |
|
286 |
dodoc CHANGELOG FAQ |
287 |
dohtml *.html |
288 |
|
289 |
newinitd "${FILESDIR}"/dnsmasq-init-r2 dnsmasq |
290 |
newconfd "${FILESDIR}"/dnsmasq.confd-r1 dnsmasq |
291 |
|
292 |
insinto /etc |
293 |
newins dnsmasq.conf.example dnsmasq.conf |
294 |
|
295 |
if use dbus ; then |
296 |
insinto /etc/dbus-1/system.d |
297 |
doins dbus/dnsmasq.conf |
298 |
fi |
299 |
} |