package/redir: new package
authorPeter Seiderer <ps.report@gmx.net>
Mon, 20 Jul 2020 20:48:23 +0000 (22:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 16 Aug 2020 20:13:54 +0000 (22:13 +0200)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/redir/Config.in [new file with mode: 0644]
package/redir/redir.hash [new file with mode: 0644]
package/redir/redir.mk [new file with mode: 0644]

index 42fa5a4956a75c4c3b3b652b8632b8f9c24fd981..9a161c80367db959bf6553d0c3d80f8b02db0ba0 100644 (file)
@@ -2061,6 +2061,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/
index 7936cb8105e3f17ddfadbc2759bbafac9a8324e8..f1229837246c4b6cc954e04a8a8c0e6ce3114c5f 100644 (file)
@@ -2181,6 +2181,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 (file)
index 0000000..6e51c64
--- /dev/null
@@ -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 (file)
index 0000000..8cc19f6
--- /dev/null
@@ -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 (file)
index 0000000..ea02d43
--- /dev/null
@@ -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))