mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] smcroute: new package
@ 2018-05-07 16:47 Ladislav Michl
  2018-05-08 12:02 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Ladislav Michl @ 2018-05-07 16:47 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 rules/smcroute.in   | 12 ++++++++++
 rules/smcroute.make | 53 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 rules/smcroute.in
 create mode 100644 rules/smcroute.make

diff --git a/rules/smcroute.in b/rules/smcroute.in
new file mode 100644
index 000000000..8d3a29752
--- /dev/null
+++ b/rules/smcroute.in
@@ -0,0 +1,12 @@
+## SECTION=networking
+
+config SMCROUTE
+	tristate
+	prompt "smcroute                      "
+	help
+	  SMCRoute is a daemon and command line tool to manipulate
+	  the multicast routing table in the UNIX kernel. 
+	  SMCRoute can be used as an alternative to dynamic multicast
+	  routing daemons like mrouted or pimd when (only) static
+	  multicast routes should be maintained and/or no proper
+	  IGMP signalling exists.
diff --git a/rules/smcroute.make b/rules/smcroute.make
new file mode 100644
index 000000000..11f9dd335
--- /dev/null
+++ b/rules/smcroute.make
@@ -0,0 +1,53 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Ladislav Michl <ladis@linux-mips.org>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_SMCROUTE) += smcroute
+
+#
+# Paths and names
+#
+SMCROUTE_VERSION	:= 2.4.0
+SMCROUTE_MD5		:= 6b4cd5ceb0476c0fbe5c1da093234f13
+SMCROUTE		:= smcroute-$(SMCROUTE_VERSION)
+SMCROUTE_SUFFIX		:= tar.xz
+SMCROUTE_URL		:= \
+	https://github.com/troglobit/smcroute/releases/download/$(SMCROUTE_VERSION)/$(SMCROUTE).$(SMCROUTE_SUFFIX)
+SMCROUTE_SOURCE		:= $(SRCDIR)/$(SMCROUTE).$(SMCROUTE_SUFFIX)
+SMCROUTE_DIR		:= $(BUILDDIR)/$(SMCROUTE)
+SMCROUTE_LICENSE	:= GPL-2.0+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+SMCROUTE_CONF_TOOL	:= autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/smcroute.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, smcroute)
+	@$(call install_fixup, smcroute,PRIORITY,optional)
+	@$(call install_fixup, smcroute,SECTION,base)
+	@$(call install_fixup, smcroute,AUTHOR,"Ladislav Michl <ladis@linux-mips.org>")
+	@$(call install_fixup, smcroute,DESCRIPTION,missing)
+
+	@$(call install_copy, smcroute, 0, 0, 0755, -, /usr/sbin/smcroutectl)
+	@$(call install_copy, smcroute, 0, 0, 0755, -, /usr/sbin/smcrouted)
+
+	@$(call install_finish, smcroute)
+
+	@$(call touch)
-- 
2.17.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] smcroute: new package
  2018-05-07 16:47 [ptxdist] [PATCH] smcroute: new package Ladislav Michl
