summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-05-31 05:43:56 +0000
committerMichael Weber <xmw@gentoo.org>2012-05-31 05:43:56 +0000
commitf40701a28afbadc10e25dbed75a6699c755db92a (patch)
tree849f010f8320665696adcb7b94ec17b401b58303 /net-libs/ldns
parentmarked x86 per bug 348594 (diff)
downloadhistorical-f40701a28afbadc10e25dbed75a6699c755db92a.tar.gz
historical-f40701a28afbadc10e25dbed75a6699c755db92a.tar.bz2
historical-f40701a28afbadc10e25dbed75a6699c755db92a.zip
Revbump to include drill, EAPI-4. USE examples (bug 417075)
Package-Manager: portage-2.1.10.63/cvs/Linux x86_64
Diffstat (limited to 'net-libs/ldns')
-rw-r--r--net-libs/ldns/ChangeLog7
-rw-r--r--net-libs/ldns/Manifest11
-rw-r--r--net-libs/ldns/ldns-1.6.12-r1.ebuild78
3 files changed, 90 insertions, 6 deletions
diff --git a/net-libs/ldns/ChangeLog b/net-libs/ldns/ChangeLog
index ca6eb91560a1..3eae05f14ec4 100644
--- a/net-libs/ldns/ChangeLog
+++ b/net-libs/ldns/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/ldns
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ChangeLog,v 1.25 2012/05/21 09:53:57 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ChangeLog,v 1.26 2012/05/31 05:43:56 xmw Exp $
+
+*ldns-1.6.12-r1 (31 May 2012)
+
+ 31 May 2012; Michael Weber <xmw@gentoo.org> +ldns-1.6.12-r1.ebuild:
+ Revbump to include drill, EAPI-4. USE examples (bug 417075)
21 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> ldns-1.6.12.ebuild:
x86 stable wrt bug #411885
diff --git a/net-libs/ldns/Manifest b/net-libs/ldns/Manifest
index 11b73647e5af..d9e50d1e45fa 100644
--- a/net-libs/ldns/Manifest
+++ b/net-libs/ldns/Manifest
@@ -1,17 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX 1.6.12-cflags.patch 597 RMD160 e7c8e21f71acb27ca363179aa0e735d3d158a08d SHA1 2ff51cb9d4ca1fd3f42c6f6a4539ac47459d4b4b SHA256 3d892a2d8f99912375e491ee47c2f608c2d653d3a5b52fb18cfa768a520fd6c9
DIST ldns-1.6.11.tar.gz 1018369 RMD160 7580869e4b8bdd2d31cb08cb690c2e3d0663f381 SHA1 2c4537eee39a1af63e8dde4f35498ce78c968c1f SHA256 6891b8ea8e9ded3e7d2caaaf494a8c2459bab729cdd1716f6db2ba375f628888
DIST ldns-1.6.12.tar.gz 1057607 RMD160 e6497be1abef97239726eef6872dba42f7f69d65 SHA1 1d61df0f666908551d5a62768f77d63e727810aa SHA256 b966787510a169ca0ed78f9a8a5de01fb309909575e721ead92095d4677aa51c
EBUILD ldns-1.6.11.ebuild 1671 RMD160 063e852a37ec8898c0db9ac36eaf5952a07be86a SHA1 2d55aef93e91b15106f5d6b0db4224600d487e80 SHA256 f8270f95bcaeea21464fb055bfd3441edda1f5d977ea17985997091637c2585e
+EBUILD ldns-1.6.12-r1.ebuild 1682 RMD160 65148041becb650b71fdcc4ac04d82d7a25e08c3 SHA1 6385e5cd9c5ed19f4ac7434be3c8975cb85e5a57 SHA256 8db4f892029f95b00138ebfffc87819c80fdc2f25e8c3518a7d9382a043566fc
EBUILD ldns-1.6.12.ebuild 1766 RMD160 55f365a0c95d0930a506bb8a07002bfab7ab9534 SHA1 c4b23ff6d45078b05a3f4842da87b70990099207 SHA256 6b6967732db1804624304200c44667fad57ce1d6e934f63345874f4f30578f01
-MISC ChangeLog 3871 RMD160 2053c2dc5a9277e383d7e4a01ffcad1d5af9277c SHA1 52ca482d44bfbf2f79fdaebc5e7ec4b79293428d SHA256 95afa1fcc1b03630584a18248eed72f357d907cabc56ca5a4ddc6c474c165d47
+MISC ChangeLog 4028 RMD160 f9553d0f5c292308979a34f767f54d85ee6a4f22 SHA1 bc72173698657e1ca37bca7a9bcb7576a4cd5c0f SHA256 399ad6508a564167d4353ed7ec3019bc6d684ec05e21049f8784fd8dcea14d67
MISC metadata.xml 522 RMD160 4f1173d7ac98d44d8f82029285ed669a5323823c SHA1 ea1b07b44f442429cff45dfbccfee89a5f644845 SHA256 624abeb470d3376958e49dce8675f024b4c56ec50171805fa212fee6a496a920
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEAREKAAYFAk+6ELQACgkQuUQtlDBCeQLRDACfWf4Pr0QINX5S+LcIZBgJ7YIf
-J5UAn0WprGWnUG/jGbcymFo/1FDI6Ptt
-=l0kY
+iF4EAREIAAYFAk/HBQoACgkQknrdDGLu8JCGYgEAkE6DKbqA/7HNW92cw0buyUrw
+1SsK7H1EP1+UhWc3J1sA/iXADrhpu8dQSImrDcrHn4ZujOvf4ry5ljpdYtyS+OxZ
+=pAg7
-----END PGP SIGNATURE-----
diff --git a/net-libs/ldns/ldns-1.6.12-r1.ebuild b/net-libs/ldns/ldns-1.6.12-r1.ebuild
new file mode 100644
index 000000000000..7005692caf49
--- /dev/null
+++ b/net-libs/ldns/ldns-1.6.12-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI="4"
+PYTHON_DEPEND="python? 2:2.5"
+
+inherit autotools eutils python
+
+DESCRIPTION="ldns is a library with the aim to simplify DNS programing in C"
+HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/"
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos"
+IUSE="doc examples gost python ssl static-libs vim-syntax"
+
+RESTRICT="test" # 1.6.9 has no test directory
+
+RDEPEND="ssl? ( >=dev-libs/openssl-0.9.7 )
+ gost? ( >=dev-libs/openssl-1 )"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ doc? ( app-doc/doxygen )"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/1.6.12-cflags.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with examples) \
+ $(use_enable gost) \
+ $(use_enable ssl sha2) \
+ $(use_enable static-libs static) \
+ $(use_with ssl) \
+ $(use_with python pyldns) \
+ $(use_with python pyldnsx) \
+ --with-drill \
+ --disable-rpath
+}
+
+src_compile() {
+ emake
+ if use doc ; then
+ emake doxygen
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc Changelog README*
+
+ if use python ; then
+ find "${ED}$(python_get_sitedir)" "(" -name "*.a" -o -name "*.la" ")" -type f -delete || die
+ fi
+
+ if ! use static-libs ; then
+ find "${ED}" -name "*.la" -type f -delete || die
+ fi
+
+ if use doc ; then
+ dohtml doc/html/*
+ fi
+
+ if use vim-syntax ; then
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins libdns.vim
+ fi
+}