summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2004-07-11 18:23:15 +0000
committerTom Martin <slarti@gentoo.org>2004-07-11 18:23:15 +0000
commitd15b194371845d2d18e0ece837cff74d226f83c2 (patch)
treed195311e6b292d278dbb451d082dc2de134ff05b /app-misc/lhinv
parentRemoved obsolete ebuild and digest (diff)
downloadhistorical-d15b194371845d2d18e0ece837cff74d226f83c2.tar.gz
historical-d15b194371845d2d18e0ece837cff74d226f83c2.tar.bz2
historical-d15b194371845d2d18e0ece837cff74d226f83c2.zip
Added patch to provide extra network interface type functionality. Closes bug 54344.
Diffstat (limited to 'app-misc/lhinv')
-rw-r--r--app-misc/lhinv/ChangeLog9
-rw-r--r--app-misc/lhinv/Manifest5
-rw-r--r--app-misc/lhinv/files/digest-lhinv-1.1-r41
-rw-r--r--app-misc/lhinv/files/lhinv-1.1-r4-vmnet_sit.patch17
-rw-r--r--app-misc/lhinv/lhinv-1.1-r4.ebuild40
5 files changed, 70 insertions, 2 deletions
diff --git a/app-misc/lhinv/ChangeLog b/app-misc/lhinv/ChangeLog
index f12174b36b5f..c29ea6194c89 100644
--- a/app-misc/lhinv/ChangeLog
+++ b/app-misc/lhinv/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-misc/lhinv
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lhinv/ChangeLog,v 1.10 2004/07/10 13:33:32 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lhinv/ChangeLog,v 1.11 2004/07/11 18:23:15 slarti Exp $
+
+*lhinv-1.1-r4 (11 Jul 2004)
+
+ 11 Jul 2004; Tom Martin <slarti@gentoo.org>
+ +files/lhinv-1.1-r4-vmnet_sit.patch, lhinv-1.1-r4.ebuild:
+ Added a sit/vmnet interface type patch. Thanks to Tyler Montbriand
+ <tsm@accesscomm.ca> in bug 54344.
10 Jul 2004; Tom Martin <slarti@gentoo.org> lhinv-1.1-r3.ebuild:
Added ~amd64.
diff --git a/app-misc/lhinv/Manifest b/app-misc/lhinv/Manifest
index 51ca2ce5cafc..7ebbc7c88306 100644
--- a/app-misc/lhinv/Manifest
+++ b/app-misc/lhinv/Manifest
@@ -1,6 +1,9 @@
+MD5 75e2924ec7b6e044e1578886d6646485 lhinv-1.1-r4.ebuild 923
MD5 9dccda8be8f39d759997eb10978e602c lhinv-1.1-r3.ebuild 785
-MD5 d6c0ab2972c69f718b8df442deb5d779 ChangeLog 1831
+MD5 ba9987ec4717b7cd0188c5084cd432c3 ChangeLog 2072
MD5 a3088815ded7f32ebe5ba5be68152e5c metadata.xml 446
MD5 e68f4cfa3a6ba29efbd0e0a8613d40c7 lhinv-1.1-r2.ebuild 741
MD5 803c8b6bb78dfd1c74d7dc4b549dec54 files/digest-lhinv-1.1-r2 60
MD5 803c8b6bb78dfd1c74d7dc4b549dec54 files/digest-lhinv-1.1-r3 60
+MD5 803c8b6bb78dfd1c74d7dc4b549dec54 files/digest-lhinv-1.1-r4 60
+MD5 1a63580ae5735681aabe1276678c7177 files/lhinv-1.1-r4-vmnet_sit.patch 548
diff --git a/app-misc/lhinv/files/digest-lhinv-1.1-r4 b/app-misc/lhinv/files/digest-lhinv-1.1-r4
new file mode 100644
index 000000000000..74f1985a7141
--- /dev/null
+++ b/app-misc/lhinv/files/digest-lhinv-1.1-r4
@@ -0,0 +1 @@
+MD5 12dad73fd3876944a1f788e1d331a6a5 lhinv-1.1.tar.gz 19095
diff --git a/app-misc/lhinv/files/lhinv-1.1-r4-vmnet_sit.patch b/app-misc/lhinv/files/lhinv-1.1-r4-vmnet_sit.patch
new file mode 100644
index 000000000000..5fe84f29c084
--- /dev/null
+++ b/app-misc/lhinv/files/lhinv-1.1-r4-vmnet_sit.patch
@@ -0,0 +1,17 @@
+--- lhinv.src.orig 2004-07-11 18:48:15.366067680 +0100
++++ lhinv.src 2004-07-11 18:50:40.316031936 +0100
+@@ -402,9 +402,11 @@
+ # for now, this is it.
+
+ my %if_names = (
+- 'eth' => 'Ethernet',
+- 'ppp' => 'Point-to-Point',
+- 'slp' => 'Serial Line IP',
++ 'eth' => 'Ethernet',
++ 'ppp' => 'Point-to-Point',
++ 'slp' => 'Serial Line IP',
++ 'sit' => 'Simple Internet Transition',
++ 'vmnet' => 'VMware Virtual Net',
+ );
+ my @if_dev = ();
+
diff --git a/app-misc/lhinv/lhinv-1.1-r4.ebuild b/app-misc/lhinv/lhinv-1.1-r4.ebuild
new file mode 100644
index 000000000000..66cd0af7bcbd
--- /dev/null
+++ b/app-misc/lhinv/lhinv-1.1-r4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lhinv/lhinv-1.1-r4.ebuild,v 1.1 2004/07/11 18:23:15 slarti Exp $
+
+inherit eutils
+
+DESCRIPTION="Linux Hardware Inventory"
+HOMEPAGE="http://lhinv.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lhinv/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~amd64"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND="dev-lang/perl"
+
+src_unpack() {
+ unpack ${A} && cd ${S} || die
+ epatch ${FILESDIR}/lhinv-1.1-r4-vmnet_sit.patch || die "epatch failed."
+}
+
+src_compile() {
+ cd ${S}/cgi
+ sed -i -e "s:^my \$HINV =.*:my \$HINV =\"/usr/bin/lhinv\";:" \
+ w3hinv
+ cd ..
+ make local || die
+}
+
+src_install() {
+ dobin lhinv || die
+ doman lhinv.1
+ dodoc AUTHORS BUGS CHANGELOG README TODO
+ newdoc cgi/README README.cgi
+ insinto /var/www/localhost/cgi-bin
+ insopts -m 755
+ doins cgi/w3hinv
+}