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