summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/network-cmds/_metadata/depends1
-rw-r--r--data/network-cmds/_metadata/description (renamed from data/_network-cmds/_metadata/description)0
l---------data/network-cmds/_metadata/license1
l---------data/network-cmds/_metadata/maintainer1
-rw-r--r--data/network-cmds/_metadata/name1
l---------data/network-cmds/_metadata/priority1
l---------data/network-cmds/_metadata/role1
l---------data/network-cmds/_metadata/section1
l---------data/network-cmds/_metadata/tags1
l---------data/network-cmds/_metadata/version1
-rw-r--r--data/network-cmds/make.sh2
-rw-r--r--data/rtadvd/_metadata/depends1
-rw-r--r--data/rtadvd/_metadata/description1
-rwxr-xr-xdata/rtadvd/_metadata/extrainst_8
l---------data/rtadvd/_metadata/license1
l---------data/rtadvd/_metadata/maintainer1
-rw-r--r--data/rtadvd/_metadata/name1
-rwxr-xr-xdata/rtadvd/_metadata/postrm8
-rwxr-xr-xdata/rtadvd/_metadata/preinst8
l---------data/rtadvd/_metadata/priority1
-rw-r--r--data/rtadvd/_metadata/replaces1
l---------data/rtadvd/_metadata/role1
l---------data/rtadvd/_metadata/section1
l---------data/rtadvd/_metadata/tags1
l---------data/rtadvd/_metadata/version1
-rw-r--r--data/rtadvd/make.sh2
26 files changed, 48 insertions, 0 deletions
diff --git a/data/network-cmds/_metadata/depends b/data/network-cmds/_metadata/depends
new file mode 100644
index 000000000..5e1bbe7aa
--- /dev/null
+++ b/data/network-cmds/_metadata/depends
@@ -0,0 +1 @@
+firmware (>= 9.0) | rtadvd
diff --git a/data/_network-cmds/_metadata/description b/data/network-cmds/_metadata/description
index 0273413f0..0273413f0 100644
--- a/data/_network-cmds/_metadata/description
+++ b/data/network-cmds/_metadata/description
diff --git a/data/network-cmds/_metadata/license b/data/network-cmds/_metadata/license
new file mode 120000
index 000000000..ba8db2d02
--- /dev/null
+++ b/data/network-cmds/_metadata/license
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/license \ 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..3cfa6bb1c
--- /dev/null
+++ b/data/network-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/maintainer \ No newline at end of file
diff --git a/data/network-cmds/_metadata/name b/data/network-cmds/_metadata/name
new file mode 100644
index 000000000..ba3a4b901
--- /dev/null
+++ b/data/network-cmds/_metadata/name
@@ -0,0 +1 @@
+Network Commands
diff --git a/data/network-cmds/_metadata/priority b/data/network-cmds/_metadata/priority
new file mode 120000
index 000000000..5818fa2cd
--- /dev/null
+++ b/data/network-cmds/_metadata/priority
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/priority \ No newline at end of file
diff --git a/data/network-cmds/_metadata/role b/data/network-cmds/_metadata/role
new file mode 120000
index 000000000..40c38e1a3
--- /dev/null
+++ b/data/network-cmds/_metadata/role
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/role \ No newline at end of file
diff --git a/data/network-cmds/_metadata/section b/data/network-cmds/_metadata/section
new file mode 120000
index 000000000..50e640619
--- /dev/null
+++ b/data/network-cmds/_metadata/section
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/section \ No newline at end of file
diff --git a/data/network-cmds/_metadata/tags b/data/network-cmds/_metadata/tags
new file mode 120000
index 000000000..701c13230
--- /dev/null
+++ b/data/network-cmds/_metadata/tags
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/tags \ No newline at end of file
diff --git a/data/network-cmds/_metadata/version b/data/network-cmds/_metadata/version
new file mode 120000
index 000000000..36c438a5b
--- /dev/null
+++ b/data/network-cmds/_metadata/version
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/version \ No newline at end of file
diff --git a/data/network-cmds/make.sh b/data/network-cmds/make.sh
new file mode 100644
index 000000000..816f5fe05
--- /dev/null
+++ b/data/network-cmds/make.sh
@@ -0,0 +1,2 @@
+cp -a "$(PKG_DEST_ _network-cmds)"/* "${PKG_DEST}"
+pkg: rm -f /usr/sbin/rtadvd
diff --git a/data/rtadvd/_metadata/depends b/data/rtadvd/_metadata/depends
new file mode 100644
index 000000000..638049157
--- /dev/null
+++ b/data/rtadvd/_metadata/depends
@@ -0,0 +1 @@
+firmware (<< 9.0)
diff --git a/data/rtadvd/_metadata/description b/data/rtadvd/_metadata/description
new file mode 100644
index 000000000..079bba434
--- /dev/null
+++ b/data/rtadvd/_metadata/description
@@ -0,0 +1 @@
+"mistakes were made" (on iOS 8)
diff --git a/data/rtadvd/_metadata/extrainst_ b/data/rtadvd/_metadata/extrainst_
new file mode 100755
index 000000000..7faea1237
--- /dev/null
+++ b/data/rtadvd/_metadata/extrainst_
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [[ $1 == install || $1 == upgrade ]]; then
+ bin=/usr/sbin/rtadvd
+ if [[ -e "${bin}".sbin ]]; then
+ mv -f "${bin}"{.sbin,} || exit 1
+ fi
+fi
diff --git a/data/rtadvd/_metadata/license b/data/rtadvd/_metadata/license
new file mode 120000
index 000000000..ba8db2d02
--- /dev/null
+++ b/data/rtadvd/_metadata/license
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/license \ No newline at end of file
diff --git a/data/rtadvd/_metadata/maintainer b/data/rtadvd/_metadata/maintainer
new file mode 120000
index 000000000..3cfa6bb1c
--- /dev/null
+++ b/data/rtadvd/_metadata/maintainer
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/maintainer \ No newline at end of file
diff --git a/data/rtadvd/_metadata/name b/data/rtadvd/_metadata/name
new file mode 100644
index 000000000..2180cc026
--- /dev/null
+++ b/data/rtadvd/_metadata/name
@@ -0,0 +1 @@
+Router Advisement Daemon
diff --git a/data/rtadvd/_metadata/postrm b/data/rtadvd/_metadata/postrm
new file mode 100755
index 000000000..ed3dfacdd
--- /dev/null
+++ b/data/rtadvd/_metadata/postrm
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [[ $1 == abort-install || $1 == abort-upgrade ]]; then
+ bin=/usr/sbin/rtadvd
+ if [[ -e "${bin}".sbin ]]; then
+ mv -f -v "${bin}"{.sbin,} || exit 1
+ fi
+fi
diff --git a/data/rtadvd/_metadata/preinst b/data/rtadvd/_metadata/preinst
new file mode 100755
index 000000000..3df017f4c
--- /dev/null
+++ b/data/rtadvd/_metadata/preinst
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [[ $1 == install || $1 == upgrade ]]; then
+ bin=/usr/sbin/rtadvd
+ if [[ -e "${bin}" ]]; then
+ cp -af "${bin}"{,.sbin} || exit 1
+ fi
+fi
diff --git a/data/rtadvd/_metadata/priority b/data/rtadvd/_metadata/priority
new file mode 120000
index 000000000..5818fa2cd
--- /dev/null
+++ b/data/rtadvd/_metadata/priority
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/priority \ No newline at end of file
diff --git a/data/rtadvd/_metadata/replaces b/data/rtadvd/_metadata/replaces
new file mode 100644
index 000000000..3a3292abe
--- /dev/null
+++ b/data/rtadvd/_metadata/replaces
@@ -0,0 +1 @@
+network-cmds
diff --git a/data/rtadvd/_metadata/role b/data/rtadvd/_metadata/role
new file mode 120000
index 000000000..40c38e1a3
--- /dev/null
+++ b/data/rtadvd/_metadata/role
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/role \ No newline at end of file
diff --git a/data/rtadvd/_metadata/section b/data/rtadvd/_metadata/section
new file mode 120000
index 000000000..50e640619
--- /dev/null
+++ b/data/rtadvd/_metadata/section
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/section \ No newline at end of file
diff --git a/data/rtadvd/_metadata/tags b/data/rtadvd/_metadata/tags
new file mode 120000
index 000000000..701c13230
--- /dev/null
+++ b/data/rtadvd/_metadata/tags
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/tags \ No newline at end of file
diff --git a/data/rtadvd/_metadata/version b/data/rtadvd/_metadata/version
new file mode 120000
index 000000000..36c438a5b
--- /dev/null
+++ b/data/rtadvd/_metadata/version
@@ -0,0 +1 @@
+../../_network-cmds/_metadata/version \ No newline at end of file
diff --git a/data/rtadvd/make.sh b/data/rtadvd/make.sh
new file mode 100644
index 000000000..c82a530b2
--- /dev/null
+++ b/data/rtadvd/make.sh
@@ -0,0 +1,2 @@
+pkg: mkdir -p /usr/sbin
+cp -a "$(PKG_DEST_ _network-cmds)"/usr/sbin/rtadvd "${PKG_DEST}"/usr/sbin