Date: Thu, 24 Jun 2010 09:54:45 -0700 From: Ted Faber <faber@isi.edu> To: Tom Evans <tevans.uk@googlemail.com> Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: using cupsd instead of base lpr [was Re: [HEADS UP] Kernel modules don't work properly in FreeBSD 8.1-RC1 (solved)] Message-ID: <20100624165445.GF46600@zod.isi.edu> In-Reply-To: <20100624152957.GA46600@zod.isi.edu> References: <4C21AE18.4050400@icyb.net.ua> <201006230852.26536.hselasky@c2i.net> <4C21B170.2030903@icyb.net.ua> <4C21B383.2000602@icyb.net.ua> <AANLkTilZfLDUKzMe-B9kqWCnr1trjvPUoLrqFaVbK78R@mail.gmail.com> <20100623154531.GB31578@zod.isi.edu> <20100624011509.GI31578@zod.isi.edu> <20100624092337.6bed1f45@ernst.jennejohn.org> <AANLkTilFnJpwlQiB7PQjY-5qoeAKEqBoz-RYD4TtqGsm@mail.gmail.com> <20100624152957.GA46600@zod.isi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--IvGM3kKqwtniy32b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3Dyes > > WITHOUT_LPR=3Dyes > >=20 > > 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. >=20 > The clear winner, and one I was unaware of. >=20 > 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. --=20 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 --IvGM3kKqwtniy32b Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwjjdUACgkQaUz3f+Zf+Xvc8ACg1aGz3iIceO379NTqQzlvwXCO QvAAoIrqfiDzNbX2wSfG8eNfzCSJlyt4 =IMWC -----END PGP SIGNATURE----- --IvGM3kKqwtniy32b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100624165445.GF46600>