openpkg/buildquick.sh

Thu, 04 Oct 2012 20:30:05 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:30:05 +0200
changeset 715
c10fb90893b9
parent 345
b7180006bcf1
permissions
-rw-r--r--

Correct out of date build configuration, porting to Solaris 11 network
link infrastructure and new libpcap logic. This additionally allows for
device drivers in subdirectories of /dev. Correct packaged nmap
personalities and signatures to work out of the box. Finally, hack
arpd logic to properly close sockets and quit on TERM by repeating
signaling in the run command script. Sadly, all this fails to correct
the run time behaviour of honeyd which fails to bind to the IP layer.

michael@251 1 #! /bin/sh
michael@251 2
michael@251 3 #
michael@251 4 # Build a new bootstrap package,
michael@251 5 # producing openpkg-<date>-<date>.src.sh
michael@251 6 #
michael@345 7 TOPDIR=openpkg
michael@345 8 TOPUSE=openpkg
michael@345 9 BASEID=900
michael@253 10 time ./openpkg.boot -bs --prefix=/$TOPDIR \
michael@253 11 --tag=$TOPDIR --user=$TOPUSE --group=$TOPUSE \
michael@251 12 --muid=${BASEID}1 --ruid=${BASEID}2 --nuid=${BASEID}3 \
michael@345 13 --mgid=${BASEID}1 --rgid=${BASEID}2 --ngid=${BASEID}3 \
michael@251 14 --use_tar=/$TOPDIR/bin/tar --use_make=/$TOPDIR/bin/make \
michael@251 15 --use_cc=/$TOPDIR/bin/cc --use_ar=/$TOPDIR/bin/ar \
michael@251 16 --use_ld=/$TOPDIR/bin/ld --use_as=/$TOPDIR/bin/as \
michael@251 17 --use_strip=/$TOPDIR/bin/strip \
michael@441 18 2>&1 | tee buildquick.log

mercurial