2001-04-24 08:12:34 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# configuration file for "bridge" floppy.
|
|
|
|
# Depending on your needs, almost surely you will need to
|
|
|
|
# modify your configuration to add/remove/change programs used in
|
|
|
|
# the floppy image. Remember that some programs also require
|
|
|
|
# matching kernel options to enable device drivers etc.
|
|
|
|
#
|
|
|
|
# Next to most of the programs i have tried to indicate the approximate
|
|
|
|
# space consumed, but beware that these values change from release
|
|
|
|
# to release, and might depend on the presence of other programs which
|
|
|
|
# share the same libraries.
|
|
|
|
#
|
|
|
|
# NOTE: the string "/usr/src" will be automatically replaced with the
|
|
|
|
# correct value set in 'build' script - you should change it there
|
|
|
|
|
|
|
|
# Default build options. Basically tell the Makefiles which understand
|
|
|
|
# that to use the most compact possible version of the code.
|
|
|
|
#
|
|
|
|
buildopts -DNOPAM -DRELEASE_CRUNCH -DNONETGRAPH -DNOIPSEC -DNOINET6
|
|
|
|
|
|
|
|
# directories where to look for sources of various binaries.
|
2002-08-24 04:33:31 +01:00
|
|
|
# @__CWD__@ is a magic keyword in the picobsd's (Makefile.conf)
|
|
|
|
# which is replaced with the picobsd directory.
|
|
|
|
srcdirs @__CWD__@/src
|
|
|
|
|
2001-10-01 18:21:33 +01:00
|
|
|
# Some programs are especially written for PicoBSD and reside here
|
|
|
|
# Make this first in the list so we can override standard programs
|
|
|
|
# with the picobsd-specific ones.
|
|
|
|
srcdirs /usr/src/release/picobsd/tinyware
|
2002-08-24 04:33:31 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# standard locations
|
|
|
|
#
|
2001-04-24 08:12:34 +01:00
|
|
|
srcdirs /usr/src/bin
|
|
|
|
srcdirs /usr/src/sbin/i386
|
|
|
|
srcdirs /usr/src/sbin
|
|
|
|
srcdirs /usr/src/usr.bin
|
|
|
|
srcdirs /usr/src/gnu/usr.bin
|
|
|
|
srcdirs /usr/src/usr.sbin
|
|
|
|
srcdirs /usr/src/libexec
|
|
|
|
#
|
|
|
|
# And there are others (mostly ports) which reside in their specific
|
|
|
|
# directories. For them, we use the "special" commands to tell
|
|
|
|
# crunchgen where to look for sources, objects, which Makefile
|
|
|
|
# variables contain the list of sources and objects, and so on.
|
|
|
|
|
|
|
|
# init is almost always necessary.
|
|
|
|
progs init # 4KB.
|
|
|
|
# fsck is almost always necessary, unless you have everything on the
|
|
|
|
# image and use 'tar' or something similar to read/write raw blocks
|
|
|
|
# from the floppy.
|
|
|
|
progs fsck # 24KB.
|
|
|
|
# ifconfig is needed if you want to configure interfaces...
|
|
|
|
progs ifconfig # 4KB.
|
|
|
|
#
|
|
|
|
# You will also need a shell and a bunch of utilities.
|
|
|
|
# The standard shell is not that large, but you need many
|
|
|
|
# external programs. In fact most of them do not take much space
|
|
|
|
# as they merely issue a system call, and print the result; the
|
|
|
|
# libraries are already needed anyways, so they end up using almost
|
|
|
|
# no additional memory.
|
|
|
|
# There are a few exceptions such as 'less', which in 4.x is
|
|
|
|
# rather large.
|
|
|
|
progs sh # 36KB.
|
|
|
|
ln sh -sh
|
|
|
|
progs echo # 0KB.
|
|
|
|
progs pwd
|
|
|
|
progs mkdir rmdir
|
|
|
|
progs chmod chown
|
|
|
|
progs mv ln # 0KB.
|
|
|
|
progs mount
|
|
|
|
progs minigzip # 0KB.
|
|
|
|
ln minigzip gzip
|
|
|
|
progs cp # 0KB.
|
|
|
|
progs rm
|
|
|
|
progs ls
|
|
|
|
progs kill
|
|
|
|
progs df # 0KB.
|
|
|
|
progs ps # 4KB.
|
|
|
|
progs ns # 4KB.
|
|
|
|
ln ns netstat
|
|
|
|
progs vm # 0KB.
|
|
|
|
progs cat # 0KB.
|
|
|
|
progs test # 0KB.
|
|
|
|
ln test [
|
|
|
|
progs hostname # 0KB.
|
|
|
|
progs login # 4KB.
|
|
|
|
progs getty # 4KB.
|
|
|
|
progs stty # 4KB.
|
|
|
|
progs w # 0KB.
|
|
|
|
progs msg # 0KB.
|
|
|
|
ln msg dmesg
|
|
|
|
progs reboot # 0KB.
|
|
|
|
#progs less # 36KB
|
|
|
|
#ln less more
|
2001-09-05 17:06:40 +01:00
|
|
|
#progs more # 12KB
|
2002-02-14 19:43:40 +00:00
|
|
|
special more srcdir /usr/ports/misc/44bsd-more/work
|
2001-04-24 08:12:34 +01:00
|
|
|
|
|
|
|
progs sysctl
|
|
|
|
progs swapon # 0KB.
|
|
|
|
progs pwd_mkdb # 0KB.
|
|
|
|
progs umount
|
|
|
|
progs mount_std
|
|
|
|
progs du # 0KB.
|
|
|
|
progs tail # 0KB.
|
|
|
|
progs tee # 0KB.
|
|
|
|
progs passwd # 0KB.
|
|
|
|
|
|
|
|
progs route # 8KB
|
2001-06-01 13:06:06 +01:00
|
|
|
# progs mount_msdosfs
|
2001-04-24 08:12:34 +01:00
|
|
|
# progs comcontrol
|
|
|
|
#
|
|
|
|
# If you want to run natd, remember the alias library
|
|
|
|
#progs natd # 20KB
|
|
|
|
#libs -lalias # natd
|
|
|
|
#
|
|
|
|
# ppp is rather large. Note that as of Jan.01, RELEASE_CRUNCH
|
|
|
|
# makes ppp not use libalias, so you cannot have aliasing.
|
|
|
|
#progs ppp # 112KB
|
|
|
|
|
|
|
|
# You need an editor. ee is relatively small, though there are
|
|
|
|
# smaller ones. vi is much larger.
|
|
|
|
# The editor also usually need a curses library.
|
|
|
|
progs ee # 32KB.
|
|
|
|
libs -lncurses
|
|
|
|
# progs vi # ??
|
|
|
|
# libs -lcurses # for vi
|
|
|
|
|
2001-06-21 09:59:12 +01:00
|
|
|
#progs tcpdump # 100KB.
|
2001-04-24 08:12:34 +01:00
|
|
|
special tcpdump srcdir /usr/src/usr.sbin/tcpdump/tcpdump
|
|
|
|
|
|
|
|
progs arp # 0KB.
|
|
|
|
|
|
|
|
progs disklabel # 4KB.
|
|
|
|
progs fdisk # 4KB.
|
|
|
|
progs vnconfig # 0KB.
|
|
|
|
|
2002-03-09 08:17:40 +00:00
|
|
|
#progs grep # 16KB.
|
2001-04-24 08:12:34 +01:00
|
|
|
progs date # 4KB.
|
2001-09-05 17:06:40 +01:00
|
|
|
#progs mount_nfs # 0KB.
|
2001-04-24 08:12:34 +01:00
|
|
|
ln mount_nfs nfs
|
|
|
|
progs ping # 4KB.
|
|
|
|
#progs routed # 32KB.
|
|
|
|
progs ipfw # 12KB.
|
|
|
|
progs traceroute # 0KB.
|
|
|
|
# progs mount_cd9660 # 4KB.
|
|
|
|
# ln mount_cd9660 cd9660
|
|
|
|
# progs newfs # 12KB.
|
|
|
|
#ln newfs mount_mfs
|
|
|
|
ln chown chgrp
|
2001-06-01 13:06:06 +01:00
|
|
|
# ln mount_msdosfs msdos
|
2001-04-24 08:12:34 +01:00
|
|
|
ln mount_std procfs
|
|
|
|
ln mount_std mount_procfs
|
|
|
|
|
|
|
|
# If you need to access the box remotely, and maybe copy files
|
|
|
|
# from/to it, you can use telnet, rsh or ssh.
|
|
|
|
# inetd is only needed for telnet and rshd
|
2002-02-14 19:43:40 +00:00
|
|
|
#progs inetd # 12KB.
|
|
|
|
#progs telnet # 20KB.
|
|
|
|
#progs telnetd # 12KB.
|
2001-04-24 08:12:34 +01:00
|
|
|
#progs ftp # 28KB.
|
|
|
|
#progs tar # 32KB.
|
|
|
|
|
|
|
|
# Check the ssh license! If you want to use this,
|
|
|
|
# go to /usr/ports/security/ssh-picobsd, do a make extract configure
|
2002-08-24 04:33:31 +01:00
|
|
|
# You also need to install /usr/ports/math/libgmp-freebsd
|
2003-06-22 16:37:14 +01:00
|
|
|
#progs sshd # includes ssh and scp
|
2001-04-24 08:12:34 +01:00
|
|
|
special sshd objvar SSHD_OBJS
|
|
|
|
special sshd srcdir /usr/ports/picobsd/ssh-picobsd/work/ssh-1.2.27
|
|
|
|
special sshd objdir /usr/ports/picobsd/ssh-picobsd/work/ssh-1.2.27
|
2001-09-30 18:38:42 +01:00
|
|
|
ln sshd ssh
|
|
|
|
ln sshd ssh1
|
|
|
|
ln sshd scp
|
2003-06-22 16:37:14 +01:00
|
|
|
#libs /usr/local/lib/libgmp.a
|
2001-04-24 08:12:34 +01:00
|
|
|
|
2004-03-24 07:30:54 +00:00
|
|
|
libs -ll # used by sh
|
|
|
|
libs -lufs # used by mount
|
2001-04-24 08:12:34 +01:00
|
|
|
### ee uses ncurses instead of curses
|
2002-08-24 04:33:31 +01:00
|
|
|
libs -ledit -lutil -lmd -lcrypt -lmp -lm -lkvm
|
2001-04-24 08:12:34 +01:00
|
|
|
libs -lmytinfo -lipx -lz -lpcap -lwrap
|
2002-04-19 13:39:09 +01:00
|
|
|
libs -ltermcap -lgnuregex # -lcurses
|