aboutsummaryrefslogtreecommitdiff
path: root/net/nDPId-master
diff options
context:
space:
mode:
Diffstat (limited to 'net/nDPId-master')
-rw-r--r--net/nDPId-master/Makefile6
-rw-r--r--net/nDPId-master/patches/001-enable-in-source-build.patch22
2 files changed, 21 insertions, 7 deletions
diff --git a/net/nDPId-master/Makefile b/net/nDPId-master/Makefile
index 8ae8398..0605a31 100644
--- a/net/nDPId-master/Makefile
+++ b/net/nDPId-master/Makefile
@@ -5,8 +5,8 @@ PKG_VERSION:=1.5
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/lnslbrty/nDPId.git
-PKG_SOURCE_VERSION:=94aa02b298321005b6334262242c30eeb94549ae
+PKG_SOURCE_URL:=https://github.com/utoni/nDPId.git
+PKG_SOURCE_VERSION:=84b12cd02c1f11d134f00b0a066414a677a53719
PKG_HASH:=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -25,7 +25,7 @@ define Package/nDPId-master
SECTION:=net
CATEGORY:=Network
DEPENDS:=@!SMALL_FLASH @!LOW_MEMORY_FOOTPRINT +libpcap +zlib +LIBNDPI_GCRYPT:libgcrypt
- URL:=http://github.com/lnslbrty/nDPId
+ URL:=http://github.com/utoni/nDPId
endef
define Package/nDPId-master/description
diff --git a/net/nDPId-master/patches/001-enable-in-source-build.patch b/net/nDPId-master/patches/001-enable-in-source-build.patch
index 86432dc..d710fe5 100644
--- a/net/nDPId-master/patches/001-enable-in-source-build.patch
+++ b/net/nDPId-master/patches/001-enable-in-source-build.patch
@@ -1,10 +1,21 @@
+From f1fca0f22009a94f8021f43363de560a666801ae Mon Sep 17 00:00:00 2001
+From: Toni Uhlig <matzeton@googlemail.com>
+Date: Sun, 5 Nov 2023 22:02:19 +0100
+Subject: [PATCH] Allow in-source builds required for OpenWrt toolchain.
+
+Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
+---
+ CMakeLists.txt | 7 -------
+ 1 file changed, 7 deletions(-)
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 9045237..83f72b3 100644
+index 21020d5e..9664652e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -1,12 +1,5 @@
- cmake_minimum_required(VERSION 3.12.4)
- project(nDPId C)
+@@ -10,13 +10,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
+ endif(CMAKE_COMPILER_IS_GNUCXX)
+ set(CMAKE_C_STANDARD 11)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -D_DEFAULT_SOURCE=1 -D_GNU_SOURCE=1")
-if("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")
- message(FATAL_ERROR "In-source builds are not allowed.\n"
- "Please remove ${PROJECT_SOURCE_DIR}/CMakeCache.txt\n"
@@ -15,3 +26,6 @@ index 9045237..83f72b3 100644
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
find_package(PkgConfig REQUIRED)
+--
+2.39.2
+