All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1 1/3] package/redir: new package
@ 2020-07-14 20:24 Peter Seiderer
  2020-07-14 20:24 ` [Buildroot] [PATCH v1 2/3] package/libuev: " Peter Seiderer
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Peter Seiderer @ 2020-07-14 20:24 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 DEVELOPERS               |  1 +
 package/Config.in        |  1 +
 package/redir/Config.in  |  7 +++++++
 package/redir/redir.hash |  4 ++++
 package/redir/redir.mk   | 17 +++++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/redir/Config.in
 create mode 100644 package/redir/redir.hash
 create mode 100644 package/redir/redir.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index efbb676b48..69ef58e72f 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2045,6 +2045,7 @@ F:	package/python-gpiozero/
 F:	package/qt5/
 F:	package/quotatool/
 F:	package/racehound/
+F:	package/redir/
 
 N:	Peter Thompson <peter.macleod.thompson@gmail.com>
 F:	package/sdl2_gfx/
diff --git a/package/Config.in b/package/Config.in
index aafaa312a1..9592920f3a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2175,6 +2175,7 @@ endif
 	source "package/rabbitmq-server/Config.in"
 	source "package/radvd/Config.in"
 	source "package/reaver/Config.in"
+	source "package/redir/Config.in"
 	source "package/rp-pppoe/Config.in"
 	source "package/rpcbind/Config.in"
 	source "package/rsh-redone/Config.in"
diff --git a/package/redir/Config.in b/package/redir/Config.in
new file mode 100644
index 0000000000..6e51c64218
--- /dev/null
+++ b/package/redir/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_REDIR
+	bool "redir"
+	depends on BR2_USE_MMU # fork()
+	help
+	  This is a TCP port redirector for UNIX.
+
+	  https://github.com/troglobit/redir
diff --git a/package/redir/redir.hash b/package/redir/redir.hash
new file mode 100644
index 0000000000..8cc19f6ac6
--- /dev/null
+++ b/package/redir/redir.hash
@@ -0,0 +1,4 @@
+# From https://github.com/troglobit/redir/releases/download/v3.3/redir-3.3.tar.xz.md5
+md5  b452e1ca6faded7bab9c76dd61d9d983  redir-3.3.tar.xz
+# License files
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/redir/redir.mk b/package/redir/redir.mk
new file mode 100644
index 0000000000..ea02d43a12
--- /dev/null
+++ b/package/redir/redir.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# redir
+#
+################################################################################
+
+REDIR_VERSION = 3.3
+REDIR_SOURCE = redir-$(REDIR_VERSION).tar.xz
+REDIR_SITE = https://github.com/troglobit/redir/releases/download/v$(REDIR_VERSION)
+REDIR_LICENSE = GPL-2.0+
+REDIR_LICENSE_FILES = COPYING
+REDIR_CONF_OPTS = \
+	--disable-compat \
+	--enable-shaper \
+	--enable-ftp
+
+$(eval $(autotools-package))
-- 
2.27.0

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

* [Buildroot] [PATCH v1 2/3] package/libuev: new package
  2020-07-14 20:24 [Buildroot] [PATCH v1 1/3] package/redir: new package Peter Seiderer
@ 2020-07-14 20:24 ` Peter Seiderer
  2020-07-14 20:24 ` [Buildroot] [PATCH v1 3/3] package/uredir: " Peter Seiderer
  2020-08-16 20:20 ` [Buildroot] [PATCH v1 1/3] package/redir: " Thomas Petazzoni
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Seiderer @ 2020-07-14 20:24 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/libuev/Config.in   |  6 ++++++
 package/libuev/libuev.hash |  4 ++++
 package/libuev/libuev.mk   | 15 +++++++++++++++
 5 files changed, 27 insertions(+)
 create mode 100644 package/libuev/Config.in
 create mode 100644 package/libuev/libuev.hash
 create mode 100644 package/libuev/libuev.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 69ef58e72f..b07bb040c2 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2038,6 +2038,7 @@ F:	package/gstreamer1/gst1-validate/
 F:	package/gstreamer1/gstreamer1-editing-services/
 F:	package/iwd/
 F:	package/libevdev/
+F:	package/libuev/
 F:	package/log4cplus/
 F:	package/postgresql/
 F:	package/python-colorzero/
diff --git a/package/Config.in b/package/Config.in
index 9592920f3a..c9601a01fe 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1735,6 +1735,7 @@ menu "Networking"
 	source "package/libtirpc/Config.in"
 	source "package/libtorrent/Config.in"
 	source "package/libtorrent-rasterbar/Config.in"
