cvs commit: ports/print/cups-lpr Makefile pkg-deinstall pkg-install pkg-message

Jacques A. Vidrine nectar at FreeBSD.org
Mon Nov 24 09:37:01 PST 2003


On Mon, Nov 24, 2003 at 05:20:13PM +0200, Sheldon Hearn wrote:
> On (2003/11/21 16:18), Pav Lucistnik wrote:
> 
> >   FreeBSD ports repository
> > 
> >   Modified files:
> >     print/cups-lpr       Makefile 
> >   Added files:
> >     print/cups-lpr       pkg-deinstall pkg-install pkg-message 
> >   Log:
> >   - Move lpr binaries in base away, so cups binaries in /usr/local/bin
> >     get picked.
> >   - Move them back on deinstall.
> 
> This is only a partial solution; the next "make world" will blow away
> these binaries.
> 
> Also, if I'm using the binary updater package, it'll have a cow on the
> next lpr update.
> 
> I really think you should be leaving this up to the sysadmin,
> documenting the list of files that should be removed, and recommending
> the use of NO_LPR=yes in /etc/make.conf.

Seconded, this is a *horrible* thing to do.  Please back this out.
Ports should not mess with the base system unless the administrator
*specifically* asks for it.  A knob in the style of *_OVERWRITE_BASE
is probably appropriate.

Cheers,
-- 
Jacques Vidrine   NTT/Verio SME      FreeBSD UNIX       Heimdal
nectar at celabo.org jvidrine at verio.net nectar at freebsd.org nectar at kth.se


More information about the cvs-all mailing list