Skip to contentSkip to conversation

smcroute: new package

PATCH New Matt Weber 2 participants 2 messages Dec 16, 2013

lore
Share & tools
lore

Matt Weber

author
#0 lore raw

PATCH v2 1/1 smcroute: new package

---

Changes v1 -> v2
- Fixed double spaces in both files (Suggested by Thomas)
- Removed source archive definition (Suggested by Thomas)
- Fixed spelling in Config.in (Suggested by Peter)
- Added dependency on IPV6 (Suggested by Peter)
- Tested for uclibc compatibility

---
 package/Config.in            |    1 +
 package/smcroute/Config.in   |   15 +++++++++++++++
 package/smcroute/smcroute.mk |   15 +++++++++++++++
 3 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100755 package/smcroute/Config.in
 create mode 100755 package/smcroute/smcroute.mk
package/Config.in +1 -0
index be16714..78a9e16 100644
@@ -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"
package/smcroute/Config.in new file +15 -0
new file mode 100755
index 0000000..df42db3
@@ -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
package/smcroute/smcroute.mk new file +15 -0
new file mode 100755
index 0000000..896db8c
@@ -0,0 +1,15 @@
+################################################################################
+#
+# 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))
Signature · 1 line
1.7.1