Skip to content

bump smcroute and add start script

Joachim Wiberg buildroot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

- fixed incorrect use of global CFLAGS in .mk (Thomas)
- bump to latest upstream, v2.5.2
- add sysv init script with optional /etc/default/smcroute
- clean up compat script wrapper post-install

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3package/smcroute: bump version to v2.5.2package/smcroute/smcroute.hash package/smcroute/smcroute.mk+6 -81 reply
2/3package/smcroute: add sysv init scriptpackage/smcroute/S41smcroute package/smcroute/smcroute.mk+53 -02 replies
3/3package/smcroute: prune old smcroute compat scriptpackage/smcroute/smcroute.mk+6 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas Petazzoni
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/3] bump smcroute and add start script

Hi everyone!

This is the third version of the patch to update SMCRoute to the latest version. Previous versions were audited by Yegor and Thomas, thank you for that! There is a fresh bug fix release upstream and this patch set has been updated to reflect that.

Also, there is now a SysV start script included, installed when a SysV init is used. The upstream systemd unit file was already instaled when systemd is used. Both of them support an optional /etc/default/smcroute environment file that is sourced before starting smcrouted, for site local cmdline options.

Basic tests pass:

    $ ./utils/check-package package/smcroute/*
    56 lines processed
    0 warnings generated
    $ ./utils/test-pkg -c smcroute.config -p smcroute
                        bootlin-armv5-uclibc [1/6]: OK
                         bootlin-armv7-glibc [2/6]: OK
                       bootlin-armv7m-uclibc [3/6]: SKIPPED
                         bootlin-x86-64-musl [4/6]: OK
                          br-arm-full-static [5/6]: OK
                                sourcery-arm [6/6]: OK
    6 builds, 1 skipped, 0 build failed, 0 legal-info failed

To verify the integration, manual testing from a clean master branch, has been performed in Qemu (Aarch64) using with both BusyBox init and systemd.

Best regards
/Joachim

---
v2:
- fixed incorrect use of global CFLAGS in .mk (Thomas)
- bump to latest upstream, v2.5.2
- add sysv init script with optional /etc/default/smcroute
- clean up compat script wrapper post-install

Joachim Wiberg (3):
package/smcroute: bump version to v2.5.2 package/smcroute: add sysv init script package/smcroute: prune old smcroute compat script

 package/smcroute/S41smcroute   | 48 ++++++++++++++++++++++++++++++++++
 package/smcroute/smcroute.hash |  7 ++---
 package/smcroute/smcroute.mk   | 18 +++++++++----
 3 files changed, 65 insertions(+), 8 deletions(-)
 create mode 100755 package/smcroute/S41smcroute
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot