summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-12-12 03:42:09 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-12-12 03:42:09 +0000
commit2ba5e86b0cd465664f804408adede835e0f67bde (patch)
tree403684ec5334338a9b7e143c1232406702689f49 /net-dns/ndu
parentBug #107028, change SRC_URI to avoid upsteams 301 redirect. (diff)
downloadhistorical-2ba5e86b0cd465664f804408adede835e0f67bde.tar.gz
historical-2ba5e86b0cd465664f804408adede835e0f67bde.tar.bz2
historical-2ba5e86b0cd465664f804408adede835e0f67bde.zip
Bug #107384, dnstouch binary into sbin not bin.
Package-Manager: portage-2.0.53
Diffstat (limited to 'net-dns/ndu')
-rw-r--r--net-dns/ndu/ChangeLog7
-rw-r--r--net-dns/ndu/Manifest14
-rw-r--r--net-dns/ndu/files/digest-ndu-0.4-r31
-rw-r--r--net-dns/ndu/ndu-0.4-r3.ebuild56
4 files changed, 71 insertions, 7 deletions
diff --git a/net-dns/ndu/ChangeLog b/net-dns/ndu/ChangeLog
index d4ddf66c5e21..7036f6fba953 100644
--- a/net-dns/ndu/ChangeLog
+++ b/net-dns/ndu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dns/ndu
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ndu/ChangeLog,v 1.8 2005/09/26 04:28:14 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ndu/ChangeLog,v 1.9 2005/12/12 03:42:09 robbat2 Exp $
+
+*ndu-0.4-r3 (12 Dec 2005)
+
+ 12 Dec 2005; Robin H. Johnson <robbat2@gentoo.org> +ndu-0.4-r3.ebuild:
+ Bug #107384, dnstouch binary into sbin not bin.
26 Sep 2005; Robin H. Johnson <robbat2@gentoo.org> ndu-0.4-r2.ebuild:
Stable on x86, 226 days in ~x86.
diff --git a/net-dns/ndu/Manifest b/net-dns/ndu/Manifest
index 6061cec75b64..c25bceb2b721 100644
--- a/net-dns/ndu/Manifest
+++ b/net-dns/ndu/Manifest
@@ -1,8 +1,10 @@
-MD5 5cd40e9ee967391f9ce7e0119423ba63 ndu-0.4-r2.ebuild 1661
-MD5 cf0d78559c5d58ea891b234ecd32e82f ndu-0.4-r1.ebuild 1096
-MD5 d2ad77930ac43f1bb3b1b58951cc4dc7 ChangeLog 863
-MD5 b0d485ea1a51fb83c70daedef2599272 metadata.xml 279
-MD5 7e37a476d2327536bd66ed7ab9a0e819 ndu-0.4.ebuild 1102
+MD5 d0f074009efc5e8d4dba81f5942b2d34 ChangeLog 1014
+MD5 f3a54eec95c7e1c3fe531456a3ae15b2 files/digest-ndu-0.4 58
MD5 f3a54eec95c7e1c3fe531456a3ae15b2 files/digest-ndu-0.4-r1 58
MD5 f3a54eec95c7e1c3fe531456a3ae15b2 files/digest-ndu-0.4-r2 58
-MD5 f3a54eec95c7e1c3fe531456a3ae15b2 files/digest-ndu-0.4 58
+MD5 f3a54eec95c7e1c3fe531456a3ae15b2 files/digest-ndu-0.4-r3 58
+MD5 b0d485ea1a51fb83c70daedef2599272 metadata.xml 279
+MD5 cf0d78559c5d58ea891b234ecd32e82f ndu-0.4-r1.ebuild 1096
+MD5 5cd40e9ee967391f9ce7e0119423ba63 ndu-0.4-r2.ebuild 1661
+MD5 c2030a8321f86f300dd640fc2d78e8d6 ndu-0.4-r3.ebuild 1671
+MD5 7e37a476d2327536bd66ed7ab9a0e819 ndu-0.4.ebuild 1102
diff --git a/net-dns/ndu/files/digest-ndu-0.4-r3 b/net-dns/ndu/files/digest-ndu-0.4-r3
new file mode 100644
index 000000000000..5093a5f3bafe
--- /dev/null
+++ b/net-dns/ndu/files/digest-ndu-0.4-r3
@@ -0,0 +1 @@
+MD5 dbf8b8e7b65cf189e732ff11c7f08181 ndu-0.4.tar.gz 16118
diff --git a/net-dns/ndu/ndu-0.4-r3.ebuild b/net-dns/ndu/ndu-0.4-r3.ebuild
new file mode 100644
index 000000000000..63c14d071b7f
--- /dev/null
+++ b/net-dns/ndu/ndu-0.4-r3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ndu/ndu-0.4-r3.ebuild,v 1.1 2005/12/12 03:42:09 robbat2 Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="DNS serial number incrementer and reverse zone builder"
+URI_BASE="http://uranus.it.swin.edu.au/~jn/linux/"
+SRC_URI="${URI_BASE}/${P}.tar.gz"
+HOMEPAGE="${URI_BASE}/dns.htm"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+DEPEND="sys-apps/sed
+ virtual/libc"
+RDEPEND="virtual/libc
+ sys-apps/ed" # dnstouch calls ed to do the dirty work
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}/src
+ # use the correct compiler
+ sed -e 's|gcc|$(CXX)|g' -i Makefile
+ # set correct config pathes
+ sed -e 's|#define CONFIG_PATH "/etc/"|#define CONFIG_PATH "/etc/bind/"|g' -i ndu.cpp
+ sed -e 's|"/etc/ndu.conf"|"/etc/bind/ndu.conf"|g' -i dnstouch.cpp
+ # hack up something to work around bug #73858
+ sed -e 's|execlp("ed", "ed", filename, 0);|execlp("ed", "ed", "-s", filename, 0);|g' -i dnstouch.cpp
+ # use the correct editor
+ sed -e 's|VISUAL|EDITOR|g' -i dnsedit
+
+ cd ${S}
+ # match our bind config
+ sed -e 's|0.0.127.in-addr.arpa|127.in-addr.arpa|g' -i ndu.conf
+ # document the support for the chrooted BIND setup
+ echo '// if you use a chrooted setup, then you need to uncomment these lines:' >>ndu.conf
+ echo '//process "/chroot/dns/named.conf"' >>ndu.conf
+ echo '//chroot "/chroot/dns"' >>ndu.conf
+}
+
+src_compile() {
+ cd ${S}/src
+ emake CFLAGS="${CFLAGS}" CXX="$(tc-getCXX)"
+}
+
+src_install () {
+ into /usr
+ dosbin src/{dnsedit,ndu,dnstouch}
+ dobin src/dnstouch
+ into /
+ insinto /etc/bind
+ doins ndu.conf
+ dodoc README INSTALL
+}