Skip to contentSkip to conversation

radvd: update to 1.9.8

PATCH In review Kai Kang 2 participants 3 messages Jan 17, 2014 – Jan 22, 2014

lore
Share & tools
lore

Kai Kang

author
#0 lore raw

PATCH 1/1 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

---
 .../radvd/files/change-scanner-dependency.patch    | 24 ----------------------
 .../recipes-daemons/radvd/files/radvd.init         |  9 +++++++-
 meta-networking/recipes-daemons/radvd/radvd.inc    |  7 +++++++
 .../radvd/{radvd_1.9.1.bb => radvd_1.9.8.bb}       |  9 +++-----
 4 files changed, 18 insertions(+), 31 deletions(-)
 delete mode 100644 meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch
 rename meta-networking/recipes-daemons/radvd/{radvd_1.9.1.bb => radvd_1.9.8.bb} (8%)
meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch deleted +0 -24
deleted file mode 100644
index b190866..0000000
@@ -1,24 +0,0 @@
-scanner.c is generated by flex using scanner.l, scanner.l needs gram.h
-when produce scanner.c, so redefine the dependency relation
-
-Upstream-Status: Pending
-
-Signed-off-by: Roy.Li <[email protected]>
----
- Makefile.am |    3 +--
- 1 files changed, 1 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 04b834b..2da986c 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -131,5 +131,4 @@ dist-hook:
- 	rm -f $(distdir)/gram.h
- 	rm -f $(distdir)/scanner.c
- 
--scanner.o: gram.h
--
-+scanner.c: gram.h
--- 
-1.7.4.1
-
meta-networking/recipes-daemons/radvd/files/radvd.init +8 -1
index a48dff8..921384c 100755
@@ -9,6 +9,9 @@
 # Description:    router advertisement daemon
 ### END INIT INFO
 
+# Source function library.
+. /etc/init.d/functions
+
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/radvd
 NAME=radvd
@@ -95,6 +98,10 @@ case "$1" in
 	rm -f $SAVED_SETTINGS
 	echo "$NAME."
 	;;
+  status)
+	status $DAEMON;
+	exit $?
+	;;
   reload|force-reload)
 	echo "Reloading $DESC configuration files."
 	start-stop-daemon --stop --signal HUP --quiet --pidfile \
@@ -116,7 +123,7 @@ case "$1" in
 	;;
   *)
 	N=/etc/init.d/$NAME
-	echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $N {start|stop|status|restart|reload|force-reload}" >&2
 	exit 1
 	;;
 esac
meta-networking/recipes-daemons/radvd/radvd.inc +7 -0
index f314fee..9e19401 100644
@@ -1,4 +1,11 @@
 SUMMARY = "IPv6 router advertisement daemon"
+DESCRIPTION = "radvd is the router advertisement daemon for IPv6. It \
+listens to router solicitations and sends router \
+advertisements as described in RFC 2461, Neighbor \
+Discovery for IP Version 6 (IPv6). With these \
+advertisements hosts can automatically configure their \
+addresses and some other parameters. They also can \
+choose a default router based on these advertisements."
 HOMEPAGE = "http://www.litech.org/radvd/"
 SECTION = "console/network"
 DEPENDS = "flex-native libdaemon"
meta-networking/recipes-daemons/radvd/radvd_1.9.8.bb renamed from meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb +3 -6
similarity index 8%
rename from meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb
rename to meta-networking/recipes-daemons/radvd/radvd_1.9.8.bb
index 0dccded..407eb43 100644
@@ -1,9 +1,6 @@
-PR = "r1"
+PR = "r0"
 
 require radvd.inc
 
-SRC_URI[md5sum] = "e807ad7e9a76d46b6133df391385cd31"
-SRC_URI[sha256sum] = "54eb5704a2b710ba946fa30d2bca811fa23b1b3bfab322c38cb0c2a9619aa933"
-
-SRC_URI += "\
-    file://change-scanner-dependency.patch"
+SRC_URI[md5sum] = "7a96a38252c3964ee18bbc1fdeae25fa"
+SRC_URI[sha256sum] = "645ccf1c9b16e769ff4179813712e580e2c8786d64a888d8afa1e296c057c1c1"
Signature · 1 line
1.8.1.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Kai Kang

Update radvd to version 1.9.8

* remove change-scanner-dependency.patch which is merged
* add 'status' subcommand for radvd.init

