diff options
author | Jay Freeman <saurik@saurik.com> | 2009-08-15 08:51:37 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-08-15 08:51:37 +0000 |
commit | eac6f2954bb0aa5f7c0d2600e5ddf9e02b463319 (patch) | |
tree | 0e269ba1e0e436793b0b4d82cd368af6740eee70 /data/network-cmds/make.sh | |
parent | a45acb90b703d27f210a735133e1c27eec40da53 (diff) |
Various updates I forgot to commit.
git-svn-id: http://svn.telesphoreo.org/trunk@666 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/network-cmds/make.sh')
-rw-r--r-- | data/network-cmds/make.sh | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/data/network-cmds/make.sh b/data/network-cmds/make.sh index aa20f9d38..f4d4a4d60 100644 --- a/data/network-cmds/make.sh +++ b/data/network-cmds/make.sh @@ -1,9 +1,22 @@ shopt -s extglob pkg:setup + for tproj in !(natd|ping|rarpd|spray).tproj; do tproj=$(basename "${tproj}" .tproj) - "${PKG_TARG}-gcc" -o "${tproj}" "${tproj}.tproj"/*.c -DPRIVATE -Dether_ntohost=_old_ether_ntohost - pkg:usrbin "${tproj}" + echo "${tproj}" + "${PKG_TARG}-gcc" -O2 -mthumb -o "${tproj}" "${tproj}.tproj"/!(ns).c -DPRIVATE -Dether_ntohost=_old_ether_ntohost done -"${PKG_TARG}-gcc" -Ialias -o natd natd.tproj/*.c alias/*.c -DPRIVATE -pkg:usrbin natd + +echo natd +"${PKG_TARG}-gcc" -Ialias -O2 -mthumb -o natd natd.tproj/*.c alias/*.c -DPRIVATE + +pkg: mkdir -p {,/usr}/{,s}bin /usr/libexec + +# XXX: what /is/ ip6conf? where is ip6conf/ig/? +pkg: cp -a ip6conf /usr/bin + +pkg: cp -a kdumpd /usr/libexec +pkg: cp -a ifconfig ip6fw ipfw netstat ping6 route routed rtsol slattach /sbin +pkg: cp -a arp natd ndp rtadvd traceroute traceroute6 trpt /usr/sbin + +ln -s /sbin/ping6 "${PKG_DEST}"/bin |