summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hendrikx (whyscream) <tom@whyscream.net>2011-03-26 18:49:34 +0000
committerTom Hendrikx (whyscream) <tom@whyscream.net>2011-03-26 18:49:34 +0000
commit358cd96789c428b8d440bac8f8209cca3e08370a (patch)
tree54ad9cca9c11d537c3ad23e433d8915fcc23502c /net-dns
parentmail-mta/citadel: Remove old-style virtual virtual/imapd. See bug 350792 comm... (diff)
downloadsunrise-358cd96789c428b8d440bac8f8209cca3e08370a.tar.gz
sunrise-358cd96789c428b8d440bac8f8209cca3e08370a.tar.bz2
sunrise-358cd96789c428b8d440bac8f8209cca3e08370a.zip
net-dns/nsd: version bump, minor change in econf
svn path=/sunrise/; revision=11846
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/nsd/ChangeLog4
-rw-r--r--net-dns/nsd/Manifest7
-rw-r--r--net-dns/nsd/files/nsd-3.2.8-configure.patch12
-rw-r--r--net-dns/nsd/nsd-3.2.8.ebuild (renamed from net-dns/nsd/nsd-3.2.7.ebuild)13
4 files changed, 29 insertions, 7 deletions
diff --git a/net-dns/nsd/ChangeLog b/net-dns/nsd/ChangeLog
index f1c099729..d07a6ba71 100644
--- a/net-dns/nsd/ChangeLog
+++ b/net-dns/nsd/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 26 Mar 2011; Tom Hendrikx (whyscream) <tom@whyscream.net>
+ -nsd-3.2.7.ebuild, +nsd-3.2.8.ebuild, +files/nsd-3.2.8-configure.patch:
+ version bump, minor change in econf
+
26 Jan 2011; Tom Hendrikx (whyscream) <tom@whyscream.net>
-nsd-3.2.6.ebuild, +nsd-3.2.7.ebuild, files/nsd.cron:
version bump
diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index a3b9c94f8..222f3fe58 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -1,7 +1,8 @@
+AUX nsd-3.2.8-configure.patch 277 RMD160 ac9992768676c027f684c20c9c9bc951cb4b9018 SHA1 a442b8b8587347afecf40348d8ac14beeb8b2bd4 SHA256 30f84183302133fca0a31eb3977e40749501fb90b000db4808eb1376af796ff1
AUX nsd.confd 104 RMD160 cd15a20757fd4db72a2da5327d68f4d6561bb271 SHA1 5fab374d008609d8aba9adb2a6eb0574f4ea4596 SHA256 de3c05a7b898b86f544ebc5804540dbf9736695cb21d614964561294533f2050
AUX nsd.cron 262 RMD160 3fd5de5c7a3496d14705a5bb83d4632ce097b276 SHA1 6fc62e72e16fffd1d6e996cf616c9beb534a207d SHA256 c7b1d0141be64800fe88054b589afa0dc25d21ab42f40ee46e5b1ec659bfc8da
AUX nsd.initd 1810 RMD160 54f405b6bfcfdf4826c840023e56104660a58381 SHA1 4ad6b13be41d1b03d77d945e05e6734689dbd4d3 SHA256 9b8b3419a683d79bc1e2aa9d9dbfd8c7deae17e2f95aad5b09537aed3abd214a
-DIST nsd-3.2.7.tar.gz 866753 RMD160 14f858c51dd8d61508246ee98bab7b51ccfbd8da SHA1 1fc4af1831f64b76e1dc5c82b353770f9186de15 SHA256 8d19914eb4ad625a4f49364f17c7e0b9de21612971294b7ce7790d3f75499d6e
-EBUILD nsd-3.2.7.ebuild 2040 RMD160 5e240e2347745d745dcaf92bad246d67d01a31ba SHA1 9d987a0034b60852e72bae0f16dd59b6e5d75a2d SHA256 5d04deef5e6d31a152d108490ae9c8813f3c2bf5aa04d6f760c4a6cc785c8c8a
-MISC ChangeLog 2698 RMD160 cb5bdd31250340eea0689b975cb1271d324922b5 SHA1 af1d350ade7aa859c55fb6803d2a606aa91165b7 SHA256 3ff9926bf333baf704446af13ca75dd000c894a051d060803afe017f767cfdc5
+DIST nsd-3.2.8.tar.gz 868051 RMD160 b3dcb965e65c4d65a7618997305ff9600b365898 SHA1 e8db690a09f53152f0dca6e4fbfabcc89003fced SHA256 6153f4ef36097e34629d7bfc7b9bda9abd362df971e855d97acf11974bc810b2
+EBUILD nsd-3.2.8.ebuild 2198 RMD160 972a6cf43ed661f7ce93ddd6ce6630d3755da467 SHA1 0b70ef12de83f501370d91c50c168b6516bca00b SHA256 b5ef0c7eef209283d4e5e01aee539cb618e55aa1a036562d9890cbf7a2da167b
+MISC ChangeLog 2871 RMD160 6bc2147f18ea6b7086d4927868b8ee7b557d1f3c SHA1 395f832b25ff47f0bb0de6c0c00689c5bf5f29b6 SHA256 3f0bfe2b725bc7490de29d92008a8764a41c6b8e5f4c156028336c88152ef886
MISC metadata.xml 551 RMD160 64919dd481309b32d1f9f54ceda491cdc94d9134 SHA1 af02f1b2bd8ad94b944ba4ecd6e28845b5827667 SHA256 f373accf720f3a352ef530d64620912a99b40d417181df1ccc366eea3e3dc074
diff --git a/net-dns/nsd/files/nsd-3.2.8-configure.patch b/net-dns/nsd/files/nsd-3.2.8-configure.patch
new file mode 100644
index 000000000..6d95981b8
--- /dev/null
+++ b/net-dns/nsd/files/nsd-3.2.8-configure.patch
@@ -0,0 +1,12 @@
+Index: configure.ac
+===================================================================
+--- configure.ac (revision 3267)
++++ configure.ac (working copy)
+@@ -65,6 +65,7 @@
+ # Default logfile
+ #
+ logfile=${localstatedir}/log/nsd.log
++AC_SUBST(logfile)
+
+ #
+ # Database directory
diff --git a/net-dns/nsd/nsd-3.2.7.ebuild b/net-dns/nsd/nsd-3.2.8.ebuild
index 557471b35..cfc899eba 100644
--- a/net-dns/nsd/nsd-3.2.7.ebuild
+++ b/net-dns/nsd/nsd-3.2.8.ebuild
@@ -4,7 +4,7 @@
EAPI="2"
-inherit eutils
+inherit autotools eutils
DESCRIPTION="An authoritative only, high performance, open source name server"
HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd"
@@ -26,12 +26,17 @@ pkg_setup() {
enewuser nsd -1 -1 -1 nsd
}
+src_prepare() {
+ epatch "${FILESDIR}/${P}-configure.patch"
+ eautoreconf
+}
+
src_configure() {
+ # ebuild.sh sets localstatedir to /var/lib, but nsd expects /var in several locations
+ # some of these cannot be changed by arguments to econf/configure, f.i. logfile
econf \
- --with-dbfile=/var/db/nsd/nsd.db \
- --with-difffile=/var/db/nsd/ixfr.db \
+ --localstatedir=/var \
--with-pidfile=/var/run/nsd/nsd.pid \
- --with-xfrdfile=/var/db/nsd/xfrd.state \
--with-zonesdir=/var/lib/nsd \
$(use_enable bind8-stats) \
$(use_enable largefile) \