Gentoo Archives: gentoo-commits

From: "Tobias Scherbaum (dertobi123)" <dertobi123@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/bind-tools: bind-tools-9.5.1_p3.ebuild ChangeLog bind-tools-9.5.1_p2.ebuild
Date: Thu, 30 Jul 2009 15:37:33
Message-Id: E1MWXhC-0006vH-Rl@stork.gentoo.org
1 dertobi123 09/07/30 15:37:30
2
3 Modified: ChangeLog
4 Added: bind-tools-9.5.1_p3.ebuild
5 Removed: bind-tools-9.5.1_p2.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.137 net-dns/bind-tools/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.137&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.137&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?r1=1.136&r2=1.137
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v
20 retrieving revision 1.136
21 retrieving revision 1.137
22 diff -u -r1.136 -r1.137
23 --- ChangeLog 29 Jul 2009 21:19:53 -0000 1.136
24 +++ ChangeLog 30 Jul 2009 15:37:30 -0000 1.137
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-dns/bind-tools
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.136 2009/07/29 21:19:53 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.137 2009/07/30 15:37:30 dertobi123 Exp $
30 +
31 +*bind-tools-9.5.1_p3 (30 Jul 2009)
32 +
33 + 30 Jul 2009; Tobias Scherbaum <dertobi123@g.o>
34 + -bind-tools-9.5.1_p2.ebuild, +bind-tools-9.5.1_p3.ebuild:
35 + Version bump
36
37 29 Jul 2009; Markus Meier <maekke@g.o> bind-tools-9.4.3_p3.ebuild:
38 x86 stable, bug #279508
39
40
41
42 1.1 net-dns/bind-tools/bind-tools-9.5.1_p3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.5.1_p3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.5.1_p3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: bind-tools-9.5.1_p3.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/bind-tools/bind-tools-9.5.1_p3.ebuild,v 1.1 2009/07/30 15:37:30 dertobi123 Exp $
52
53 inherit flag-o-matic
54
55 MY_PN=${PN//-tools}
56 MY_PV=${PV/_p3/-P3}
57 MY_P="${MY_PN}-${MY_PV}"
58 S="${WORKDIR}/${MY_P}"
59 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
60 HOMEPAGE="http://www.isc.org/products/BIND/bind9.html"
61 SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
62
63 LICENSE="as-is"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
66 IUSE="idn ipv6"
67
68 DEPEND="idn? ( || ( sys-libs/glibc dev-libs/libiconv )
69 net-dns/idnkit )"
70
71 src_unpack() {
72 unpack ${A} || die
73 cd "${S}" || die
74
75 use idn && {
76 # BIND 9.4.0 doesn't have this patch
77 # epatch ${S}/contrib/idn/idnkit-1.0-src/patch/bind9/bind-${PV}-patch
78
79 cd "${S}"/contrib/idn/idnkit-1.0-src
80 epatch "${FILESDIR}"/${PN}-configure.patch
81 cd -
82 }
83
84 epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch
85
86 # bug #151839
87 sed -e \
88 's:struct isc_socket {:#undef SO_BSDCOMPAT\n\nstruct isc_socket {:' \
89 -i lib/isc/unix/socket.c
90 }
91
92 src_compile() {
93 local myconf=
94 use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no"
95 use idn && myconf="${myconf} --with-idn"
96
97 has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
98
99 # bug #227333
100 append-flags -D_GNU_SOURCE
101
102 econf ${myconf} || die "Configure failed"
103
104 cd "${S}"/lib
105 emake -j1 || die "make failed in /lib"
106
107 cd "${S}"/bin/dig
108 emake -j1 || die "make failed in /bin/dig"
109
110 cd "${S}"/lib/lwres/
111 emake -j1 || die "make failed in /lib/lwres"
112
113 cd "${S}"/bin/nsupdate/
114 emake -j1 || die "make failed in /bin/nsupdate"
115
116 cd "${S}"/bin/dnssec/
117 emake -j1 || die "make failed in /bin/dnssec"
118 }
119
120 src_install() {
121 dodoc README CHANGES FAQ
122
123 cd "${S}"/bin/dig
124 dobin dig host nslookup || die
125 doman dig.1 host.1 nslookup.1 || die
126
127 cd "${S}"/bin/nsupdate
128 dobin nsupdate || die
129 doman nsupdate.1 || die
130 dohtml nsupdate.html || die
131
132 cd "${S}"/bin/dnssec
133 dobin dnssec-keygen || die
134 doman dnssec-keygen.8 || die
135 dohtml dnssec-keygen.html || die
136 }