@ 2018-05-08 12:02 ` Michael Olbrich
  2018-05-17 10:06   ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2018-05-08 12:02 UTC (permalink / raw)
  To: ptxdist

On Mon, May 07, 2018 at 06:47:04PM +0200, Ladislav Michl wrote:
> Signed-off-by: Ladislav Michl <ladis@linux-mips.org>

configure_helper.py gives me:

--- rules/smcroute.make
+++ smcroute-2.4.0
@@ -2,5 +2,9 @@
 	--sysconfdir=/etc
 	--localstatedir=/var
 	--libdir=/usr/lib
-	--build=x86_64-host-linux-gnu
-	--host=arm-v5te-linux-gnueabi

This can be ignored.

+	--enable-mrdisc
+	--disable-ipv6
+	--disable-client
+	--disable-config
+	--without-libcap
+	--with-systemd=DIR

I think all of those should be set as appropriate.

Michael

> ---
>  rules/smcroute.in   | 12 ++++++++++
>  rules/smcroute.make | 53 +++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 65 insertions(+)
>  create mode 100644 rules/smcroute.in
>  create mode 100644 rules/smcroute.make
> 
> diff --git a/rules/smcroute.in b/rules/smcroute.in
> new file mode 100644
> index 000000000..8d3a29752
> --- /dev/null
> +++ b/rules/smcroute.in
> @@ -0,0 +1,12 @@
> +## SECTION=networking
> +
> +config SMCROUTE
> +	tristate
> +	prompt "smcroute                      "
> +	help
> +	  SMCRoute is a daemon and command line tool to manipulate
> +	  the multicast routing table in the UNIX kernel. 
> +	  SMCRoute can be used as an alternative to dynamic multicast
> +	  routing daemons like mrouted or pimd when (only) static
> +	  multicast routes should be maintained and/or no proper
> +	  IGMP signalling exists.
> diff --git a/rules/smcroute.make b/rules/smcroute.make
> new file mode 100644
> index 000000000..11f9dd335
> --- /dev/null
> +++ b/rules/smcroute.make
> @@ -0,0 +1,53 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2018 by Ladislav Michl <ladis@linux-mips.org>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_SMCROUTE) += smcroute
> +
> +#
> +# Paths and names
> +#
> +SMCROUTE_VERSION	:= 2.4.0
> +SMCROUTE_MD5		:= 6b4cd5ceb0476c0fbe5c1da093234f13
> +SMCROUTE		:= smcroute-$(SMCROUTE_VERSION)
> +SMCROUTE_SUFFIX		:= tar.xz
> +SMCROUTE_URL		:= \
> +	https://github.com/troglobit/smcroute/releases/download/$(SMCROUTE_VERSION)/$(SMCROUTE).$(SMCROUTE_SUFFIX)
> +SMCROUTE_SOURCE		:= $(SRCDIR)/$(SMCROUTE).$(SMCROUTE_SUFFIX)
> +SMCROUTE_DIR		:= $(BUILDDIR)/$(SMCROUTE)
> +SMCROUTE_LICENSE	:= GPL-2.0+
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +SMCROUTE_CONF_TOOL	:= autoconf
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/smcroute.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, smcroute)
> +	@$(call install_fixup, smcroute,PRIORITY,optional)
> +	@$(call install_fixup, smcroute,SECTION,base)
> +	@$(call install_fixup, smcroute,AUTHOR,"Ladislav Michl <ladis@linux-mips.org>")
> +	@$(call install_fixup, smcroute,DESCRIPTION,missing)
> +
> +	@$(call install_copy, smcroute, 0, 0, 0755, -, /usr/sbin/smcroutectl)
> +	@$(call install_copy, smcroute, 0, 0, 0755, -, /usr/sbin/smcrouted)
> +
> +	@$(call install_finish, smcroute)
> +
> +	@$(call touch)
> -- 
> 2.17.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] smcroute: new package
  2018-05-08 12:02 ` Michael Olbrich
