Path: blob/main/usr.sbin/crunch/examples/really-big.conf
104817 views
# really-big.conf - just about everything, just for testing.1# This ends up having some good examples of the use of specials for2# those hard-to-reach programs. I stopped when I got tired, but we3# could probably get even more stuff (like libexec stuff) in here.4#5# This produces a 4608000 byte binary. Pretty sick and twisted, eh?6#7#89# =========================================================================1011srcdirs /usr/src/bin1213progs cat chmod cp csh date dd df domainname echo ed expr hostname kill14progs ln ls mkdir mt mv ps pwd rcp rm rmail rmdir sh sleep stty sync test1516ln test [17ln sh -sh181920# =========================================================================2122srcdirs /usr/src/sbin2324progs bim clri disklabel dmesg dump dumpfs fsck halt25progs ifconfig init mknod modload modunload mount mount_isofs26progs mount_lofs mount_msdosfs mountd27progs newfs nfsd nfsiod ping quotacheck reboot restore route routed savecore28progs shutdown swapon ttyflags tunefs umount29# shell scripts: fastboot3031ln dump rdump32ln restore rrestore333435# =========================================================================3637srcdirs /usr/src/usr.bin3839progs apropos ar asa at basename biff cal calendar cap_mkdb checknr chpass40progs cksum cmp col colcrt colrm column comm compress crontab ctags cut41progs dirname du env error expand false file find finger fmt fold fpr from42progs fsplit fstat ftp getconf getopt gprof head hexdump id indent ipcrm43progs ipcs join kdump ktrace last lastcomm leave lex lock logger locate44progs login logname look m4 machine mail make man mesg mkfifo45progs mkstr modstat more msgs netstat newsyslog nfsstat nice nm nohup46progs pagesize passwd paste patch pr printenv printf quota ranlib47progs renice rev rlogin rpcgen rpcinfo rsh rup ruptime rusers rwall rwho48progs script sed showmount size soelim split strings strip su tail talk49progs tcopy tee telnet tftp time tip tn3270 touch tput tr true tset tsort50progs tty ul uname unexpand unifdef uniq units unvis users uudecode uuencode51progs vacation vgrind vi vis vmstat w wall wc what whatis whereis who52progs whois window write xargs xinstall xstr yacc yes ypcat ypmatch ypwhich5354# shell scripts: lorder mkdep which55# problems: rdist uses libcompat.a(regex.o), which conflicts with56# libedit(readline.o) over regerror().5758# special requirements5960special locate srcdir /usr/src/usr.bin/locate/locate61special tn3270 srcdir /usr/src/usr.bin/tn3270/tn3270626364# =========================================================================6566srcdirs /usr/src/usr.sbin6768progs ac accton amd arp bad144 chown chroot config config.new cron69progs dev_mkdb diskpart edquota flcopy gettable grfinfo hilinfo htable inetd70progs iostat iteconfig kvm_mkdb mtree named portmap pppd71progs pstat pwd_mkdb quot quotaon rarpd rbootd repquota rmt rpc.bootparamd72progs rwhod sa spray sysctl syslogd tcpdump73progs traceroute trpt update vipw vnconfig ypbind yppoll ypset7475special amd srcdir /usr/src/usr.sbin/amd/amd76special amd objs vers.amd.o afs_ops.o am_ops.o clock.o util.o xutil.o efs_ops.o mapc.o info_file.o info_hes.o info_ndbm.o info_passwd.o info_nis.o info_union.o map.o srvr_afs.o srvr_nfs.o mntfs.o misc_rpc.o mount_fs.o mtab.o mtab_bsd.o nfs_ops.o nfs_prot_svc.o nfs_start.o nfs_subr.o opts.o pfs_ops.o rpc_fwd.o sched.o sfs_ops.o amq_svc.o amq_subr.o umount_fs.o host_ops.o nfsx_ops.o ufs_ops.o ifs_ops.o amd.o get_args.o restart.o wire.o777879srcdirs /usr/src/usr.sbin/lpr # lpr subsystem80progs lpr lpc lpq lprm pac lptest81special lpr srcdir /usr/src/usr.sbin/lpr/lpr8283srcdirs /usr/src/usr.sbin/sendmail # sendmail subsystem84progs mailstats makemap praliases sendmail85special sendmail srcdir /usr/src/usr.sbin/sendmail/src86ln sendmail newaliases87ln sendmail mailq8889srcdirs /usr/src/usr.sbin/timed # timed & timedc90progs timed timedc91special timed srcdir /usr/src/usr.sbin/timed/timed9293srcdirs /usr/src/usr.sbin/xntpd # NTP subsystem94# xntpd uses a gross hack to pass some information in the global95# variable `progname' between the actual program (ntpdate in this96# case), and the NTP library. Add `progname' to the keep list.97progs ntpdate98special ntpdate srcdir /usr/src/usr.sbin/xntpd/ntpdate99special ntpdate keep progname100libs -L/usr/src/usr.sbin/xntpd/lib -lntp101102srcdirs /usr/src/usr.sbin/yp # yp subsystem103progs ypbind ypwhich ypcat ypmatch ypset yppoll104105106# =========================================================================107108srcdirs /usr/src/gnu/usr.bin109110progs bc cpio diff diff3 gas gawk grep gzip sdiff sort tar111112srcdirs /usr/src/gnu/usr.bin/ld # ldd and ldconfig113progs ld ldd ldconfig114115# rcs stuff loses because there are cross dependencies between librcs.a and116# the individual programs. The solution would be to specify the objpaths117# directly for each one, and include the full path to librcs.a each the118# objpaths.119120# srcdirs /usr/src/gnu/usr.bin/rcs # rcs subsystem121# progs ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog122# # shell script: rcsfreeze123# special rcs srcdir /usr/src/gnu/usr.bin/rcs/rcs124# libs /usr/src/gnu/usr.bin/rcs/lib/obj/librcs.a125126# gdb loses too127# progs gdb128# special gdb srcdir /usr/src/gnu/usr.bin/gdb/gdb129# libs /usr/src/gnu/usr.bin/gdb/bfd/obj/libbfd.a130# libs /usr/src/gnu/usr.bin/gdb/readline/obj/libreadline.a131# libs /usr/src/gnu/usr.bin/gdb/libiberty/obj/libiberty.a132133# groff has the same problem as rcs134# srcdirs /usr/src/gnu/usr.bin/groff # groff subsystem135# progs groff troff tbl pic eqn grops grotty grodvi refer lookbib136# progs indxbib lkbib tfmtodit addftinfo pfbtops psbb137# shell script: nroff138# special groff srcdir /usr/src/gnu/usr.bin/groff/groff139# libs /usr/src/gnu/usr.bin/groff/libgroff/obj/libgroff.a140# libs /usr/src/gnu/usr.bin/groff/libbib/obj/libbib.a141# libs /usr/src/gnu/usr.bin/groff/libdriver/obj/libdriver.a142143srcdirs /usr/src/gnu/usr.bin/gcc2 # gcc & friends144progs cc cpp cc1145146# cc1 has the same problem as rcs and groff, but since there's only one program147# I'll go ahead and solve it as an example.148149special cc1 objpaths /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-parse.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-lang.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-lex.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-pragma.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-decl.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-typeck.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-convert.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-aux-info.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-iterate.o /usr/src/gnu/usr.bin/gcc2/common/obj/libcc1.a150151ln gzip gunzip152ln gzip gzcat153154libs -ledit -lgnumalloc -lc -lcrypt -ltermcap -lcurses -ltelnet -lutil -lkvm155libs -ll -ly -lm -lresolv -lrpcsvc -lcompat156157158