pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/unit unit: fix (typical) sandboxed NetBSD builds
details: https://anonhg.NetBSD.org/pkgsrc/rev/6606ff3e8f64
branches: trunk
changeset: 771132:6606ff3e8f64
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Mon Dec 13 23:10:22 2021 +0000
description:
unit: fix (typical) sandboxed NetBSD builds
diffstat:
www/unit/distinfo | 3 ++-
www/unit/patches/patch-auto_shmem | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r 4fb80d4ac282 -r 6606ff3e8f64 www/unit/distinfo
--- a/www/unit/distinfo Mon Dec 13 21:59:09 2021 +0000
+++ b/www/unit/distinfo Mon Dec 13 23:10:22 2021 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.7 2021/12/03 01:05:21 gutteridge Exp $
+$NetBSD: distinfo,v 1.8 2021/12/13 23:10:22 gutteridge Exp $
BLAKE2s (unit-1.26.1.tar.gz) = 0f04392b663019aadd40213b0cc6342e9077c3324f9348e9f59a909db31a1d3c
SHA512 (unit-1.26.1.tar.gz) = 1caadb35cb208067a5d437e1f649c9f9a833a39c4344b2c3a5ae94d9fcd811913e2f23114cf8d7886030306e036da18c55f09044b8a575c1616568321b8d84ec
Size (unit-1.26.1.tar.gz) = 865811 bytes
SHA1 (patch-auto_events) = 0347dfefbedaacd206c8c2bfd8ea38b18995dd9f
SHA1 (patch-auto_os_conf) = 6d1cd7aef662a60d4288014eb6fadbe8c1268e55
+SHA1 (patch-auto_shmem) = cb37c368c19205c2cc1750f4a847af23be8bfa25
SHA1 (patch-src_nxt__kqueue__engine.c) = c341425f4b21d4cff6e003958f88a04b53dc4ee1
SHA1 (patch-src_nxt__php__sapi.c) = 2d5e557ff2066bec78f5bfbca6a64688f60da01b
SHA1 (patch-src_nxt__unix.h) = c0db5bc4d9c45a3ead48627567284d8b3041b0a0
diff -r 4fb80d4ac282 -r 6606ff3e8f64 www/unit/patches/patch-auto_shmem
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/unit/patches/patch-auto_shmem Mon Dec 13 23:10:22 2021 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-auto_shmem,v 1.1 2021/12/13 23:10:22 gutteridge Exp $
+
+Fix sandboxed builds on NetBSD, where /var/shm typically doesn't exist.
+
+--- auto/shmem.orig 2021-12-02 15:23:00.000000000 +0000
++++ auto/shmem
+@@ -9,7 +9,11 @@ NXT_SHM_PREFIX="/"
+
+ nxt_feature="shm_open()"
+ nxt_feature_name=NXT_HAVE_SHM_OPEN
++if [ $NXT_SYSTEM = NetBSD ]; then
++nxt_feature_run=no
++else
+ nxt_feature_run=yes
++fi
+ nxt_feature_incs=
+ nxt_feature_libs=
+ nxt_feature_test="#include <sys/mman.h>
Home |
Main Index |
Thread Index |
Old Index