crunch.conf revision 190385
1#
2# $FreeBSD: head/release/picobsd/bridge/crunch.conf 190385 2009-03-24 18:02:35Z luigi $
3#
4# configuration file for "bridge" floppy.
5# Depending on your needs, almost surely you will need to
6# modify your configuration to add/remove/change programs used in
7# the floppy image. Remember that some programs also require
8# matching kernel options to enable device drivers etc.
9#
10# Next to most of the programs i have tried to indicate the approximate
11# space consumed, but beware that these values change from release
12# to release, and might depend on the presence of other programs which
13# share the same libraries.
14#
15# NOTE: the string "/usr/src" will be automatically replaced with the
16# correct value set in 'build' script - you should change it there
17
18# Default build options. Basically tell the Makefiles which understand
19# that to use the most compact possible version of the code.
20#
21buildopts -DNO_PAM -DRELEASE_CRUNCH -DPPP_NO_NETGRAPH -DTRACEROUTE_NO_IPSEC -DNO_INET6
22buildopts -DWITHOUT_IPX
23
24# directories where to look for sources of various binaries.
25# @__CWD__@ is a magic keyword in the picobsd's (Makefile.conf)
26# which is replaced with the picobsd directory.
27srcdirs @__CWD__@/src
28
29# Some programs are especially written for PicoBSD and reside here
30# Make this first in the list so we can override standard programs
31# with the picobsd-specific ones.
32srcdirs /usr/src/release/picobsd/tinyware
33
34#
35# standard locations
36#
37srcdirs /usr/src/bin
38srcdirs /usr/src/sbin/i386
39srcdirs /usr/src/sbin
40srcdirs /usr/src/usr.bin
41srcdirs /usr/src/gnu/usr.bin
42srcdirs /usr/src/usr.sbin
43srcdirs /usr/src/libexec
44#
45# And there are others (mostly ports) which reside in their specific
46# directories. For them, we use the "special" commands to tell
47# crunchgen where to look for sources, objects, which Makefile
48# variables contain the list of sources and objects, and so on.
49
50# init is almost always necessary.
51progs init
52# fsck is almost always necessary, unless you have everything on the
53# image and use 'tar' or something similar to read/write raw blocks
54# from the floppy.
55progs fsck
56# ifconfig is needed if you want to configure interfaces...
57progs ifconfig
58#
59# You will also need a shell and a bunch of utilities.
60# The standard shell is not that large, but you need many
61# external programs. In fact most of them do not take much space
62# as they merely issue a system call, and print the result; the
63# libraries are already needed anyways, so they end up using almost
64# no additional memory.
65# There are a few exceptions such as 'less', which in 4.x is
66# rather large.
67progs sh
68ln sh -sh
69progs echo
70progs pwd
71progs mkdir rmdir
72progs chmod chown
73progs mv ln
74progs mount
75progs minigzip
76ln minigzip gzip
77progs cp
78progs rm
79progs ls
80progs kill
81progs df
82progs ps
83progs ns
84ln ns netstat
85progs vm
86progs cat
87progs test
88ln test [
89progs hostname
90progs login
91progs getty
92progs stty
93progs w
94progs msg
95ln msg dmesg
96progs reboot
97progs less
98#ln less more
99#progs more
100special more srcdir /usr/ports/misc/44bsd-more/work
101
102progs sysctl
103progs swapon
104progs pwd_mkdb
105progs umount
106progs du
107progs tail
108progs tee
109progs passwd
110
111progs route
112# progs mount_msdosfs
113# progs comcontrol
114#
115# If you want to run natd, remember the alias library
116#progs natd
117#libs -lalias	# natd
118#
119# ppp is rather large. Note that as of Jan.01, RELEASE_CRUNCH
120# makes ppp not use libalias, so you cannot have aliasing.
121#progs ppp
122
123# You need an editor. ee is relatively small, though there are
124# smaller ones. vi is much larger.
125# The editor also usually need a curses library.
126progs ee
127libs -lncurses
128# progs vi
129# libs -lcurses # for vi
130
131#progs tcpdump
132special tcpdump srcdir /usr/src/usr.sbin/tcpdump/tcpdump
133
134progs arp
135
136progs bsdlabel
137progs fdisk
138progs mdconfig
139
140#progs grep
141progs date
142#progs mount_nfs
143ln mount_nfs nfs
144progs ping
145#progs routed
146progs ipfw
147progs traceroute
148# progs mount_cd9660
149# ln mount_cd9660 cd9660
150# progs newfs
151#ln newfs mount_mfs
152ln chown chgrp
153# ln mount_msdosfs msdos
154
155
156libs -ll       # used by sh
157libs -lufs     # used by mount
158### ee uses ncurses instead of curses
159libs -ledit -lutil -lmd -lcrypt -lmp -lm -lkvm
160# libs -lmytinfo
161libs -lz -lpcap -lwrap
162libs -ltermcap -lgnuregex # -lcurses
163libs -lgeom
164libs -lsbuf
165libs -lbsdxml  # used by ifconfig
166