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