xref: /netbsd-src/usr.bin/crunch/examples/fixit.conf (revision 258cf0abec6176a66ff8bb40edc3c05bb0245ffe)
1#	$NetBSD: fixit.conf,v 1.3 2012/04/21 12:27:29 roy Exp $
2#
3# fixit.conf - put in anything we think we might want on a fixit floppy
4
5# first, we list the source dirs that our programs reside in.  These are
6# searched in order listed to find the dir containing each program.
7
8srcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin
9srcdirs /usr/src/gnu/usr.bin
10
11# second, we list all the programs we want to include in our crunched binary.
12# The order doesn't matter.  Any program that needs hard links to it gets an
13# `ln' directive.
14
15# /bin stuff
16
17progs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
18progs mt mv pwd rcp rm rmdir sh sleep stty sync test
19
20ln test [
21ln sh -sh		# init invokes the shell this way
22ln sh -
23
24# /sbin stuff
25
26progs badsect chown clri disklabel dump dmesg fdisk fsck halt ifconfig init
27progs mknod mount newfs ping reboot restore swapon umount
28ln dump rdump
29ln restore rrestore
30
31# /usr/bin stuff
32
33progs ftp rsh sed telnet rlogin vi
34
35# gnu stuff
36
37progs cpio gzip
38ln gzip gunzip
39ln gzip gzcat
40
41# finally, we specify the libraries to link in with our binary
42
43libs -ledit		# NetBSDism
44libs -lcrypt		# but don't include this when exporting	:-(
45libs -lcurses -lterminfo
46libs -lkvm -ltelnet -lutil -ll
47