summaryrefslogtreecommitdiff
path: root/data/network-cmds
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-08-15 08:51:37 +0000
committerJay Freeman <saurik@saurik.com>2009-08-15 08:51:37 +0000
commiteac6f2954bb0aa5f7c0d2600e5ddf9e02b463319 (patch)
tree0e269ba1e0e436793b0b4d82cd368af6740eee70 /data/network-cmds
parenta45acb90b703d27f210a735133e1c27eec40da53 (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')
-rw-r--r--data/network-cmds/_metadata/provides1
-rw-r--r--data/network-cmds/_metadata/version2
-rw-r--r--data/network-cmds/make.sh21
-rw-r--r--data/network-cmds/network_cmds-306.tar.gzbin505632 -> 0 bytes
-rw-r--r--data/network-cmds/network_cmds-307.0.1.tar.gzbin0 -> 480118 bytes
5 files changed, 19 insertions, 5 deletions
diff --git a/data/network-cmds/_metadata/provides b/data/network-cmds/_metadata/provides
new file mode 100644
index 000000000..0273413f0
--- /dev/null
+++ b/data/network-cmds/_metadata/provides
@@ -0,0 +1 @@
+arp, ifconfig, netstat, route, traceroute
diff --git a/data/network-cmds/_metadata/version b/data/network-cmds/_metadata/version
index cd307095a..83270bea3 100644
--- a/data/network-cmds/_metadata/version
+++ b/data/network-cmds/_metadata/version
@@ -1 +1 @@
-306
+307.0.1
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
diff --git a/data/network-cmds/network_cmds-306.tar.gz b/data/network-cmds/network_cmds-306.tar.gz
deleted file mode 100644
index a3e30a72a..000000000
--- a/data/network-cmds/network_cmds-306.tar.gz
+++ /dev/null
Binary files differ
diff --git a/data/network-cmds/network_cmds-307.0.1.tar.gz b/data/network-cmds/network_cmds-307.0.1.tar.gz
new file mode 100644
index 000000000..00ca2b9a7
--- /dev/null
+++ b/data/network-cmds/network_cmds-307.0.1.tar.gz
Binary files differ