On Tue, Jan 03, 2012 at 10:53:05PM -0800, Matthew Dillon wrote:
> 
> :I installed cups, which has its own lpr program, and deleted the lpr that is 
> :in world. If I rebuild world, how do I tell it not to install lpr? I know I 
> :did this for sendmail, but I forgot where the configuration is.

NO_LPR= true in /etc/make.conf is enough to stop building and installing the
binaries.
You just need to remove them once.

>     If we really wanted to make things easy we could make /usr/bin/lpr
>     recognize an environment variable to tell it to forward to another
>     lpr (aka /usr/pkg/bin/lpr).. though we'd have to be careful since
>     /usr/bin/lpr is suid and sgid.  Maybe a simple 'LPR_USE_PKGSRC'
>     env variable that could be set to '1'.

Why not just remove lpr from base entirely like it was done for Bind ?
It would be much less complicated and won't have potential suid security
issues...

-- 
Francois Tigeot

Reply via email to