crunch.conf revision 84312
1136644Sache# 2136644Sache# $FreeBSD: head/release/picobsd/bridge/crunch.conf 84312 2001-10-01 17:21:33Z luigi $ 3136644Sache# 4136644Sache# configuration file for "bridge" floppy. 5136644Sache# Depending on your needs, almost surely you will need to 6136644Sache# modify your configuration to add/remove/change programs used in 7136644Sache# the floppy image. Remember that some programs also require 8136644Sache# matching kernel options to enable device drivers etc. 9136644Sache# 10136644Sache# Next to most of the programs i have tried to indicate the approximate 11136644Sache# space consumed, but beware that these values change from release 12136644Sache# to release, and might depend on the presence of other programs which 13165670Sache# share the same libraries. 14136644Sache# 15136644Sache# NOTE: the string "/usr/src" will be automatically replaced with the 16136644Sache# correct value set in 'build' script - you should change it there 17136644Sache 18136644Sache# Default build options. Basically tell the Makefiles which understand 19136644Sache# that to use the most compact possible version of the code. 20136644Sache# 21136644Sachebuildopts -DNOPAM -DRELEASE_CRUNCH -DNONETGRAPH -DNOIPSEC -DNOINET6 22136644Sache 23136644Sache# directories where to look for sources of various binaries. 24136644Sache# Some programs are especially written for PicoBSD and reside here 25136644Sache# Make this first in the list so we can override standard programs 26136644Sache# with the picobsd-specific ones. 27136644Sachesrcdirs /usr/src/release/picobsd/tinyware 28136644Sache# Other places to look. 29136644Sachesrcdirs /usr/src/bin 30136644Sachesrcdirs /usr/src/sbin/i386 31136644Sachesrcdirs /usr/src/sbin 32136644Sachesrcdirs /usr/src/usr.bin 33136644Sachesrcdirs /usr/src/gnu/usr.bin 34136644Sachesrcdirs /usr/src/usr.sbin 35136644Sachesrcdirs /usr/src/libexec 36136644Sache# Some programs are especially written for PicoBSD and reside here 37136644Sachesrcdirs /usr/src/release/picobsd/tinyware 38136644Sache# 39136644Sache# And there are others (mostly ports) which reside in their specific 40136644Sache# directories. For them, we use the "special" commands to tell 41136644Sache# crunchgen where to look for sources, objects, which Makefile 42136644Sache# variables contain the list of sources and objects, and so on. 43136644Sache 44136644Sache# init is almost always necessary. 45136644Sacheprogs init # 4KB. 46136644Sache# fsck is almost always necessary, unless you have everything on the 47136644Sache# image and use 'tar' or something similar to read/write raw blocks 48136644Sache# from the floppy. 49136644Sacheprogs fsck # 24KB. 50136644Sache# ifconfig is needed if you want to configure interfaces... 51136644Sacheprogs ifconfig # 4KB. 52136644Sache# 53136644Sache# You will also need a shell and a bunch of utilities. 54136644Sache# The standard shell is not that large, but you need many 55136644Sache# external programs. In fact most of them do not take much space 56136644Sache# as they merely issue a system call, and print the result; the 57136644Sache# libraries are already needed anyways, so they end up using almost 58136644Sache# no additional memory. 59136644Sache# There are a few exceptions such as 'less', which in 4.x is 60136644Sache# rather large. 61136644Sacheprogs sh # 36KB. 62136644Sacheln sh -sh 63136644Sacheprogs echo # 0KB. 64136644Sacheprogs pwd 65136644Sacheprogs mkdir rmdir 66136644Sacheprogs chmod chown 67136644Sacheprogs mv ln # 0KB. 68136644Sacheprogs mount 69136644Sacheprogs minigzip # 0KB. 70136644Sacheln minigzip gzip 71136644Sacheprogs cp # 0KB. 72136644Sacheprogs rm 73136644Sacheprogs ls 74136644Sacheprogs kill 75136644Sacheprogs df # 0KB. 76136644Sacheprogs ps # 4KB. 77136644Sacheprogs ns # 4KB. 78136644Sacheln ns netstat 79136644Sacheprogs vm # 0KB. 80136644Sacheprogs cat # 0KB. 81136644Sacheprogs test # 0KB. 82136644Sacheln test [ 83136644Sacheprogs hostname # 0KB. 84136644Sacheprogs login # 4KB. 85136644Sacheprogs getty # 4KB. 86136644Sacheprogs stty # 4KB. 87136644Sacheprogs w # 0KB. 88136644Sacheprogs msg # 0KB. 89136644Sacheln msg dmesg 90136644Sacheprogs kget # 0KB. 91136644Sacheprogs reboot # 0KB. 92136644Sache#progs less # 36KB 93136644Sache#ln less more 94136644Sache#progs more # 12KB 95136644Sache#special more srcdir /usr/ports/picobsd/more 96136644Sache 97136644Sacheprogs sysctl 98136644Sacheprogs swapon # 0KB. 99136644Sacheprogs pwd_mkdb # 0KB. 100136644Sacheprogs dev_mkdb # 0KB. 101136644Sacheprogs umount 102136644Sacheprogs mount_std 103136644Sacheprogs du # 0KB. 104136644Sacheprogs tail # 0KB. 105136644Sacheprogs tee # 0KB. 106136644Sacheprogs passwd # 0KB. 107136644Sache 108136644Sacheprogs route # 8KB 109136644Sache# progs mount_msdosfs 110136644Sache# progs comcontrol 111136644Sache# 112136644Sache# If you want to run natd, remember the alias library 113136644Sache#progs natd # 20KB 114136644Sache#libs -lalias # natd 115136644Sache# 116136644Sache# ppp is rather large. Note that as of Jan.01, RELEASE_CRUNCH 117136644Sache# makes ppp not use libalias, so you cannot have aliasing. 118136644Sache#progs ppp # 112KB 119136644Sache 120136644Sache# You need an editor. ee is relatively small, though there are 121136644Sache# smaller ones. vi is much larger. 122136644Sache# The editor also usually need a curses library. 123136644Sacheprogs ee # 32KB. 124136644Sachelibs -lncurses 125136644Sache# progs vi # ?? 126136644Sache# libs -lcurses # for vi 127136644Sache 128136644Sache#progs tcpdump # 100KB. 129136644Sachespecial tcpdump srcdir /usr/src/usr.sbin/tcpdump/tcpdump 130136644Sache 131136644Sacheprogs arp # 0KB. 132136644Sache 133136644Sacheprogs disklabel # 4KB. 134136644Sacheprogs fdisk # 4KB. 135136644Sacheprogs vnconfig # 0KB. 136136644Sache 137136644Sacheprogs grep # 16KB. 138136644Sacheprogs date # 4KB. 139136644Sache#progs mount_nfs # 0KB. 140136644Sacheln mount_nfs nfs 141136644Sacheprogs ping # 4KB. 142136644Sache#progs routed # 32KB. 143136644Sacheprogs ipfw # 12KB. 144136644Sacheprogs traceroute # 0KB. 145136644Sache# progs mount_cd9660 # 4KB. 146136644Sache# ln mount_cd9660 cd9660 147136644Sache# progs newfs # 12KB. 148136644Sache#ln newfs mount_mfs 149136644Sacheln chown chgrp 150136644Sache# ln mount_msdosfs msdos 151136644Sacheln mount_std procfs 152136644Sacheln mount_std mount_procfs 153136644Sache 154136644Sache# If you need to access the box remotely, and maybe copy files 155136644Sache# from/to it, you can use telnet, rsh or ssh. 156136644Sache# inetd is only needed for telnet and rshd 157136644Sacheprogs inetd # 12KB. 158136644Sacheprogs telnet # 20KB. 159136644Sacheprogs telnetd # 12KB. 160136644Sache#progs ftp # 28KB. 161136644Sache#progs tar # 32KB. 162136644Sache 163136644Sache# Check the ssh license! If you want to use this, 164136644Sache# go to /usr/ports/security/ssh-picobsd, do a make extract configure 165136644Sache#progs sshd # includes ssh and scp 166136644Sachespecial sshd objvar SSHD_OBJS 167136644Sachespecial sshd srcdir /usr/ports/picobsd/ssh-picobsd/work/ssh-1.2.27 168136644Sachespecial sshd objdir /usr/ports/picobsd/ssh-picobsd/work/ssh-1.2.27 169136644Sacheln sshd ssh 170136644Sacheln sshd ssh1 171136644Sacheln sshd scp 172136644Sache 173136644Sache### ee uses ncurses instead of curses 174136644Sachelibs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm 175136644Sachelibs -lmytinfo -lipx -lz -lpcap -lwrap 176136644Sachelibs -ltermcap -lgnuregex -ltelnet # -lcurses 177136644Sache