initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From 4a557f242a76c6a2a3134acf1d3279818f8ab371 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Fri, 23 Jul 2021 09:50:36 +0200
|
||||
Subject: [PATCH] configure: fix check_link_silent test
|
||||
|
||||
Replace -o /dev/null by -o "$tmpc".out when testing with
|
||||
check_link_silent otherwise test will fail with some bugged binutils
|
||||
(https://sourceware.org/bugzilla/show_bug.cgi?id=19526) since version
|
||||
4.13 and
|
||||
https://github.com/rofl0r/proxychains-ng/commit/35a674bdbc294730429a1007c9e7ce01e65b49b5:
|
||||
|
||||
checking what's the option to use in linker to set library name ...
|
||||
cannot find an option to set library name
|
||||
package/pkg-generic.mk:249: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/proxychains-ng-4.14/.stamp_configured' failed
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/9320d9b2c69882e23bbe7b30057eb8bee0c9d2e5
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: https://github.com/rofl0r/proxychains-ng/pull/387]
|
||||
---
|
||||
configure | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 8b21b97..cfe19e7 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -49,7 +49,8 @@ check_compile_run() {
|
||||
|
||||
check_link_silent() {
|
||||
printf "$2" > "$tmpc"
|
||||
- $CC $OUR_CPPFLAGS $CPPFLAGS $1 $CFLAGS "$tmpc" -o /dev/null >/dev/null 2>&1
|
||||
+ $CC $OUR_CPPFLAGS $CPPFLAGS $1 $CFLAGS "$tmpc" -o "$tmpc".out >/dev/null 2>&1
|
||||
+ rm -f "$tmpc".out
|
||||
}
|
||||
|
||||
check_link() {
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_PROXYCHAINS_NG
|
||||
bool "proxychains-ng"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Force any tcp connections to flow through a proxy (or proxy
|
||||
chain)
|
||||
|
||||
https://github.com/rofl0r/proxychains
|
||||
|
||||
comment "proxychains-ng needs a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,4 @@
|
||||
# From https://github.com/rofl0r/proxychains-ng/releases/tag/v4.14
|
||||
sha512 75a1a4629d2b7ebac9b909a694b395339cf669fa4e23bfcc57938e46377b5619f31c9651d2bc457d1ad10ec1be7747981106392bf8bf65999cb7bb9c748d7e95 proxychains-ng-4.14.tar.xz
|
||||
# Locally computed:
|
||||
sha256 86728623caeff60e9bcc37e03b432fd191de927eed48a72a3bb4ac4e53fe20df COPYING
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# proxychains-ng
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PROXYCHAINS_NG_VERSION = 4.14
|
||||
PROXYCHAINS_NG_SOURCE = proxychains-ng-$(PROXYCHAINS_NG_VERSION).tar.xz
|
||||
PROXYCHAINS_NG_SITE = http://downloads.sourceforge.net/project/proxychains-ng
|
||||
PROXYCHAINS_NG_LICENSE = GPL-2.0+
|
||||
PROXYCHAINS_NG_LICENSE_FILES = COPYING
|
||||
PROXYCHAINS_NG_CPE_ID_VENDOR = proxychains-ng_project
|
||||
|
||||
define PROXYCHAINS_NG_CONFIGURE_CMDS
|
||||
cd $(@D) && \
|
||||
$(TARGET_CONFIGURE_OPTS) ./configure --prefix=/usr --sysconfdir=/etc
|
||||
endef
|
||||
|
||||
define PROXYCHAINS_NG_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define PROXYCHAINS_NG_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install install-config
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user