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: ChangeLog dnsmasq-2.47.ebuild
Date: Mon, 30 Mar 2009 04:14:37
Message-Id: E1Lo8tO-0001bx-Vi@stork.gentoo.org
1 chutzpah 09/03/30 04:14:34
2
3 Modified: ChangeLog
4 Added: dnsmasq-2.47.ebuild
5 Log:
6 Version bump (bug #259224).
7 (Portage version: 2.1.6.11/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.176 net-dns/dnsmasq/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/dnsmasq/ChangeLog?rev=1.176&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/dnsmasq/ChangeLog?rev=1.176&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/dnsmasq/ChangeLog?r1=1.175&r2=1.176
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v
19 retrieving revision 1.175
20 retrieving revision 1.176
21 diff -u -r1.175 -r1.176
22 --- ChangeLog 23 Dec 2008 16:00:58 -0000 1.175
23 +++ ChangeLog 30 Mar 2009 04:14:34 -0000 1.176
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-dns/dnsmasq
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.175 2008/12/23 16:00:58 chutzpah Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.176 2009/03/30 04:14:34 chutzpah Exp $
30 +
31 +*dnsmasq-2.47 (30 Mar 2009)
32 +
33 + 30 Mar 2009; Patrick McLean <chutzpah@g.o>
34 + +files/dnsmasq-2.47-fbsd-config.patch, +dnsmasq-2.47.ebuild:
35 + Version bump (bug #259224).
36
37 *dnsmasq-2.46 (23 Dec 2008)
38
39
40
41
42 1.1 net-dns/dnsmasq/dnsmasq-2.47.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.47.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.47.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dnsmasq-2.47.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.47.ebuild,v 1.1 2009/03/30 04:14:34 chutzpah Exp $
52
53 inherit eutils toolchain-funcs flag-o-matic
54
55 MY_P="${P/_/}"
56 MY_PV="${PV/_/}"
57 DESCRIPTION="Small forwarding DNS server"
58 HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/"
59 SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${MY_P}.tar.lzma"
60 #SRC_URI="http://www.thekelleys.org.uk/dnsmasq/release-candidates/${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 ~sparc-fbsd ~x86 ~x86-fbsd"
65 IUSE="dbus ipv6 nls tftp"
66
67 RDEPEND="dbus? ( sys-apps/dbus )
68 nls? ( sys-devel/gettext )"
69
70 DEPEND="${RDEPEND}
71 app-arch/lzma-utils"
72
73 S="${WORKDIR}/${PN}-${MY_PV}"
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78
79 sed -i '/^AWK/s:nawk:gawk:' Makefile #214865
80 # dnsmasq on FreeBSD wants the config file in a silly location, this fixes
81 epatch "${FILESDIR}/${P}-fbsd-config.patch"
82 }
83
84 src_compile() {
85 use tftp || append-flags -DNO_TFTP
86 use ipv6 || append-flags -DNO_IPV6
87 use dbus && sed -i '$ a #define HAVE_DBUS' src/config.h
88
89 emake \
90 PREFIX=/usr \
91 CC="$(tc-getCC)" \
92 CFLAGS="${CFLAGS}" \
93 all$(use nls && echo "-i18n") || die
94 }
95
96 src_install() {
97 emake \
98 PREFIX=/usr \
99 MANDIR=/usr/share/man \
100 DESTDIR="${D}" \
101 install$(use nls && echo "-i18n") || die
102
103 dodoc CHANGELOG FAQ
104 dohtml *.html
105
106 newinitd "${FILESDIR}"/dnsmasq-init dnsmasq
107 newconfd "${FILESDIR}"/dnsmasq.confd dnsmasq
108 insinto /etc
109 newins dnsmasq.conf.example dnsmasq.conf
110
111 if use dbus ; then
112 insinto /etc/dbus-1/system.d
113 doins dbus/dnsmasq.conf
114 fi
115 }