From: Duncaen <Duncaen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] kcgi: update to 0.13.0.
Date: Mon, 04 Oct 2021 17:16:09 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33316@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 316 bytes --]
There is a new pull request by Duncaen against master on the void-packages repository
https://github.com/Duncaen/void-packages kcgi-0.13.0
https://github.com/void-linux/void-packages/pull/33316
kcgi: update to 0.13.0.
None
A patch file from https://github.com/void-linux/void-packages/pull/33316.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kcgi-0.13.0-33316.patch --]
[-- Type: text/x-diff, Size: 2089 bytes --]
From c94dfbc2e898a0db8b8801162b60b05ca7ad749f Mon Sep 17 00:00:00 2001
From: Duncaen <duncaen@voidlinux.org>
Date: Mon, 4 Oct 2021 17:14:03 +0200
Subject: [PATCH] kcgi: update to 0.13.0.
---
srcpkgs/kcgi/patches/seccomp.patch | 24 ++++++++++++++++++++++++
srcpkgs/kcgi/template | 6 ++++--
2 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/kcgi/patches/seccomp.patch b/srcpkgs/kcgi/patches/seccomp.patch
index ae93c14e5fe4..2cc0885bcd7c 100644
--- a/srcpkgs/kcgi/patches/seccomp.patch
+++ b/srcpkgs/kcgi/patches/seccomp.patch
@@ -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),
diff --git a/srcpkgs/kcgi/template b/srcpkgs/kcgi/template
index 021c97022dc8..7d7525e43abe 100644
--- a/srcpkgs/kcgi/template
+++ b/srcpkgs/kcgi/template
@@ -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
next reply other threads:[~2021-10-04 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-04 15:16 Duncaen [this message]
2021-10-04 15:19 ` [PR PATCH] [Merged]: " Duncaen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33316@inbox.vuxu.org \
--to=duncaen@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).