fix "popen not supported" errors in ntopng; reported by dhill

This commit is contained in:
sthen 2019-08-21 13:18:32 +00:00
parent 7bb2c2ce99
commit 2395897592
2 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2019/08/10 21:30:28 sthen Exp $
# $OpenBSD: Makefile,v 1.20 2019/08/21 13:18:32 sthen Exp $
# built but not actually installed at present; patches are needed for the
# build so it seems easier to keep the SHARED_LIBS infrastructure here.
@ -9,6 +9,7 @@ COMMENT= network traffic probe with web ui and deep packet inspection
GH_ACCOUNT= ntop
GH_PROJECT= ntopng
GH_TAGNAME= 3.8
REVISION= 0
NDPI_V= 2.6
DISTFILES= ntopng-${GH_TAGNAME}.tar.gz ndpi-${NDPI_V}.tar.gz:0

View File

@ -1,9 +1,18 @@
$OpenBSD: patch-Makefile_in,v 1.4 2019/01/07 18:37:22 sthen Exp $
$OpenBSD: patch-Makefile_in,v 1.5 2019/08/21 13:18:32 sthen Exp $
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -95,12 +95,7 @@ ifeq (@NEDGE@, 0)
@@ -36,6 +36,8 @@ else ifeq ($(OS),Darwin)
LUA_PLATFORM=macosx
else ifeq ($(OS), $(filter $(OS), FreeBSD))
LUA_PLATFORM=freebsd
+else ifeq ($(OS), $(filter $(OS), OpenBSD))
+ LUA_PLATFORM=bsd
endif
LUA_HOME=${PWD}/third-party/lua-5.3.5
@@ -95,12 +97,7 @@ ifeq (@NEDGE@, 0)
HAS_ZEROMQ=$(shell pkg-config --exists libzmq; echo $$?)
ifeq ($(HAS_ZEROMQ), 0)
ZEROMQ_INC = $(shell pkg-config --cflags libzmq)