mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
20
package/sredird/0001-termio.patch
Normal file
20
package/sredird/0001-termio.patch
Normal 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>
|
||||
8
package/sredird/Config.in
Normal file
8
package/sredird/Config.in
Normal 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
|
||||
2
package/sredird/sredird.hash
Normal file
2
package/sredird/sredird.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 640c47dcd84b3b90640165a38eb336a675fdab06c14c09cae2f4a604cae560d3 sredird-2.2.2.tar.gz
|
||||
20
package/sredird/sredird.mk
Normal file
20
package/sredird/sredird.mk
Normal 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))
|
||||
Reference in New Issue
Block a user