Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38055 Details for
Bug 61401
Cutting the cruft from net-snmp. USE=minimal
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
net-snmp-5.1.1-r1.ebuild.diff
net-snmp-5.1.1-r1.ebuild.diff (text/plain), 1.51 KB, created by
solar (RETIRED)
on 2004-08-23 15:20:37 UTC
(
hide
)
Description:
net-snmp-5.1.1-r1.ebuild.diff
Filename:
MIME Type:
Creator:
solar (RETIRED)
Created:
2004-08-23 15:20:37 UTC
Size:
1.51 KB
patch
obsolete
>Index: net-snmp-5.1.1-r1.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.1.1-r1.ebuild,v >retrieving revision 1.4 >diff -u -b -B -w -p -r1.4 net-snmp-5.1.1-r1.ebuild >--- net-snmp-5.1.1-r1.ebuild 10 Aug 2004 11:04:11 -0000 1.4 >+++ net-snmp-5.1.1-r1.ebuild 23 Aug 2004 22:00:37 -0000 >@@ -11,11 +11,11 @@ SRC_URI="mirror://sourceforge/${PN}/${P} > 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 > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 61401
:
38031
| 38055