Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 61401 | Differences between
and this patch

Collapse All | Expand All

(-)net-snmp-5.1.1-r1.ebuild (-1 / +10 lines)
Lines 11-17 Link Here
11
LICENSE="as-is"
11
LICENSE="as-is"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm hppa ~amd64 ~ia64 ~s390 ~ppc64"
13
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm hppa ~amd64 ~ia64 ~s390 ~ppc64"
14
IUSE="perl ipv6 ssl tcpd X lm_sensors"
14
IUSE="perl ipv6 ssl tcpd X lm_sensors minimal"
15
15
16
PROVIDE="virtual/snmp"
16
PROVIDE="virtual/snmp"
17
DEPEND="virtual/libc
17
DEPEND="virtual/libc
Lines 98-101 Link Here
98
	newins "${FILESDIR}/snmpd-5.1.conf" snmpd
98
	newins "${FILESDIR}/snmpd-5.1.conf" snmpd
99
99
100
	keepdir /etc/snmp /var/lib/net-snmp
100
	keepdir /etc/snmp /var/lib/net-snmp
101
102
	# Remove everything, keeping only the snmpd/snmptrapd and MIB's
103
	if use minimal; then
104
		einfo "USE=minimal is set. Cleaning up excess cruft for a embedded/minimal/server only install."
105
		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}}
106
		rm -rf ${D}/usr/share/snmp/snmpconf-data  ./usr/bin/snmpc{heck,onf}
107
		rm -rf ${D}/usr/share/snmp/*.conf ./usr/bin/net-snmp-config
108
		find ${D} -name '*.pl' -exec rm -f '{}' \;
109
	fi
101
}
110
}

Return to bug 61401