summaryrefslogtreecommitdiff
path: root/openwrt/package/quagga/ipkg
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-07 11:57:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-07 11:57:20 +0000
commitd58a09110ccfa95f06c983fe796806f2e035c9d2 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /openwrt/package/quagga/ipkg
parentaf034797eeb62b62ac05442d5a688b28ccd0f16b (diff)
downloadmtk-20170518-d58a09110ccfa95f06c983fe796806f2e035c9d2.zip
mtk-20170518-d58a09110ccfa95f06c983fe796806f2e035c9d2.tar.gz
mtk-20170518-d58a09110ccfa95f06c983fe796806f2e035c9d2.tar.bz2
move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready
SVN-Revision: 4944
Diffstat (limited to 'openwrt/package/quagga/ipkg')
-rw-r--r--openwrt/package/quagga/ipkg/quagga-bgpd.control6
-rw-r--r--openwrt/package/quagga/ipkg/quagga-ospf6d.control6
-rw-r--r--openwrt/package/quagga/ipkg/quagga-ospfd.control6
-rw-r--r--openwrt/package/quagga/ipkg/quagga-ripd.control6
-rw-r--r--openwrt/package/quagga/ipkg/quagga-ripngd.control6
-rw-r--r--openwrt/package/quagga/ipkg/quagga-vtysh.control6
-rw-r--r--openwrt/package/quagga/ipkg/quagga.control6
-rw-r--r--openwrt/package/quagga/ipkg/quagga.postinst48
8 files changed, 0 insertions, 90 deletions
diff --git a/openwrt/package/quagga/ipkg/quagga-bgpd.control b/openwrt/package/quagga/ipkg/quagga-bgpd.control
deleted file mode 100644
index d8e9b80..0000000
--- a/openwrt/package/quagga/ipkg/quagga-bgpd.control
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: quagga-bgpd
-Priority: optional
-Section: net
-Depends: quagga
-Description: A BGPv4, BGPv4+, BGPv4- routing engine for use with Quagga
- routing software
diff --git a/openwrt/package/quagga/ipkg/quagga-ospf6d.control b/openwrt/package/quagga/ipkg/quagga-ospf6d.control
deleted file mode 100644
index 07cf205..0000000
--- a/openwrt/package/quagga/ipkg/quagga-ospf6d.control
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: quagga-ospf6d
-Priority: optional
-Section: net
-Depends: quagga
-Description: An OSPFv3 routing engine for use with Quagga
- routing software
diff --git a/openwrt/package/quagga/ipkg/quagga-ospfd.control b/openwrt/package/quagga/ipkg/quagga-ospfd.control
deleted file mode 100644
index c9fc77c..0000000
--- a/openwrt/package/quagga/ipkg/quagga-ospfd.control
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: quagga-ospfd
-Priority: optional
-Section: net
-Depends: quagga
-Description: An OSPFv2 routing engine for use with Quagga
- routing software
diff --git a/openwrt/package/quagga/ipkg/quagga-ripd.control b/openwrt/package/quagga/ipkg/quagga-ripd.control
deleted file mode 100644
index e7ff899..0000000
--- a/openwrt/package/quagga/ipkg/quagga-ripd.control
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: quagga-ripd
-Priority: optional
-Section: net
-Depends: quagga
-Description: A RIP routing engine for use with Quagga
- routing software
diff --git a/openwrt/package/quagga/ipkg/quagga-ripngd.control b/openwrt/package/quagga/ipkg/quagga-ripngd.control
deleted file mode 100644
index f6b2804..0000000
--- a/openwrt/package/quagga/ipkg/quagga-ripngd.control
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: quagga-ripngd
-Priority: optional
-Section: net
-Depends: quagga
-Description: A RIPNG routing engine for use with Quagga
- routing software
diff --git a/openwrt/package/quagga/ipkg/quagga-vtysh.control b/openwrt/package/quagga/ipkg/quagga-vtysh.control
deleted file mode 100644
index b26d11d..0000000
--- a/openwrt/package/quagga/ipkg/quagga-vtysh.control
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: quagga-vtysh
-Priority: optional
-Section: net
-Depends: quagga, libncurses, libreadline
-Description: integrated shell for interacting with Quagga
- routing software
diff --git a/openwrt/package/quagga/ipkg/quagga.control b/openwrt/package/quagga/ipkg/quagga.control
deleted file mode 100644
index 303f299..0000000
--- a/openwrt/package/quagga/ipkg/quagga.control
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: quagga
-Priority: optional
-Section: net
-Description: A routing software package that provides TCP/IP
- based routing services with routing protocols support such
- as RIPv1, RIPv2, RIPng, OSPFv2, OSPFv3, BGP-4, and BGP-4+.
diff --git a/openwrt/package/quagga/ipkg/quagga.postinst b/openwrt/package/quagga/ipkg/quagga.postinst
deleted file mode 100644
index 90ffe61..0000000
--- a/openwrt/package/quagga/ipkg/quagga.postinst
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-name=quagga
-id=51
-dir=/var/run/quagga
-
-# do not change below
-# check if we are on real system
-if [ -z "${IPKG_INSTROOT}" ]; then
- # create copies of passwd and group, if we use squashfs
- rootfs=`mount |awk '/root/ { print $5 }'`
- if [ "$rootfs" = "squashfs" ]; then
- if [ -h /etc/group ]; then
- rm /etc/group
- cp /rom/etc/group /etc/group
- fi
- if [ -h /etc/passwd ]; then
- rm /etc/passwd
- cp /rom/etc/passwd /etc/passwd
- fi
- fi
-fi
-
-echo ""
-if [ -z "$(grep ^\\${name}: ${IPKG_INSTROOT}/etc/group)" ]; then
- echo "adding group $name to /etc/group"
- echo "${name}:x:${id}:" >> ${IPKG_INSTROOT}/etc/group
-fi
-
-if [ -z "$(grep ^\\${name}: ${IPKG_INSTROOT}/etc/passwd)" ]; then
- echo "adding user $name to /etc/passwd"
- echo "${name}:x:${id}:${id}:${name}:/tmp/.${name}:/bin/false" >> ${IPKG_INSTROOT}/etc/passwd
-fi
-
-grep -q '^zebra[[:space:]]*2601/tcp' ${IPKG_INSTROOT}/etc/services 2>/dev/null
-if [ $? -ne 0 ]; then
-echo "zebrasrv 2600/tcp" >>${IPKG_INSTROOT}/etc/services
-echo "zebra 2601/tcp" >>${IPKG_INSTROOT}/etc/services
-echo "ripd 2602/tcp" >>${IPKG_INSTROOT}/etc/services
-echo "ripngd 2603/tcp" >>${IPKG_INSTROOT}/etc/services
-echo "ospfd 2604/tcp" >>${IPKG_INSTROOT}/etc/services
-echo "bgpd 2605/tcp" >>${IPKG_INSTROOT}/etc/services
-echo "ospf6d 2606/tcp" >>${IPKG_INSTROOT}/etc/services
-echo "ospfapi 2607/tcp" >>${IPKG_INSTROOT}/etc/services
-echo "isisd 2608/tcp" >>${IPKG_INSTROOT}/etc/services
-fi
-
-chown -R $name:$name $dir