summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-08-26 15:56:42 +0000
committerNed Ludd <solar@gentoo.org>2004-08-26 15:56:42 +0000
commit1c2ed40d74fb0bba88b04a721a93d8a54645697f (patch)
tree6e703f6ae5381a8af9f74fc8dfdd194f79d24c6d /net-analyzer/net-snmp
parentmake it a little smarter yet (diff)
downloadhistorical-1c2ed40d74fb0bba88b04a721a93d8a54645697f.tar.gz
historical-1c2ed40d74fb0bba88b04a721a93d8a54645697f.tar.bz2
historical-1c2ed40d74fb0bba88b04a721a93d8a54645697f.zip
minimal USE flag added to net-snmp to yield a smaller net-snmp package. bug #61401
Diffstat (limited to 'net-analyzer/net-snmp')
-rw-r--r--net-analyzer/net-snmp/ChangeLog6
-rw-r--r--net-analyzer/net-snmp/Manifest30
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.1.1-r1.ebuild16
3 files changed, 28 insertions, 24 deletions
diff --git a/net-analyzer/net-snmp/ChangeLog b/net-analyzer/net-snmp/ChangeLog
index e32f6c856a05..8a8f82cd4bd3 100644
--- a/net-analyzer/net-snmp/ChangeLog
+++ b/net-analyzer/net-snmp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/net-snmp
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.58 2004/08/14 14:49:15 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.59 2004/08/26 15:56:42 solar Exp $
+
+ 26 Aug 2004; <solar@gentoo.org> net-snmp-5.1.1-r1.ebuild:
+ minimal USE flag added to net-snmp to yield a smaller net-snmp package. bug
+ #61401
14 Aug 2004; Sven Wegener <swegener@gentoo.org> files/snmpd.conf:
Trimmed trailing whitespace.
diff --git a/net-analyzer/net-snmp/Manifest b/net-analyzer/net-snmp/Manifest
index 343bf76be4cf..930c6e247fe9 100644
--- a/net-analyzer/net-snmp/Manifest
+++ b/net-analyzer/net-snmp/Manifest
@@ -1,28 +1,18 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 081ca71a4537aa48e7fe0ba91b7fe132 ChangeLog 8829
-MD5 feec9ceb3ba9f6a8b860a4a130998500 metadata.xml 214
-MD5 f597261fb689d5987bd724f686d8bd8c net-snmp-5.0.9-r1.ebuild 1659
-MD5 c9cad6967c195fe67becfed53488a95b net-snmp-5.0.9-r3.ebuild 2253
-MD5 8d19f23020b26182e8769f64b3ea9ab7 net-snmp-5.1.1-r1.ebuild 2794
MD5 4dbb8fd11d7a14410f10792852894651 net-snmp-5.1.1.ebuild 2284
+MD5 f597261fb689d5987bd724f686d8bd8c net-snmp-5.0.9-r1.ebuild 1659
MD5 469a9d0b2d836a307178f2fa26042d51 net-snmp-5.1.ebuild 2142
+MD5 c9cad6967c195fe67becfed53488a95b net-snmp-5.0.9-r3.ebuild 2253
+MD5 662ec237adfbd67f9611e00cfbc06821 net-snmp-5.1.1-r1.ebuild 3432
+MD5 94fd104539a11b77d98a53f5daf04593 ChangeLog 8974
+MD5 feec9ceb3ba9f6a8b860a4a130998500 metadata.xml 214
MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9-r1 67
MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9-r3 67
-MD5 d37d58ebf8d67438ae7a607ffe281b0a files/digest-net-snmp-5.1 65
-MD5 b492aa2a6ad459eb41a26932d4c0740b files/digest-net-snmp-5.1.1 67
MD5 b492aa2a6ad459eb41a26932d4c0740b files/digest-net-snmp-5.1.1-r1 67
-MD5 2fc90e7bc5fccb2c9435ecdb7497d467 files/net-snmp-lm_sensors.patch 13688
+MD5 b492aa2a6ad459eb41a26932d4c0740b files/digest-net-snmp-5.1.1 67
+MD5 d37d58ebf8d67438ae7a607ffe281b0a files/digest-net-snmp-5.1 65
+MD5 00ce9b4fa6d597e08af7ce82d3a5c246 files/snmpd.conf 599
MD5 1cc5b20de8fc9e7c807195c320ab2f4b files/net-snmp-proc.patch 2448
MD5 ed2e953a9a923caec45eeca95bec2efc files/snmpd-5.1.conf 606
-MD5 0dbde7b1bdd9c9dc988039e676800337 files/snmpd-5.1.rc6 714
-MD5 00ce9b4fa6d597e08af7ce82d3a5c246 files/snmpd.conf 599
MD5 662833e61042a47d4bd8aaae404f4245 files/snmpd.rc6 710
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFBHia6I1lqEGTUzyQRAimeAJ4nRQ0GHuf46Nx2CSyov24HifN+PACg1CF7
-BftcIbnitxyGOjLP/VaLj/U=
-=LU5l
------END PGP SIGNATURE-----
+MD5 2fc90e7bc5fccb2c9435ecdb7497d467 files/net-snmp-lm_sensors.patch 13688
+MD5 0dbde7b1bdd9c9dc988039e676800337 files/snmpd-5.1.rc6 714
diff --git a/net-analyzer/net-snmp/net-snmp-5.1.1-r1.ebuild b/net-analyzer/net-snmp/net-snmp-5.1.1-r1.ebuild
index a3b4029c9ec9..3dd74a587ed1 100644
--- a/net-analyzer/net-snmp/net-snmp-5.1.1-r1.ebuild
+++ b/net-analyzer/net-snmp/net-snmp-5.1.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.1.1-r1.ebuild,v 1.4 2004/08/10 11:04:11 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.1.1-r1.ebuild,v 1.5 2004/08/26 15:56:42 solar Exp $
inherit eutils
@@ -11,11 +11,11 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm hppa ~amd64 ~ia64 ~s390 ~ppc64"
-IUSE="perl ipv6 ssl tcpd X lm_sensors"
+IUSE="perl ipv6 ssl tcpd X lm_sensors minimal"
PROVIDE="virtual/snmp"
DEPEND="virtual/libc
- <sys-libs/db-2
+ !minimal? ( <sys-libs/db-2 )
>=sys-libs/zlib-1.1.4
>=sys-apps/sed-4
ssl? ( >=dev-libs/openssl-0.9.6d )
@@ -98,4 +98,14 @@ src_install () {
newins "${FILESDIR}/snmpd-5.1.conf" snmpd
keepdir /etc/snmp /var/lib/net-snmp
+
+ # Remove everything, keeping only the snmpd, snmptrapd, MIBs, libs, and includes.
+ if use minimal; then
+ einfo "USE=minimal is set. Cleaning up excess cruft for a embedded/minimal/server only install."
+ rm -rf ${D}/usr/bin/{encode_keychange,snmp{get,getnext,set,usm,walk,bulkwalk,table,trap,bulkget,translate,status,delta,test,df,vacm,netstat,inform}}
+ rm -rf ${D}/usr/share/snmp/snmpconf-data ${D}/usr/share/snmp/*.conf
+ rm -rf ${D}/usr/bin/{net-snmp-config,fixproc,traptoemail} ${D}/usr/bin/snmpc{heck,onf}
+ find ${D} -name '*.pl' -exec rm -f '{}' \;
+ use ipv6 || rm -rf ${D}/usr/share/snmp/mibs/IPV6*
+ fi
}