Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 84853

Summary: Base packages use-flagged patch [big]
Product: Gentoo/Alt Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: OtherAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch over 20050307 snapshot overlay

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-11 05:49:38 UTC
This patch applies over spb's snapshot of the overlay of 20050307 and adds support for useflags which can disable unused features like rpc, sendmail, bind or ssh stuff. It also can disable ipv6 or nls supports.

They doesn't tinker with makefiles, as it uses ports options passed to make.

disabling freebsd-crypto's ssh removes it providing of virtual/ssh and allows to install net-misc/openssh for security reasons.
sshd pamd and init.d are provided by freebsd-crypto package now, and installed only if needed.

HTH, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-11 05:50:44 UTC
Created attachment 53180 [details, diff]
Patch over 20050307 snapshot overlay
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-03-11 08:36:26 UTC
Overall your work looks great.  Just quickly glanced through it and only noticed one thing.

Things like

PROVIDE="!nocxx? ( virtual/dev-manager )
	virtual/dhcpc"

and

PROVIDE="ssh? ( virtual/ssh )"

don't work as you expect (but hopefully will soon).

See http://bugs.gentoo.org/show_bug.cgi?id=32114

One other thing. Is it possible at all for you to split that patch up and submit seperate bugs for seperate packages (maybe include the profile changes in one bug)?  That'd make it tons easier on us and allow us to each work on separate bugs rather than one of us trying to do all the work.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-11 14:08:19 UTC
Posted as bug #84898 and bugs blocked by it.