summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-25 12:18:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-25 12:18:52 +0000
commit8bfe8281e62cd6cc3d2eb99af14c1761586ba187 (patch)
tree92759ab5195b572e6db5f54b2c41cc3dd66add58 /net-dns
parentStable on amd64 wrt bug #337828 (diff)
downloadhistorical-8bfe8281e62cd6cc3d2eb99af14c1761586ba187.tar.gz
historical-8bfe8281e62cd6cc3d2eb99af14c1761586ba187.tar.bz2
historical-8bfe8281e62cd6cc3d2eb99af14c1761586ba187.zip
Fix building with make >= 3.82 wrt #335548 by Diego E. Pettenò.
Package-Manager: portage-2.2_rc86/cvs/Linux x86_64
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnstop/ChangeLog8
-rw-r--r--net-dns/dnstop/Manifest5
-rw-r--r--net-dns/dnstop/dnstop-20090128.ebuild25
-rw-r--r--net-dns/dnstop/files/dnstop-20090128-make-382.patch11
4 files changed, 36 insertions, 13 deletions
diff --git a/net-dns/dnstop/ChangeLog b/net-dns/dnstop/ChangeLog
index f82474cf0b28..291b06872908 100644
--- a/net-dns/dnstop/ChangeLog
+++ b/net-dns/dnstop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dns/dnstop
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnstop/ChangeLog,v 1.29 2009/09/03 14:08:26 rajiv Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnstop/ChangeLog,v 1.30 2010/09/25 12:18:52 ssuominen Exp $
+
+ 25 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+ dnstop-20090128.ebuild, +files/dnstop-20090128-make-382.patch:
+ Fix building with make >= 3.82 wrt #335548 by Diego E. Pettenò.
03 Sep 2009; Rajiv Aaron Manglani <rajiv@gentoo.org>
-dnstop-20080502.ebuild:
diff --git a/net-dns/dnstop/Manifest b/net-dns/dnstop/Manifest
index d2e5fe7b923b..58d4bde790b5 100644
--- a/net-dns/dnstop/Manifest
+++ b/net-dns/dnstop/Manifest
@@ -1,4 +1,5 @@
+AUX dnstop-20090128-make-382.patch 161 RMD160 1ed53506c7a7f611676e2bab9ff090ed78a3e061 SHA1 10b22fa0a365d5fdf8224cffd21f9f0ebdd79174 SHA256 261a92a82634d24ff70bad7ee3cbb2929f5f0174192cd18c28a2027d38c7f39f
DIST dnstop-20090128.tar.gz 68132 RMD160 aa995e7163dcc8575e59065bcc4d6d92812aace5 SHA1 17eac98a9065e8b25ea13aa65b647c2b090850f1 SHA256 dbc32a6c07291d81596fb719491880bb4f63c310abd545c9eebbac5cd634fb6c
-EBUILD dnstop-20090128.ebuild 703 RMD160 9641de3963b237e97b6569aa34ce2b850fc93623 SHA1 4e1eb26549f7c6cb29e8bb8fc80b4e4df84af284 SHA256 81f216ce4d9a87313cd808bcc5972822758ca5791a700dc5cf993c1ebb2e504c
-MISC ChangeLog 3749 RMD160 42255630e0661cd065d1ea4a289e602ef84c454d SHA1 26283f31c6b59451f34136ba8af1aa909a95293f SHA256 dc8a2683ef8fa236448fff6895e267bae9007c01b99948b6b6067d90181ec1fc
+EBUILD dnstop-20090128.ebuild 752 RMD160 2c4e30f9f8801463cbae3c4c93e7efd81c50a4a2 SHA1 7cbe8eee459fe397e194082f6b2fc5b1f45cb1a6 SHA256 485b3188a657241a24514bf575b474318119fd213a436cf9e54939e0c07be290
+MISC ChangeLog 3940 RMD160 4ba0c58c850576167c63af842c3f798c47bd8788 SHA1 26266ce1b5eaf7e7e921ab423fe7d573d9153d53 SHA256 a40227dcabde98ab0ff64e7ff259fa18efe951228c1b01f8fb3d7e5fc5d1f7c4
MISC metadata.xml 440 RMD160 db76b00d2df20f8131d3d4d700c96f2ff4c61d51 SHA1 5c2a877971b37cca0c1d844f4c2cdc674878cd0b SHA256 605df881769df5949d1fdc7b75805f78bb6c9e1262d8267ac9fd6550868fc6ad
diff --git a/net-dns/dnstop/dnstop-20090128.ebuild b/net-dns/dnstop/dnstop-20090128.ebuild
index bc812693eea1..0842b0a834b5 100644
--- a/net-dns/dnstop/dnstop-20090128.ebuild
+++ b/net-dns/dnstop/dnstop-20090128.ebuild
@@ -1,6 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnstop/dnstop-20090128.ebuild,v 1.3 2009/09/03 06:55:16 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnstop/dnstop-20090128.ebuild,v 1.4 2010/09/25 12:18:52 ssuominen Exp $
+
+EAPI=2
+inherit eutils
DESCRIPTION="Displays various tables of DNS traffic on your network."
HOMEPAGE="http://dnstop.measurement-factory.com/"
@@ -9,19 +12,23 @@ SRC_URI="http://dnstop.measurement-factory.com/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc sparc x86"
-
IUSE="ipv6"
-DEPEND="sys-libs/ncurses
+
+RDEPEND="sys-libs/ncurses
virtual/libpcap"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-make-382.patch
+}
-src_compile() {
- econf $(use_enable ipv6) || die "econf failed."
- emake || die "emake failed."
+src_configure() {
+ econf \
+ $(use_enable ipv6)
}
src_install() {
- dobin dnstop
+ dobin dnstop || die
doman dnstop.8
dodoc CHANGES
}
diff --git a/net-dns/dnstop/files/dnstop-20090128-make-382.patch b/net-dns/dnstop/files/dnstop-20090128-make-382.patch
new file mode 100644
index 000000000000..17afdc323a11
--- /dev/null
+++ b/net-dns/dnstop/files/dnstop-20090128-make-382.patch
@@ -0,0 +1,11 @@
+http://bugs.gentoo.org/335548
+
+--- Makefile.in
++++ Makefile.in
+@@ -1,5 +1,5 @@
+ PROG=dnstop
+-DATE != date +%Y%m%d
++DATE=date +%Y%m%d
+
+ CC=@CC@
+ CFLAGS=@CFLAGS@