summaryrefslogtreecommitdiffstats
path: root/release/picobsd/bridge/crunch.conf
blob: a635a3bcaef160fa80f10632f3ae25bf5cf29e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#
# $FreeBSD$
#
# configuration file for "bridge" floppy.
# Depending on your needs, almost surely you will need to
# modify your configuration to add/remove/change programs used in
# the floppy image. Remember that some programs also require
# matching kernel options to enable device drivers etc.
#
# Next to most of the programs i have tried to indicate the approximate
# space consumed, but beware that these values change from release
# to release, and might depend on the presence of other programs which
# share the same libraries.
#
# NOTE: the string "/usr/src" will be automatically replaced with the
# correct value set in 'build' script - you should change it there

# Default build options. Basically tell the Makefiles which understand
# that to use the most compact possible version of the code.
#
buildopts -DNOPAM -DRELEASE_CRUNCH -DNONETGRAPH -DNOIPSEC -DNOINET6

# directories where to look for sources of various binaries.
srcdirs /usr/src/bin
srcdirs /usr/src/sbin/i386
srcdirs /usr/src/sbin
srcdirs /usr/src/usr.bin
srcdirs /usr/src/gnu/usr.bin
srcdirs /usr/src/usr.sbin
srcdirs /usr/src/libexec
# Some programs are especially written for PicoBSD and reside here
srcdirs /usr/src/release/picobsd/tinyware
#
# And there are others (mostly ports) which reside in their specific
# directories. For them, we use the "special" commands to tell
# crunchgen where to look for sources, objects, which Makefile
# variables contain the list of sources and objects, and so on.

# init is almost always necessary.
progs init # 4KB.
# fsck is almost always necessary, unless you have everything on the
# image and use 'tar' or something similar to read/write raw blocks
# from the floppy.
progs fsck # 24KB.
# ifconfig is needed if you want to configure interfaces...
progs ifconfig # 4KB.
#
# You will also need a shell and a bunch of utilities.
# The standard shell is not that large, but you need many
# external programs. In fact most of them do not take much space
# as they merely issue a system call, and print the result; the
# libraries are already needed anyways, so they end up using almost
# no additional memory.
# There are a few exceptions such as 'less', which in 4.x is
# rather large.
progs sh # 36KB.
ln sh -sh
progs echo # 0KB.
progs pwd
progs mkdir rmdir
progs chmod chown
progs mv ln # 0KB.
progs mount
progs minigzip # 0KB.
ln minigzip gzip
progs cp # 0KB.
progs rm
progs ls
progs kill
progs df # 0KB.
progs ps # 4KB.
progs ns # 4KB.
ln ns netstat
progs vm # 0KB.
progs cat # 0KB.
progs test # 0KB.
ln test [
progs hostname # 0KB.
progs login # 4KB.
progs getty # 4KB.
progs stty # 4KB.
progs w # 0KB.
progs msg # 0KB.
ln msg dmesg
progs kget # 0KB.
progs reboot # 0KB.
#progs less # 36KB
#ln less more
progs more # 12KB
special more srcdir /usr/ports/picobsd/more

progs sysctl
progs swapon # 0KB.
progs pwd_mkdb # 0KB.
progs dev_mkdb # 0KB.
progs umount
progs mount_std
progs du # 0KB.
progs tail # 0KB.
progs tee # 0KB.
progs passwd # 0KB.

progs route # 8KB
# progs mount_msdos
# progs comcontrol
#
# If you want to run natd, remember the alias library
#progs natd # 20KB
#libs -lalias	# natd
#
# ppp is rather large. Note that as of Jan.01, RELEASE_CRUNCH
# makes ppp not use libalias, so you cannot have aliasing.
#progs ppp # 112KB

# You need an editor. ee is relatively small, though there are
# smaller ones. vi is much larger.
# The editor also usually need a curses library.
progs ee # 32KB.
libs -lncurses
# progs vi # ??
# libs -lcurses # for vi

progs tcpdump # 100KB.
special tcpdump srcdir /usr/src/usr.sbin/tcpdump/tcpdump

progs arp # 0KB.

progs disklabel # 4KB.
progs fdisk # 4KB.
progs vnconfig # 0KB.

progs grep # 16KB.
progs date # 4KB.
progs mount_nfs # 0KB.
ln mount_nfs nfs
progs ping # 4KB.
#progs routed # 32KB.
progs ipfw # 12KB.
progs traceroute # 0KB.
# progs mount_cd9660 # 4KB.
# ln mount_cd9660 cd9660
# progs newfs # 12KB.
#ln newfs mount_mfs
ln chown chgrp
# ln mount_msdos msdos
ln mount_std procfs
ln mount_std mount_procfs

# If you need to access the box remotely, and maybe copy files
# from/to it, you can use telnet, rsh or ssh.
# inetd is only needed for telnet and rshd
progs inetd # 12KB.
progs telnet # 20KB.
progs telnetd # 12KB.
#progs ftp # 28KB.
#progs tar # 32KB.

# Check the ssh license! If you want to use this,
# go to /usr/ports/security/ssh-picobsd, do a make extract configure
#progs sshd	# includes ssh and scp
special sshd objvar SSHD_OBJS
special sshd srcdir /usr/ports/picobsd/ssh-picobsd/work/ssh-1.2.27
special sshd objdir /usr/ports/picobsd/ssh-picobsd/work/ssh-1.2.27

### ee uses ncurses instead of curses
libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm
libs -lmytinfo -lipx -lz -lpcap -lwrap
libs -ltermcap -lgnuregex -ltelnet # -lcurses
OpenPOWER on IntegriCloud