Subject: misc/4165: Controlling build of sendmail from mk.conf
To: None <gnats-bugs@gnats.netbsd.org>
From: None <darcy@druid.net>
List: netbsd-bugs
Date: 09/26/1997 16:56:45
>Number:         4165
>Category:       misc
>Synopsis:       Controlling build of sendmail from mk.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 26 14:05:04 1997
>Last-Modified:
>Originator:     D'Arcy J.M. Cain
>Organization:
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.
>Release:        NetBSD-current 19970926
>Environment:
	
System: NetBSD druid.net 1.2G NetBSD 1.2G (DRUID) #0: Mon Sep 15 14:24:53 EDT 1997 darcy@druid.net:/usr/src/sys/arch/i386/compile/DRUID i386


>Description:
	From discussions in current-users, here is a suggested change to
	usr.sbin/Makefile to allow the build of sendmail to be controlled
	by mk.conf.  While I was doing that I also allowed for named to
	be controlled the same way.  It occurs to me that that would be
	another one that an admin may wish to replace.

	This should effectively deal with pr#2932 as well.
>How-To-Repeat:
	N/A
	
>Fix:
*** usr.sbin/Makefile	Fri Sep 26 16:30:24 1997
--- ../src.changed/usr.sbin/Makefile	Fri Sep 26 16:42:16 1997
***************
*** 7,18 ****
  	chroot chrtbl config cron dev_mkdb dhcp diskpart dumpfs dumplfs \
  	edquota gettable gspa htable inetd iostat ipf kgmon kvm_mkdb lpr \
  	lastlogin map-mbone mdconfig mdsetimage mopd mountd mrinfo mrouted \
! 	mtrace mtree nfsd nfsiod named netgroup_mkdb pkg_install portmap pppd \
  	pstat pwd_mkdb quot quotacheck quotaon rarpd rbootd rdate repquota rmt \
  	rpc.bootparamd rpc.lockd rpc.pcnfsd rpc.statd rpc.yppasswdd rwhod \
! 	sa sendmail sliplogin slstats spray sysctl syslogd tcpdchk tcpdmatch \
  	tcpdump timed traceroute trpt trsp update vipw vnconfig xntp ypbind \
  	yppoll ypserv ypset zdump zic
  
  SUBDIR+=apm apmd bad144 dbsym eeprom grfconfig grfinfo hilinfo \
  	iteconfig screenblank videomode
--- 7,26 ----
  	chroot chrtbl config cron dev_mkdb dhcp diskpart dumpfs dumplfs \
  	edquota gettable gspa htable inetd iostat ipf kgmon kvm_mkdb lpr \
  	lastlogin map-mbone mdconfig mdsetimage mopd mountd mrinfo mrouted \
! 	mtrace mtree nfsd nfsiod netgroup_mkdb pkg_install portmap pppd \
  	pstat pwd_mkdb quot quotacheck quotaon rarpd rbootd rdate repquota rmt \
  	rpc.bootparamd rpc.lockd rpc.pcnfsd rpc.statd rpc.yppasswdd rwhod \
! 	sa sliplogin slstats spray sysctl syslogd tcpdchk tcpdmatch \
  	tcpdump timed traceroute trpt trsp update vipw vnconfig xntp ypbind \
  	yppoll ypserv ypset zdump zic
+ 
+ .if !defined(NO_NAMED) && !defined(NO_BIND)
+ SUBDIR += named
+ .endif
+ 
+ .if !defined(NO_SENDMAIL)
+ SUBDIR += sendmail
+ .endif
  
  SUBDIR+=apm apmd bad144 dbsym eeprom grfconfig grfinfo hilinfo \
  	iteconfig screenblank videomode
>Audit-Trail:
>Unformatted: