summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2014-01-17 15:25:52 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-01-22 12:22:39 +0100
commit9e174abc4a5fd5fe14b974b1ab20933874ddb112 (patch)
treeffda69f232c98fcecacf24345edfb74c5a34da25
parent039b0190d9049768876af892cf9e18324a8d7c63 (diff)
downloadmeta-openembedded-9e174abc4a5fd5fe14b974b1ab20933874ddb112.tar.gz
radvd: update to 1.9.8
Update radvd to version 1.9.8 * remove change-scanner-dependency.patch which is merged * add 'status' subcommand for radvd.init Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch24
-rwxr-xr-xmeta-networking/recipes-daemons/radvd/files/radvd.init9
-rw-r--r--meta-networking/recipes-daemons/radvd/radvd.inc7
-rw-r--r--meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb9
-rw-r--r--meta-networking/recipes-daemons/radvd/radvd_1.9.8.bb6
5 files changed, 21 insertions, 34 deletions
diff --git a/meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch b/meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch
deleted file mode 100644
index b190866c4..000000000
--- a/meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1scanner.c is generated by flex using scanner.l, scanner.l needs gram.h
2when produce scanner.c, so redefine the dependency relation
3
4Upstream-Status: Pending
5
6Signed-off-by: Roy.Li <rongqing.li@windriver.com>
7---
8 Makefile.am | 3 +--
9 1 files changed, 1 insertions(+), 2 deletions(-)
10
11diff --git a/Makefile.am b/Makefile.am
12index 04b834b..2da986c 100644
13--- a/Makefile.am
14+++ b/Makefile.am
15@@ -131,5 +131,4 @@ dist-hook:
16 rm -f $(distdir)/gram.h
17 rm -f $(distdir)/scanner.c
18
19-scanner.o: gram.h
20-
21+scanner.c: gram.h
22--
231.7.4.1
24
diff --git a/meta-networking/recipes-daemons/radvd/files/radvd.init b/meta-networking/recipes-daemons/radvd/files/radvd.init
index a48dff8c8..921384cb0 100755
--- a/meta-networking/recipes-daemons/radvd/files/radvd.init
+++ b/meta-networking/recipes-daemons/radvd/files/radvd.init
@@ -9,6 +9,9 @@
9# Description: router advertisement daemon 9# Description: router advertisement daemon
10### END INIT INFO 10### END INIT INFO
11 11
12# Source function library.
13. /etc/init.d/functions
14
12PATH=/sbin:/bin:/usr/sbin:/usr/bin 15PATH=/sbin:/bin:/usr/sbin:/usr/bin
13DAEMON=/usr/sbin/radvd 16DAEMON=/usr/sbin/radvd
14NAME=radvd 17NAME=radvd
@@ -95,6 +98,10 @@ case "$1" in
95 rm -f $SAVED_SETTINGS 98 rm -f $SAVED_SETTINGS
96 echo "$NAME." 99 echo "$NAME."
97 ;; 100 ;;
101 status)
102 status $DAEMON;
103 exit $?
104 ;;
98 reload|force-reload) 105 reload|force-reload)
99 echo "Reloading $DESC configuration files." 106 echo "Reloading $DESC configuration files."
100 start-stop-daemon --stop --signal HUP --quiet --pidfile \ 107 start-stop-daemon --stop --signal HUP --quiet --pidfile \
@@ -116,7 +123,7 @@ case "$1" in
116 ;; 123 ;;
117 *) 124 *)
118 N=/etc/init.d/$NAME 125 N=/etc/init.d/$NAME
119 echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 126 echo "Usage: $N {start|stop|status|restart|reload|force-reload}" >&2
120 exit 1 127 exit 1
121 ;; 128 ;;
122esac 129esac
diff --git a/meta-networking/recipes-daemons/radvd/radvd.inc b/meta-networking/recipes-daemons/radvd/radvd.inc
index f314feef0..9e194012c 100644
--- a/meta-networking/recipes-daemons/radvd/radvd.inc
+++ b/meta-networking/recipes-daemons/radvd/radvd.inc
@@ -1,4 +1,11 @@
1SUMMARY = "IPv6 router advertisement daemon" 1SUMMARY = "IPv6 router advertisement daemon"
2DESCRIPTION = "radvd is the router advertisement daemon for IPv6. It \
3listens to router solicitations and sends router \
4advertisements as described in RFC 2461, Neighbor \
5Discovery for IP Version 6 (IPv6). With these \
6advertisements hosts can automatically configure their \
7addresses and some other parameters. They also can \
8choose a default router based on these advertisements."
2HOMEPAGE = "http://www.litech.org/radvd/" 9HOMEPAGE = "http://www.litech.org/radvd/"
3SECTION = "console/network" 10SECTION = "console/network"
4DEPENDS = "flex-native libdaemon" 11DEPENDS = "flex-native libdaemon"
diff --git a/meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb b/meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb
deleted file mode 100644
index 0dccdeddd..000000000
--- a/meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1PR = "r1"
2
3require radvd.inc
4
5SRC_URI[md5sum] = "e807ad7e9a76d46b6133df391385cd31"
6SRC_URI[sha256sum] = "54eb5704a2b710ba946fa30d2bca811fa23b1b3bfab322c38cb0c2a9619aa933"
7
8SRC_URI += "\
9 file://change-scanner-dependency.patch"
diff --git a/meta-networking/recipes-daemons/radvd/radvd_1.9.8.bb b/meta-networking/recipes-daemons/radvd/radvd_1.9.8.bb
new file mode 100644
index 000000000..407eb43d3
--- /dev/null
+++ b/meta-networking/recipes-daemons/radvd/radvd_1.9.8.bb
@@ -0,0 +1,6 @@
1PR = "r0"
2
3require radvd.inc
4
5SRC_URI[md5sum] = "7a96a38252c3964ee18bbc1fdeae25fa"
6SRC_URI[sha256sum] = "645ccf1c9b16e769ff4179813712e580e2c8786d64a888d8afa1e296c057c1c1"