summaryrefslogtreecommitdiff
path: root/data/_network-cmds
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2015-10-13 12:56:09 +0000
committerJay Freeman <saurik@saurik.com>2015-10-13 12:56:09 +0000
commit60813e41cebfabd9987028a13275d8ebfbc1d191 (patch)
treeb43e6eed6aaf1a5821c08c2ce2d57510e4a8001d /data/_network-cmds
parent2e7d3e8671f3066b1dd386e1bd6624b12632762a (diff)
Stage one: hide network-cmds.
git-svn-id: http://svn.telesphoreo.org/trunk@810 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/_network-cmds')
-rw-r--r--data/_network-cmds/_metadata/description1
l---------data/_network-cmds/_metadata/license1
l---------data/_network-cmds/_metadata/maintainer1
-rw-r--r--data/_network-cmds/_metadata/priority1
-rw-r--r--data/_network-cmds/_metadata/provides1
-rw-r--r--data/_network-cmds/_metadata/role1
-rw-r--r--data/_network-cmds/_metadata/section1
-rw-r--r--data/_network-cmds/_metadata/tags1
-rw-r--r--data/_network-cmds/_metadata/version1
-rw-r--r--data/_network-cmds/make.sh22
-rw-r--r--data/_network-cmds/network_cmds-307.0.1.tar.gzbin0 -> 480118 bytes
11 files changed, 31 insertions, 0 deletions
diff --git a/data/_network-cmds/_metadata/description b/data/_network-cmds/_metadata/description
new file mode 100644
index 000000000..0273413f0
--- /dev/null
+++ b/data/_network-cmds/_metadata/description
@@ -0,0 +1 @@
+arp, ifconfig, netstat, route, traceroute
diff --git a/data/_network-cmds/_metadata/license b/data/_network-cmds/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/_network-cmds/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/_network-cmds/_metadata/maintainer b/data/_network-cmds/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/_network-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/_network-cmds/_metadata/priority b/data/_network-cmds/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/_network-cmds/_metadata/priority
@@ -0,0 +1 @@
+important
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/role b/data/_network-cmds/_metadata/role
new file mode 100644
index 000000000..52b4d7301
--- /dev/null
+++ b/data/_network-cmds/_metadata/role
@@ -0,0 +1 @@
+hacker
diff --git a/data/_network-cmds/_metadata/section b/data/_network-cmds/_metadata/section
new file mode 100644
index 000000000..8708e4b54
--- /dev/null
+++ b/data/_network-cmds/_metadata/section
@@ -0,0 +1 @@
+Networking
diff --git a/data/_network-cmds/_metadata/tags b/data/_network-cmds/_metadata/tags
new file mode 100644
index 000000000..ad5d50831
--- /dev/null
+++ b/data/_network-cmds/_metadata/tags
@@ -0,0 +1 @@
+purpose::console
diff --git a/data/_network-cmds/_metadata/version b/data/_network-cmds/_metadata/version
new file mode 100644
index 000000000..83270bea3
--- /dev/null
+++ b/data/_network-cmds/_metadata/version
@@ -0,0 +1 @@
+307.0.1
diff --git a/data/_network-cmds/make.sh b/data/_network-cmds/make.sh
new file mode 100644
index 000000000..f4d4a4d60
--- /dev/null
+++ b/data/_network-cmds/make.sh
@@ -0,0 +1,22 @@
+shopt -s extglob
+pkg:setup
+
+for tproj in !(natd|ping|rarpd|spray).tproj; do
+ tproj=$(basename "${tproj}" .tproj)
+ echo "${tproj}"
+ "${PKG_TARG}-gcc" -O2 -mthumb -o "${tproj}" "${tproj}.tproj"/!(ns).c -DPRIVATE -Dether_ntohost=_old_ether_ntohost
+done
+
+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-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