@comment =============================================================
@comment ======================== Install section ====================
@comment =============================================================
@cd /
@srcdir <builddir>/pkg/files
@ignore_inst
boot1
@ignore_inst
boot2
@ignore_inst
dot.cshrc
@ignore_inst
firstboot.sh
@comment ================== Setup Drawbridge Accounts ================
@exec pw user add -n manager -u 2000 -c "Drawbridge Manager" -G wheel -m -d /home/manager -w no -s csh
@exec pw user add -n monitor -u 2001 -c "Drawbridge Monitor" -m -d /home/monitor -w no -s csh
@comment =================== Install the Kernel ======================
@owner root
@group wheel
@mode 755
kernel.DRAWBRIDGE
@exec ln -f /kernel.DRAWBRIDGE /kernel
@group bin
sbin/dbmgr
sbin/dbfc
@group
@owner
@mode
@comment ======== Setup the /home/drawbridge/etc Directory ===========
@exec mkdir -p /usr/local/drawbridge
@cd /usr/local/drawbridge
@srcdir <builddir>/pkg/files
etc/db_filters
etc/filter.config
etc/rc.d/start.sh
etc/sample.filter.config
etc/update
@comment ====== Setup the /usr/local/drawbridge/src Directory =======
@exec mkdir -p /usr/local/drawbridge/src
@cd /usr/local/drawbridge/src
@srcdir <builddir>
COPYING
Makefile
README
dbfc/Makefile
dbfc/chario.c
dbfc/chario.h
dbfc/classes.c
dbfc/classes.h
dbfc/dbfc.8
dbfc/dbfc.c
dbfc/grammar.y
dbfc/groups.c
dbfc/groups.h
dbfc/hosts.c
dbfc/hosts.h
dbfc/lex.c
dbfc/macros.h
dbfc/ports.h
dbfc/protocols.h
dbfc/services.c
dbfc/services.h
dbfc/version.h
dbmgr/Makefile
dbmgr/clear.c
dbmgr/control.c
dbmgr/dbmgr.8
dbmgr/dbmgr.c
dbmgr/dbmgr.h
dbmgr/drawbrdg.h
dbmgr/help.c
dbmgr/load.c
dbmgr/misc.c
dbmgr/misc.h
dbmgr/monitor.c
dbmgr/set.c
dbmgr/show.c
dbmgr/text.h
dbmgr/tokens.c
dbmgr/tokens.h
doc/CHANGES
doc/COMPILER
doc/FIL_LANG_CHANGES
doc/MANAGER
doc/filtering.pdf
doc/firewall.pdf
doc/tamu-security.pdf
kernel/Makefile
kernel/drawbrdg.h
kernel/drawbridge.c
kernel/config-2.2.6/DRAWBRIDGE
kernel/config-2.2.6/LINT
kernel/config-2.2.6/drawbridge_sys_patch
kernel/config-2.2.6/security_patch
kernel/config-2.2.6/security_patch.readme
kernel/config-2.2.7/DRAWBRIDGE
kernel/config-2.2.7/LINT
kernel/config-2.2.7/drawbridge_sys_patch
kernel/config-2.2.7/security_patch
kernel/config-2.2.7/security_patch.readme
kernel/config-2.2.8/DRAWBRIDGE
kernel/config-2.2.8/LINT
kernel/config-2.2.8/drawbridge_sys_patch
pkg/Makefile
pkg/comment
pkg/descr
pkg/files/dot.cshrc
pkg/files/etc/db_filters
pkg/files/etc/filter.config
pkg/files/etc/rc.d/start.sh
pkg/files/etc/sample.filter.config
pkg/files/etc/update
pkg/files/firstboot.sh
pkg/install.sh
pkg/plist
pkg/required.sh
ssh-port/rsaref/CVS/Entries
ssh-port/rsaref/CVS/Repository
ssh-port/rsaref/CVS/Root
ssh-port/rsaref/Makefile
ssh-port/rsaref/README.html
ssh-port/rsaref/files/CVS/Entries
ssh-port/rsaref/files/CVS/Repository
ssh-port/rsaref/files/CVS/Root
ssh-port/rsaref/files/Makefile
ssh-port/rsaref/files/md5
ssh-port/rsaref/patches/CVS/Entries
ssh-port/rsaref/patches/CVS/Repository
ssh-port/rsaref/patches/CVS/Root
ssh-port/rsaref/patches/patch-aa
ssh-port/rsaref/pkg/COMMENT
ssh-port/rsaref/pkg/CVS/Entries
ssh-port/rsaref/pkg/CVS/Repository
ssh-port/rsaref/pkg/CVS/Root
ssh-port/rsaref/pkg/DESCR
ssh-port/rsaref/pkg/PLIST
ssh-port/ssh/CVS/Entries
ssh-port/ssh/CVS/Repository
ssh-port/ssh/CVS/Root
ssh-port/ssh/Makefile
ssh-port/ssh/README.html
ssh-port/ssh/files/CVS/Entries
ssh-port/ssh/files/CVS/Repository
ssh-port/ssh/files/CVS/Root
ssh-port/ssh/files/md5
ssh-port/ssh/patches/CVS/Entries
ssh-port/ssh/patches/CVS/Repository
ssh-port/ssh/patches/CVS/Root
ssh-port/ssh/patches/patch-aa
ssh-port/ssh/patches/patch-ab
ssh-port/ssh/patches/patch-ac
ssh-port/ssh/patches/patch-ad
ssh-port/ssh/patches/patch-ae
ssh-port/ssh/patches/patch-af
ssh-port/ssh/patches/patch-aj
ssh-port/ssh/patches/patch-al
ssh-port/ssh/patches/patch-ao
ssh-port/ssh/pkg/COMMENT
ssh-port/ssh/pkg/CVS/Entries
ssh-port/ssh/pkg/CVS/Repository
ssh-port/ssh/pkg/CVS/Root
ssh-port/ssh/pkg/DESCR
ssh-port/ssh/pkg/PLIST
@comment ================= Make the Drawbridge Device ================
@exec rm -f /dev/drawbridge
@exec mknod /dev/drawbridge c 20 0
@exec chown 2000.2001 /dev/drawbridge
@exec chmod 640 /dev/drawbridge
@comment ======================= Copy Doc Files ======================
@exec cp /usr/local/drawbridge/src/COPYING /usr/local/drawbridge/COPYING
@exec cp /usr/local/drawbridge/src/README /usr/local/drawbridge/README
@exec mkdir -p /usr/local/drawbridge/doc
@exec cp /usr/local/drawbridge/src/doc/* /usr/local/drawbridge/doc
@comment ==================== Install the man Pages ==================
@exec install -c -o bin -g bin -m 444 /usr/local/drawbridge/src/dbmgr/dbmgr.8 /usr/share/man/man8
@exec gzip -f /usr/share/man/man8/dbmgr.8
@exec install -c -o bin -g bin -m 444 /usr/local/drawbridge/src/dbfc/dbfc.8 /usr/share/man/man8
@exec gzip -f /usr/share/man/man8/dbfc.8
@comment =============== Set File Owners and Permissionss ============
@exec find /usr/local/drawbridge -type d -exec chmod 750 {} \; -exec chown 2000.2001 {} \;
@exec find /usr/local/drawbridge -type f -exec chmod 640 {} \; -exec chown 2000.2001 {} \;
@exec chmod 750 /usr/local/drawbridge/etc/rc.d/*.sh
@exec chmod 750 /usr/local/drawbridge/etc/update
@exec chown -h 2000.2001 /usr/local/drawbridge/src/dbmgr/drawbrdg.h
@comment 
@comment =============================================================
@comment ======================= Uninstall section ===================
@comment =============================================================
@unexec ln -f /kernel.GENERIC /kernel
@unexec mv -f /etc/crontab.orig /etc/crontab
@unexec mv -f /etc/syslog.conf.orig /etc/syslog.conf
@unexec mv -f /etc/newsyslog.conf.orig /etc/newsyslog.conf
@unexec mv -f /etc/host.conf.orig /etc/host.conf
@unexec rm -f /etc/rc.conf.local
@unexec rm -f /dev/drawbridge
@unexec rm -f /root/drawbridge
@unexec rm -f /var/log/drawbridge
@unexec rm -f /usr/share/man/man8/dbmgr.8.gz
@unexec rm -f /usr/share/man/cat8/dbmgr.8.gz
@unexec rm -f /usr/share/man/man8/dbfc.8.gz
@unexec rm -f /usr/share/man/cat8/dbfc.8.gz
@unexec pw user del -n monitor
@unexec rm -rf /home/monitor
@unexec pw user del -n manager
@unexec rm -rf /home/manager
@unexec rm -rf /usr/local/drawbridge
