If installed, net-analyzer/net-snmp will be used to build the /usr/bin/ntpsnmpd binary. If not installed, the component will not be built -- no messages, nothing so far. Reproducible: Always Steps to Reproduce: 1. emerge net-misc/ntp 2. qlist net-misc/ntp | grep ntpsnmpd 3. emerge -C net-analyzer/net-snmp 4. emerge net-misc/ntp 5. qlist net-misc/ntp | grep ntpsnmpd 6. compare the results Actual Results: If net-analyzer/net-snmp is installed, /usr/bin/ntpsnmpd is being built. If net-analyzer/net-snmp is NOT installed, /usr/bin/ntpsnmpd is NOT being built. Expected Results: Exüecting a use flag to predict wether /usr/bin/ntpsnmpd will be built or not.
Created attachment 234151 [details] Adding a fixed ebuild for net-misc/ntp-4.2.6_p1 introducing the "snmpd" useflag
Comment on attachment 234151 [details] Adding a fixed ebuild for net-misc/ntp-4.2.6_p1 introducing the "snmpd" useflag --- ntp-4.2.6_p1.ebuild 2010-04-17 00:42:22.000000000 +0200 +++ ntp-4.2.6_p1-r1.ebuild 2010-06-07 02:04:10.000000000 +0200 @@ -15,7 +15,8 @@ LICENSE="as-is" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" -IUSE="caps debug ipv6 openntpd parse-clocks selinux ssl vim-syntax zeroconf" +IUSE="caps debug ipv6 openntpd parse-clocks selinux ssl vim-syntax zeroconf +snmpd" DEPEND=">=sys-libs/ncurses-5.2 >=sys-libs/readline-4.1 @@ -23,7 +24,8 @@ zeroconf? ( || ( net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder ) ) !openntpd? ( !net-misc/openntpd ) ssl? ( dev-libs/openssl ) - selinux? ( sec-policy/selinux-ntp )" + selinux? ( sec-policy/selinux-ntp ) + snmpd? ( net-analyzer/net-snmp )" RDEPEND="${DEPEND} vim-syntax? ( app-vim/ntp-syntax )" PDEPEND="openntpd? ( net-misc/openntpd )" @@ -55,7 +57,8 @@ $(use_enable parse-clocks) \ $(use_enable ipv6) \ $(use_enable debug debugging) \ - $(use_with ssl crypto) + $(use_with ssl crypto) \ + $(use_with snmpd netsnmpd) } src_install() {
the USE flag is "snmp", not "snmpd". so corrected that and added to the tree as 4.2.6_p1-r1, thanks.