1#
| 1#
|
2# $FreeBSD: head/release/picobsd/bridge/crunch.conf 95047 2002-04-19 12:39:09Z ru $
| 2# $FreeBSD: head/release/picobsd/bridge/crunch.conf 102344 2002-08-24 03:33:31Z 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.
| 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
|
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# 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
|
28# Other places to look.
| 32 33# 34# standard locations 35#
|
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
| 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
|
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 135#progs 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
| 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
|
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
| 170progs 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 178### ee uses ncurses instead of curses
|
172libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm
| 179libs -ledit -lutil -lmd -lcrypt -lmp -lm -lkvm 180libs /usr/local/lib/libgmp.a
|
173libs -lmytinfo -lipx -lz -lpcap -lwrap 174libs -ltermcap -lgnuregex # -lcurses
| 181libs -lmytinfo -lipx -lz -lpcap -lwrap 182libs -ltermcap -lgnuregex # -lcurses
|