Subject: PATCH: finer-grained syspkgs
To: tech-install@netbsd.org, David Young <dyoung@ojctech.com>
From: David Young <dyoung@pobox.com>
List: tech-install
Date: 11/16/2003 17:11:47
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
I'm using syspkgs to pare down NetBSD to 32MB for a wireless router.
Sometimes I find non-essential files that are either many or large,
lumped into the same syspkg as something basic, and I split the syspkg.
Just for example, I have attached a patch to the set lists which puts
calendar(1) and its database into their own packages, so I can exclude
them. I also put the termcap database into a different package than the
groff material, so that I can exclude the non-essential groff material.
I also split RPC utilities from other network utilities.
If nobody objects, I will commit on Friday.
Dave
--
David Young OJC Technologies
dyoung@ojctech.com Urbana, IL * (217) 278-3933
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="finegrained.sets"
Index: distrib/sets/comments
===================================================================
RCS file: /cvsroot/src/distrib/sets/comments,v
retrieving revision 1.3
diff -u -r1.3 comments
--- distrib/sets/comments 23 Jun 2003 11:19:44 -0000 1.3
+++ distrib/sets/comments 16 Nov 2003 03:33:27 -0000
@@ -10,6 +10,8 @@
base-bootserver-bin software for booting diskless systems
base-c-bin utilities for the C programming language
base-c-usr /usr file system directories required by C programming language utilities
+base-calendar-bin calendar(1) displays lines from the calendar database matching certain dates
+base-calendar-share database of important dates for calendar(1)
base-coda-lkm loadable kernel modules for the CODA distributed file system
base-cron-bin the cron daemon and related utilities
base-cron-root root file system directories required by the cron daemon
Index: distrib/sets/descrs
===================================================================
RCS file: /cvsroot/src/distrib/sets/descrs,v
retrieving revision 1.3
diff -u -r1.3 descrs
--- distrib/sets/descrs 23 Jun 2003 11:19:44 -0000 1.3
+++ distrib/sets/descrs 16 Nov 2003 03:33:28 -0000
@@ -10,6 +10,8 @@
base-bootserver-bin software for booting diskless systems
base-c-bin utilities for the C programming language
base-c-usr /usr file system directories required by C programming language utilities
+base-calendar-bin calendar(1) displays lines from the calendar database matching certain dates
+base-calendar-share database of important dates for calendar(1)
base-coda-lkm loadable kernel modules for the CODA distributed file system
base-cron-bin the cron daemon and related utilities
base-cron-root root file system directories required by the cron daemon
Index: distrib/sets/lists/base/mi
===================================================================
RCS file: /cvsroot/src/distrib/sets/lists/base/mi,v
retrieving revision 1.438
diff -u -r1.438 mi
--- distrib/sets/lists/base/mi 5 Nov 2003 08:23:44 -0000 1.438
+++ distrib/sets/lists/base/mi 16 Nov 2003 03:33:28 -0000
@@ -343,7 +343,7 @@
./usr/bin/bzip2 base-util-bin
./usr/bin/bzip2recover base-util-bin
./usr/bin/cal base-util-bin
-./usr/bin/calendar base-util-bin
+./usr/bin/calendar base-calendar-bin
./usr/bin/cap_mkdb base-util-bin
./usr/bin/cdplay base-audio-bin
./usr/bin/chflags base-util-bin
@@ -520,7 +514,7 @@
./usr/bin/rlog base-rcs-bin
./usr/bin/rlogin base-netutil-bin
./usr/bin/rmd160 base-util-bin
-./usr/bin/rpcinfo base-netutil-bin
+./usr/bin/rpcinfo base-rpcutil-bin
./usr/bin/rs base-util-bin
./usr/bin/rsh base-netutil-bin
./usr/bin/rup base-netutil-bin
@@ -716,10 +706,10 @@
./usr/libexec/rlogind base-netutil-bin
./usr/libexec/rmail base-uucp-bin
./usr/libexec/rpc.rquotad base-nfsserver-bin
-./usr/libexec/rpc.rstatd base-netutil-bin
-./usr/libexec/rpc.rusersd base-netutil-bin
-./usr/libexec/rpc.rwalld base-netutil-bin
-./usr/libexec/rpc.sprayd base-netutil-bin
+./usr/libexec/rpc.rstatd base-rpcserver-bin
+./usr/libexec/rpc.rusersd base-rpcserver-bin
+./usr/libexec/rpc.rwalld base-rpcserver-bin
+./usr/libexec/rpc.sprayd base-rpcserver-bin
./usr/libexec/rshd base-netutil-bin
./usr/libexec/sendmail base-sendmail-bin
./usr/libexec/sendmail/sendmail base-sendmail-bin
@@ -900,7 +885,7 @@
./usr/sbin/rpc.pcnfsd base-nfsserver-bin
./usr/sbin/rpc.statd base-nfsserver-bin
./usr/sbin/rpc.yppasswdd base-nis-bin
-./usr/sbin/rpcbind base-netutil-bin
+./usr/sbin/rpcbind base-rpcbind-bin
./usr/sbin/rtadvd base-router-bin
./usr/sbin/rtquery base-netutil-bin
./usr/sbin/rtsold base-netutil-bin
@@ -913,7 +898,7 @@
./usr/sbin/setobjstat base-sysutil-bin
./usr/sbin/sliplogin base-slip-bin
./usr/sbin/slstats base-slip-bin
-./usr/sbin/spray base-netutil-bin
+./usr/sbin/spray base-rpcutil-bin
./usr/sbin/sshd base-secsh-bin
./usr/sbin/stdethers base-nis-bin
./usr/sbin/stdhosts base-nis-bin
@@ -959,17 +944,17 @@
./usr/sbin/zdump base-sysutil-bin
./usr/sbin/zic base-sysutil-bin
./usr/share base-sys-share
-./usr/share/calendar base-sysutil-share
-./usr/share/calendar/calendar.birthday base-sysutil-share
-./usr/share/calendar/calendar.christian base-sysutil-share
-./usr/share/calendar/calendar.computer base-sysutil-share
-./usr/share/calendar/calendar.history base-sysutil-share
-./usr/share/calendar/calendar.holiday base-sysutil-share
-./usr/share/calendar/calendar.judaic base-sysutil-share
-./usr/share/calendar/calendar.lotr base-sysutil-share
-./usr/share/calendar/calendar.music base-sysutil-share
-./usr/share/calendar/calendar.netbsd base-sysutil-share
-./usr/share/calendar/calendar.usholiday base-sysutil-share
+./usr/share/calendar base-calendar-share
+./usr/share/calendar/calendar.birthday base-calendar-share
+./usr/share/calendar/calendar.christian base-calendar-share
+./usr/share/calendar/calendar.computer base-calendar-share
+./usr/share/calendar/calendar.history base-calendar-share
+./usr/share/calendar/calendar.holiday base-calendar-share
+./usr/share/calendar/calendar.judaic base-calendar-share
+./usr/share/calendar/calendar.lotr base-calendar-share
+./usr/share/calendar/calendar.music base-calendar-share
+./usr/share/calendar/calendar.netbsd base-calendar-share
+./usr/share/calendar/calendar.usholiday base-calendar-share
./usr/share/dhcpd base-dhcpd-bin
./usr/share/dhcpd/pxe.defs base-dhcpd-bin
./usr/share/dict base-reference-share
@@ -2067,7 +2052,7 @@
./usr/share/man/man9/x68k base-man-share
./usr/share/man/whatis.db base-man-share
./usr/share/me base-groff-share
-./usr/share/misc base-groff-share
+./usr/share/misc base-termcap-share
./usr/share/misc/acronyms base-reference-share
./usr/share/misc/acronyms.comp base-reference-share
./usr/share/misc/ascii base-reference-share
Index: distrib/sets/lists/etc/mi
===================================================================
RCS file: /cvsroot/src/distrib/sets/lists/etc/mi,v
retrieving revision 1.123
diff -u -r1.123 mi
--- distrib/sets/lists/etc/mi 24 Apr 2003 01:05:49 -0000 1.123
+++ distrib/sets/lists/etc/mi 16 Nov 2003 03:33:28 -0000
@@ -140,7 +140,7 @@
./etc/rc.d/root etc-sys-rc
./etc/rc.d/route6d etc-router-rc
./etc/rc.d/routed etc-router-rc
-./etc/rc.d/rpcbind etc-net-rc
+./etc/rc.d/rpcbind etc-rpcbind-rc
./etc/rc.d/rtadvd etc-net-rc
./etc/rc.d/rtsold etc-net-rc
./etc/rc.d/rwho etc-net-rc
Index: distrib/sets/lists/man/mi
===================================================================
RCS file: /cvsroot/src/distrib/sets/lists/man/mi,v
retrieving revision 1.627
diff -u -r1.627 mi
--- distrib/sets/lists/man/mi 5 Nov 2003 02:59:09 -0000 1.627
+++ distrib/sets/lists/man/mi 16 Nov 2003 03:33:40 -0000
@@ -1646,14 +1625,14 @@
./usr/share/man/cat8/rpc.lockd.0 man-nfsserver-catman
./usr/share/man/cat8/rpc.pcnfsd.0 man-nfsserver-catman
./usr/share/man/cat8/rpc.rquotad.0 man-nfsserver-catman
-./usr/share/man/cat8/rpc.rstatd.0 man-netutil-catman
-./usr/share/man/cat8/rpc.rusersd.0 man-netutil-catman
-./usr/share/man/cat8/rpc.rwalld.0 man-netutil-catman
-./usr/share/man/cat8/rpc.sprayd.0 man-netutil-catman
+./usr/share/man/cat8/rpc.rstatd.0 man-rpcserver-catman
+./usr/share/man/cat8/rpc.rusersd.0 man-rpcserver-catman
+./usr/share/man/cat8/rpc.rwalld.0 man-rpcserver-catman
+./usr/share/man/cat8/rpc.sprayd.0 man-rpcserver-catman
./usr/share/man/cat8/rpc.statd.0 man-nfsserver-catman
./usr/share/man/cat8/rpc.yppasswdd.0 man-nis-catman
-./usr/share/man/cat8/rpcbind.0 man-netutil-catman
-./usr/share/man/cat8/rpcinfo.0 man-netutil-catman
+./usr/share/man/cat8/rpcbind.0 man-rpcserver-catman
+./usr/share/man/cat8/rpcinfo.0 man-rpcutil-catman
./usr/share/man/cat8/rquotad.0 man-nfsserver-catman
./usr/share/man/cat8/rrestore.0 man-netutil-catman
./usr/share/man/cat8/rshd.0 man-netutil-catman
@@ -1690,8 +1669,8 @@
./usr/share/man/cat8/sparc64/boot.0 man-sys-catman
./usr/share/man/cat8/sparc64/ofwboot.0 man-sys-catman
./usr/share/man/cat8/spawn.0 man-postfix-catman
-./usr/share/man/cat8/spray.0 man-netutil-catman
-./usr/share/man/cat8/sprayd.0 man-netutil-catman
+./usr/share/man/cat8/spray.0 man-rpcutil-catman
+./usr/share/man/cat8/sprayd.0 man-rpcserver-catman
./usr/share/man/cat8/ssh-keysign.0 man-secsh-catman
./usr/share/man/cat8/sshd.0 man-secsh-catman
./usr/share/man/cat8/statd.0 man-nfsserver-catman
@@ -3400,14 +3358,14 @@
./usr/share/man/man8/rpc.lockd.8 man-nfsserver-man
./usr/share/man/man8/rpc.pcnfsd.8 man-nfsserver-man
./usr/share/man/man8/rpc.rquotad.8 man-nfsserver-man
-./usr/share/man/man8/rpc.rstatd.8 man-netutil-man
-./usr/share/man/man8/rpc.rusersd.8 man-netutil-man
-./usr/share/man/man8/rpc.rwalld.8 man-netutil-man
-./usr/share/man/man8/rpc.sprayd.8 man-netutil-man
+./usr/share/man/man8/rpc.rstatd.8 man-rpcserver-man
+./usr/share/man/man8/rpc.rusersd.8 man-rpcserver-man
+./usr/share/man/man8/rpc.rwalld.8 man-rpcserver-man
+./usr/share/man/man8/rpc.sprayd.8 man-rpcserver-man
./usr/share/man/man8/rpc.statd.8 man-nfsserver-man
./usr/share/man/man8/rpc.yppasswdd.8 man-nis-man
-./usr/share/man/man8/rpcbind.8 man-netutil-man
-./usr/share/man/man8/rpcinfo.8 man-netutil-man
+./usr/share/man/man8/rpcbind.8 man-rpcserver-man
+./usr/share/man/man8/rpcinfo.8 man-rpcutil-man
./usr/share/man/man8/rquotad.8 man-nfsserver-man
./usr/share/man/man8/rrestore.8 man-netutil-man
./usr/share/man/man8/rshd.8 man-netutil-man
@@ -3444,8 +3402,8 @@
./usr/share/man/man8/sparc64/boot.8 man-sys-man
./usr/share/man/man8/sparc64/ofwboot.8 man-sys-man
./usr/share/man/man8/spawn.8 man-postfix-man
-./usr/share/man/man8/spray.8 man-netutil-man
-./usr/share/man/man8/sprayd.8 man-netutil-man
+./usr/share/man/man8/spray.8 man-rpcutil-man
+./usr/share/man/man8/sprayd.8 man-rpcserver-man
./usr/share/man/man8/ssh-keysign.8 man-secsh-man
./usr/share/man/man8/sshd.8 man-secsh-man
./usr/share/man/man8/statd.8 man-nfsserver-man
--IJpNTDwzlM2Ie8A6--