480c3c0331
Logswan 2.1.1 (2019-10-30) - Check if system has seccomp in CMakeLists.txt - Use the HAVE_SECCOMP macro to check whether or not to enable seccomp - Define and use a GEOIP2DB macro to specify GeoLite2 database name - Add a switch (-d) to allow specifying path to a GeoIP2 database file - Define and use a LOGSWAN_SYSCALL_ALLOW macro to make code more readable - Adding missing #include guard in seccomp.h header file - Use __NR_ instead of SYS_ prefix in LOGSWAN_SYSCALL_ALLOW - Fix the build on aarch64 Linux, where the open() syscall does not exist - Add error checking for both prctl() calls
21 lines
573 B
Makefile
21 lines
573 B
Makefile
# $NetBSD: Makefile,v 1.14 2019/10/31 10:45:34 fcambus Exp $
|
|
|
|
DISTNAME= logswan-2.1.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=fcambus/}
|
|
|
|
MAINTAINER= fcambus@NetBSD.org
|
|
HOMEPAGE= https://www.logswan.org/
|
|
COMMENT= Fast Web log analyzer using probabilistic data structures
|
|
LICENSE= 2-clause-bsd
|
|
|
|
USE_CMAKE= yes
|
|
|
|
CMAKE_ARGS+= -DGEOIP2DIR=${PREFIX}/share/GeoIP
|
|
|
|
do-test:
|
|
${RUN} cd ${WRKSRC} && ./${PKGBASE} examples/${PKGBASE}.log
|
|
|
|
.include "../../textproc/jansson/buildlink3.mk"
|
|
.include "../../geography/libmaxminddb/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|