crunch.conf revision 84312
1# 2# $FreeBSD: head/release/picobsd/bridge/crunch.conf 84312 2001-10-01 17:21:33Z 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# 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 177