Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/ldns: ChangeLog ldns-1.6.12.ebuild ldns-1.6.10.ebuild ldns-1.6.4.ebuild ldns-1.6.9.ebuild
Date: Wed, 11 Jan 2012 15:25:46
Message-Id: 20120111152531.5B8512001D@flycatcher.gentoo.org
1 matsuu 12/01/11 15:25:31
2
3 Modified: ChangeLog
4 Added: ldns-1.6.12.ebuild
5 Removed: ldns-1.6.10.ebuild ldns-1.6.4.ebuild
6 ldns-1.6.9.ebuild
7 Log:
8 Version bumped. Removed CFALGS="-g -O2", bug #385151.
9
10 (Portage version: 2.1.10.44/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.22 net-libs/ldns/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ldns/ChangeLog?rev=1.22&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ldns/ChangeLog?rev=1.22&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ldns/ChangeLog?r1=1.21&r2=1.22
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-libs/ldns/ChangeLog,v
22 retrieving revision 1.21
23 retrieving revision 1.22
24 diff -u -r1.21 -r1.22
25 --- ChangeLog 6 Oct 2011 14:40:09 -0000 1.21
26 +++ ChangeLog 11 Jan 2012 15:25:31 -0000 1.22
27 @@ -1,6 +1,13 @@
28 # ChangeLog for net-libs/ldns
29 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ChangeLog,v 1.21 2011/10/06 14:40:09 chainsaw Exp $
31 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ChangeLog,v 1.22 2012/01/11 15:25:31 matsuu Exp $
33 +
34 +*ldns-1.6.12 (11 Jan 2012)
35 +
36 + 11 Jan 2012; MATSUU Takuto <matsuu@g.o> +files/1.6.12-cflags.patch,
37 + -ldns-1.6.4.ebuild, -ldns-1.6.9.ebuild, -ldns-1.6.10.ebuild,
38 + +ldns-1.6.12.ebuild:
39 + Version bumped. Removed CFALGS="-g -O2", bug #385151. Removed old versions.
40
41 06 Oct 2011; Tony Vroon <chainsaw@g.o> ldns-1.6.11.ebuild:
42 Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian
43
44
45
46 1.1 net-libs/ldns/ldns-1.6.12.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ldns/ldns-1.6.12.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ldns/ldns-1.6.12.ebuild?rev=1.1&content-type=text/plain
50
51 Index: ldns-1.6.12.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ldns-1.6.12.ebuild,v 1.1 2012/01/11 15:25:31 matsuu Exp $
56
57 EAPI="3"
58 PYTHON_DEPEND="python? 2:2.4"
59
60 inherit autotools eutils python
61
62 DESCRIPTION="ldns is a library with the aim to simplify DNS programing in C"
63 HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/"
64 SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"
65
66 LICENSE="BSD"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos"
69 IUSE="doc gost python ssl static-libs vim-syntax"
70
71 RESTRICT="test" # 1.6.9 has no test directory
72
73 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.7 )
74 gost? ( >=dev-libs/openssl-1 )"
75 DEPEND="${RDEPEND}
76 python? ( dev-lang/swig )
77 doc? ( app-doc/doxygen )"
78
79 pkg_setup() {
80 python_set_active_version 2
81 }
82
83 src_prepare() {
84 epatch "${FILESDIR}/1.6.12-cflags.patch"
85
86 eautoreconf
87 }
88
89 src_configure() {
90 econf \
91 $(use_enable gost) \
92 $(use_enable ssl sha2) \
93 $(use_enable static-libs static) \
94 $(use_with ssl) \
95 $(use_with python pyldns) \
96 --disable-rpath || die "econf failed"
97 }
98
99 src_compile() {
100 emake || die "emake failed"
101 if use doc ; then
102 emake doxygen || die "emake doxygen failed"
103 fi
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" install || die "emake install failed"
108 dodoc Changelog README* || die "dodoc failed"
109
110 if use python ; then
111 find "${ED}$(python_get_sitedir)" "(" -name "*.a" -o -name "*.la" ")" -type f -delete || die
112 fi
113
114 if ! use static-libs ; then
115 find "${ED}" -name "*.la" -type f -delete || die
116 fi
117
118 if use doc ; then
119 dohtml doc/html/* || die "dohtml failed"
120 fi
121
122 if use vim-syntax ; then
123 insinto /usr/share/vim/vimfiles/ftdetect
124 doins libdns.vim || die "doins libdns.vim failed"
125 fi
126 }