pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/unit



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Mon Dec 13 23:10:22 UTC 2021

Modified Files:
        pkgsrc/www/unit: distinfo
Added Files:
        pkgsrc/www/unit/patches: patch-auto_shmem

Log Message:
unit: fix (typical) sandboxed NetBSD builds


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/unit/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/unit/patches/patch-auto_shmem

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/unit/distinfo
diff -u pkgsrc/www/unit/distinfo:1.7 pkgsrc/www/unit/distinfo:1.8
--- pkgsrc/www/unit/distinfo:1.7        Fri Dec  3 01:05:21 2021
+++ pkgsrc/www/unit/distinfo    Mon Dec 13 23:10:22 2021
@@ -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

Added files:

Index: pkgsrc/www/unit/patches/patch-auto_shmem
diff -u /dev/null pkgsrc/www/unit/patches/patch-auto_shmem:1.1
--- /dev/null   Mon Dec 13 23:10:22 2021
+++ pkgsrc/www/unit/patches/patch-auto_shmem    Mon Dec 13 23:10:22 2021
@@ -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