From 1632a5d30751b7e946789b9257679dd916c523dd Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Sun, 20 May 2018 02:27:24 +0200 Subject: [PATCH] kadnode: update to version 2.2.2 Signed-off-by: Moritz Warning --- net/kadnode/Makefile | 10 +-- net/kadnode/patches/0001-LFLAGS-LDFLAGS.patch | 67 ------------------- 2 files changed, 3 insertions(+), 74 deletions(-) delete mode 100644 net/kadnode/patches/0001-LFLAGS-LDFLAGS.patch diff --git a/net/kadnode/Makefile b/net/kadnode/Makefile index 5db3247e85..9e54a915a3 100644 --- a/net/kadnode/Makefile +++ b/net/kadnode/Makefile @@ -1,19 +1,15 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk PKG_NAME:=kadnode -PKG_VERSION:=2.2.0 -PKG_RELEASE:=2 +PKG_VERSION:=2.2.2 +PKG_RELEASE:=1 PKG_LICENSE:=MIT PKG_SOURCE_URL:=https://codeload.github.com/mwarning/KadNode/tar.gz/v$(PKG_VERSION)? PKG_SOURCE:=KadNode-$(PKG_VERSION).tar.gz -PKG_HASH:=1b3ccaa01cbb7548ef268d8b562059452826dc774529303c494418d1a450ca97 +PKG_HASH:=b9803c3c3218b546265dd0072a23474571af1022e38584f2c5f52483d3b28b1a PKG_BUILD_DIR:=$(BUILD_DIR)/KadNode-$(PKG_VERSION) diff --git a/net/kadnode/patches/0001-LFLAGS-LDFLAGS.patch b/net/kadnode/patches/0001-LFLAGS-LDFLAGS.patch deleted file mode 100644 index 0e6de8e162..0000000000 --- a/net/kadnode/patches/0001-LFLAGS-LDFLAGS.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 12f6ca15b1b80f7fedb3ae3cf9067a8045a9a8fd Mon Sep 17 00:00:00 2001 -From: Moritz Warning -Date: Wed, 2 May 2018 19:54:37 +0200 -Subject: [PATCH] LFLAGS => LDFLAGS - ---- - Makefile | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/Makefile b/Makefile -index 62be30a..ae994fc 100644 ---- a/Makefile -+++ b/Makefile -@@ -2,7 +2,7 @@ - CC ?= gcc - CFLAGS ?= -Os -Wall -Wwrite-strings -pedantic - CFLAGS += -std=gnu99 -I/usr/local/include --LFLAGS += -L/usr/local/lib -lc -+LDFLAGS += -L/usr/local/lib -lc - FEATURES ?= dns lpd tls bob cmd debug nss #natpmp upnp - - OBJS = build/searches.o build/kad.o build/log.o \ -@@ -30,7 +30,7 @@ endif - ifeq ($(findstring bob,$(FEATURES)),bob) - OBJS += build/ext-bob.o - CFLAGS += -DBOB -- LFLAGS += -lmbedtls -lmbedx509 -lmbedcrypto -+ LDFLAGS += -lmbedtls -lmbedx509 -lmbedcrypto - endif - - ifeq ($(findstring cmd,$(FEATURES)),cmd) -@@ -56,20 +56,20 @@ endif - ifeq ($(findstring tls,$(FEATURES)),tls) - OBJS += build/ext-tls-client.o build/ext-tls-server.o - CFLAGS += -DTLS -- LFLAGS += -lmbedtls -lmbedx509 -lmbedcrypto -+ LDFLAGS += -lmbedtls -lmbedx509 -lmbedcrypto - endif - - ifeq ($(findstring upnp,$(FEATURES)),upnp) - OBJS += build/upnp.o - CFLAGS += -DFWD_UPNP -- LFLAGS += -Wl,-Bdynamic -lminiupnpc -+ LDFLAGS += -Wl,-Bdynamic -lminiupnpc - ENABLE_FORWARDING = 1 - endif - - ifeq ($(findstring natpmp,$(FEATURES)),natpmp) - OBJS += build/natpmp.o - CFLAGS += -DFWD_NATPMP -- LFLAGS += -Wl,-Bdynamic -lnatpmp -+ LDFLAGS += -Wl,-Bdynamic -lnatpmp - ENABLE_FORWARDING = 1 - endif - -@@ -94,7 +94,7 @@ libkadnode.so: build/libkadnode.o $(OBJS) - $(CC) -shared $(OBJS) build/libkadnode.o -o build/libkadnode.so - - kadnode: build/main.o $(OBJS) $(EXTRA) -- $(CC) build/main.o $(OBJS) -o build/kadnode $(LFLAGS) -+ $(CC) build/main.o $(OBJS) -o build/kadnode $(LDFLAGS) - ln -s kadnode build/kadnode-ctl 2> /dev/null || true - - clean: --- -2.17.0 - -- 2.30.2