summaryrefslogtreecommitdiff
path: root/data/rtadvd
diff options
context:
space:
mode:
Diffstat (limited to 'data/rtadvd')
-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
15 files changed, 37 insertions, 0 deletions
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