From owner-freebsd-current@FreeBSD.ORG Thu Jun 24 09:32:56 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 D93C9106564A; Thu, 24 Jun 2010 09:32:56 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3C3958FC13; Thu, 24 Jun 2010 09:32:55 +0000 (UTC) Received: by fxm7 with SMTP id 7so4270498fxm.13 for ; Thu, 24 Jun 2010 02:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YWYDR/Btt1npoaO286toFqRz2vPujAfzeJ7K0KfP4AE=; b=IbHnv9cH1eMoc2cejlj7Oy8a5K0eJMEiKdodbouYv4pKXht8mw8feNyA12DzdNz+S4 umcuiqrbzeScYxpBVbMIrHeRf9+/m4+Vwlbsab0ZzKyuAKrCz08VIGNOBYtc+E8WMy1i P0sXfBE/E5kJRWIfC6ACe8skLgCseHgZMNm5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Zyf2c21M3n41lHV4oXbVi4M+9bc5OsgWb1UNb7m7B62kAwTc7NF+RL1YXkMUYIixrm cmLndmCmRcyhFauCpbdaNPXxn4O9CYK7eeAdYbJNx9oIzST2S1wom6umrH2q/aPRuXrG Xa+oVSCVf4+ASOuxAuJcVqCjzkcHAWbPiLnXM= MIME-Version: 1.0 Received: by 10.239.189.133 with SMTP id t5mr663989hbh.4.1277371974985; Thu, 24 Jun 2010 02:32:54 -0700 (PDT) Received: by 10.239.185.1 with HTTP; Thu, 24 Jun 2010 02:32:54 -0700 (PDT) In-Reply-To: <20100624092148.GA6948@duncan.reilly.home> References: <201006230238.06831.hselasky@c2i.net> <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> <20100624092148.GA6948@duncan.reilly.home> Date: Thu, 24 Jun 2010 10:32:54 +0100 Message-ID: From: Tom Evans To: Andrew Reilly Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, Ted Faber 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 09:32:57 -0000 On Thu, Jun 24, 2010 at 10:21 AM, Andrew Reilly wr= ote: > On Thu, Jun 24, 2010 at 09:23:37AM +0200, Gary Jennejohn wrote: >> in /etc/src.conf - WITHOUT_LPR=3Dyes >> >> and these symbolic links in /usr/bin >> lrwxr-xr-x =C2=A01 root =C2=A0wheel =C2=A0 =C2=A0 =C2=A017 Mar 18 =C2=A0= 2009 /usr/bin/lp -> /usr/local/bin/lp >> lrwxr-xr-x =C2=A01 root =C2=A0wheel =C2=A0 =C2=A0 =C2=A024 Mar 18 =C2=A0= 2009 /usr/bin/lpoptions -> /usr/local/bin/lpoptions >> lrwxr-xr-x =C2=A01 root =C2=A0wheel =C2=A0 =C2=A0 =C2=A018 Mar 18 =C2=A0= 2009 /usr/bin/lpq -> /usr/local/bin/lpq >> lrwxr-xr-x =C2=A01 root =C2=A0wheel =C2=A0 =C2=A0 =C2=A018 Mar 18 =C2=A0= 2009 /usr/bin/lpr -> /usr/local/bin/lpr >> lrwxr-xr-x =C2=A01 root =C2=A0wheel =C2=A0 =C2=A0 =C2=A019 Mar 18 =C2=A0= 2009 /usr/bin/lprm -> /usr/local/bin/lprm >> lrwxr-xr-x =C2=A01 root =C2=A0wheel =C2=A0 =C2=A0 =C2=A021 Mar 18 =C2=A0= 2009 /usr/bin/lpstat -> /usr/local/bin/lpstat >> >> and /usr/bin is _before_ /usr/local/bin in my PATH. > > Since you have /usr/local/bin in your path, why bother with > the symlinks at all? =C2=A0Your shell will find them in their new > locations just fine. =C2=A0You'll want to remove the old ones from > /usr/bin, but make delete-old will probably do that nicely > anyway. > > Cheers, > > -- > Andrew make delete-old removes old deprecated files, not files that weren't built because of src.conf options. It definitely will not remove the lpr binaries from /usr/bin if they exist there. There already is a proper solution for this: if you want to have LPR from CUPS, and don't want to use LPR from base, then you set these settings in make.conf: CUPS_OVERWRITE_BASE=3Dyes WITHOUT_LPR=3Dyes With these, lpr in base will not be built, and print/cups-base will deactivate any base system lpr binaries that are installed. It's documented in the FreeBSD CUPS article here: http://www.freebsd.org/doc/en/articles/cups/article.html#PRINTING-CUPS-PORT= S-KNOBS Cheers Tom