Home | History | Annotate | Line # | Download | only in examples
really-big.conf revision 1.4.6.1
      1  1.4.6.1     yamt #	$NetBSD: really-big.conf,v 1.4.6.1 2012/05/23 10:08:24 yamt Exp $
      2      1.2    perry #
      3      1.1      cgd # really-big.conf - just about everything, just for testing.
      4      1.1      cgd #	This ends up having some good examples of the use of specials for
      5      1.1      cgd #	those hard-to-reach programs.  I stopped when I got tired, but we
      6      1.1      cgd #	could probably get even more stuff (like libexec stuff) in here.
      7      1.1      cgd #
      8      1.1      cgd #       This produces a 4608000 byte binary.  Pretty sick and twisted, eh?
      9      1.1      cgd 
     10      1.1      cgd # =========================================================================
     11      1.1      cgd 
     12      1.1      cgd srcdirs /usr/src/bin
     13      1.1      cgd 
     14      1.1      cgd progs cat chmod cp csh date dd df domainname echo ed expr hostname kill
     15      1.1      cgd progs ln ls mkdir mt mv ps pwd rcp rm rmail rmdir sh sleep stty sync test
     16      1.1      cgd 
     17      1.1      cgd ln test [
     18      1.1      cgd ln sh -sh
     19      1.1      cgd 
     20      1.1      cgd 
     21      1.1      cgd # =========================================================================
     22      1.1      cgd 
     23      1.1      cgd srcdirs /usr/src/sbin
     24      1.1      cgd 
     25      1.1      cgd progs badsect bim clri disklabel dmesg dump dumpfs fdisk fsck halt
     26      1.1      cgd progs ifconfig init mknod modload modunload mount mount_fdesc mount_isofs
     27      1.4    pooka progs mount_kernfs mount_lofs mount_msdos mount_procfs mountd 
     28      1.1      cgd progs newfs nfsd nfsiod ping quotacheck reboot restore route routed savecore
     29      1.1      cgd progs shutdown slattach swapon ttyflags tunefs umount
     30      1.1      cgd # shell scripts: fastboot
     31      1.1      cgd 
     32      1.1      cgd ln dump rdump
     33      1.1      cgd ln restore rrestore
     34      1.1      cgd 
     35      1.1      cgd 
     36      1.1      cgd # =========================================================================
     37      1.1      cgd 
     38      1.1      cgd srcdirs /usr/src/usr.bin
     39      1.1      cgd 
     40      1.1      cgd progs apropos ar asa at basename biff cal calendar cap_mkdb checknr chpass
     41      1.1      cgd progs cksum cmp col colcrt colrm column comm compress crontab ctags cut
     42      1.1      cgd progs dirname du env error expand false file find finger fmt fold fpr from
     43      1.1      cgd progs fsplit fstat ftp getconf getopt gprof head hexdump id indent ipcrm
     44      1.1      cgd progs ipcs join kdump ktrace last lastcomm leave lex lock logger locate
     45      1.1      cgd progs login logname look m4 machine mail make man mesg mkfifo
     46      1.1      cgd progs mkstr modstat more msgs netstat newsyslog nfsstat nice nm nohup
     47      1.1      cgd progs pagesize passwd paste patch pr printenv printf quota ranlib
     48      1.1      cgd progs renice rev rlogin rpcgen rpcinfo rsh rup ruptime rusers rwall rwho
     49      1.1      cgd progs script sed showmount size soelim split strings strip su tail talk
     50      1.1      cgd progs tcopy tee telnet tftp time tip tn3270 touch tput tr true tset tsort
     51      1.1      cgd progs tty ul uname unexpand unifdef uniq units unvis users uudecode uuencode
     52      1.1      cgd progs vacation vgrind vi vis vmstat w wall wc what whatis whereis who
     53      1.1      cgd progs whois window write xargs xinstall xstr yacc yes ypcat ypmatch ypwhich
     54      1.1      cgd 
     55      1.1      cgd # shell scripts: lorder mkdep shar which
     56      1.1      cgd # problems: rdist uses libcompat.a(regex.o), which conflicts with 
     57      1.1      cgd #           libedit(readline.o) over regerror().
     58      1.1      cgd 
     59      1.1      cgd # special requirements
     60      1.1      cgd 
     61      1.1      cgd special locate srcdir /usr/src/usr.bin/locate/locate
     62      1.1      cgd special tn3270 srcdir /usr/src/usr.bin/tn3270/tn3270
     63      1.1      cgd 
     64      1.1      cgd 
     65      1.1      cgd # =========================================================================
     66      1.1      cgd 
     67      1.1      cgd srcdirs /usr/src/usr.sbin
     68      1.1      cgd 
     69      1.1      cgd progs ac accton amd arp bad144 catman chown chroot config config.new cron
     70      1.1      cgd progs dev_mkdb diskpart edquota flcopy gettable grfinfo hilinfo htable inetd
     71      1.1      cgd progs iostat iteconfig kvm_mkdb mrouted mtree named portmap pppd
     72      1.1      cgd progs pstat pwd_mkdb quot quotaon rarpd rbootd repquota rmt rpc.bootparamd
     73      1.1      cgd progs rwhod sa sliplogin slstats spray sysctl syslogd tcpdump
     74      1.3  jnemeth progs traceroute trpt update vipw vnconfig ypbind yppoll ypset
     75      1.1      cgd 
     76      1.1      cgd special amd srcdir /usr/src/usr.sbin/amd/amd
     77      1.1      cgd special 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.o
     78      1.1      cgd 
     79      1.1      cgd 
     80      1.1      cgd srcdirs /usr/src/usr.sbin/lpr		# lpr subsystem
     81      1.1      cgd progs lpr lpc lpq lprm pac lptest
     82      1.1      cgd special lpr srcdir /usr/src/usr.sbin/lpr/lpr
     83      1.1      cgd 
     84      1.1      cgd srcdirs /usr/src/usr.sbin/sendmail	# sendmail subsystem
     85      1.1      cgd progs mailstats makemap praliases sendmail
     86      1.1      cgd special sendmail srcdir /usr/src/usr.sbin/sendmail/src
     87      1.1      cgd ln sendmail newaliases
     88      1.1      cgd ln sendmail mailq
     89      1.1      cgd 
     90      1.1      cgd srcdirs /usr/src/usr.sbin/timed		# timed & timedc
     91      1.1      cgd progs timed timedc
     92      1.1      cgd special timed srcdir /usr/src/usr.sbin/timed/timed
     93      1.1      cgd 
     94      1.1      cgd srcdirs /usr/src/usr.sbin/yp		# yp subsystem
     95      1.1      cgd progs ypbind ypwhich ypcat ypmatch ypset yppoll
     96      1.1      cgd 
     97      1.1      cgd 
     98      1.1      cgd # =========================================================================
     99      1.1      cgd 
    100      1.1      cgd srcdirs /usr/src/gnu/usr.bin
    101      1.1      cgd 
    102      1.1      cgd progs bc cpio diff diff3 gas gawk grep gzip sdiff sort tar
    103      1.1      cgd # shell scripts: send-pr
    104      1.1      cgd 
    105      1.1      cgd srcdirs /usr/src/gnu/usr.bin/ld		# ldd and ldconfig
    106      1.1      cgd progs ld ldd ldconfig
    107      1.1      cgd 
    108      1.1      cgd # rcs stuff loses because there are cross dependencies between librcs.a and
    109      1.1      cgd # the individual programs.  The solution would be to specify the objpaths
    110      1.1      cgd # directly for each one, and include the full path to librcs.a each the
    111      1.1      cgd # objpaths.
    112      1.1      cgd 
    113      1.1      cgd # srcdirs /usr/src/gnu/usr.bin/rcs	# rcs subsystem
    114      1.1      cgd # progs ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog
    115      1.1      cgd # # shell script: rcsfreeze
    116      1.1      cgd # special rcs srcdir /usr/src/gnu/usr.bin/rcs/rcs
    117      1.1      cgd # libs /usr/src/gnu/usr.bin/rcs/lib/obj/librcs.a
    118      1.1      cgd 
    119      1.1      cgd # gdb loses too
    120      1.1      cgd # progs gdb
    121      1.1      cgd # special gdb srcdir /usr/src/gnu/usr.bin/gdb/gdb
    122      1.1      cgd # libs /usr/src/gnu/usr.bin/gdb/bfd/obj/libbfd.a
    123      1.1      cgd # libs /usr/src/gnu/usr.bin/gdb/readline/obj/libreadline.a
    124      1.1      cgd # libs /usr/src/gnu/usr.bin/gdb/libiberty/obj/libiberty.a
    125      1.1      cgd 
    126      1.1      cgd # groff has the same problem as rcs
    127      1.1      cgd # srcdirs /usr/src/gnu/usr.bin/groff	# groff subsystem
    128      1.1      cgd # progs groff troff tbl pic eqn grops grotty grodvi refer lookbib
    129      1.1      cgd # progs indxbib lkbib tfmtodit addftinfo pfbtops psbb
    130      1.1      cgd # shell script: nroff
    131      1.1      cgd # special groff srcdir /usr/src/gnu/usr.bin/groff/groff
    132      1.1      cgd # libs /usr/src/gnu/usr.bin/groff/libgroff/obj/libgroff.a
    133      1.1      cgd # libs /usr/src/gnu/usr.bin/groff/libbib/obj/libbib.a
    134      1.1      cgd # libs /usr/src/gnu/usr.bin/groff/libdriver/obj/libdriver.a
    135      1.1      cgd 
    136      1.1      cgd srcdirs /usr/src/gnu/usr.bin/gcc2	# gcc & friends
    137      1.1      cgd progs cc cpp cc1
    138      1.1      cgd 
    139      1.1      cgd # cc1 has the same problem as rcs and groff, but since there's only one program
    140      1.1      cgd # I'll go ahead and solve it as an example.
    141      1.1      cgd 
    142      1.1      cgd special 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.a
    143      1.1      cgd 
    144      1.1      cgd ln gzip gunzip
    145      1.1      cgd ln gzip gzcat
    146      1.1      cgd 
    147  1.4.6.1     yamt libs -ledit -lgnumalloc -lc -lcrypt -lterminfo -lcurses -ltelnet -lutil -lkvm 
    148      1.1      cgd libs -ll -ly -lm -lresolv -lrpcsvc -lcompat
    149