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