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