+	source "package/libuev/Config.in"
 	source "package/libuhttpd/Config.in"
 	source "package/libupnp/Config.in"
 	source "package/libupnp18/Config.in"
diff --git a/package/libuev/Config.in b/package/libuev/Config.in
new file mode 100644
index 0000000000..bb50099cee
--- /dev/null
+++ b/package/libuev/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBUEV
+	bool "libuev"
+	help
+	  Simple event loop for Linux.
+
+	  https://github.com/troglobit/libuev
diff --git a/package/libuev/libuev.hash b/package/libuev/libuev.hash
new file mode 100644
index 0000000000..fece0e9b65
--- /dev/null
+++ b/package/libuev/libuev.hash
@@ -0,0 +1,4 @@
+# From https://github.com/troglobit/libuev/releases/download/v2.3.1/libuev-2.3.1.tar.xz.md5
+md5  ec601f69f69477858fa023a75da23793  libuev-2.3.1.tar.xz
+# License files
+sha256  3c2bf3fdd85687242ba6f2b02b6ce5176aba15b5e1a2ccb8b608439197ec4641  LICENSE
diff --git a/package/libuev/libuev.mk b/package/libuev/libuev.mk
new file mode 100644
index 0000000000..c7b73b4221
--- /dev/null
+++ b/package/libuev/libuev.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libuev
+#
+################################################################################
+
+LIBUEV_VERSION = 2.3.1
+LIBUEV_SOURCE = libuev-$(LIBUEV_VERSION).tar.xz
+LIBUEV_SITE = https://github.com/troglobit/libuev/releases/download/v$(LIBUEV_VERSION)
+LIBUEV_LICENSE = MIT
+LIBUEV_LICENSE_FILES = LICENSE
+LIBUEV_INSTALL_STAGING = YES
+LIBUEV_CONF_OPTS = --disable-examples
+
+$(eval $(autotools-package))
-- 
2.27.0

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

* [Buildroot] [PATCH v1 3/3] package/uredir: new package
  2020-07-14 20:24 [Buildroot] [PATCH v1 1/3] package/redir: new package Peter Seiderer
  2020-07-14 20:24 ` [Buildroot] [PATCH v1 2/3] package/libuev: " Peter Seiderer
@ 2020-07-14 20:24 ` Peter Seiderer
  2020-07-14 20:36   ` Thomas Petazzoni
  2020-08-16 20:20 ` [Buildroot] [PATCH v1 1/3] package/redir: " Thomas Petazzoni
  2 siblings, 1 reply; 6+ messages in thread
From: Peter Seiderer @ 2020-07-14 20:24 UTC (permalink / raw)
  To: buildroot

The provided download hash ([1]) differes from actual one, so use
the locally calculated one.

[1] https://github.com/troglobit/uredir/releases/download/v3.3/uredir-3.3.tar.gz.md5

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/uredir/Config.in   |  9 +++++++++
 package/uredir/uredir.hash |  4 ++++
 package/uredir/uredir.mk   | 15 +++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/uredir/Config.in
 create mode 100644 package/uredir/uredir.hash
 create mode 100644 package/uredir/uredir.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index b07bb040c2..c0006d046a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2047,6 +2047,7 @@ F:	package/qt5/
 F:	package/quotatool/
 F:	package/racehound/
 F:	package/redir/
+F:	package/uredir/
 
 N:	Peter Thompson <peter.macleod.thompson@gmail.com>
 F:	package/sdl2_gfx/
diff --git a/package/Config.in b/package/Config.in
index c9601a01fe..86ed5fe696 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2231,6 +2231,7 @@ endif
 	source "package/unbound/Config.in"
 	source "package/ushare/Config.in"
 	source "package/ussp-push/Config.in"
+	source "package/uredir/Config.in"
 	source "package/vde2/Config.in"
 	source "package/vdr/Config.in"
 	source "package/vdr-plugin-vnsiserver/Config.in"
