Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] kcgi: update to 0.13.0.
@ 2021-10-04 15:16 Duncaen
  2021-10-04 15:19 ` [PR PATCH] [Merged]: " Duncaen
  0 siblings, 1 reply; 2+ messages in thread
From: Duncaen @ 2021-10-04 15:16 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: kcgi: update to 0.13.0.
  2021-10-04 15:16 [PR PATCH] kcgi: update to 0.13.0 Duncaen
@ 2021-10-04 15:19 ` Duncaen
  0 siblings, 0 replies; 2+ messages in thread
From: Duncaen @ 2021-10-04 15:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

There's a merged pull request on the void-packages repository

kcgi: update to 0.13.0.
https://github.com/void-linux/void-packages/pull/33316

Description:
None

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-04 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04 15:16 [PR PATCH] kcgi: update to 0.13.0 Duncaen
2021-10-04 15:19 ` [PR PATCH] [Merged]: " Duncaen

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).