For a subsequent patch, couldn't it be moved to meta-networking?

Quoted 116 lines
---
 .../radvd/files/change-scanner-dependency.patch    | 24 ----------------------
 .../recipes-daemons/radvd/files/radvd.init         |  9 +++++++-
 meta-networking/recipes-daemons/radvd/radvd.inc    |  7 +++++++
 .../radvd/{radvd_1.9.1.bb => radvd_1.9.8.bb}       |  9 +++-----
 4 files changed, 18 insertions(+), 31 deletions(-)
 delete mode 100644 meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch
 rename meta-networking/recipes-daemons/radvd/{radvd_1.9.1.bb => radvd_1.9.8.bb} (8%)
meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch deleted +0 -24
deleted file mode 100644
index b190866..0000000
@@ -1,24 +0,0 @@
-scanner.c is generated by flex using scanner.l, scanner.l needs gram.h
-when produce scanner.c, so redefine the dependency relation
-
-Upstream-Status: Pending
-
-Signed-off-by: Roy.Li <[email protected]>
----
- Makefile.am |    3 +--
- 1 files changed, 1 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 04b834b..2da986c 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -131,5 +131,4 @@ dist-hook:
-       rm -f $(distdir)/gram.h
-       rm -f $(distdir)/scanner.c
-
--scanner.o: gram.h
--
-+scanner.c: gram.h
---
-1.7.4.1
-
meta-networking/recipes-daemons/radvd/files/radvd.init +8 -1
index a48dff8..921384c 100755
@@ -9,6 +9,9 @@
 # Description:    router advertisement daemon
 ### END INIT INFO
 
+# Source function library.
+. /etc/init.d/functions
+
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/radvd
 NAME=radvd
@@ -95,6 +98,10 @@ case "$1" in
        rm -f $SAVED_SETTINGS
        echo "$NAME."
        ;;
+  status)
+       status $DAEMON;
+       exit $?
+       ;;
   reload|force-reload)
        echo "Reloading $DESC configuration files."
        start-stop-daemon --stop --signal HUP --quiet --pidfile \
@@ -116,7 +123,7 @@ case "$1" in
        ;;
   *)
        N=/etc/init.d/$NAME
-       echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+       echo "Usage: $N {start|stop|status|restart|reload|force-reload}" >&2
        exit 1
        ;;
 esac
meta-networking/recipes-daemons/radvd/radvd.inc +7 -0
index f314fee..9e19401 100644
@@ -1,4 +1,11 @@
 SUMMARY = "IPv6 router advertisement daemon"
+DESCRIPTION = "radvd is the router advertisement daemon for IPv6. It \
+listens to router solicitations and sends router \
+advertisements as described in RFC 2461, Neighbor \
+Discovery for IP Version 6 (IPv6). With these \
+advertisements hosts can automatically configure their \
+addresses and some other parameters. They also can \
+choose a default router based on these advertisements."
 HOMEPAGE = "http://www.litech.org/radvd/"
 SECTION = "console/network"
 DEPENDS = "flex-native libdaemon"
meta-networking/recipes-daemons/radvd/radvd_1.9.8.bb renamed from meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb +3 -7
similarity index 8%
rename from meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb
rename to meta-networking/recipes-daemons/radvd/radvd_1.9.8.bb
index 0dccded..407eb43 100644
@@ -1,9 +1,6 @@
-PR = "r1"
+PR = "r0"
 
 require radvd.inc
 
-SRC_URI[md5sum] = "e807ad7e9a76d46b6133df391385cd31"
-SRC_URI[sha256sum] = "54eb5704a2b710ba946fa30d2bca811fa23b1b3bfab322c38cb0c2a9619aa933"
-
-SRC_URI += "\
-    file://change-scanner-dependency.patch"
+SRC_URI[md5sum] = "7a96a38252c3964ee18bbc1fdeae25fa"
+SRC_URI[sha256sum] = "645ccf1c9b16e769ff4179813712e580e2c8786d64a888d8afa1e296c057c1c1"
--

1.8.1.2

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw
Quoted 11 lines · Otavio Salvador
Quoted 6 lines · Kai Kang

Update radvd to version 1.9.8

* remove change-scanner-dependency.patch which is merged
* add 'status' subcommand for radvd.init

For a subsequent patch, couldn't it be moved to meta-networking?

Ignore it; the missing of meta-networking in the patch subject confused me. It is there already.

Thanks...

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750