Subject: MKPKGINSTALL?
To: None <current-users@NetBSD.org>
From: Takahiro Kambe <taca@back-street.net>
List: current-users
Date: 09/04/2003 12:29:04
Hi.
Those pkg_install related commands are sometimes out of date and are
needed to install newer version from pkgsrc. After adding them from
pkgsrc, updating and installing newer base system cause degrade of
them again. Ideally, stable releases (NetBSD 1.5 or 1.6 branch) are
catched up to update of pkg_install, but not always (or needs some
period.)
How about introduce MKPKGINSTALL to prevent install pkg_install
related command build and install on base system?
(Of course, MKPKGINSTALL is instantly made name.)
--
Takahiro Kambe <taca@back-street.net>
--- share/mk/bsd.README.orig 2003-08-04 16:56:50.000000000 +0900
+++ share/mk/bsd.README 2003-09-04 11:11:19.000000000 +0900
@@ -198,6 +198,10 @@
_pic.a library pointing to the .a library.
Default: yes
+MKPKGINSTALL If "no", don't build pkg_install suite of tools for doing
+ maintainance of software "packages".
+ Default: yes
+
MKPROFILE If "no", don't build or install the profiling libraries.
Default: yes
--- usr.sbin/Makefile.orig 2003-09-04 11:11:33.000000000 +0900
+++ usr.sbin/Makefile 2003-09-04 11:12:11.000000000 +0900
@@ -12,7 +12,7 @@
kgmon lastlogin link lpr mailwrapper makefs \
map-mbone mdconfig memswitch mlxctl mopd mountd moused \
mrinfo mrouted mscdlabel mtrace \
- mtree ndbootd netgroup_mkdb nfsd ntp pcictl pkg_install pppd \
+ mtree ndbootd netgroup_mkdb nfsd ntp pcictl pppd \
pstat pwd_mkdb powerd quot quotacheck quotaon rarpd rbootd rdate \
repquota rmt rpc.bootparamd rpc.lockd rpc.pcnfsd \
rpc.statd rpcbind rwhod sa screenblank sesd \
@@ -25,6 +25,10 @@
SUBDIR+= hprop kadmin kdc kstash ktutil
.endif
+.if (${MKPKGINSTALL} != "no")
+SUBDIR+= pkg_install
+.endif
+
.if (${MKYP} != "no")
SUBDIR+= rpc.yppasswdd ypbind yppoll ypserv ypset
.endif