logswan: update to 2.1.0.
This commit is contained in:
parent
e613acb859
commit
bed022ada6
|
@ -0,0 +1,21 @@
|
||||||
|
--- src/seccomp.h.orig
|
||||||
|
+++ src/seccomp.h
|
||||||
|
@@ -37,11 +37,18 @@
|
||||||
|
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW),
|
||||||
|
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, SYS_lseek, 0, 1),
|
||||||
|
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW),
|
||||||
|
+#ifdef SYS_open
|
||||||
|
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, SYS_open, 0, 1),
|
||||||
|
+#endif
|
||||||
|
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW),
|
||||||
|
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, SYS_openat, 0, 1),
|
||||||
|
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW),
|
||||||
|
+#ifdef SYS_mmap
|
||||||
|
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, SYS_mmap, 0, 1),
|
||||||
|
+#endif
|
||||||
|
+#ifdef SYS_mmap2
|
||||||
|
+ BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, SYS_mmap2, 0, 1),
|
||||||
|
+#endif
|
||||||
|
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW),
|
||||||
|
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, SYS_munmap, 0, 1),
|
||||||
|
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW),
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'logswan'
|
# Template file for 'logswan'
|
||||||
pkgname=logswan
|
pkgname=logswan
|
||||||
version=2.0.4
|
version=2.1.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
makedepends="jansson-devel libmaxminddb-devel"
|
makedepends="jansson-devel libmaxminddb-devel"
|
||||||
|
@ -8,8 +8,9 @@ short_desc="Fast Web log analyzer using probabilistic data structures"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
license="BSD-2-clause"
|
license="BSD-2-clause"
|
||||||
homepage="https://www.logswan.org/"
|
homepage="https://www.logswan.org/"
|
||||||
|
changelog="https://github.com/fcambus/logswan/raw/master/ChangeLog"
|
||||||
distfiles="https://github.com/fcambus/logswan/archive/${version}.tar.gz"
|
distfiles="https://github.com/fcambus/logswan/archive/${version}.tar.gz"
|
||||||
checksum=cb1eecfd638e5592cabb3ab4d97a1c57a88ca4ef861a6b67388fc87fb6a9af15
|
checksum=c1486195614c63cc42385973d4e89ab9c13f77f408b40b8a589be41fda340be3
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in New Issue