summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-10-15 10:20:11 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-10-15 10:20:11 +0000
commita4c7e3061a9d607bf1e7bced57f2147fab7887ae (patch)
tree14e4545e3d8e4c453e31c027eb1287fc6625c149 /net-dns/dnrd
parentVersion bump (diff)
downloadgentoo-2-a4c7e3061a9d607bf1e7bced57f2147fab7887ae.tar.gz
gentoo-2-a4c7e3061a9d607bf1e7bced57f2147fab7887ae.tar.bz2
gentoo-2-a4c7e3061a9d607bf1e7bced57f2147fab7887ae.zip
New revision bump for bug #241294
(Portage version: 2.2_rc12/cvs/Linux 2.6.25-gentoo-r7 i686)
Diffstat (limited to 'net-dns/dnrd')
-rw-r--r--net-dns/dnrd/ChangeLog11
-rw-r--r--net-dns/dnrd/dnrd-2.20.3-r1.ebuild (renamed from net-dns/dnrd/dnrd-2.20.3.ebuild)24
-rw-r--r--net-dns/dnrd/files/dnrd-2.20.3-docdir.patch21
3 files changed, 46 insertions, 10 deletions
diff --git a/net-dns/dnrd/ChangeLog b/net-dns/dnrd/ChangeLog
index 5acc496610d0..be59e942711f 100644
--- a/net-dns/dnrd/ChangeLog
+++ b/net-dns/dnrd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-dns/dnrd
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnrd/ChangeLog,v 1.13 2007/03/22 12:52:32 armin76 Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnrd/ChangeLog,v 1.14 2008/10/15 10:20:11 armin76 Exp $
+
+*dnrd-2.20.3-r1 (15 Oct 2008)
+
+ 15 Oct 2008; Raúl Porcel <armin76@gentoo.org>
+ +files/dnrd-2.20.3-docdir.patch, -dnrd-2.20.3.ebuild,
+ +dnrd-2.20.3-r1.ebuild:
+ New revision bump for bug #241294
*dnrd-2.20.3 (22 Mar 2007)
diff --git a/net-dns/dnrd/dnrd-2.20.3.ebuild b/net-dns/dnrd/dnrd-2.20.3-r1.ebuild
index f30b1a4dad5d..b657c2ae3e0b 100644
--- a/net-dns/dnrd/dnrd-2.20.3.ebuild
+++ b/net-dns/dnrd/dnrd-2.20.3-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnrd/dnrd-2.20.3.ebuild,v 1.1 2007/03/22 12:52:32 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnrd/dnrd-2.20.3-r1.ebuild,v 1.1 2008/10/15 10:20:11 armin76 Exp $
-inherit eutils
+inherit autotools eutils
DESCRIPTION="A caching DNS proxy server"
HOMEPAGE="http://dnrd.sourceforge.net/"
@@ -13,17 +13,25 @@ KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug"
DEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-docdir.patch
+ eautoreconf
+}
+
src_compile() {
econf \
- $(use_enable debug) \
- --disable-dependency-tracking \
- || die "configuration failed"
+ $(use_enable debug) \
+ --disable-dependency-tracking \
+ --docdir=/usr/share/doc/${PF} \
+ || die
- emake || die "Make failed"
+ emake || die
}
src_install() {
- make DESTDIR=${D} install || die
+ emake DESTDIR="${D}" install || die
keepdir /etc/dnrd
doinitd ${FILESDIR}/dnrd
diff --git a/net-dns/dnrd/files/dnrd-2.20.3-docdir.patch b/net-dns/dnrd/files/dnrd-2.20.3-docdir.patch
new file mode 100644
index 000000000000..a3d1c8002d51
--- /dev/null
+++ b/net-dns/dnrd/files/dnrd-2.20.3-docdir.patch
@@ -0,0 +1,21 @@
+Index: doc/Makefile.am
+===================================================================
+--- doc/Makefile.am (revision 247)
++++ doc/Makefile.am (revision 248)
+@@ -1,5 +1,4 @@
+ PACKAGE = @PACKAGE_TARNAME@
+-docdir = $(datadir)/doc/$(PACKAGE)
+ doc_DATA = README-cache README-master README-cygwin master.sample
+ man_MANS = dnrd.8
+ EXTRA_DIST = $(man_MANS) $(doc_DATA)
+Index: Makefile.am
+===================================================================
+--- Makefile.am (revision 247)
++++ Makefile.am (revision 248)
+@@ -1,6 +1,5 @@
+ PACKAGE = @PACKAGE_TARNAME@
+ SUBDIRS = src doc
+-docdir = $(datadir)/doc/$(PACKAGE)
+ doc_DATA = AUTHORS COPYING ChangeLog README NEWS
+
+ EXTRA_DIST = README cygwin_post_install.sh