summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rwxr-xr-xpackage/smcroute/Config.in15
-rwxr-xr-xpackage/smcroute/smcroute.mk16
3 files changed, 32 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index be167145c0..78a9e16057 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -891,6 +891,7 @@ source "package/rtptools/Config.in"
source "package/samba/Config.in"
source "package/sconeserver/Config.in"
source "package/ser2net/Config.in"
+source "package/smcroute/Config.in"
source "package/socat/Config.in"
source "package/socketcand/Config.in"
source "package/spawn-fcgi/Config.in"
diff --git a/package/smcroute/Config.in b/package/smcroute/Config.in
new file mode 100755
index 0000000000..df42db33d7
--- /dev/null
+++ b/package/smcroute/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_SMCROUTE
+ bool "smcroute"
+ depends on BR2_INET_IPV6
+ help
+ SMCRoute is a command line tool to manipulate the multicast
+ routes of a UNIX kernel. It supports both IPv4 and IPv6 multicast
+ routing. SMCRoute can be used as an alternative to dynamic
+ multicast routers like mrouted or pimd in setups where static
+ multicast routes should be maintained and/or no proper IGMP or
+ MLD signaling exists.
+
+ https://github.com/troglobit/smcroute
+
+comment "smcroute needs a toolchain w/ IPv6"
+ depends on !BR2_INET_IPV6
diff --git a/package/smcroute/smcroute.mk b/package/smcroute/smcroute.mk
new file mode 100755
index 0000000000..63a44c9a57
--- /dev/null
+++ b/package/smcroute/smcroute.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# smcroute
+#
+################################################################################
+
+SMCROUTE_VERSION = 1.99.2
+SMCROUTE_SITE = $(call github,troglobit,smcroute,$(SMCROUTE_VERSION))
+SMCROUTE_LICENSE = GPLv2+
+SMCROUTE_LICENSE_FILES = COPYING
+
+SMCROUTE_CONF_OPT = ac_cv_func_setpgrp_void=yes
+#BUG:The package Makefile uses CC?= even though the package is autotools based
+SMCROUTE_MAKE_ENV = $(TARGET_CONFIGURE_OPTS)
+
+$(eval $(autotools-package))
OpenPOWER on IntegriCloud