@ 2018-05-17 10:06   ` Michael Olbrich
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2018-05-17 10:06 UTC (permalink / raw)
  To: ptxdist

On Tue, May 08, 2018 at 02:02:22PM +0200, Michael Olbrich wrote:
> On Mon, May 07, 2018 at 06:47:04PM +0200, Ladislav Michl wrote:
> > Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
> 
> configure_helper.py gives me:
> 
> --- rules/smcroute.make
> +++ smcroute-2.4.0
> @@ -2,5 +2,9 @@
>  	--sysconfdir=/etc
>  	--localstatedir=/var
>  	--libdir=/usr/lib
> -	--build=x86_64-host-linux-gnu
> -	--host=arm-v5te-linux-gnueabi
> 
> This can be ignored.
> 
> +	--enable-mrdisc
> +	--disable-ipv6
> +	--disable-client
> +	--disable-config
> +	--without-libcap
> +	--with-systemd=DIR
> 
> I think all of those should be set as appropriate.
> 
> Michael
> 
> > ---
> >  rules/smcroute.in   | 12 ++++++++++
> >  rules/smcroute.make | 53 +++++++++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 65 insertions(+)
> >  create mode 100644 rules/smcroute.in
> >  create mode 100644 rules/smcroute.make
> > 
> > diff --git a/rules/smcroute.in b/rules/smcroute.in
> > new file mode 100644
> > index 000000000..8d3a29752
> > --- /dev/null
> > +++ b/rules/smcroute.in
> > @@ -0,0 +1,12 @@
> > +## SECTION=networking
> > +
> > +config SMCROUTE
> > +	tristate
> > +	prompt "smcroute                      "
> > +	help
> > +	  SMCRoute is a daemon and command line tool to manipulate
> > +	  the multicast routing table in the UNIX kernel. 
> > +	  SMCRoute can be used as an alternative to dynamic multicast
> > +	  routing daemons like mrouted or pimd when (only) static
> > +	  multicast routes should be maintained and/or no proper
> > +	  IGMP signalling exists.
> > diff --git a/rules/smcroute.make b/rules/smcroute.make
> > new file mode 100644
> > index 000000000..11f9dd335
> > --- /dev/null
> > +++ b/rules/smcroute.make
> > @@ -0,0 +1,53 @@
> > +# -*-makefile-*-
> > +#
> > +# Copyright (C) 2018 by Ladislav Michl <ladis@linux-mips.org>
> > +#
> > +# See CREDITS for details about who has contributed to this project.
> > +#
> > +# For further information about the PTXdist project and license conditions
> > +# see the README file.
> > +#
> > +
> > +#
> > +# We provide this package
> > +#
> > +PACKAGES-$(PTXCONF_SMCROUTE) += smcroute
> > +
> > +#
> > +# Paths and names
> > +#
> > +SMCROUTE_VERSION	:= 2.4.0
> > +SMCROUTE_MD5		:= 6b4cd5ceb0476c0fbe5c1da093234f13
> > +SMCROUTE		:= smcroute-$(SMCROUTE_VERSION)
> > +SMCROUTE_SUFFIX		:= tar.xz
> > +SMCROUTE_URL		:= \
> > +	https://github.com/troglobit/smcroute/releases/download/$(SMCROUTE_VERSION)/$(SMCROUTE).$(SMCROUTE_SUFFIX)
> > +SMCROUTE_SOURCE		:= $(SRCDIR)/$(SMCROUTE).$(SMCROUTE_SUFFIX)
> > +SMCROUTE_DIR		:= $(BUILDDIR)/$(SMCROUTE)
> > +SMCROUTE_LICENSE	:= GPL-2.0+

GPL-2.0-or-later

Michael


> > +
> > +# ----------------------------------------------------------------------------
> > +# Prepare
> > +# ----------------------------------------------------------------------------
> > +
> > +SMCROUTE_CONF_TOOL	:= autoconf
> > +
> > +# ----------------------------------------------------------------------------
> > +# Target-Install
> > +# ----------------------------------------------------------------------------
> > +
> > +$(STATEDIR)/smcroute.targetinstall:
> > +	@$(call targetinfo)
> > +
> > +	@$(call install_init, smcroute)
> > +	@$(call install_fixup, smcroute,PRIORITY,optional)
> > +	@$(call install_fixup, smcroute,SECTION,base)
> > +	@$(call install_fixup, smcroute,AUTHOR,"Ladislav Michl <ladis@linux-mips.org>")
> > +	@$(call install_fixup, smcroute,DESCRIPTION,missing)
> > +
> > +	@$(call install_copy, smcroute, 0, 0, 0755, -, /usr/sbin/smcroutectl)
> > +	@$(call install_copy, smcroute, 0, 0, 0755, -, /usr/sbin/smcrouted)
> > +
> > +	@$(call install_finish, smcroute)
> > +
> > +	@$(call touch)
> > -- 
> > 2.17.0
> > 
> > 
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-17 10:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-07 16:47 [ptxdist] [PATCH] smcroute: new package Ladislav Michl
2018-05-08 12:02 ` Michael Olbrich
2018-05-17 10:06   ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox