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

Ted Faber faber at isi.edu
Thu Jun 24 16:54:46 UTC 2010


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.

-- 
Ted Faber
http://www.isi.edu/~faber           PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100624/069ed444/attachment.pgp


More information about the freebsd-current mailing list