This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
Fix musl build
Patch was inspired by
http://svnweb.freebsd.org/ports/head/comms/sredird/files/patch-sredird.c?revision=363168&view=markup
http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/sysutils/sredird/patches/patch-aa
https://github.com/bitrig/bitrig-ports/blob/master/comms/sredird/patches/patch-sredird_c
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -uNr sredird-2.2.2.org/sredird.c sredird-2.2.2/sredird.c
--- sredird-2.2.2.org/sredird.c 2005-08-12 16:10:46.000000000 +0200
+++ sredird-2.2.2/sredird.c 2016-01-31 18:53:08.000000000 +0100
@@ -110,7 +110,6 @@
#include <fcntl.h>
#include <syslog.h>
#include <termios.h>
-#include <termio.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ip.h>

View File

@@ -0,0 +1,8 @@
config BR2_PACKAGE_SREDIRD
bool "sredird"
help
Sredird is a serial port redirector that is compliant with
the RFC 2217 "Telnet Com Port Control Option" protocol. This
protocol lets you share a serial port through the network.
http://freecode.com/projects/sredird

View File

@@ -0,0 +1,2 @@
# Locally computed
sha256 640c47dcd84b3b90640165a38eb336a675fdab06c14c09cae2f4a604cae560d3 sredird-2.2.2.tar.gz

View File

@@ -0,0 +1,20 @@
################################################################################
#
# sredird
#
################################################################################
SREDIRD_VERSION = 2.2.2
SREDIRD_SITE = http://www.ibiblio.org/pub/Linux/system/serial
SREDIRD_LICENSE = GPL-2.0+
SREDIRD_LICENSE_FILES = COPYING
define SREDIRD_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define SREDIRD_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/sredird $(TARGET_DIR)/usr/sbin/sredird
endef
$(eval $(generic-package))