summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-07-10 16:26:03 +0000
committerJeroen Roovers <jer@gentoo.org>2012-07-10 16:26:03 +0000
commit25e7ef075ccc2593d0310edce53a7217c77be24e (patch)
tree7caa775ad1ad314c353a19d38a69495a6e3a5bab
parentStable for x86, wrt bug #425644 (diff)
downloadhistorical-25e7ef075ccc2593d0310edce53a7217c77be24e.tar.gz
historical-25e7ef075ccc2593d0310edce53a7217c77be24e.tar.bz2
historical-25e7ef075ccc2593d0310edce53a7217c77be24e.zip
Bring the ebuild into the 2010s.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
-rw-r--r--net-analyzer/ifstat/ChangeLog10
-rw-r--r--net-analyzer/ifstat/Manifest22
-rw-r--r--net-analyzer/ifstat/files/ifstat-1.1-make.patch23
-rw-r--r--net-analyzer/ifstat/ifstat-1.1-r1.ebuild29
4 files changed, 77 insertions, 7 deletions
diff --git a/net-analyzer/ifstat/ChangeLog b/net-analyzer/ifstat/ChangeLog
index f79b070836f7..bc6d0eebaed3 100644
--- a/net-analyzer/ifstat/ChangeLog
+++ b/net-analyzer/ifstat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/ifstat
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstat/ChangeLog,v 1.23 2011/03/20 18:35:07 armin76 Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstat/ChangeLog,v 1.24 2012/07/10 16:26:03 jer Exp $
+
+*ifstat-1.1-r1 (10 Jul 2012)
+
+ 10 Jul 2012; Jeroen Roovers <jer@gentoo.org> +ifstat-1.1-r1.ebuild,
+ +files/ifstat-1.1-make.patch:
+ Bring the ebuild into the 2010s.
20 Mar 2011; Raúl Porcel <armin76@gentoo.org> ifstat-1.1.ebuild:
Add ~alpha
diff --git a/net-analyzer/ifstat/Manifest b/net-analyzer/ifstat/Manifest
index 522acf2bea99..7801ff822a5e 100644
--- a/net-analyzer/ifstat/Manifest
+++ b/net-analyzer/ifstat/Manifest
@@ -1,5 +1,17 @@
-AUX ifstat-1.1-strip_and_cflags.patch 415 RMD160 42436883c0c4bf0753d87399e71f98d591822edf SHA1 afc9182e721393d5493ea88850e8e289c7a49f16 SHA256 1e3cbd49a796802a3a19ce940173c894646eb1129144c8453c33a34b6f896d26
-DIST ifstat-1.1.tar.gz 67920 RMD160 dd3449590f3b5caf0a4190579518e1014b34be68 SHA1 4ebf59207d24e53461f841a2480a6710d774fce2 SHA256 8599063b7c398f9cfef7a9ec699659b25b1c14d2bc0f535aed05ce32b7d9f507
-EBUILD ifstat-1.1.ebuild 727 RMD160 42127fc331b2f520fb62547ecbb5aeb324336617 SHA1 0f6b45f279b2961dd02acbcd7e16f14992552e79 SHA256 f57d8ad1f888917aa9afb4dc26e6be37734c1dd7d4ba287f66f2f465a68f6959
-MISC ChangeLog 2597 RMD160 e2f84f420238e6864d36296e693fecff310711db SHA1 459d9cb2d703fff853a2a4bd4c16f7b2f04957bb SHA256 fb7280ca3ad5d2603845dcfd1916998a6968f8d3e3a970af8cc412019a7be012
-MISC metadata.xml 357 RMD160 9b28848cc683c91c3acafe98812eda134d3d477f SHA1 2a3002f6f1146e0480ea1ade992b832323d23cd6 SHA256 2afc3299bb2497d6a4da60fc72da0ecaa750aeb0a011430f04f1e82ebada9d21
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ifstat-1.1-make.patch 924 SHA256 83a60dafae3436a7c7a29368c833bcf3763fe1c687894177535cd7c94d760738 SHA512 c38618c54f556b92f2f5362416aabfc53f2f39949ce307b9abb19c3ba70b08308365731de86079c044dd0f0e580ba1532f95bf838b58f2ca266e10f0052ec541 WHIRLPOOL e59b0d9a02f7b0934ef65915273de5dc71054f11337b60112fb7dd9ea40d3b8afa18d7405f12d041acf38903474fed54b036dc0145d9a7c640c93bba76eba9e9
+AUX ifstat-1.1-strip_and_cflags.patch 415 SHA256 1e3cbd49a796802a3a19ce940173c894646eb1129144c8453c33a34b6f896d26 SHA512 422e58e916efb4e943a88e116eade117746d12be9071a5fd65a8da496234257f9faf43cec6807282fbdd38c97bd045a60916d0d94387f81343e901d9c827199b WHIRLPOOL 0ef5963b1683c5fc1f6c3e73fd53bafa6de5510275d7f6796edf4bb0e619fcb0aad27be274b7668b1c32b06b02afc7adff4cfd92dc5d0dc41b90de69a3e75438
+DIST ifstat-1.1.tar.gz 67920 SHA256 8599063b7c398f9cfef7a9ec699659b25b1c14d2bc0f535aed05ce32b7d9f507 SHA512 b1aef8e7b14cbf265e2d42277478fd12a565287f90f37b0a826ba3e7d29640df757c7d56f149e406bf5890663ed734b2c658c4f1e2b258ded3649f2fc3e9ac64 WHIRLPOOL 9db65eafd8306e0059dd08c34db4eb17dfcef1b32dd7b3bbad21501afc8aedf40a694367fde98d5204d4dcae4f915bb1f2f4301bc3eec3326c80e031097492ba
+EBUILD ifstat-1.1-r1.ebuild 727 SHA256 406ddceb0c59c3726d703fc0f52ac7ca881bca27ca655cade5f7a18dc7025321 SHA512 f3d33bfa181195393a18ba429c9995cafa64f8b6f19965a9eee928c9a15463fe9f930a0e3ddcc67126e1d1d4a98b07c1bd06350fc9feb75524f14b2f4c3ef7f0 WHIRLPOOL e5bf6a4b6ca2d26fc3d9ea2aac0d9bfccc4e71c9b87a5ef45d6af41cd32060169ae8e12f923fe963bfdcb2b8ec00a4bb3abf0bbba00a0a426830317e74f70e84
+EBUILD ifstat-1.1.ebuild 727 SHA256 f57d8ad1f888917aa9afb4dc26e6be37734c1dd7d4ba287f66f2f465a68f6959 SHA512 9a40795c3f2ebc63d112bfd27303f764076feb23a606a069c8a61cb11785185d43dd93afe7ea69c92b5f5db65e56838c538c17691b9f52202b13dd7478a5782c WHIRLPOOL 65e026318c15bb2047c90c53275b5d473d4f50e682e1d20340c6abce77c313a782157bc8155007ec750b27b2696cb3231cf70d41c52934dccaf0cd66ad9ac793
+MISC ChangeLog 2761 SHA256 7d09c26d844985fc59b7c2cceb52d6760b4b2e5910911f2af32b4a067a26d5d6 SHA512 ba9ab49439048618aef9908e63c24169640dbb6b35d3b418b73e8dd10dd26df661825cce4f68ed672feb1eb33d954a590331d6d45f5843bd37ba47d175df1d3a WHIRLPOOL 40474ad71eefd3a3b1252703b6eeef8fb6e71dfd48cb671ebd52f0a923797becb5f3d974b1ce1caffe3a72584d55e211050fd983b40cdc02a17cd85a71cef726
+MISC metadata.xml 357 SHA256 2afc3299bb2497d6a4da60fc72da0ecaa750aeb0a011430f04f1e82ebada9d21 SHA512 21170e5cbc785e885a7df5369ab919729e4d331aaceb57cdd44a7e7b771b9db8f18f8b4f33a6cc39c8e9fd7f4391ec43cb4daa748ee79b24f6bac729b5c60cdd WHIRLPOOL ddbbcb74a22a8910478b50bc9273482f0f7276fbaf4e850d19138ee1c73b9d02cb2bf8101e5ff36e098c203dadd42c73f90e9fc8810b38f30cfe993c6acea59b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEARECAAYFAk/8WFgACgkQVWmRsqeSphOsHgCfdGEcHWqsfmQDuIMZAw/bB2Iw
+RqEAn14/wG7b3AqSsUi3b+2owwZBnSgm
+=n3Lf
+-----END PGP SIGNATURE-----
diff --git a/net-analyzer/ifstat/files/ifstat-1.1-make.patch b/net-analyzer/ifstat/files/ifstat-1.1-make.patch
new file mode 100644
index 000000000000..166e5739684d
--- /dev/null
+++ b/net-analyzer/ifstat/files/ifstat-1.1-make.patch
@@ -0,0 +1,23 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -65,14 +65,14 @@
+ install: install-$(TARGET) install-@LIBTARGET@
+
+ install-$(TARGET): $(TARGET)
+- $(INSTALL) -d -m 755 $(bindir)
+- $(INSTALL) -s -m 755 $(TARGET) $(bindir)/$(TARGET)
+- $(INSTALL) -d -m 755 $(mandir)/man1
+- $(INSTALL) -m 644 ifstat.1 $(mandir)/man1/ifstat.1
++ $(INSTALL) -d -m 755 $(DESTDIR)/$(bindir)
++ $(INSTALL) -m 755 $(TARGET) $(DESTDIR)/$(bindir)/$(TARGET)
++ $(INSTALL) -d -m 755 $(DESTDIR)/$(mandir)/man1
++ $(INSTALL) -m 644 ifstat.1 $(DESTDIR)/$(mandir)/man1/ifstat.1
+
+ install-$(LIBTARGET): $(LIBTARGET) libifstat-config
+- $(INSTALL) -d -m 755 $(bindir)
+- $(INSTALL) -m 755 libifstat-config $(bindir)/libifstat-config
++ $(INSTALL) -d -m 755 $(DESTDIR)/$(bindir)
++ $(INSTALL) -m 755 libifstat-config $(DESTDIR)/$(bindir)/libifstat-config
+ $(INSTALL) -d -m 755 $(includedir)
+ $(INSTALL) -m 644 ifstat.h $(includedir)/ifstat.h
+ $(INSTALL) -d -m 755 $(libdir)
diff --git a/net-analyzer/ifstat/ifstat-1.1-r1.ebuild b/net-analyzer/ifstat/ifstat-1.1-r1.ebuild
new file mode 100644
index 000000000000..c0494802071d
--- /dev/null
+++ b/net-analyzer/ifstat/ifstat-1.1-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstat/ifstat-1.1-r1.ebuild,v 1.1 2012/07/10 16:26:03 jer Exp $
+
+EAPI=4
+inherit eutils
+
+IUSE="snmp"
+
+DESCRIPTION="Network interface bandwidth usage, with support for snmp targets."
+SRC_URI="http://gael.roualland.free.fr/ifstat/${P}.tar.gz"
+HOMEPAGE="http://gael.roualland.free.fr/ifstat/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="snmp? ( >=net-analyzer/net-snmp-5.0 )"
+RDEPEND="${DEPEND}"
+
+DOCS=( HISTORY README TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-make.patch
+}
+
+src_configure() {
+ econf $(use_enable snmp)
+}