summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hendrikx (whyscream) <tom@whyscream.net>2009-08-17 18:32:01 +0000
committerTom Hendrikx (whyscream) <tom@whyscream.net>2009-08-17 18:32:01 +0000
commit965a8bcbe2b7bc2510438a2e389f8bf040b73f94 (patch)
treec2c9974d550e6184a0fbea37a5217bd2dfaaec3e /net-libs
parentnet-misc/gns3: Version bump, thanks to Tommy[D] and chithead for advice (diff)
downloadsunrise-reviewed-965a8bcbe2b7bc2510438a2e389f8bf040b73f94.tar.gz
sunrise-reviewed-965a8bcbe2b7bc2510438a2e389f8bf040b73f94.tar.bz2
sunrise-reviewed-965a8bcbe2b7bc2510438a2e389f8bf040b73f94.zip
net-libs/ldns: version bump
svn path=/sunrise/; revision=9038
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/ldns/ChangeLog4
-rw-r--r--net-libs/ldns/Manifest8
-rw-r--r--net-libs/ldns/ldns-1.6.1.ebuild (renamed from net-libs/ldns/ldns-1.6.0.ebuild)37
-rw-r--r--net-libs/ldns/metadata.xml1
4 files changed, 40 insertions, 10 deletions
diff --git a/net-libs/ldns/ChangeLog b/net-libs/ldns/ChangeLog
index a323b31b0..d8844c960 100644
--- a/net-libs/ldns/ChangeLog
+++ b/net-libs/ldns/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 17 Aug 2009; Tom Hendrikx (whyscream) <tom@whyscream.net>
+ -ldns-1.6.0.ebuild, +ldns-1.6.1.ebuild, metadata.xml:
+ version bump
+
09 Jul 2009; Tom Hendrikx (whyscream) <tom@whyscream.net>
-ldns-1.5.1.ebuild, +ldns-1.6.0.ebuild:
version bump
diff --git a/net-libs/ldns/Manifest b/net-libs/ldns/Manifest
index 398f2c55d..e65066dc1 100644
--- a/net-libs/ldns/Manifest
+++ b/net-libs/ldns/Manifest
@@ -1,4 +1,4 @@
-DIST ldns-1.6.0.tar.gz 824644 RMD160 c97623cee576db21909728208dc952070912c7fa SHA1 e5fdbc5cd66f6afc4f816e9acd334bddc488e830 SHA256 ff14a5a52c61ec3212b3e35fdd9f0861705a66fceb1cef8bd4720b950b5694e7
-EBUILD ldns-1.6.0.ebuild 803 RMD160 721f88789e0c0eff600ac41d3fb81243a1adda53 SHA1 5c9640821950f5f06c3621374515cc1a64e74038 SHA256 6952ab47f487260652b8984de5f962eb40c600c592386ed20104a0df8bec62d7
-MISC ChangeLog 1103 RMD160 5703bca94b1d4540e35124a2982946029c2de4ad SHA1 7a34ce7ab7dfbf08581f8417f4680f817b926ee0 SHA256 7494203c1227d86d19fba7d35dfcc45f0c3a90ccdbf94f4c29a69da955d66a08
-MISC metadata.xml 186 RMD160 790ef987bc75afa86a9fc3f6ae421a7e567e4196 SHA1 35a3a41913911438fcbcee814f9a0c416167e731 SHA256 6ac7e74060d4e767e3d642291eb1a38630e188ce34456b48a70562cbd560f17c
+DIST ldns-1.6.1.tar.gz 830714 RMD160 c477c76308b56bd18920ea0deeac286857c93e22 SHA1 625ad56970ebf91ae91af2fbb92b048164717df1 SHA256 c30a4791dbfb0dc31c58e24a25c594f534cdef24013b1945b6713aedd17fe100
+EBUILD ldns-1.6.1.ebuild 1274 RMD160 e05ed247d238e0e4f78d62049e2529292f853e38 SHA1 d0f12d6be3ab6fcb2a2395f7e49ecb41695a1304 SHA256 cb6f716c25d4d122ccc086699a46326168731e1c5b178595c443621164f26c9b
+MISC ChangeLog 1235 RMD160 aa58f59d3e59b8d77657f37e51e21b3eafddf09c SHA1 aec7308256476ec31c55bc6f5ea5e9811783a029 SHA256 767a1e181bca440aeed32a20551e60014e97cd8b8bd3a65a06380812b50deb2a
+MISC metadata.xml 252 RMD160 f3d9b7ddbf87a3c8c4961893d7cf12bb42e46513 SHA1 43a32dbbafc20d555b881f731605d60d0cb0e1f4 SHA256 1592924ba2d4ecdcdbcc5c277cd0537e12c7f210dfc3ef9a323f9283d507fb04
diff --git a/net-libs/ldns/ldns-1.6.0.ebuild b/net-libs/ldns/ldns-1.6.1.ebuild
index acc507948..5cdf1092c 100644
--- a/net-libs/ldns/ldns-1.6.0.ebuild
+++ b/net-libs/ldns/ldns-1.6.1.ebuild
@@ -4,15 +4,36 @@
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"
+
+IUSE="doc examples sha2 ssl"
KEYWORDS="~amd64 ~x86"
-IUSE="examples"
+SLOT="0"
+SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"
-DEPEND="dev-libs/openssl"
-RDEPEND=${DEPEND}
+RDEPEND="ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+pkg_setup() {
+ if use sha2; then
+ if ! use ssl; then
+ die "For sha2 support, you have to enable ssl USE flag too"
+ fi
+ ewarn "You enabled sha2 USE flag, this is still experimental"
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_enable sha2) \
+ $(use_with ssl)
+
+ emake || die "emake failed"
+ if use doc; then
+ emake doxygen || die "emake doc failed"
+ fi
+}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
@@ -22,6 +43,10 @@ src_install() {
docinto examples
dodoc examples/* || die "dodoc for examples failed"
fi
+
+ if use doc; then
+ dohtml doc/html/* || die "dohtml failed"
+ fi
}
pkg_postinst() {
diff --git a/net-libs/ldns/metadata.xml b/net-libs/ldns/metadata.xml
index e4979b9b0..3afda04ad 100644
--- a/net-libs/ldns/metadata.xml
+++ b/net-libs/ldns/metadata.xml
@@ -3,5 +3,6 @@
<pkgmetadata>
<herd>maintainer-wanted</herd>
<use>
+ <flag name='sha2'>Enable SHA256 and SHA512 RRSIG support</flag>
</use>
</pkgmetadata>