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