Message ID | 1512992158-20572-1-git-send-email-sergio.prado@e-labworks.com |
---|---|
State | Superseded |
Headers | show |
Series | [v2] pimd: new package | expand |
Hi, Please ignore this patch. I've just noticed I put it the wrong menu option. I'll fix it and send V3. Best regards, Sergio Prado Embedded Labworks Office: +55 11 2628-3461 Mobile: +55 11 97123-3420 2017-12-11 9:35 GMT-02:00 Sergio Prado <sergio.prado@e-labworks.com>: > pimd is a lightweight stand-alone PIM-SM v2 multicast routing daemon. > > Tested on Beaglebone Black. > > Build-tested with test-pkg script. > > Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> > --- > > Changes v1->v2 > - added LICENSE.mrouted as a license file. > - changed to generic package, since it is not a real autotools based > package. > > --- > DEVELOPERS | 1 + > package/Config.in | 1 + > package/pimd/Config.in | 8 ++++++++ > package/pimd/pimd.hash | 6 ++++++ > package/pimd/pimd.mk | 38 ++++++++++++++++++++++++++++++++++++++ > 5 files changed, 54 insertions(+) > create mode 100644 package/pimd/Config.in > create mode 100644 package/pimd/pimd.hash > create mode 100644 package/pimd/pimd.mk > > diff --git a/DEVELOPERS b/DEVELOPERS > index 27b22f4f0fed..1a998f3dfc12 100644 > --- a/DEVELOPERS > +++ b/DEVELOPERS > @@ -1518,6 +1518,7 @@ F: configs/linksprite_pcduino_defconfig > N: Sergio Prado <sergio.prado@e-labworks.com> > F: package/libgdiplus/ > F: package/mongodb/ > +F: package/pimd/ > F: package/stella/ > F: package/tunctl/ > F: package/ubus/ > diff --git a/package/Config.in b/package/Config.in > index aa111e48e6fb..104859fcd1c1 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -1410,6 +1410,7 @@ menu "Networking" > source "package/openzwave/Config.in" > source "package/ortp/Config.in" > source "package/paho-mqtt-c/Config.in" > + source "package/pimd/Config.in" > source "package/qdecoder/Config.in" > source "package/qpid-proton/Config.in" > source "package/rabbitmq-c/Config.in" > diff --git a/package/pimd/Config.in b/package/pimd/Config.in > new file mode 100644 > index 000000000000..d6a579bda258 > --- /dev/null > +++ b/package/pimd/Config.in > @@ -0,0 +1,8 @@ > +config BR2_PACKAGE_PIMD > + bool "pimd" > + depends on BR2_USE_MMU # fork() > + help > + pimd is a lightweight stand-alone PIM-SM v2 multicast routing > + daemon. > + > + http://troglobit.com/project/pimd/ > diff --git a/package/pimd/pimd.hash b/package/pimd/pimd.hash > new file mode 100644 > index 000000000000..98c717d2e8af > --- /dev/null > +++ b/package/pimd/pimd.hash > @@ -0,0 +1,6 @@ > +# Locally computed: > +sha256 c77a9812751f114490a28a6839b16aac8b020c8d9fd6aa22bf3880c054e19f1d > pimd-2.3.2.tar.gz > + > +# Hash for license files: > +sha256 3379436c16caccdef9b40a49fbdfdbb45aad8ecb05870834490b8fb080126009 > LICENSE > +sha256 4328a21f0822caa9976356623118bcdcc9970c7a0f9a3deeba23c779b7cfb5d1 > LICENSE.mrouted > diff --git a/package/pimd/pimd.mk b/package/pimd/pimd.mk > new file mode 100644 > index 000000000000..3730bb496e95 > --- /dev/null > +++ b/package/pimd/pimd.mk > @@ -0,0 +1,38 @@ > +########################################################### > ##################### > +# > +# pimd > +# > +########################################################### > ##################### > + > +PIMD_VERSION = 2.3.2 > +PIMD_SOURCE = pimd-$(PIMD_VERSION).tar.gz > +PIMD_SITE = https://github.com/troglobit/pimd/releases/download/$(PIMD_ > VERSION) > + > +PIMD_LICENSE = BSD-3-Clause > +PIMD_LICENSE_FILES = LICENSE LICENSE.mrouted > + > +PIMD_MAKE_OPTS = CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) > + > +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_TOOLCHAIN_USES_MUSL),y) > +PIMD_CONF_OPTS = --embedded-libc > +endif > + > +# The configure script is not autoconf based, so we use the > +# generic-package infrastructure > +define PIMD_CONFIGURE_CMDS > + (cd $(@D); \ > + $(TARGET_CONFIGURE_OPTS) \ > + $(TARGET_CONFIGURE_ARGS) \ > + ./configure $(PIMD_CONF_OPTS) \ > + ) > +endef > + > +define PIMD_BUILD_CMDS > + $(TARGET_MAKE_ENV) $(MAKE) $(PIMD_MAKE_OPTS) -C $(@D) > +endef > + > +define PIMD_INSTALL_TARGET_CMDS > + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install > +endef > + > +$(eval $(generic-package)) > -- > 1.9.1 > > <div dir="ltr">Hi,<div><br></div><div>Please ignore this patch. I've just noticed I put it the wrong menu option. I'll fix it and send V3.</div><div><br></div><div>Best regards,</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Sergio Prado</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Embedded Labworks</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Office:</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> </span><a value="+551138250748" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">+55 11 2628-3461</a><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Mobile</span><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">:</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> </span><a value="+5511971233420" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">+55 11 97123-3420</a></div></div></div></div> <br><div class="gmail_quote">2017-12-11 9:35 GMT-02:00 Sergio Prado <span dir="ltr"><<a href="mailto:sergio.prado@e-labworks.com" target="_blank">sergio.prado@e-labworks.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">pimd is a lightweight stand-alone PIM-SM v2 multicast routing daemon.<br> <br> Tested on Beaglebone Black.<br> <br> Build-tested with test-pkg script.<br> <br> Signed-off-by: Sergio Prado <<a href="mailto:sergio.prado@e-labworks.com">sergio.prado@e-labworks.com</a>><br> ---<br> <br> Changes v1->v2<br> - added LICENSE.mrouted as a license file.<br> - changed to generic package, since it is not a real autotools based<br> package.<br> <br> ---<br> DEVELOPERS | 1 +<br> package/Config.in | 1 +<br> package/pimd/Config.in | 8 ++++++++<br> package/pimd/pimd.hash | 6 ++++++<br> package/pimd/<a href="http://pimd.mk" rel="noreferrer" target="_blank">pimd.mk</a> | 38 ++++++++++++++++++++++++++++++<wbr>++++++++<br> 5 files changed, 54 insertions(+)<br> create mode 100644 package/pimd/Config.in<br> create mode 100644 package/pimd/pimd.hash<br> create mode 100644 package/pimd/<a href="http://pimd.mk" rel="noreferrer" target="_blank">pimd.mk</a><br> <br> diff --git a/DEVELOPERS b/DEVELOPERS<br> index 27b22f4f0fed..1a998f3dfc12 100644<br> --- a/DEVELOPERS<br> +++ b/DEVELOPERS<br> @@ -1518,6 +1518,7 @@ F: configs/linksprite_pcduino_<wbr>defconfig<br> N: Sergio Prado <<a href="mailto:sergio.prado@e-labworks.com">sergio.prado@e-labworks.com</a>><br> F: package/libgdiplus/<br> F: package/mongodb/<br> +F: package/pimd/<br> F: package/stella/<br> F: package/tunctl/<br> F: package/ubus/<br> diff --git a/package/Config.in b/package/Config.in<br> index aa111e48e6fb..104859fcd1c1 100644<br> --- a/package/Config.in<br> +++ b/package/Config.in<br> @@ -1410,6 +1410,7 @@ menu "Networking"<br> source "package/openzwave/Config.in"<br> source "package/ortp/Config.in"<br> source "package/paho-mqtt-c/Config.<wbr>in"<br> + source "package/pimd/Config.in"<br> source "package/qdecoder/Config.in"<br> source "package/qpid-proton/Config.<wbr>in"<br> source "package/rabbitmq-c/Config.in"<br> diff --git a/package/pimd/Config.in b/package/pimd/Config.in<br> new file mode 100644<br> index 000000000000..d6a579bda258<br> --- /dev/null<br> +++ b/package/pimd/Config.in<br> @@ -0,0 +1,8 @@<br> +config BR2_PACKAGE_PIMD<br> + bool "pimd"<br> + depends on BR2_USE_MMU # fork()<br> + help<br> + pimd is a lightweight stand-alone PIM-SM v2 multicast routing<br> + daemon.<br> +<br> + <a href="http://troglobit.com/project/pimd/" rel="noreferrer" target="_blank">http://troglobit.com/project/<wbr>pimd/</a><br> diff --git a/package/pimd/pimd.hash b/package/pimd/pimd.hash<br> new file mode 100644<br> index 000000000000..98c717d2e8af<br> --- /dev/null<br> +++ b/package/pimd/pimd.hash<br> @@ -0,0 +1,6 @@<br> +# Locally computed:<br> +sha256 c77a9812751f114490a28a6839b16a<wbr>ac8b020c8d9fd6aa22bf3880c054e1<wbr>9f1d pimd-2.3.2.tar.gz<br> +<br> +# Hash for license files:<br> +sha256 3379436c16caccdef9b40a49fbdfdb<wbr>b45aad8ecb05870834490b8fb08012<wbr>6009 LICENSE<br> +sha256 4328a21f0822caa9976356623118bc<wbr>dcc9970c7a0f9a3deeba23c779b7cf<wbr>b5d1 LICENSE.mrouted<br> diff --git a/package/pimd/<a href="http://pimd.mk" rel="noreferrer" target="_blank">pimd.mk</a> b/package/pimd/<a href="http://pimd.mk" rel="noreferrer" target="_blank">pimd.mk</a><br> new file mode 100644<br> index 000000000000..3730bb496e95<br> --- /dev/null<br> +++ b/package/pimd/<a href="http://pimd.mk" rel="noreferrer" target="_blank">pimd.mk</a><br> @@ -0,0 +1,38 @@<br> +#############################<wbr>##############################<wbr>#####################<br> +#<br> +# pimd<br> +#<br> +#############################<wbr>##############################<wbr>#####################<br> +<br> +PIMD_VERSION = 2.3.2<br> +PIMD_SOURCE = pimd-$(PIMD_VERSION).tar.gz<br> +PIMD_SITE = <a href="https://github.com/troglobit/pimd/releases/download/$(PIMD_VERSION)" rel="noreferrer" target="_blank">https://github.com/troglobit/<wbr>pimd/releases/download/$(PIMD_<wbr>VERSION)</a><br> +<br> +PIMD_LICENSE = BSD-3-Clause<br> +PIMD_LICENSE_FILES = LICENSE LICENSE.mrouted<br> +<br> +PIMD_MAKE_OPTS = CROSS=$(TARGET_CROSS) CC=$(TARGET_CC)<br> +<br> +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$<wbr>(BR2_TOOLCHAIN_USES_MUSL),y)<br> +PIMD_CONF_OPTS = --embedded-libc<br> +endif<br> +<br> +# The configure script is not autoconf based, so we use the<br> +# generic-package infrastructure<br> +define PIMD_CONFIGURE_CMDS<br> + (cd $(@D); \<br> + $(TARGET_CONFIGURE_OPTS) \<br> + $(TARGET_CONFIGURE_ARGS) \<br> + ./configure $(PIMD_CONF_OPTS) \<br> + )<br> +endef<br> +<br> +define PIMD_BUILD_CMDS<br> + $(TARGET_MAKE_ENV) $(MAKE) $(PIMD_MAKE_OPTS) -C $(@D)<br> +endef<br> +<br> +define PIMD_INSTALL_TARGET_CMDS<br> + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install<br> +endef<br> +<br> +$(eval $(generic-package))<br> <span class="HOEnZb"><font color="#888888">--<br> 1.9.1<br> <br> </font></span></blockquote></div><br></div>
diff --git a/DEVELOPERS b/DEVELOPERS index 27b22f4f0fed..1a998f3dfc12 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1518,6 +1518,7 @@ F: configs/linksprite_pcduino_defconfig N: Sergio Prado <sergio.prado@e-labworks.com> F: package/libgdiplus/ F: package/mongodb/ +F: package/pimd/ F: package/stella/ F: package/tunctl/ F: package/ubus/ diff --git a/package/Config.in b/package/Config.in index aa111e48e6fb..104859fcd1c1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1410,6 +1410,7 @@ menu "Networking" source "package/openzwave/Config.in" source "package/ortp/Config.in" source "package/paho-mqtt-c/Config.in" + source "package/pimd/Config.in" source "package/qdecoder/Config.in" source "package/qpid-proton/Config.in" source "package/rabbitmq-c/Config.in" diff --git a/package/pimd/Config.in b/package/pimd/Config.in new file mode 100644 index 000000000000..d6a579bda258 --- /dev/null +++ b/package/pimd/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PIMD + bool "pimd" + depends on BR2_USE_MMU # fork() + help + pimd is a lightweight stand-alone PIM-SM v2 multicast routing + daemon. + + http://troglobit.com/project/pimd/ diff --git a/package/pimd/pimd.hash b/package/pimd/pimd.hash new file mode 100644 index 000000000000..98c717d2e8af --- /dev/null +++ b/package/pimd/pimd.hash @@ -0,0 +1,6 @@ +# Locally computed: +sha256 c77a9812751f114490a28a6839b16aac8b020c8d9fd6aa22bf3880c054e19f1d pimd-2.3.2.tar.gz + +# Hash for license files: +sha256 3379436c16caccdef9b40a49fbdfdbb45aad8ecb05870834490b8fb080126009 LICENSE +sha256 4328a21f0822caa9976356623118bcdcc9970c7a0f9a3deeba23c779b7cfb5d1 LICENSE.mrouted diff --git a/package/pimd/pimd.mk b/package/pimd/pimd.mk new file mode 100644 index 000000000000..3730bb496e95 --- /dev/null +++ b/package/pimd/pimd.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# pimd +# +################################################################################ + +PIMD_VERSION = 2.3.2 +PIMD_SOURCE = pimd-$(PIMD_VERSION).tar.gz +PIMD_SITE = https://github.com/troglobit/pimd/releases/download/$(PIMD_VERSION) + +PIMD_LICENSE = BSD-3-Clause +PIMD_LICENSE_FILES = LICENSE LICENSE.mrouted + +PIMD_MAKE_OPTS = CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) + +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_TOOLCHAIN_USES_MUSL),y) +PIMD_CONF_OPTS = --embedded-libc +endif + +# The configure script is not autoconf based, so we use the +# generic-package infrastructure +define PIMD_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + ./configure $(PIMD_CONF_OPTS) \ + ) +endef + +define PIMD_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(PIMD_MAKE_OPTS) -C $(@D) +endef + +define PIMD_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install +endef + +$(eval $(generic-package))
pimd is a lightweight stand-alone PIM-SM v2 multicast routing daemon. Tested on Beaglebone Black. Build-tested with test-pkg script. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> --- Changes v1->v2 - added LICENSE.mrouted as a license file. - changed to generic package, since it is not a real autotools based package. --- DEVELOPERS | 1 + package/Config.in | 1 + package/pimd/Config.in | 8 ++++++++ package/pimd/pimd.hash | 6 ++++++ package/pimd/pimd.mk | 38 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 54 insertions(+) create mode 100644 package/pimd/Config.in create mode 100644 package/pimd/pimd.hash create mode 100644 package/pimd/pimd.mk