crunch.conf revision 83086
1#
2# $FreeBSD: head/release/picobsd/bridge/crunch.conf 83086 2001-09-05 16:06:40Z 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 -DNOPAM -DRELEASE_CRUNCH -DNONETGRAPH -DNOIPSEC -DNOINET6
22
23# directories where to look for sources of various binaries.
24srcdirs /usr/src/bin
25srcdirs /usr/src/sbin/i386
26srcdirs /usr/src/sbin
27srcdirs /usr/src/usr.bin
28srcdirs /usr/src/gnu/usr.bin
29srcdirs /usr/src/usr.sbin
30srcdirs /usr/src/libexec
31# Some programs are especially written for PicoBSD and reside here
32srcdirs /usr/src/release/picobsd/tinyware
33#
34# And there are others (mostly ports) which reside in their specific
35# directories. For them, we use the "special" commands to tell
36# crunchgen where to look for sources, objects, which Makefile
37# variables contain the list of sources and objects, and so on.
38
39# init is almost always necessary.
40progs init # 4KB.
41# fsck is almost always necessary, unless you have everything on the
42# image and use 'tar' or something similar to read/write raw blocks
43# from the floppy.
44progs fsck # 24KB.
45# ifconfig is needed if you want to configure interfaces...
46progs ifconfig # 4KB.
47#
48# You will also need a shell and a bunch of utilities.
49# The standard shell is not that large, but you need many
50# external programs. In fact most of them do not take much space
51# as they merely issue a system call, and print the result; the
52# libraries are already needed anyways, so they end up using almost
53# no additional memory.
54# There are a few exceptions such as 'less', which in 4.x is
55# rather large.
56progs sh # 36KB.
57ln sh -sh
58progs echo # 0KB.
59progs pwd
60progs mkdir rmdir
61progs chmod chown
62progs mv ln # 0KB.
63progs mount
64progs minigzip # 0KB.
65ln minigzip gzip
66progs cp # 0KB.
67progs rm
68progs ls
69progs kill
70progs df # 0KB.
71progs ps # 4KB.
72progs ns # 4KB.
73ln ns netstat
74progs vm # 0KB.
75progs cat # 0KB.
76progs test # 0KB.
77ln test [
78progs hostname # 0KB.
79progs login # 4KB.
80progs getty # 4KB.
81progs stty # 4KB.
82progs w # 0KB.
83progs msg # 0KB.
84ln msg dmesg
85progs kget # 0KB.
86progs reboot # 0KB.
87#progs less # 36KB
88#ln less more
89#progs more # 12KB
90#special more srcdir /usr/ports/picobsd/more
91
92progs sysctl
93progs swapon # 0KB.
94progs pwd_mkdb # 0KB.
95progs dev_mkdb # 0KB.
96progs umount
97progs mount_std
98progs du # 0KB.
99progs tail # 0KB.
100progs tee # 0KB.
101progs passwd # 0KB.
102
103progs route # 8KB
104# progs mount_msdosfs
105# progs comcontrol
106#
107# If you want to run natd, remember the alias library
108#progs natd # 20KB
109#libs -lalias	# natd
110#
111# ppp is rather large. Note that as of Jan.01, RELEASE_CRUNCH
112# makes ppp not use libalias, so you cannot have aliasing.
113#progs ppp # 112KB
114
115# You need an editor. ee is relatively small, though there are
116# smaller ones. vi is much larger.
117# The editor also usually need a curses library.
118progs ee # 32KB.
119libs -lncurses
120# progs vi # ??
121# libs -lcurses # for vi
122
123#progs tcpdump # 100KB.
124special tcpdump srcdir /usr/src/usr.sbin/tcpdump/tcpdump
125
126progs arp # 0KB.
127
128progs disklabel # 4KB.
129progs fdisk # 4KB.
130progs vnconfig # 0KB.
131
132progs grep # 16KB.
133progs date # 4KB.
134#progs mount_nfs # 0KB.
135ln mount_nfs nfs
136progs ping # 4KB.
137#progs routed # 32KB.
138progs ipfw # 12KB.
139progs traceroute # 0KB.
140# progs mount_cd9660 # 4KB.
141# ln mount_cd9660 cd9660
142# progs newfs # 12KB.
143#ln newfs mount_mfs
144ln chown chgrp
145# ln mount_msdosfs msdos
146ln mount_std procfs
147ln mount_std mount_procfs
148
149# If you need to access the box remotely, and maybe copy files
150# from/to it, you can use telnet, rsh or ssh.
151# inetd is only needed for telnet and rshd
152progs inetd # 12KB.
153progs telnet # 20KB.
154progs telnetd # 12KB.
155#progs ftp # 28KB.
156#progs tar # 32KB.
157
158# Check the ssh license! If you want to use this,
159# go to /usr/ports/security/ssh-picobsd, do a make extract configure
160#progs sshd	# includes ssh and scp
161special sshd objvar SSHD_OBJS
162special sshd srcdir /usr/ports/picobsd/ssh-picobsd/work/ssh-1.2.27
163special sshd objdir /usr/ports/picobsd/ssh-picobsd/work/ssh-1.2.27
164
165### ee uses ncurses instead of curses
166libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm
167libs -lmytinfo -lipx -lz -lpcap -lwrap
168libs -ltermcap -lgnuregex -ltelnet # -lcurses
169