Merge branch 'openwrt:master' into master
This commit is contained in:
commit
b81f68027f
51 changed files with 784 additions and 225 deletions
|
@ -1,7 +1,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=syslog-ng
|
||||
PKG_VERSION:=4.1.1
|
||||
PKG_VERSION:=4.2.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
|
||||
|
@ -11,7 +11,7 @@ PKG_CPE_ID:=cpe:/a:balabit:syslog-ng
|
|||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/syslog-ng/syslog-ng/releases/download/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_HASH:=d7df3cfa32d1a750818d94b8ea582dea54c37226e7b55a88c3d2f3a543d8f20e
|
||||
PKG_HASH:=092bd17fd47002c988aebdf81d0ed3f3cfd0e82b388d2453bcaa5e67934f4dda
|
||||
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_INSTALL:=1
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luasec
|
||||
PKG_VERSION:=1.2.0
|
||||
PKG_VERSION:=1.3.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/brunoos/luasec/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=2e86ef8f3486dc1bbecd752d16741a59a01633279facdfe5631f33b6eed1a30a
|
||||
PKG_HASH:=6fb919633a3304a262189f62a369adc4b36bc7113da37af093b069cf1c8d785e
|
||||
|
||||
MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
PKG_LICENSE:=MIT
|
||||
|
|
|
@ -25,6 +25,9 @@ MOD_CFLAGS_PERL:=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(TARGET_CFLAGS) $(T
|
|||
ifdef CONFIG_PERL_THREADS
|
||||
MOD_CFLAGS_PERL+= -D_REENTRANT -D_GNU_SOURCE
|
||||
endif
|
||||
ifdef CONFIG_USE_MUSL
|
||||
MOD_CFLAGS_PERL+= -D_LARGEFILE64_SOURCE
|
||||
endif
|
||||
|
||||
# Module install prefix
|
||||
PERL_SITELIB:=/usr/lib/perl5/$(PERL_VERSION)
|
||||
|
|
|
@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk
|
|||
PECL_NAME:=krb5
|
||||
PECL_LONGNAME:=Bindings for the Kerberos library
|
||||
|
||||
PKG_VERSION:=1.1.4
|
||||
PKG_RELEASE:=2
|
||||
PKG_HASH:=8aba35bb9f2892be9092e8717d3e13604a817cdfb478dbc3855a226abc6c5979
|
||||
PKG_VERSION:=1.1.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_HASH:=2798e57ad231aa3467f09460e3e69169e04c88bd82972d8e86a6641e4ddc9d3d
|
||||
|
||||
PKG_NAME:=php8-pecl-krb5
|
||||
PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
|
||||
|
|
|
@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk
|
|||
PECL_NAME:=mcrypt
|
||||
PECL_LONGNAME:=Bindings for the libmcrypt library
|
||||
|
||||
PKG_VERSION:=1.0.5
|
||||
PKG_VERSION:=1.0.6
|
||||
PKG_RELEASE:=1
|
||||
PKG_HASH:=c9f51e211640a15d2a983f5d80e26660656351651d6f682d657bdf1cfa07d8a3
|
||||
PKG_HASH:=be6efd52a76ed01aabdda0ce426aed0a93db4ec06908c16a5460175c35b0d08a
|
||||
|
||||
PKG_NAME:=php8-pecl-mcrypt
|
||||
PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
|
||||
|
|
|
@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk
|
|||
PECL_NAME:=xdebug
|
||||
PECL_LONGNAME:=Xdebug extension
|
||||
|
||||
PKG_VERSION:=3.2.0
|
||||
PKG_VERSION:=3.2.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_HASH:=7769b20eecdadf5fbe9f582512c10b394fb575b6f7a8c3a3a82db6883e0032b7
|
||||
PKG_HASH:=ef4cb3c228192798874e4530cccceee76840cc80821909740088a1e1a8f00445
|
||||
|
||||
PKG_NAME:=php8-pecl-xdebug
|
||||
PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
|
||||
|
|
|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||
SRC_NAME:=libselinux
|
||||
PKG_NAME:=python3-$(SRC_NAME)
|
||||
PKG_VERSION:=3.3
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/python-libselinux/$(SRC_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(SRC_NAME)-$(PKG_VERSION).tar.gz
|
||||
|
@ -48,6 +48,10 @@ define Package/python3-libselinux/description
|
|||
This package provides the Python bindings for libselinux.
|
||||
endef
|
||||
|
||||
ifneq ($(CONFIG_USE_MUSL),)
|
||||
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
|
||||
endif
|
||||
|
||||
MAKE_FLAGS += \
|
||||
FTS_LDLIBS=-lfts \
|
||||
SHLIBDIR=/usr/lib \
|
||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=python3-packages
|
||||
PKG_VERSION:=1.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
|
||||
|
||||
|
@ -31,6 +31,8 @@ PKG_CONFIG_DEPENDS:= \
|
|||
|
||||
PKG_BUILD_DEPENDS:=python3 python3/host
|
||||
|
||||
PYTHON3_PKG_BUILD:=0
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../python3-host.mk
|
||||
include ../python3-package.mk
|
||||
|
|
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=efivar
|
||||
PKG_VERSION:=38
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=https://github.com/rhboot/efivar/releases/download/$(PKG_VERSION)
|
||||
|
|
40
libs/efivar/patches/003-Use-off_t-instead-of-off64_t.patch
Normal file
40
libs/efivar/patches/003-Use-off_t-instead-of-off64_t.patch
Normal file
|
@ -0,0 +1,40 @@
|
|||
From 914c686cc54b2405dab08bff77cd60827aab54b1 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 14 Dec 2022 16:55:51 -0800
|
||||
Subject: [PATCH] Use off_t instead of off64_t
|
||||
|
||||
Pass _FILE_OFFSET_BITS=64 to ensure 64bit off_t
|
||||
|
||||
This helps building efivar for 32bit arches on systems using musl C
|
||||
library. It works with glibc since _GNU_SOURCE defines
|
||||
_LARGEFILE64_SOURCE as well, this feature test macro enables the 64bit
|
||||
interfaces which were done as intermediate steps when transition to
|
||||
66-bit off_t was done as part olf LFS64 support.
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/error.c | 2 +-
|
||||
src/include/defaults.mk | 1 +
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/src/error.c
|
||||
+++ b/src/error.c
|
||||
@@ -191,7 +191,7 @@ dbglog_write(void *cookie, const char *b
|
||||
}
|
||||
|
||||
static int
|
||||
-dbglog_seek(void *cookie UNUSED, off64_t *offset, int whence)
|
||||
+dbglog_seek(void *cookie UNUSED, off_t *offset, int whence)
|
||||
{
|
||||
FILE *log = efi_errlog ? efi_errlog : stderr;
|
||||
int rc;
|
||||
--- a/src/include/defaults.mk
|
||||
+++ b/src/include/defaults.mk
|
||||
@@ -34,6 +34,7 @@ CPPFLAGS ?=
|
||||
override _CPPFLAGS := $(CPPFLAGS)
|
||||
override CPPFLAGS = $(_CPPFLAGS) -DLIBEFIVAR_VERSION=$(VERSION) \
|
||||
-D_GNU_SOURCE \
|
||||
+ -D_FILE_OFFSET_BITS=64 \
|
||||
-I$(TOPDIR)/src/include/
|
||||
CFLAGS ?= $(OPTIMIZE) $(DEBUGINFO) $(WARNINGS) $(ERRORS)
|
||||
CFLAGS_GCC ?= -specs=$(TOPDIR)/src/include/gcc.specs \
|
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=gnutls
|
||||
PKG_VERSION:=3.8.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
PKG_BUILD_FLAGS:=no-mips16
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
|
|
|
@ -0,0 +1,490 @@
|
|||
From 18345986e29c820e64daced78232f236fd4a4e6e Mon Sep 17 00:00:00 2001
|
||||
From: Daiki Ueno <ueno@gnu.org>
|
||||
Date: Thu, 16 Mar 2023 16:21:37 +0900
|
||||
Subject: [PATCH] build: use /* clang-format {on|off} */ annotation
|
||||
|
||||
Signed-off-by: Daiki Ueno <ueno@gnu.org>
|
||||
---
|
||||
lib/includes/gnutls/abstract.h | 4 ----
|
||||
lib/includes/gnutls/compat.h | 4 ----
|
||||
lib/includes/gnutls/crypto.h | 4 ----
|
||||
lib/includes/gnutls/dtls.h | 4 ----
|
||||
lib/includes/gnutls/gnutls.h.in | 18 ++++++++----------
|
||||
lib/includes/gnutls/ocsp.h | 4 ----
|
||||
lib/includes/gnutls/openpgp.h | 4 ----
|
||||
lib/includes/gnutls/pkcs11.h | 4 ----
|
||||
lib/includes/gnutls/pkcs12.h | 4 ----
|
||||
lib/includes/gnutls/pkcs7.h | 4 ----
|
||||
lib/includes/gnutls/socket.h | 4 ----
|
||||
lib/includes/gnutls/system-keys.h | 4 ----
|
||||
lib/includes/gnutls/tpm.h | 4 ----
|
||||
lib/includes/gnutls/urls.h | 4 ----
|
||||
lib/includes/gnutls/x509-ext.h | 4 ----
|
||||
lib/includes/gnutls/x509.h | 4 ----
|
||||
tests/test-chains-issuer-aia.h | 4 ----
|
||||
tests/test-chains.h | 4 ----
|
||||
18 files changed, 8 insertions(+), 78 deletions(-)
|
||||
|
||||
--- a/lib/includes/gnutls/abstract.h
|
||||
+++ b/lib/includes/gnutls/abstract.h
|
||||
@@ -30,11 +30,9 @@
|
||||
# include <gnutls/openpgp.h>
|
||||
# include <gnutls/tpm.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
/* Public key operations */
|
||||
|
||||
@@ -748,10 +746,8 @@ gnutls_pubkey_print(gnutls_pubkey_t pubk
|
||||
gnutls_certificate_print_formats_t format,
|
||||
gnutls_datum_t * out);
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_ABSTRACT_H */
|
||||
--- a/lib/includes/gnutls/compat.h
|
||||
+++ b/lib/includes/gnutls/compat.h
|
||||
@@ -25,11 +25,9 @@
|
||||
#ifndef GNUTLS_COMPAT_H
|
||||
# define GNUTLS_COMPAT_H
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
# ifdef __GNUC__
|
||||
|
||||
@@ -228,10 +226,8 @@ int gnutls_priority_compression_list(gnu
|
||||
const unsigned int **list)
|
||||
_GNUTLS_GCC_ATTR_DEPRECATED;
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_COMPAT_H */
|
||||
--- a/lib/includes/gnutls/crypto.h
|
||||
+++ b/lib/includes/gnutls/crypto.h
|
||||
@@ -25,11 +25,9 @@
|
||||
|
||||
# include <gnutls/gnutls.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
typedef struct api_cipher_hd_st *gnutls_cipher_hd_t;
|
||||
|
||||
@@ -335,10 +333,8 @@ int gnutls_encode_gost_rs_value(gnutls_d
|
||||
int gnutls_decode_gost_rs_value(const gnutls_datum_t * sig_value,
|
||||
gnutls_datum_t * r, gnutls_datum_t * s);
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_CRYPTO_H */
|
||||
--- a/lib/includes/gnutls/dtls.h
|
||||
+++ b/lib/includes/gnutls/dtls.h
|
||||
@@ -29,11 +29,9 @@
|
||||
|
||||
# include <gnutls/gnutls.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
# define GNUTLS_COOKIE_KEY_SIZE 16
|
||||
|
||||
@@ -84,10 +82,8 @@ void gnutls_dtls_prestate_set(gnutls_ses
|
||||
|
||||
unsigned int gnutls_record_get_discarded(gnutls_session_t session);
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_DTLS_H */
|
||||
--- a/lib/includes/gnutls/gnutls.h.in
|
||||
+++ b/lib/includes/gnutls/gnutls.h.in
|
||||
@@ -45,19 +45,19 @@
|
||||
/* Get time_t. */
|
||||
# include <time.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
# define GNUTLS_VERSION "@VERSION@"
|
||||
|
||||
-# define GNUTLS_VERSION_MAJOR @MAJOR_VERSION@
|
||||
-# define GNUTLS_VERSION_MINOR @MINOR_VERSION@
|
||||
-# define GNUTLS_VERSION_PATCH @PATCH_VERSION@
|
||||
+/* clang-format off */
|
||||
+#define GNUTLS_VERSION_MAJOR @MAJOR_VERSION@
|
||||
+#define GNUTLS_VERSION_MINOR @MINOR_VERSION@
|
||||
+#define GNUTLS_VERSION_PATCH @PATCH_VERSION@
|
||||
|
||||
-# define GNUTLS_VERSION_NUMBER @NUMBER_VERSION@
|
||||
+#define GNUTLS_VERSION_NUMBER @NUMBER_VERSION@
|
||||
+/* clang-format on */
|
||||
|
||||
# define GNUTLS_CIPHER_RIJNDAEL_128_CBC GNUTLS_CIPHER_AES_128_CBC
|
||||
# define GNUTLS_CIPHER_RIJNDAEL_256_CBC GNUTLS_CIPHER_AES_256_CBC
|
||||
@@ -2365,9 +2365,9 @@ int gnutls_dh_params_cpy(gnutls_dh_param
|
||||
|
||||
/* Session stuff
|
||||
*/
|
||||
-/* *INDENT-OFF* */
|
||||
+/* clang-format off */
|
||||
@DEFINE_IOVEC_T@
|
||||
-/* *INDENT-ON* */
|
||||
+/* clang-format on */
|
||||
|
||||
typedef ssize_t(*gnutls_pull_func) (gnutls_transport_ptr_t, void *, size_t);
|
||||
typedef ssize_t(*gnutls_push_func) (gnutls_transport_ptr_t, const void *,
|
||||
@@ -3634,11 +3634,9 @@ gnutls_transport_is_ktls_enabled(gnutls_
|
||||
# define GNUTLS_E_APPLICATION_ERROR_MAX -65000
|
||||
# define GNUTLS_E_APPLICATION_ERROR_MIN -65500
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
# include <gnutls/compat.h>
|
||||
|
||||
--- a/lib/includes/gnutls/ocsp.h
|
||||
+++ b/lib/includes/gnutls/ocsp.h
|
||||
@@ -29,11 +29,9 @@
|
||||
# include <gnutls/gnutls.h>
|
||||
# include <gnutls/x509.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
# define GNUTLS_OCSP_NONCE "1.3.6.1.5.5.7.48.1.2"
|
||||
|
||||
@@ -269,10 +267,8 @@ gnutls_ocsp_resp_list_import2(gnutls_ocs
|
||||
const gnutls_datum_t * resp_data,
|
||||
gnutls_x509_crt_fmt_t format, unsigned int flags);
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_OCSP_H */
|
||||
--- a/lib/includes/gnutls/openpgp.h
|
||||
+++ b/lib/includes/gnutls/openpgp.h
|
||||
@@ -30,11 +30,9 @@
|
||||
# include <gnutls/gnutls.h>
|
||||
# include <limits.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
/* Openpgp certificate stuff
|
||||
*/
|
||||
@@ -424,10 +422,8 @@ int gnutls_certificate_set_openpgp_keyri
|
||||
(gnutls_certificate_credentials_t c, const char *file,
|
||||
gnutls_openpgp_crt_fmt_t format) _GNUTLS_GCC_ATTR_DEPRECATED;
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_OPENPGP_H */
|
||||
--- a/lib/includes/gnutls/pkcs11.h
|
||||
+++ b/lib/includes/gnutls/pkcs11.h
|
||||
@@ -28,11 +28,9 @@
|
||||
# include <gnutls/gnutls.h>
|
||||
# include <gnutls/x509.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
# define GNUTLS_PKCS11_MAX_PIN_LEN 256
|
||||
|
||||
@@ -491,10 +489,8 @@ gnutls_pkcs11_copy_attached_extension(co
|
||||
|
||||
# define gnutls_x509_crt_import_pkcs11_url gnutls_x509_crt_import_url
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_PKCS11_H */
|
||||
--- a/lib/includes/gnutls/pkcs12.h
|
||||
+++ b/lib/includes/gnutls/pkcs12.h
|
||||
@@ -25,11 +25,9 @@
|
||||
|
||||
# include <gnutls/x509.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
/* PKCS12 structures handling
|
||||
*/
|
||||
@@ -138,10 +136,8 @@ int gnutls_pkcs12_bag_get_friendly_name(
|
||||
int gnutls_pkcs12_bag_set_friendly_name(gnutls_pkcs12_bag_t bag,
|
||||
unsigned indx, const char *name);
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_PKCS12_H */
|
||||
--- a/lib/includes/gnutls/pkcs7.h
|
||||
+++ b/lib/includes/gnutls/pkcs7.h
|
||||
@@ -31,11 +31,9 @@
|
||||
# include <gnutls/gnutls.h>
|
||||
# include <gnutls/x509.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
/* PKCS7 structures handling
|
||||
*/
|
||||
@@ -149,10 +147,8 @@ int gnutls_pkcs7_print_signature_info(gn
|
||||
gnutls_certificate_print_formats_t format,
|
||||
gnutls_datum_t * out);
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_PKCS7_H */
|
||||
--- a/lib/includes/gnutls/socket.h
|
||||
+++ b/lib/includes/gnutls/socket.h
|
||||
@@ -31,11 +31,9 @@
|
||||
/* Get socklen_t */
|
||||
# include <sys/socket.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
void gnutls_transport_set_fastopen(gnutls_session_t session,
|
||||
int fd,
|
||||
@@ -43,10 +41,8 @@ void gnutls_transport_set_fastopen(gnutl
|
||||
socklen_t connect_addrlen,
|
||||
unsigned int flags);
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_SOCKET_H */
|
||||
--- a/lib/includes/gnutls/system-keys.h
|
||||
+++ b/lib/includes/gnutls/system-keys.h
|
||||
@@ -31,11 +31,9 @@
|
||||
* they will be requested through the pin callbacks.
|
||||
*/
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
struct system_key_iter_st;
|
||||
typedef struct system_key_iter_st *gnutls_system_key_iter_t;
|
||||
@@ -54,10 +52,8 @@ int gnutls_system_key_add_x509(gnutls_x5
|
||||
gnutls_x509_privkey_t privkey, const char *label,
|
||||
char **cert_url, char **key_url);
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_SYSTEM_KEYS_H */
|
||||
--- a/lib/includes/gnutls/tpm.h
|
||||
+++ b/lib/includes/gnutls/tpm.h
|
||||
@@ -26,11 +26,9 @@
|
||||
# include <gnutls/gnutls.h>
|
||||
# include <gnutls/x509.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
struct tpm_key_list_st;
|
||||
typedef struct tpm_key_list_st *gnutls_tpm_key_list_t;
|
||||
@@ -71,10 +69,8 @@ int gnutls_tpm_get_registered(gnutls_tpm
|
||||
int gnutls_tpm_privkey_delete(const char *url, const char *srk_password);
|
||||
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_TPM_H */
|
||||
--- a/lib/includes/gnutls/urls.h
|
||||
+++ b/lib/includes/gnutls/urls.h
|
||||
@@ -31,11 +31,9 @@
|
||||
* keys and certificates.
|
||||
*/
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
typedef int (*gnutls_privkey_import_url_func)(gnutls_privkey_t pkey,
|
||||
const char *url, unsigned flags);
|
||||
@@ -71,10 +69,8 @@ typedef struct gnutls_custom_url_st {
|
||||
|
||||
int gnutls_register_custom_url(const gnutls_custom_url_st * st);
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_URLS_H */
|
||||
--- a/lib/includes/gnutls/x509-ext.h
|
||||
+++ b/lib/includes/gnutls/x509-ext.h
|
||||
@@ -28,11 +28,9 @@
|
||||
# include <gnutls/gnutls.h>
|
||||
# include <gnutls/x509.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
typedef struct gnutls_subject_alt_names_st *gnutls_subject_alt_names_t;
|
||||
|
||||
@@ -215,10 +213,8 @@ int gnutls_x509_ct_sct_get(const gnutls_
|
||||
gnutls_sign_algorithm_t * sigalg,
|
||||
gnutls_datum_t * signature);
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_X509_EXT_H */
|
||||
--- a/lib/includes/gnutls/x509.h
|
||||
+++ b/lib/includes/gnutls/x509.h
|
||||
@@ -30,11 +30,9 @@
|
||||
|
||||
# include <gnutls/gnutls.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
/* Some OIDs usually found in Distinguished names, or
|
||||
* in Subject Directory Attribute extensions.
|
||||
@@ -1710,10 +1708,8 @@ gnutls_x509_ext_print(gnutls_x509_ext_st
|
||||
|
||||
# include <gnutls/pkcs7.h>
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
-/* *INDENT-ON* */
|
||||
|
||||
#endif /* GNUTLS_X509_H */
|
||||
--- a/tests/test-chains-issuer-aia.h
|
||||
+++ b/tests/test-chains-issuer-aia.h
|
||||
@@ -23,8 +23,6 @@
|
||||
#ifndef GNUTLS_TESTS_TEST_CHAINS_ISSUER_AIA_H
|
||||
# define GNUTLS_TESTS_TEST_CHAINS_ISSUER_AIA_H
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
-
|
||||
#define MAX_CHAIN 1
|
||||
|
||||
static const char *missing_cert_aia[] = {
|
||||
@@ -132,6 +130,4 @@ static const char *missing_cert_aia_ca[]
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
-/* *INDENT-ON* */
|
||||
-
|
||||
#endif /* GNUTLS_TESTS_TEST_CHAINS_ISSUER_AIA_H */
|
||||
--- a/tests/test-chains.h
|
||||
+++ b/tests/test-chains.h
|
||||
@@ -23,8 +23,6 @@
|
||||
#ifndef GNUTLS_TESTS_TEST_CHAINS_H
|
||||
# define GNUTLS_TESTS_TEST_CHAINS_H
|
||||
|
||||
-/* *INDENT-OFF* */
|
||||
-
|
||||
#define MAX_CHAIN 10
|
||||
|
||||
static const char *chain_with_no_subject_id_in_ca_ok[] = {
|
||||
@@ -4449,6 +4447,4 @@ static struct
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
-/* *INDENT-ON* */
|
||||
-
|
||||
#endif /* GNUTLS_TESTS_TEST_CHAINS_H */
|
|
@ -8,12 +8,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libgcrypt
|
||||
PKG_VERSION:=1.10.1
|
||||
PKG_VERSION:=1.10.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=https://www.gnupg.org/ftp/gcrypt/libgcrypt/
|
||||
PKG_HASH:=ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de
|
||||
PKG_HASH:=3b9c02a004b68c256add99701de00b383accccf37177e0d6c58289664cce0c03
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
PKG_CPE_ID:=cpe:/a:gnupg:libgcrypt
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libgpg-error
|
||||
PKG_VERSION:=1.46
|
||||
PKG_RELEASE:=3
|
||||
PKG_VERSION:=1.47
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=https://mirrors.dotsrc.org/gcrypt/libgpg-error \
|
||||
http://ring.ksc.gr.jp/archives/net/gnupg/libgpg-error \
|
||||
https://www.gnupg.org/ftp/gcrypt/libgpg-error
|
||||
PKG_HASH:=b7e11a64246bbe5ef37748de43b245abd72cfcd53c9ae5e7fc5ca59f1c81268d
|
||||
PKG_HASH:=9e3c670966b96ecc746c28c2c419541e3bcb787d1a73930f5e5f5e1bcbbb9bdb
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
PKG_LICENSE:=LGPL-2.1-or-later
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libpsl
|
||||
PKG_VERSION:=0.21.1
|
||||
PKG_RELEASE:=3
|
||||
PKG_VERSION:=0.21.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/rockdaboot/libpsl/releases/download/$(PKG_VERSION)
|
||||
PKG_HASH:=ac6ce1e1fbd4d0254c4ddb9d37f1fa99dec83619c1253328155206b896210d4c
|
||||
PKG_HASH:=e35991b6e17001afa2c0ca3b10c357650602b92596209b7492802f3768a6285f
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
PKG_LICENSE:=MIT
|
||||
|
@ -34,10 +34,6 @@ define Package/libpsl/description
|
|||
C library to handle the Public Suffix List
|
||||
endef
|
||||
|
||||
MESON_ARGS += \
|
||||
-Druntime=libidn2 \
|
||||
-Dbuiltin=libidn2
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/libpsl.h $(1)/usr/include/
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -131,7 +131,7 @@ if psl_test_file == ''
|
||||
psl_test_file = join_paths(meson.current_source_dir(), 'list', 'tests', 'tests.txt')
|
||||
endif
|
||||
|
||||
-python = import('python').find_installation()
|
||||
+python = 'python3'
|
||||
pkgconfig = import('pkgconfig')
|
||||
|
||||
if cc.get_id() == 'msvc'
|
|
@ -1,29 +0,0 @@
|
|||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -20,6 +20,7 @@ libicu_dep = notfound
|
||||
libidn_dep = notfound
|
||||
libunistring = notfound
|
||||
networking_deps = notfound
|
||||
+libiconv_dep = notfound
|
||||
|
||||
# FIXME: Cleanup this when Meson gets 'feature-combo':
|
||||
# https://github.com/mesonbuild/meson/issues/4566
|
||||
@@ -86,6 +87,7 @@ endif
|
||||
if libidn2_dep.found() or libidn_dep.found()
|
||||
# Check for libunistring, we need it for psl_str_to_utf8lower()
|
||||
libunistring = cc.find_library('unistring')
|
||||
+ libiconv_dep = dependency('iconv')
|
||||
endif
|
||||
|
||||
if host_machine.system() == 'windows'
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -19,7 +19,7 @@ cargs = [
|
||||
libpsl = library('psl', sources, suffixes_dafsa_h,
|
||||
include_directories : [configinc, includedir],
|
||||
c_args : cargs,
|
||||
- dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps],
|
||||
+ dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep],
|
||||
version: lt_version,
|
||||
install: true,
|
||||
)
|
|
@ -6,12 +6,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libsoup3
|
||||
PKG_VERSION:=3.2.2
|
||||
PKG_VERSION:=3.4.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=libsoup-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=@GNOME/libsoup/3.2
|
||||
PKG_HASH:=83673c685b910fb7d39f1f28eee5afbefb71c05798fc350ac3bf1b885e1efaa1
|
||||
PKG_SOURCE_URL:=@GNOME/libsoup/3.4
|
||||
PKG_HASH:=78c8fa37cb152d40ec8c4a148d6155e2f6947f3f1602a7cda3a31ad40f5ee2f3
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libsoup-$(PKG_VERSION)
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=openldap
|
||||
PKG_VERSION:=2.6.3
|
||||
PKG_VERSION:=2.6.4
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||
PKG_SOURCE_URL:=https://gpl.savoirfairelinux.net/pub/mirrors/openldap/openldap-release/ \
|
||||
https://mirror.eu.oneandone.net/software/openldap/openldap-release/ \
|
||||
https://www.openldap.org/software/download/OpenLDAP/openldap-release/
|
||||
PKG_HASH:=d2a2a1d71df3d77396b1c16ad7502e674df446e06072b0e5a4e941c3d06c0d46
|
||||
PKG_HASH:=d51704e50178430c06cf3d8aa174da66badf559747a47d920bb54b2d4aa40991
|
||||
PKG_LICENSE:=OLDAP-2.8
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
PKG_CPE_ID:=cpe:/a:openldap:openldap
|
||||
|
|
|
@ -6,24 +6,23 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=vips
|
||||
PKG_VERSION:=8.13.3
|
||||
PKG_VERSION:=8.14.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://github.com/libvips/libvips/releases/download/v$(PKG_VERSION)
|
||||
PKG_HASH:=4eff5cdc8dbe1a05a926290a99014e20ba386f5dcca38d9774bef61413435d4c
|
||||
PKG_HASH:=27dad021f0835a5ab14e541d02abd41e4c3bd012d2196438df5a9e754984f7ce
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
PKG_LICENSE:=LGPL-2.1-or-later
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
PKG_CPE_ID:=cpe:/a:vips:vips
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_DEPENDS:=glib2/host
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
include $(INCLUDE_DIR)/meson.mk
|
||||
|
||||
define Package/vips
|
||||
$(call Package/vips/Default)
|
||||
|
@ -31,41 +30,38 @@ define Package/vips
|
|||
CATEGORY:=Multimedia
|
||||
TITLE:=An image manipulation library
|
||||
URL:=https://libvips.github.io/libvips/
|
||||
DEPENDS:=+glib2 +libexif +libexpat +libjpeg +libpng +giflib +libxml2 +libstdcpp $(INTL_DEPENDS)
|
||||
DEPENDS:=+glib2 +libexif +libexpat +libjpeg +libpng +giflib +libxml2
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-debug \
|
||||
--disable-gtk-doc-html \
|
||||
--disable-magickload \
|
||||
--disable-magicksave \
|
||||
--without-analyze \
|
||||
--without-cfitsio \
|
||||
--without-fftw \
|
||||
--without-gsf \
|
||||
--without-imagequant \
|
||||
--without-lcms \
|
||||
--without-libwebp \
|
||||
--without-magick \
|
||||
--without-magickpackage \
|
||||
--without-matio \
|
||||
--without-nifti \
|
||||
--without-OpenEXR \
|
||||
--without-openslide \
|
||||
--without-orc \
|
||||
--without-pangoft2 \
|
||||
--without-pdfium \
|
||||
--without-poppler \
|
||||
--without-ppm \
|
||||
--without-radiance \
|
||||
--without-rsvg \
|
||||
--without-tiff \
|
||||
--without-x \
|
||||
--without-zlib \
|
||||
--with-giflib \
|
||||
--with-jpeg \
|
||||
--with-libexif \
|
||||
--with-png \
|
||||
MESON_ARGS += \
|
||||
-Dgtk_doc=false \
|
||||
-Dintrospection=false \
|
||||
-Danalyze=false \
|
||||
-Dcfitsio=disabled \
|
||||
-Dfftw=disabled \
|
||||
-Dgsf=disabled \
|
||||
-Dimagequant=disabled \
|
||||
-Dlcms=disabled \
|
||||
-Dwebp=disabled \
|
||||
-Dmagick=disabled \
|
||||
-Dmagick-package=disabled \
|
||||
-Dmatio=disabled \
|
||||
-Dnifti=disabled \
|
||||
-Dopenexr=disabled \
|
||||
-Dopenslide=disabled \
|
||||
-Dorc=disabled \
|
||||
-Dpangocairo=disabled \
|
||||
-Dpdfium=disabled \
|
||||
-Dpoppler=disabled \
|
||||
-Dppm=false \
|
||||
-Dradiance=false \
|
||||
-Drsvg=disabled \
|
||||
-Dtiff=disabled \
|
||||
-Dzlib=disabled \
|
||||
-Dcgif=enabled \
|
||||
-Djpeg=enabled \
|
||||
-Dexif=enabled \
|
||||
-Dpng=enabled \
|
||||
|
||||
TARGET_CXXFLAGS += -fno-rtti
|
||||
|
||||
|
@ -74,7 +70,7 @@ define Build/InstallDev
|
|||
$(CP) $(PKG_INSTALL_DIR)/usr/include/vips/* $(1)/usr/include/vips
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libvips.{a,so}* $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libvips.so* $(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/vips.pc $(1)/usr/lib/pkgconfig/vips.pc
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -26,7 +26,11 @@ VIPS_MAJOR_VERSION=vips_major_version()
|
||||
VIPS_MINOR_VERSION=vips_minor_version()
|
||||
VIPS_MICRO_VERSION=vips_micro_version()
|
||||
VIPS_VERSION=vips_version()
|
||||
-VIPS_VERSION_STRING="$VIPS_VERSION-$(date -u -r $srcdir/ChangeLog)"
|
||||
+if test "x$SOURCE_DATE_EPOCH" = "x"; then
|
||||
+ VIPS_VERSION_STRING=$VIPS_VERSION-`date -u -r ChangeLog`
|
||||
+else
|
||||
+ VIPS_VERSION_STRING=$VIPS_VERSION-`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"`
|
||||
+fi
|
||||
|
||||
# packages add to these as we find them
|
||||
VIPS_CFLAGS=""
|
|
@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=zeromq
|
||||
PKG_VERSION:=4.3.4
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/zeromq/libzmq/releases/download/v$(PKG_VERSION)
|
||||
|
|
58
libs/zmq/patches/030-gcc13-compatibility.patch
Normal file
58
libs/zmq/patches/030-gcc13-compatibility.patch
Normal file
|
@ -0,0 +1,58 @@
|
|||
Patch-Source: https://github.com/zeromq/libzmq/commit/438d5d88392baffa6c2c5e0737d9de19d6686f0d
|
||||
--
|
||||
From 438d5d88392baffa6c2c5e0737d9de19d6686f0d Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyich@gmail.com>
|
||||
Date: Tue, 20 Dec 2022 21:45:16 +0000
|
||||
Subject: [PATCH] src/secure_allocator.hpp: define missing 'rebind' type
|
||||
|
||||
`gcc-13` added an assert to standard headers to make sure custom
|
||||
allocators have intended implementation of rebind type instead
|
||||
of inherited rebind. gcc change:
|
||||
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=64c986b49558a7
|
||||
|
||||
Without the fix build fails on this week's `gcc-13` as:
|
||||
|
||||
[ 92%] Building CXX object tests/CMakeFiles/test_security_curve.dir/test_security_curve.cpp.o
|
||||
In file included from /<<NIX>>/gcc-13.0.0/include/c++/13.0.0/ext/alloc_traits.h:34,
|
||||
from /<<NIX>>/gcc-13.0.0/include/c++/13.0.0/bits/stl_uninitialized.h:64,
|
||||
from /<<NIX>>/gcc-13.0.0/include/c++/13.0.0/memory:69,
|
||||
from tests/../src/secure_allocator.hpp:42,
|
||||
from tests/../src/curve_client_tools.hpp:49,
|
||||
from tests/test_security_curve.cpp:53:
|
||||
/<<NIX>>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h: In instantiation of 'struct std::__allocator_traits_base::__rebind<zmq::secure_allocator_t<unsigned char>, unsigned char, void>':
|
||||
/<<NIX>>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:94:11: required by substitution of 'template<class _Alloc, class _Up> using std::__alloc_rebind = typename std::__allocator_traits_base::__rebind<_Alloc, _Up>::type [with _Alloc = zmq::secure_allocator_t<unsigned char>; _Up = unsigned char]'
|
||||
/<<NIX>>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:228:8: required by substitution of 'template<class _Alloc> template<class _Tp> using std::allocator_traits< <template-parameter-1-1> >::rebind_alloc = std::__alloc_rebind<_Alloc, _Tp> [with _Tp = unsigned char; _Alloc = zmq::secure_allocator_t<unsigned char>]'
|
||||
/<<NIX>>/gcc-13.0.0/include/c++/13.0.0/ext/alloc_traits.h:126:65: required from 'struct __gnu_cxx::__alloc_traits<zmq::secure_allocator_t<unsigned char>, unsigned char>::rebind<unsigned char>'
|
||||
/<<NIX>>/gcc-13.0.0/include/c++/13.0.0/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<unsigned char, zmq::secure_allocator_t<unsigned char> >'
|
||||
/<<NIX>>/gcc-13.0.0/include/c++/13.0.0/bits/stl_vector.h:423:11: required from 'class std::vector<unsigned char, zmq::secure_allocator_t<unsigned char> >'
|
||||
tests/../src/curve_client_tools.hpp:64:76: required from here
|
||||
/<<NIX>>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:70:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A
|
||||
70 | _Tp>::value,
|
||||
| ^~~~~
|
||||
|
||||
The change adds trivial `rebind` definition with expected return type
|
||||
and satisfies conversion requirements.
|
||||
---
|
||||
src/secure_allocator.hpp | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
--- a/src/secure_allocator.hpp
|
||||
+++ b/src/secure_allocator.hpp
|
||||
@@ -95,6 +95,17 @@ bool operator!= (const secure_allocator_
|
||||
#else
|
||||
template <typename T> struct secure_allocator_t : std::allocator<T>
|
||||
{
|
||||
+ secure_allocator_t () ZMQ_DEFAULT;
|
||||
+
|
||||
+ template <class U>
|
||||
+ secure_allocator_t (const secure_allocator_t<U> &) ZMQ_NOEXCEPT
|
||||
+ {
|
||||
+ }
|
||||
+
|
||||
+ template <class U> struct rebind
|
||||
+ {
|
||||
+ typedef secure_allocator_t<U> other;
|
||||
+ };
|
||||
};
|
||||
#endif
|
||||
}
|
|
@ -31,6 +31,7 @@ start_service() {
|
|||
append_param_arg "logfile"
|
||||
|
||||
procd_append_param command "run"
|
||||
append_param_arg "token"
|
||||
|
||||
procd_set_param respawn
|
||||
procd_set_param stderr 1
|
||||
|
|
|
@ -45,6 +45,7 @@ CONFIGURE_ARGS += \
|
|||
--$(if $(CONFIG_GENSIO_PTHREADS),with,without)-pthreads \
|
||||
--$(if $(CONFIG_GENSIO_GLIB),with,without)-glib \
|
||||
--$(if $(CONFIG_GENSIO_TCL),with,without)-tcl \
|
||||
--without-go \
|
||||
--without-openipmi \
|
||||
--with-cplusplus \
|
||||
--disable-doc
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=natmap
|
||||
PKG_VERSION:=20230322
|
||||
PKG_VERSION:=20230519
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/heiher/natmap/releases/download/$(PKG_VERSION)
|
||||
PKG_HASH:=d1abe36eb4deac725e2d20674590fc726b8c79d21b053b40059b093592fd8b8a
|
||||
PKG_HASH:=61347ccd2bf9e519ecd703559054d9dd27ce42bab1530fb63a72e7d7c4727c96
|
||||
|
||||
PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>
|
||||
PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>, Ray Wang <r@hev.cc>
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_LICENSE_FILES:=License
|
||||
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=nfdump
|
||||
PKG_VERSION:=1.6.25
|
||||
PKG_VERSION:=1.7.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/phaag/nfdump/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=811ffab139078c08d922739d20f487c48870749c74a0cd4b14dd126252c4be88
|
||||
PKG_HASH:=0545b792e81f5edd51a2fdfbfcc4eac7ba8087005811ab41c34bfac4d78fe926
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
PKG_LICENSE:=BSD-3-Clause
|
||||
|
@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
|
|||
define Package/nfdump
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:= +flex +libbz2 +USE_MUSL:musl-fts
|
||||
DEPENDS:= +flex +libbz2 +USE_MUSL:musl-fts +libatomic
|
||||
TITLE:= nfdump
|
||||
URL:=https://github.com/phaag/nfdump/
|
||||
endef
|
||||
|
|
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=nginx-util
|
||||
PKG_VERSION:=1.6
|
||||
PKG_RELEASE:=16
|
||||
PKG_RELEASE:=17
|
||||
PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Consider using UCI or creating files in /etc/nginx/conf.d/ for configuration.
|
||||
# Parsing UCI configuration is skipped if uci set nginx.global.uci_enable=false
|
||||
# For details see: https://openwrt.org/docs/guide-user/services/webserver/nginx
|
||||
# UCI_CONF_VERSION=1.1
|
||||
|
||||
worker_processes auto;
|
||||
include module.d/*.module;
|
||||
|
|
|
@ -402,6 +402,7 @@ CONFIGURE_ARGS += \
|
|||
--prefix=/usr \
|
||||
--conf-path=/etc/nginx/nginx.conf \
|
||||
--modules-path=/usr/lib/nginx/modules \
|
||||
--with-compat \
|
||||
$(ADDITIONAL_MODULES) \
|
||||
--error-log-path=stderr \
|
||||
--pid-path=/var/run/nginx.pid \
|
||||
|
|
|
@ -8,11 +8,27 @@ USE_PROCD=1
|
|||
G_OPTS="daemon off;"
|
||||
|
||||
NGINX_UTIL="/usr/bin/nginx-util"
|
||||
UCI_CONF_TEMPLATE="/etc/nginx/uci.conf.template"
|
||||
LATEST_UCI_CONF_VERSION="1.1"
|
||||
|
||||
eval $("${NGINX_UTIL}" get_env)
|
||||
|
||||
CONF=""
|
||||
|
||||
nginx_check_luci_template() {
|
||||
UCI_CONF_VERSION="$(sed -nr 's/# UCI_CONF_VERSION=(.*)/\1/p' $UCI_CONF_TEMPLATE)"
|
||||
|
||||
# No need to migrate already latest version
|
||||
if [ "$UCI_CONF_VERSION" = "$LATEST_UCI_CONF_VERSION" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
if [ -z "$UCI_CONF_VERSION" ]; then
|
||||
echo "" >> $UCI_CONF_TEMPLATE
|
||||
echo "include module.d/*.module;" >> $UCI_CONF_TEMPLATE
|
||||
echo "# UCI_CONF_VERSION=1.1" >> $UCI_CONF_TEMPLATE
|
||||
fi
|
||||
}
|
||||
|
||||
nginx_init() {
|
||||
[ -z "${CONF}" ] || return # already called.
|
||||
|
@ -23,6 +39,10 @@ nginx_init() {
|
|||
rm -f "$(readlink "${UCI_CONF}")"
|
||||
${NGINX_UTIL} init_lan
|
||||
|
||||
if [ -f $UCI_CONF_TEMPLATE ]; then
|
||||
nginx_check_luci_template
|
||||
fi
|
||||
|
||||
if [ -e "${UCI_CONF}" ]
|
||||
then CONF="${UCI_CONF}"
|
||||
else CONF="${NGINX_CONF}"
|
||||
|
|
|
@ -16,6 +16,10 @@ config OCSERV_RADIUS
|
|||
bool "enable radius authentication"
|
||||
default n
|
||||
|
||||
config OCSERV_LIBOATH
|
||||
bool "enable OTP"
|
||||
default n
|
||||
|
||||
config OCSERV_PROTOBUF
|
||||
bool "use external libprotobuf"
|
||||
default y
|
||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=ocserv
|
||||
PKG_VERSION:=1.1.7
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
PKG_BUILD_FLAGS:=no-mips16
|
||||
|
||||
PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
@ -39,7 +39,7 @@ define Package/ocserv
|
|||
TITLE:=OpenConnect VPN server
|
||||
URL:=http://www.infradead.org/ocserv/
|
||||
MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
|
||||
DEPENDS:= +OCSERV_RADIUS:libradcli +OCSERV_HTTP_PARSER:libhttp-parser +OCSERV_SECCOMP:libseccomp +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c +libev +kmod-tun
|
||||
DEPENDS:= +OCSERV_RADIUS:libradcli +OCSERV_HTTP_PARSER:libhttp-parser +OCSERV_SECCOMP:libseccomp +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c +OCSERV_LIBOATH:liboath +libev +kmod-tun
|
||||
USERID:=ocserv=72:ocserv=72
|
||||
endef
|
||||
|
||||
|
@ -89,6 +89,10 @@ ifneq ($(CONFIG_OCSERV_HTTP_PARSER),y)
|
|||
CONFIGURE_ARGS += --without-http-parser
|
||||
endif
|
||||
|
||||
ifndef CONFIG_OCSERV_LIBOATH
|
||||
CONFIGURE_ARGS += --without-liboath
|
||||
endif
|
||||
|
||||
define Package/ocserv/conffiles
|
||||
/etc/config/ocserv
|
||||
endef
|
||||
|
|
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||
PKG_NAME:=openvpn
|
||||
|
||||
PKG_VERSION:=2.5.8
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_URL:=\
|
||||
https://build.openvpn.net/downloads/releases/ \
|
||||
|
|
|
@ -153,6 +153,9 @@ openvpn_add_instance() {
|
|||
--config "$conf" \
|
||||
--up "/usr/libexec/openvpn-hotplug up $name" \
|
||||
--down "/usr/libexec/openvpn-hotplug down $name" \
|
||||
--route-up "/usr/libexec/openvpn-hotplug route-up $name" \
|
||||
--route-pre-down "/usr/libexec/openvpn-hotplug route-pre-down $name" \
|
||||
--ipchange "/usr/libexec/openvpn-hotplug ipchange $name" \
|
||||
${up:+--setenv user_up "$up"} \
|
||||
${down:+--setenv user_down "$down"} \
|
||||
--script-security "${security:-2}" \
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=scapy
|
||||
PKG_VERSION:=2.4.5
|
||||
PKG_VERSION:=2.5.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PYPI_NAME:=$(PKG_NAME)
|
||||
PKG_HASH:=bc707e3604784496b6665a9e5b2a69c36cc9fb032af4864b29051531b24c8593
|
||||
PKG_HASH:=5b260c2b754fd8d409ba83ee7aee294ecdbb2c235f9f78fe90bc11cb6e5debc2
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
PKG_LICENSE:=GPL-2.0-only
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tailscale
|
||||
PKG_VERSION:=1.40.0
|
||||
PKG_VERSION:=1.40.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=tailscale-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=6964176889943e0e0b25d8d69e14226cfb1c1a9944a257b24cb2dd212f797141
|
||||
PKG_HASH:=9c0a9648c921f695fc501536e69c8b4998d318256c8049de538f72fbe1491c18
|
||||
|
||||
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
|
||||
PKG_LICENSE:=BSD-3-Clause
|
||||
|
|
|
@ -34,6 +34,7 @@ PKG_CONFIG_DEPENDS:= \
|
|||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
include $(INCLUDE_DIR)/package-seccomp.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/transmission/template
|
||||
SUBMENU:=BitTorrent
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=dos2unix
|
||||
PKG_VERSION:=7.4.4
|
||||
PKG_VERSION:=7.5.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://waterlan.home.xs4all.nl/dos2unix/ \
|
||||
@SF/dos2unix
|
||||
PKG_HASH:=28a841db0bd5827d645caba9d8015e3a71983dc6e398070b5287ee137ae4436e
|
||||
PKG_HASH:=7a3b01d01e214d62c2b3e04c3a92e0ddc728a385566e4c0356efa66fd6eb95af
|
||||
|
||||
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
|
||||
PKG_LICENSE:=BSD-2-Clause
|
||||
|
|
|
@ -25,6 +25,8 @@ PKG_BUILD_PARALLEL:=1
|
|||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
CONFIGURE_VARS += ac_cv_path_ASCIIDOC="" ac_cv_path_XMLTO=""
|
||||
|
||||
define Package/evtest
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
|
|
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=mariadb
|
||||
PKG_VERSION:=10.9.3
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL := https://archive.mariadb.org/$(PKG_NAME)-$(PKG_VERSION)/source
|
||||
|
|
10
utils/mariadb/patches/300-gcc-13-compatibility-fix.patch
Normal file
10
utils/mariadb/patches/300-gcc-13-compatibility-fix.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/tpool/aio_liburing.cc
|
||||
+++ b/tpool/aio_liburing.cc
|
||||
@@ -23,6 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fi
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
#include <thread>
|
||||
+#include <stdexcept>
|
||||
#include <mutex>
|
||||
|
||||
namespace
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=oath-toolkit
|
||||
PKG_VERSION:=2.6.5
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SAVANNAH/oath-toolkit
|
||||
|
@ -29,21 +29,40 @@ CONFIGURE_ARGS += \
|
|||
--disable-xmltest \
|
||||
--disable-pskc
|
||||
|
||||
define Package/liboath
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=A shared and static C library for OATH handling
|
||||
URL:=http://www.nongnu.org/oath-toolkit/index.html
|
||||
endef
|
||||
|
||||
define Package/oath-pam
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=The oath PAM module
|
||||
URL:=http://www.nongnu.org/oath-toolkit/index.html
|
||||
DEPENDS:= +libpam +liboath
|
||||
endef
|
||||
|
||||
define Package/oath-toolkit
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Toolkit for building one-time password authentication
|
||||
TITLE:=A command line tool for generating and validating OTPs
|
||||
URL:=http://www.nongnu.org/oath-toolkit/index.html
|
||||
DEPENDS:=
|
||||
DEPENDS:= +liboath
|
||||
endef
|
||||
|
||||
define Package/oath-toolkit/description
|
||||
The OATH Toolkit provide components for building one-time password
|
||||
authentication systems. It contains shared libraries, command line
|
||||
tools and a PAM module. Supported technologies include the event-based
|
||||
HOTP algorithm (RFC4226) and the time-based TOTP algorithm (RFC6238).
|
||||
define Package/liboath/description
|
||||
The OATH Toolkit provide components for building one-time password
|
||||
authentication systems. It contains shared libraries, command line
|
||||
tools and a PAM module. Supported technologies include the event-based
|
||||
HOTP algorithm (RFC4226) and the time-based TOTP algorithm (RFC6238).
|
||||
endef
|
||||
|
||||
Package/oath-pam/description = $(Package/liboath/description)
|
||||
|
||||
Package/oath-toolkit/description = $(Package/liboath/description)
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include/liboath
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||
|
@ -51,11 +70,21 @@ define Build/InstallDev
|
|||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/oath-toolkit/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
define Package/liboath/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/oathtool $(1)/usr/bin/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/liboath.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/oath-pam/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/security
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/security/pam_oath.so* $(1)/usr/lib/security/
|
||||
endef
|
||||
|
||||
define Package/oath-toolkit/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/oathtool $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,liboath))
|
||||
$(eval $(call BuildPackage,oath-pam))
|
||||
$(eval $(call BuildPackage,oath-toolkit))
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=pciutils
|
||||
PKG_VERSION:=3.8.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=3.10.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=@KERNEL/software/utils/pciutils
|
||||
PKG_HASH:=91edbd0429a84705c9ad156d4ff38ccc724d41ea54c4c5b88e38e996f8a34f05
|
||||
PKG_HASH:=238a2e27166730e53a17fe07bfad229e07fa39b618117e5944b6d7eda9fbb0e9
|
||||
|
||||
PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -131,8 +131,8 @@ distclean: clean
|
||||
@@ -149,8 +149,8 @@ distclean: clean
|
||||
install: all
|
||||
# -c is ignored on Linux, but required on FreeBSD
|
||||
$(DIRINSTALL) -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(IDSDIR) $(DESTDIR)$(MANDIR)/man8 $(DESTDIR)$(MANDIR)/man7 $(DESTDIR)/$(MANDIR)/man5
|
||||
$(DIRINSTALL) -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(IDSDIR) $(DESTDIR)$(MANDIR)/man8 $(DESTDIR)$(MANDIR)/man7 $(DESTDIR)$(MANDIR)/man5
|
||||
- $(INSTALL) -c -m 755 $(STRIP) lspci$(EXEEXT) $(DESTDIR)$(LSPCIDIR)
|
||||
- $(INSTALL) -c -m 755 $(STRIP) setpci$(EXEEXT) $(DESTDIR)$(SBINDIR)
|
||||
+ $(INSTALL) -c -m 755 lspci$(EXEEXT) $(DESTDIR)$(LSPCIDIR)
|
||||
+ $(INSTALL) -c -m 755 setpci$(EXEEXT) $(DESTDIR)$(SBINDIR)
|
||||
$(INSTALL) -c -m 755 update-pciids $(DESTDIR)$(SBINDIR)
|
||||
ifneq ($(IDSDIR),)
|
||||
$(INSTALL) -c -m 644 $(PCI_IDS) $(DESTDIR)$(IDSDIR)
|
||||
$(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(DESTDIR)$(MANDIR)/man8
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
From 0478e1f3928bfaa34eb910ba2cbaf1dda8f84aab Mon Sep 17 00:00:00 2001
|
||||
From: Martin Mares <mj@ucw.cz>
|
||||
Date: Wed, 10 Aug 2022 13:34:28 +0700
|
||||
Subject: [PATCH] Avoid adding multiple version tags to the same symbol
|
||||
|
||||
This is apparently forbidden in most versions of binutils.
|
||||
---
|
||||
lib/filter.c | 12 ++++++++----
|
||||
1 file changed, 8 insertions(+), 4 deletions(-)
|
||||
|
||||
--- a/lib/filter.c
|
||||
+++ b/lib/filter.c
|
||||
@@ -303,21 +303,25 @@ pci_filter_match_v30(struct pci_filter_v
|
||||
// (their positions in struct pci_filter were declared as RFU).
|
||||
|
||||
STATIC_ALIAS(void pci_filter_init(struct pci_access *a, struct pci_filter *f), pci_filter_init_v38(a, f));
|
||||
+DEFINE_ALIAS(void pci_filter_init_v33(struct pci_access *a, struct pci_filter *f), pci_filter_init_v38);
|
||||
SYMBOL_VERSION(pci_filter_init_v30, pci_filter_init@LIBPCI_3.0);
|
||||
-SYMBOL_VERSION(pci_filter_init_v38, pci_filter_init@LIBPCI_3.3);
|
||||
+SYMBOL_VERSION(pci_filter_init_v33, pci_filter_init@LIBPCI_3.3);
|
||||
SYMBOL_VERSION(pci_filter_init_v38, pci_filter_init@@LIBPCI_3.8);
|
||||
|
||||
STATIC_ALIAS(char *pci_filter_parse_slot(struct pci_filter *f, char *str), pci_filter_parse_slot_v38(f, str));
|
||||
+DEFINE_ALIAS(char *pci_filter_parse_slot_v33(struct pci_filter *f, char *str), pci_filter_parse_slot_v38);
|
||||
SYMBOL_VERSION(pci_filter_parse_slot_v30, pci_filter_parse_slot@LIBPCI_3.0);
|
||||
-SYMBOL_VERSION(pci_filter_parse_slot_v38, pci_filter_parse_slot@LIBPCI_3.3);
|
||||
+SYMBOL_VERSION(pci_filter_parse_slot_v33, pci_filter_parse_slot@LIBPCI_3.3);
|
||||
SYMBOL_VERSION(pci_filter_parse_slot_v38, pci_filter_parse_slot@@LIBPCI_3.8);
|
||||
|
||||
STATIC_ALIAS(char *pci_filter_parse_id(struct pci_filter *f, char *str), pci_filter_parse_id_v38(f, str));
|
||||
+DEFINE_ALIAS(char *pci_filter_parse_id_v33(struct pci_filter *f, char *str), pci_filter_parse_id_v38);
|
||||
SYMBOL_VERSION(pci_filter_parse_id_v30, pci_filter_parse_id@LIBPCI_3.0);
|
||||
-SYMBOL_VERSION(pci_filter_parse_id_v38, pci_filter_parse_id@LIBPCI_3.3);
|
||||
+SYMBOL_VERSION(pci_filter_parse_id_v33, pci_filter_parse_id@LIBPCI_3.3);
|
||||
SYMBOL_VERSION(pci_filter_parse_id_v38, pci_filter_parse_id@@LIBPCI_3.8);
|
||||
|
||||
STATIC_ALIAS(int pci_filter_match(struct pci_filter *f, struct pci_dev *d), pci_filter_match_v38(f, d));
|
||||
+DEFINE_ALIAS(int pci_filter_match_v33(struct pci_filter *f, struct pci_dev *d), pci_filter_match_v38);
|
||||
SYMBOL_VERSION(pci_filter_match_v30, pci_filter_match@LIBPCI_3.0);
|
||||
-SYMBOL_VERSION(pci_filter_match_v38, pci_filter_match@LIBPCI_3.3);
|
||||
+SYMBOL_VERSION(pci_filter_match_v33, pci_filter_match@LIBPCI_3.3);
|
||||
SYMBOL_VERSION(pci_filter_match_v38, pci_filter_match@@LIBPCI_3.8);
|
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=podman
|
||||
PKG_VERSION:=4.5.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/containers/podman/archive/v$(PKG_VERSION)
|
||||
|
@ -107,6 +107,10 @@ define Build/Prepare
|
|||
$(eval $(call Download,default-policy))
|
||||
endef
|
||||
|
||||
ifneq ($(CONFIG_USE_MUSL),)
|
||||
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
|
||||
endif
|
||||
|
||||
define Package/podman/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/podman
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{podman,podman-remote} $(1)/usr/bin/
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ttyd
|
||||
PKG_VERSION:=1.6.3
|
||||
PKG_RELEASE:=3
|
||||
PKG_VERSION:=1.7.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/tsl0922/ttyd/tar.gz/$(PKG_VERSION)?
|
||||
PKG_HASH:=1116419527edfe73717b71407fb6e06f46098fc8a8e6b0bb778c4c75dc9f64b9
|
||||
PKG_HASH:=c9cf5eece52d27c5d728000f11315d36cb400c6948d1964a34a7eae74b454099
|
||||
|
||||
PKG_MAINTAINER:=Shuanglei Tao <tsl0922@gmail.com>
|
||||
PKG_LICENSE:=MIT
|
||||
|
@ -26,7 +26,7 @@ define Package/ttyd
|
|||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Command-line tool for sharing terminal over the web
|
||||
DEPENDS:=+libopenssl +libjson-c +libuv +zlib +libwebsockets-full
|
||||
DEPENDS:=+libcap +libopenssl +libjson-c +libuv +zlib +libwebsockets-full
|
||||
URL:=https://github.com/tsl0922/ttyd
|
||||
SUBMENU:=Terminal
|
||||
endef
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
--- a/src/server.c
|
||||
+++ b/src/server.c
|
||||
@@ -509,9 +509,10 @@ int main(int argc, char **argv) {
|
||||
if (ssl) {
|
||||
info.ssl_cert_filepath = cert_path;
|
||||
info.ssl_private_key_filepath = key_path;
|
||||
- if (strlen(ca_path) > 0)
|
||||
+ if (strlen(ca_path) > 0) {
|
||||
info.ssl_ca_filepath = ca_path;
|
||||
info.options |= LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT;
|
||||
+ }
|
||||
#if LWS_LIBRARY_VERSION_MAJOR >= 2
|
||||
info.options |= LWS_SERVER_OPTION_REDIRECT_HTTP_TO_HTTPS;
|
||||
#endif
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include "utils.h"
|
||||
|
||||
@@ -478,7 +479,8 @@ int main(int argc, char **argv) {
|
||||
@@ -509,7 +510,8 @@ int main(int argc, char **argv) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -16,5 +16,5 @@
|
|||
+ openlog("ttyd", LOG_NDELAY | LOG_PID, LOG_DAEMON);
|
||||
+ lws_set_log_level(debug_level, lwsl_emit_syslog);
|
||||
|
||||
#if LWS_LIBRARY_VERSION_MAJOR >= 2
|
||||
char server_hdr[128] = "";
|
||||
sprintf(server_hdr, "ttyd/%s (libwebsockets/%s)", TTYD_VERSION, LWS_LIBRARY_VERSION);
|
||||
|
|
Loading…
Reference in a new issue