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