From owner-freebsd-current@FreeBSD.ORG Thu Jun 24 16:54:46 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 813C31065672; Thu, 24 Jun 2010 16:54:46 +0000 (UTC) (envelope-from faber@zod.isi.edu) Received: from zod.isi.edu (zod.isi.edu [128.9.168.221]) by mx1.freebsd.org (Postfix) with ESMTP id 445E58FC0C; Thu, 24 Jun 2010 16:54:46 +0000 (UTC) Received: from zod.isi.edu (localhost [127.0.0.1]) by zod.isi.edu (8.14.4/8.14.4) with ESMTP id o5OGsjhO047921; Thu, 24 Jun 2010 09:54:45 -0700 (PDT) (envelope-from faber@zod.isi.edu) Received: (from faber@localhost) by zod.isi.edu (8.14.4/8.14.4/Submit) id o5OGsj0V047920; Thu, 24 Jun 2010 09:54:45 -0700 (PDT) (envelope-from faber) Date: Thu, 24 Jun 2010 09:54:45 -0700 From: Ted Faber To: Tom Evans Message-ID: <20100624165445.GF46600@zod.isi.edu> References: <4C21AE18.4050400@icyb.net.ua> <201006230852.26536.hselasky@c2i.net> <4C21B170.2030903@icyb.net.ua> <4C21B383.2000602@icyb.net.ua> <20100623154531.GB31578@zod.isi.edu> <20100624011509.GI31578@zod.isi.edu> <20100624092337.6bed1f45@ernst.jennejohn.org> <20100624152957.GA46600@zod.isi.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IvGM3kKqwtniy32b" Content-Disposition: inline In-Reply-To: <20100624152957.GA46600@zod.isi.edu> User-Agent: Mutt/1.4.2.3i X-url: http://www.isi.edu/~faber 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)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 16:54:46 -0000 --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--