Re: using cupsd instead of base lpr [was Re: [HEADS UP] Kernel modules don't work properly in FreeBSD 8.1-RC1 (solved)]

From: Gary Jennejohn <gljennjohn_at_googlemail.com>
Date: Fri, 25 Jun 2010 11:03:39 +0200
On Thu, 24 Jun 2010 09:54:45 -0700
Ted Faber <faber_at_isi.edu> wrote:

> On Thu, Jun 24, 2010 at 08:29:57AM -0700, Ted Faber wrote:
> > On Thu, Jun 24, 2010 at 09:40:00AM +0100, Tom Evans wrote:
> > > I also have this in make.conf:
> > > CUPS_OVERWRITE_BASE=yes
> > > WITHOUT_LPR=yes
> > > 
> > > which print/cups-base uses to do make any lpr related binaries in
> > > /usr/bin non-executable, so they are skipped over and the cups
> > > specific ones in /usr/loca/bin are used instead. WITHOUT_LPR just
> > > stops LPR being built by buildworld.
> > 
> > The clear winner, and one I was unaware of.
> > 
> > Thanks, Tom.
> 
> CUPS_OVERWRITE_BASE seems to do an odd thing.  It doesn't install the
> cups binaries in /usr/bin, but it does do a chmod 0000 on everything it
> replaces in /usr/bin .  For example
> 
> praxis:~$ ls -l /usr/bin/lpr
> -r-sr-sr-x  1 root  daemon  29876 Jun 24 09:16 /usr/bin/lpr
> # portupgrade -f cups-base-1.4.3
> praxis:~$ ls -l /usr/bin/lpr
> ----------  1 root  daemon  29876 Jun 24 09:16 /usr/bin/lpr
> 
> I'll still use it, but interesting behavior.
> 

IMO if you're going to make the binaries in base non-executable you might
just as well delete them.

But CUPS_OVERWRITE_BASE does have the advantage that it works without
(active) user intervention.

--
Gary Jennejohn
Received on Fri Jun 25 2010 - 07:03:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC