Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
socat: disable documentation build/installation
|
||||
|
||||
The documentation generation process requires a special yold2man
|
||||
program, for which we don't have a package in Buildroot. Since we
|
||||
generally don't care much about documentation of packages, just adjust
|
||||
the package Makefile.in to not build/install its documentation.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/Makefile.in
|
||||
===================================================================
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -93,7 +93,7 @@
|
||||
Config/Makefile.Cygwin-1-5-25 Config/config.Cygwin-1-5-25.h \
|
||||
Config/Makefile.MacOSX-10-5 Config/config.MacOSX-10-5.h
|
||||
|
||||
-all: progs doc
|
||||
+all: progs
|
||||
|
||||
scmclean: gitclean
|
||||
|
||||
@@ -136,13 +136,11 @@
|
||||
strip: progs
|
||||
strip $(PROGS)
|
||||
|
||||
-install: progs $(srcdir)/doc/socat.1
|
||||
+install: progs
|
||||
mkdir -p $(DESTDIR)$(BINDEST)
|
||||
$(INSTALL) -m 755 socat $(DESTDIR)$(BINDEST)
|
||||
$(INSTALL) -m 755 procan $(DESTDIR)$(BINDEST)
|
||||
$(INSTALL) -m 755 filan $(DESTDIR)$(BINDEST)
|
||||
- mkdir -p $(DESTDIR)$(MANDEST)/man1
|
||||
- $(INSTALL) -m 644 $(srcdir)/doc/socat.1 $(DESTDIR)$(MANDEST)/man1/
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(BINDEST)/socat
|
||||
@@ -0,0 +1,28 @@
|
||||
From 99c55f2694fe8621ca2344eb002610dac7f9c969 Mon Sep 17 00:00:00 2001
|
||||
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
Date: Tue, 2 Feb 2016 09:34:24 -0300
|
||||
Subject: [PATCH] ptrdiff_t is defined in stddef.h
|
||||
|
||||
Status: sent upstream via email.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
nestlex.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/nestlex.c b/nestlex.c
|
||||
index f7950f0..f49482d 100644
|
||||
--- a/nestlex.c
|
||||
+++ b/nestlex.c
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
/* a function for lexical scanning of nested character patterns */
|
||||
|
||||
+#include <stddef.h> /* ptrdiff_t */
|
||||
+
|
||||
#include "config.h"
|
||||
#include "mytypes.h"
|
||||
|
||||
--
|
||||
2.4.10
|
||||
|
||||
12
deprecated/firmware/buildroot/package/socat/Config.in
Normal file
12
deprecated/firmware/buildroot/package/socat/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_SOCAT
|
||||
bool "socat"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Multipurpose socket relay program.
|
||||
|
||||
http://www.dest-unreach.org/socat/
|
||||
|
||||
comment "socat needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
4
deprecated/firmware/buildroot/package/socat/socat.hash
Normal file
4
deprecated/firmware/buildroot/package/socat/socat.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From http://www.dest-unreach.org/socat/download.md5sum
|
||||
md5 553b1593d0a192cb09cbdc687ef1baac socat-2.0.0-b9.tar.bz2
|
||||
# Calculated based on the hash above
|
||||
sha256 49efb0a5c66b94b279014addc2851faf8ebbd1ec4b7e31c1de7e912d7b4983d2 socat-2.0.0-b9.tar.bz2
|
||||
43
deprecated/firmware/buildroot/package/socat/socat.mk
Normal file
43
deprecated/firmware/buildroot/package/socat/socat.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
#
|
||||
# socat
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SOCAT_VERSION = 2.0.0-b9
|
||||
SOCAT_SOURCE = socat-$(SOCAT_VERSION).tar.bz2
|
||||
SOCAT_SITE = http://www.dest-unreach.org/socat/download
|
||||
SOCAT_LICENSE = GPLv2
|
||||
SOCAT_LICENSE_FILES = COPYING
|
||||
SOCAT_CONF_ENV = \
|
||||
sc_cv_termios_ispeed=no \
|
||||
sc_cv_sys_crdly_shift=9 \
|
||||
sc_cv_sys_tabdly_shift=11 \
|
||||
sc_cv_sys_csize_shift=4
|
||||
|
||||
# We need to run autoconf to regenerate the configure script, in order
|
||||
# to ensure that the test checking linux/ext2_fs.h works
|
||||
# properly. However, the package only uses autoconf and not automake,
|
||||
# so we can't use the normal autoreconf logic.
|
||||
|
||||
SOCAT_DEPENDENCIES = host-autoconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
SOCAT_DEPENDENCIES += openssl
|
||||
else
|
||||
SOCAT_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
SOCAT_DEPENDENCIES += readline
|
||||
else
|
||||
SOCAT_CONF_OPTS += --disable-readline
|
||||
endif
|
||||
|
||||
define SOCAT_RUN_AUTOCONF
|
||||
(cd $(@D); $(HOST_DIR)/usr/bin/autoconf)
|
||||
endef
|
||||
|
||||
SOCAT_PRE_CONFIGURE_HOOKS += SOCAT_RUN_AUTOCONF
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user