kcgi: update to 0.13.0.

This commit is contained in:
Duncaen 2021-10-04 17:14:03 +02:00 committed by Duncan Overbruck
parent 7218f0f07b
commit 6173e806d7
2 changed files with 28 additions and 2 deletions

View file

@ -59,3 +59,27 @@
#endif
SC_ALLOW(madvise),
#ifdef __NR_mmap2 /* EABI ARM only has mmap2() */
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -122,6 +122,9 @@
#ifdef __NR_shutdown /* not defined on archs that go via socketcall(2) */
SC_ALLOW(shutdown),
#endif
+#ifdef __NR_socketcall
+ SC_ALLOW(socketcall),
+#endif
SC_ALLOW(brk),
#ifdef __NR_ppoll
SC_ALLOW(ppoll),
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -193,6 +193,9 @@
#ifdef __NR_newfstatat
SC_ALLOW(newfstatat), /* for kutil_openlog logging */
#endif
+#ifdef __NR_fstat64
+ SC_ALLOW(fstat64), /* for kutil_openlog logging */
+#endif
SC_ALLOW(write),
SC_ALLOW(writev),
SC_ALLOW(close),

View file

@ -1,6 +1,6 @@
# Template file for 'kcgi'
pkgname=kcgi
version=0.12.5
version=0.13.0
revision=1
build_style=configure
configure_args="PREFIX=/usr MANDIR=/usr/share/man SBINDIR=/usr/bin"
@ -15,7 +15,9 @@ license="ISC"
homepage="http://kristaps.bsd.lv/kcgi/"
changelog="https://kristaps.bsd.lv/kcgi/archive.html"
distfiles="http://kristaps.bsd.lv/kcgi/snapshots/kcgi-${version}.tgz"
checksum=06ed033de3723651d76e2fac1c2442aaa3a28ac231cbfda4142dfb8782cab363
checksum=d886e5700f5ec72b00cb668e9f06b7b3906b6ccdc5bab4c89e436d4cc4c0c7a1
export CFLAGS="-DENABLE_SECCOMP_FILTER=1"
seccomp_audit_get_suffix() {
case "$1" in