Gentoo Archives: gentoo-commits

From: "Patrick McLean (chutzpah)" <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/dnsmasq: dnsmasq-2.52.ebuild ChangeLog
Date: Wed, 10 Feb 2010 14:55:10
Message-Id: E1NfDy7-0005Gs-HC@stork.gentoo.org
1 chutzpah 10/02/10 14:55:07
2
3 Modified: ChangeLog
4 Added: dnsmasq-2.52.ebuild
5 Log:
6 Version bump (bug #301978). Remove workaround for bug #296204 as it is no longer needed.
7 (Portage version: 2.1.7.17/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.190 net-dns/dnsmasq/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/dnsmasq/ChangeLog?rev=1.190&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/dnsmasq/ChangeLog?rev=1.190&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/dnsmasq/ChangeLog?r1=1.189&r2=1.190
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v
19 retrieving revision 1.189
20 retrieving revision 1.190
21 diff -u -r1.189 -r1.190
22 --- ChangeLog 14 Jan 2010 18:46:16 -0000 1.189
23 +++ ChangeLog 10 Feb 2010 14:55:06 -0000 1.190
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-dns/dnsmasq
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.189 2010/01/14 18:46:16 chutzpah Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.190 2010/02/10 14:55:06 chutzpah Exp $
29 +
30 +*dnsmasq-2.52 (10 Feb 2010)
31 +
32 + 10 Feb 2010; Patrick McLean <chutzpah@g.o> +dnsmasq-2.52.ebuild:
33 + Version bump (bug #301978). Remove workaround for bug #296204 as it is no
34 + longer needed.
35
36 14 Jan 2010; Patrick McLean <chutzpah@g.o> dnsmasq-2.51.ebuild:
37 Add a die call if DBUS USE flag is enable with DHCP off, this is a
38
39
40
41 1.1 net-dns/dnsmasq/dnsmasq-2.52.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.52.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.52.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dnsmasq-2.52.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.52.ebuild,v 1.1 2010/02/10 14:55:06 chutzpah Exp $
51
52 EAPI=2
53
54 inherit eutils toolchain-funcs flag-o-matic
55
56 MY_P="${P/_/}"
57 MY_PV="${PV/_/}"
58 DESCRIPTION="Small forwarding DNS server"
59 HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/"
60 SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${MY_P}.tar.lzma"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
65 IUSE="dbus +dhcp ipv6 nls tftp"
66
67 RDEPEND="dbus? ( sys-apps/dbus )
68 nls? (
69 sys-devel/gettext
70 net-dns/libidn
71 )"
72
73 DEPEND="${RDEPEND}
74 || ( app-arch/xz-utils app-arch/lzma-utils )"
75
76 S="${WORKDIR}/${PN}-${MY_PV}"
77
78 src_prepare() {
79 sed -i '/^AWK/s:nawk:gawk:' Makefile #214865
80
81 # dnsmasq on FreeBSD wants the config file in a silly location, this fixes
82 epatch "${FILESDIR}/${PN}-2.47-fbsd-config.patch"
83 }
84
85 src_configure() {
86 use tftp || append-flags -DNO_TFTP
87 use dhcp || append-flags -DNO_DHCP
88 use ipv6 || append-flags -DNO_IPV6
89 use dbus && sed -i '$ a #define HAVE_DBUS' src/config.h
90 }
91
92 src_compile() {
93 emake \
94 PREFIX=/usr \
95 CC="$(tc-getCC)" \
96 CFLAGS="${CFLAGS}" \
97 all$(use nls && echo "-i18n") || die
98 }
99
100 src_install() {
101 emake \
102 PREFIX=/usr \
103 MANDIR=/usr/share/man \
104 DESTDIR="${D}" \
105 install$(use nls && echo "-i18n") || die
106
107 dodoc CHANGELOG FAQ
108 dohtml *.html
109
110 newinitd "${FILESDIR}"/dnsmasq-init dnsmasq
111 newconfd "${FILESDIR}"/dnsmasq.confd dnsmasq
112 insinto /etc
113 newins dnsmasq.conf.example dnsmasq.conf
114
115 if use dbus ; then
116 insinto /etc/dbus-1/system.d
117 doins dbus/dnsmasq.conf
118 fi
119 }