From owner-freebsd-bugs Tue May 23 20: 0: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 825F537BB5D for ; Tue, 23 May 2000 20:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA17232; Tue, 23 May 2000 20:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from sabre.velocet.net (sabre.velocet.net [198.96.118.66]) by hub.freebsd.org (Postfix) with ESMTP id D8A1F37B764 for ; Tue, 23 May 2000 19:50:10 -0700 (PDT) (envelope-from root@strike.velocet.net) Received: by sabre.velocet.net (Postfix, from userid 66) id A8656137FC1; Tue, 23 May 2000 22:50:05 -0400 (EDT) Received: (from root@localhost) by strike.velocet.net (8.9.3/8.9.2) id WAA31917; Tue, 23 May 2000 22:43:26 -0400 (EDT) (envelope-from root) Message-Id: <200005240243.WAA31917@strike.velocet.net> Date: Tue, 23 May 2000 22:43:26 -0400 (EDT) From: dgilbert@velocet.ca Reply-To: dgilbert@velocet.ca To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/18787: Make building of lpr optional Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18787 >Category: bin >Synopsis: To facilitate the use of LPRng, it would help if lpr didn't re-assert itself >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue May 23 20:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: David Gilbert >Release: FreeBSD 4.0-STABLE i386 >Organization: Velocet Communications >Environment: 4.0-STABLE build tree >Description: It is inconvenient that lpr continues to reassert itself when we're using LPRng. This patch is similar to the NO_SENDMAIL build flag >How-To-Repeat: make world >Fix: I think this is sufficient. Works here :). --- etc/defaults/make.conf.orig Tue May 23 22:37:39 2000 +++ etc/defaults/make.conf Tue May 23 22:37:44 2000 @@ -44,6 +44,7 @@ #NO_OPENSSH= true # do not build OpenSSH #NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH) #NO_SENDMAIL= true # do not build sendmail and related programs +#NO_LPR= true # do not build lpr and related programs #NO_X= true # do not compile in XWindows support (e.g. doscmd) #NOCRYPT= true # do not build any crypto code #NODESCRYPTLINKS=true # do not replace libcrypt -> libscrypt links --- usr.sbin/Makefile.orig Tue May 23 22:35:33 2000 +++ usr.sbin/Makefile Tue May 23 22:36:36 2000 @@ -41,7 +41,6 @@ kbdmap \ kernbb \ keyserv \ - lpr \ manctl \ memcontrol \ mergemaster \ @@ -127,6 +126,10 @@ ndc \ nslookup \ nsupdate +.endif + +.if !defined(NO_LPR) +SUBDIR+=lpr .endif .if !defined(NO_MAILWRAPPER) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message