diff --git a/package/uredir/Config.in b/package/uredir/Config.in
new file mode 100644
index 0000000000..99206cfe47
--- /dev/null
+++ b/package/uredir/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_UREDIR
+	bool "uredir"
+	select BR2_PACKAGE_LIBUEV
+	help
+	  A small Linux daemon to redirect UDP connections. It can be
+	  used to forward connections on small and embedded systems that
+	  do not have (or want to use) iptables.
+
+	  https://github.com/troglobit/uredir
diff --git a/package/uredir/uredir.hash b/package/uredir/uredir.hash
new file mode 100644
index 0000000000..d3dddbcaa2
--- /dev/null
+++ b/package/uredir/uredir.hash
@@ -0,0 +1,4 @@
+# Locally calculated
+md5  154c90eca41909b80cc8c00e567a00e7  uredir-3.3.tar.gz
+# License files
+sha256  e4b8fd3375ce44e5e03be199724a8785510ea5fa58ed92a7a34fd0ccbd35db10  LICENSE
diff --git a/package/uredir/uredir.mk b/package/uredir/uredir.mk
new file mode 100644
index 0000000000..8d74a0fb3d
--- /dev/null
+++ b/package/uredir/uredir.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# uredir
+#
+################################################################################
+
+UREDIR_VERSION = 3.3
+UREDIR_SITE = $(call github,troglobit,uredir,v$(UREDIR_VERSION))
+UREDIR_LICENSE = ISC
+UREDIR_LICENSE_FILES = LICENSE
+# no configure provided by tarball download
+UREDIR_AUTORECONF = YES
+UREDIR_DEPENDENCIES = host-pkgconf libuev
+
+$(eval $(autotools-package))
-- 
2.27.0

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

* [Buildroot] [PATCH v1 3/3] package/uredir: new package
  2020-07-14 20:24 ` [Buildroot] [PATCH v1 3/3] package/uredir: " Peter Seiderer
@ 2020-07-14 20:36   ` Thomas Petazzoni
  2020-07-20 20:48     ` Peter Seiderer
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2020-07-14 20:36 UTC (permalink / raw)
  To: buildroot

On Tue, 14 Jul 2020 22:24:07 +0200
Peter Seiderer <ps.report@gmx.net> wrote:

> The provided download hash ([1]) differes from actual one, so use
> the locally calculated one.

This is quite worrying. Did you report this upstream ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH v1 3/3] package/uredir: new package
  2020-07-14 20:36   ` Thomas Petazzoni
@ 2020-07-20 20:48     ` Peter Seiderer
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Seiderer @ 2020-07-20 20:48 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On Tue, 14 Jul 2020 22:36:20 +0200, Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> On Tue, 14 Jul 2020 22:24:07 +0200
> Peter Seiderer <ps.report@gmx.net> wrote:
>
> > The provided download hash ([1]) differes from actual one, so use
> > the locally calculated one.
>
> This is quite worrying. Did you report this upstream ?

Re-checked, it was my fault, did take the wrong download url/method, using
the right one fixes the match with the provided md5 sum, will re-send...

Regards,
Peter

>
> Thomas

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

* [Buildroot] [PATCH v1 1/3] package/redir: new package
  2020-07-14 20:24 [Buildroot] [PATCH v1 1/3] package/redir: new package Peter Seiderer
  2020-07-14 20:24 ` [Buildroot] [PATCH v1 2/3] package/libuev: " Peter Seiderer
  2020-07-14 20:24 ` [Buildroot] [PATCH v1 3/3] package/uredir: " Peter Seiderer
@ 2020-08-16 20:20 ` Thomas Petazzoni
  2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2020-08-16 20:20 UTC (permalink / raw)
  To: buildroot

On Tue, 14 Jul 2020 22:24:05 +0200
Peter Seiderer <ps.report@gmx.net> wrote:

> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
>  DEVELOPERS               |  1 +
>  package/Config.in        |  1 +
>  package/redir/Config.in  |  7 +++++++
>  package/redir/redir.hash |  4 ++++
>  package/redir/redir.mk   | 17 +++++++++++++++++
>  5 files changed, 30 insertions(+)
>  create mode 100644 package/redir/Config.in
>  create mode 100644 package/redir/redir.hash
>  create mode 100644 package/redir/redir.mk

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2020-08-16 20:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14 20:24 [Buildroot] [PATCH v1 1/3] package/redir: new package Peter Seiderer
2020-07-14 20:24 ` [Buildroot] [PATCH v1 2/3] package/libuev: " Peter Seiderer
2020-07-14 20:24 ` [Buildroot] [PATCH v1 3/3] package/uredir: " Peter Seiderer
2020-07-14 20:36   ` Thomas Petazzoni
2020-07-20 20:48     ` Peter Seiderer
2020-08-16 20:20 ` [Buildroot] [PATCH v1 1/3] package/redir: " Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.