From fac3fe43c7f112bc2e2a8a45fd40d3041d1c944f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= Date: Thu, 12 Aug 2021 12:41:01 +0200 Subject: [PATCH] radsecproxy: Bump to v1.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove 300-gcc10.patch as that was applied upstream, and refresh the other patch. Signed-off-by: Toke Høiland-Jørgensen --- net/radsecproxy/Makefile | 6 ++-- .../patches/200-logdest-on-foreground.patch | 2 +- net/radsecproxy/patches/300-gcc10.patch | 32 ------------------- 3 files changed, 4 insertions(+), 36 deletions(-) delete mode 100644 net/radsecproxy/patches/300-gcc10.patch diff --git a/net/radsecproxy/Makefile b/net/radsecproxy/Makefile index 271666742..263b5d48b 100644 --- a/net/radsecproxy/Makefile +++ b/net/radsecproxy/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=radsecproxy -PKG_VERSION:=1.8.1 -PKG_RELEASE:=2 +PKG_VERSION:=1.9.0 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/radsecproxy/radsecproxy/releases/download/$(PKG_VERSION)/ -PKG_HASH:=c6f9380f049818e71c129ee9bdfa20c8e0e3a13ca1c806643e0d44c310914e63 +PKG_HASH:=440624c53ae67c8e245b9b60ad4d29525471e957d923d94cf72945efc40f4a28 PKG_MAINTAINER:=Toke Høiland-Jørgensen PKG_LICENSE:=BSD-3-CLAUSE diff --git a/net/radsecproxy/patches/200-logdest-on-foreground.patch b/net/radsecproxy/patches/200-logdest-on-foreground.patch index 64c920673..3bcff7412 100644 --- a/net/radsecproxy/patches/200-logdest-on-foreground.patch +++ b/net/radsecproxy/patches/200-logdest-on-foreground.patch @@ -1,6 +1,6 @@ --- a/radsecproxy.c +++ b/radsecproxy.c -@@ -3005,15 +3005,13 @@ int radsecproxy_main(int argc, char **ar +@@ -3067,15 +3067,13 @@ int radsecproxy_main(int argc, char **ar options.loglevel = loglevel; else if (options.loglevel) debug_set_level(options.loglevel); diff --git a/net/radsecproxy/patches/300-gcc10.patch b/net/radsecproxy/patches/300-gcc10.patch deleted file mode 100644 index 352009b89..000000000 --- a/net/radsecproxy/patches/300-gcc10.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 0098fbc45e5068ef20ba26910e281f3955299176 Mon Sep 17 00:00:00 2001 -From: Robert Scheck -Date: Sun, 2 Feb 2020 20:37:16 +0100 -Subject: [PATCH] Declare pthread_attr as extern in header (fixes #63) - -GCC 10 compatibility as per https://gcc.gnu.org/gcc-10/porting_to.html ---- - radsecproxy.c | 1 + - radsecproxy.h | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - ---- a/radsecproxy.c -+++ b/radsecproxy.c -@@ -84,6 +84,7 @@ extern int optind; - extern char *optarg; - #endif - static const struct protodefs *protodefs[RAD_PROTOCOUNT]; -+pthread_attr_t pthread_attr; - - /* minimum required declarations to avoid reordering code */ - struct realm *adddynamicrealmserver(struct realm *realm, char *id); ---- a/radsecproxy.h -+++ b/radsecproxy.h -@@ -262,7 +262,7 @@ int radsrv(struct request *rq); - void replyh(struct server *server, unsigned char *buf); - struct addrinfo *resolve_hostport_addrinfo(uint8_t type, char *hostport); - uint8_t *radattr2ascii(struct tlv *attr); /* TODO: mv this to radmsg? */ --pthread_attr_t pthread_attr; -+extern pthread_attr_t pthread_attr; - - /* Local Variables: */ - /* c-file-style: "stroustrup" */