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