summaryrefslogtreecommitdiff
path: root/opt
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 19:13:50 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 19:13:50 +0000
commit3c178b3de383c542d4507be42a37fee96a63cb56 (patch)
tree50c12e314e18fa602508004e38b5f7f7b66b5610 /opt
parentea614afb20075ed41eaeb6f6b6a117c8accc410e (diff)
downloadports-3c178b3de383c542d4507be42a37fee96a63cb56.tar.gz
sync 2026-09-26 19:13 UTC
5 files changed, 31 insertions(+), 23 deletions(-)
Diffstat (limited to 'opt')
-rw-r--r--opt/fcgiwrap/.signature6
-rw-r--r--opt/fcgiwrap/MAKEPKG29
-rw-r--r--opt/nginx/.footprint2
-rw-r--r--opt/nginx/.signature8
-rw-r--r--opt/nginx/MAKEPKG9
5 files changed, 31 insertions, 23 deletions
diff --git a/opt/fcgiwrap/.signature b/opt/fcgiwrap/.signature
index 3f58772..78930d5 100644
--- a/opt/fcgiwrap/.signature
+++ b/opt/fcgiwrap/.signature
@@ -1,6 +1,6 @@
-RWTZ9IduCSQ/mPE8Trms4nCB5qzD++aB6Z8gcpSJYksPKdBWCnRalUzfRNQCwVn483vgefIuNHBhxluKVj4kMY/t5tctwjt45wQ=
+RWTZ9IduCSQ/mGv0nkPj6DiLQenX6RdtP+5YGmVqsth9Wxi8BEKrjJRJ6H/zmEsH0mte3PcQx9EF+Q6S3Iw9M8qENYj8QtQ3gAg=
-SHA256 (MAKEPKG) = 8830d1f6032212269d2ee0216ab94bfb5230a8dde573b425dfe63d5c0e6e2c7e
+SHA256 (MAKEPKG) = 4b8f81f2d05c276fa0b5cf835b3868368c847e916922e4a6bc3b1fc2c270a30d
SHA256 (.footprint) = 1a3f9bb53f43ed31300bb4f03d86c5b790a17eb36cef2eca33102c6661308e18
SHA256 (1.1.0.tar.gz) = 4c7de0db2634c38297d5fcef61ab4a3e21856dd7247d49c33d9b19542bd1c61f
-SHA256 (fcgiwrap#1.1.0-2.pkg.tar.gz) = 5e8d16724f974bd1fca10ee89443df499169b0c9432412b8b22a3c03ebb54b1e
+SHA256 (fcgiwrap#1.1.0-1.pkg.tar.gz) = a038c854e2a331d95e8a8b61be8913feafdaa81b0df56c08eaf972ba6cbee8ea
diff --git a/opt/fcgiwrap/MAKEPKG b/opt/fcgiwrap/MAKEPKG
index b3321f9..3329b0e 100644
--- a/opt/fcgiwrap/MAKEPKG
+++ b/opt/fcgiwrap/MAKEPKG
@@ -4,14 +4,11 @@
name=fcgiwrap
version=1.1.0
-release=2
+release=1
depends=(fcgi2)
makedeps=(autoconf automake libtool m4)
-groups=(fcgiwrap:user:fcgiwrap:/var/lib/fcgiwrap:750)
+groups=(fcgiwrap:user:fcgiwrap:/var/run/fcgiwrap:755)
services=(fcgiwrap)
-permissions=(
- /var/lib/fcgiwrap:fcgiwrap:fcgiwrap:750
-)
source=(https://github.com/gnosek/fcgiwrap/archive/refs/tags/$version.tar.gz)
sha256sums=(
"4c7de0db2634c38297d5fcef61ab4a3e21856dd7247d49c33d9b19542bd1c61f"
@@ -44,14 +41,23 @@ post_build() {
'#!/bin/sh' \
'exec 2>&1' \
'' \
- 'grp=fcgiwrap' \
- 'getent group http >/dev/null && grp=http' \
- '' \
- 'install -d -m 750 -o fcgiwrap -g "$grp" /run/fcgiwrap' \
+ 'mkdir -p /run/fcgiwrap' \
'rm -f /run/fcgiwrap/sock' \
'' \
- 'umask 0111' \
- 'exec chpst -u fcgiwrap:fcgiwrap fcgiwrap -c 4 -s unix:/run/fcgiwrap/sock' \
+ 'chpst -u fcgiwrap:fcgiwrap \' \
+ ' fcgiwrap -c 4 -s unix:/run/fcgiwrap/sock &' \
+ 'pid=$!' \
+ '' \
+ '# Wait briefly for the socket, then make it accessible to http' \
+ 'i=0' \
+ 'while [ ! -S /run/fcgiwrap/sock ] && [ $i -lt 50 ]; do' \
+ ' sleep 0.1' \
+ ' i=$((i+1))' \
+ 'done' \
+ 'chgrp http /run/fcgiwrap/sock 2>/dev/null || true' \
+ 'chmod 660 /run/fcgiwrap/sock' \
+ '' \
+ 'wait $pid' \
> $PKG/etc/sv/fcgiwrap/run
printf '%s\n' \
@@ -76,3 +82,4 @@ signify() {
}
# vim: filetype=sh
+
diff --git a/opt/nginx/.footprint b/opt/nginx/.footprint
index 219b570..c15dacc 100644
--- a/opt/nginx/.footprint
+++ b/opt/nginx/.footprint
@@ -22,7 +22,7 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/nginx
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/lib/
-drwxr-x--- root/root var/lib/nginx/
+drwxr-xr-x root/root var/lib/nginx/
drwxr-xr-x root/root var/lib/pkg/
drwxr-xr-x root/root var/lib/pkg/meta/
-rw-r--r-- root/root var/lib/pkg/meta/nginx
diff --git a/opt/nginx/.signature b/opt/nginx/.signature
index f896b34..65b0edc 100644
--- a/opt/nginx/.signature
+++ b/opt/nginx/.signature
@@ -1,6 +1,6 @@
-RWTZ9IduCSQ/mHK6Qo975OD/D9wa+XvBvQxUjhJreVcwQqcQZovY4eeDTgsUiDHuiCOBO0CPXEDA/qcFQTHh9LvL7YxyYdbNyAE=
+RWTZ9IduCSQ/mPRStubr0AsiwmXgj97r49A+9e69ghMssDVp6gM4VVHQ02P3RQfCrsxVIwkAXKndsdtqb+boLucHQJkFvY9Qywo=
-SHA256 (MAKEPKG) = a69be7198573fdeacab6ac9e57b9d07e179620d5067a7dcf53f37b425fee88aa
-SHA256 (.footprint) = 0dcb97cfc6331ac7bbdb5109db2c1b6d0b845737ff0a270a0954d98e70aa518e
+SHA256 (MAKEPKG) = 23c6af7ebb0df9c72b6116941414780881c3d945bcfec3d2750833680cd7ea81
+SHA256 (.footprint) = 4808b824f70b3cdacf9022ebd7a0ac5dca7f7ef96edae0e2b87714c661f66c7b
SHA256 (nginx-1.31.6.tar.gz) = 974ed5298a5e398e008704ed5db284e655fc270c596493dbccada452448fc9f1
-SHA256 (nginx#1.31.6-2.pkg.tar.gz) = bc3633c763de765f2d457b6a4879eeb147fa242657c63cd365c3eb306f00c1c1
+SHA256 (nginx#1.31.6-1.pkg.tar.gz) = 7368dffe2cca3b8b26e08703f4a028e137f1ab28d705e567e3f296e2d820de7f
diff --git a/opt/nginx/MAKEPKG b/opt/nginx/MAKEPKG
index 6d77c6a..2061c56 100644
--- a/opt/nginx/MAKEPKG
+++ b/opt/nginx/MAKEPKG
@@ -4,13 +4,13 @@
name=nginx
version=1.31.6
-release=2
+release=1
depends=(libressl pcre2 zlib)
-groups=(http:user:http:/var/lib/nginx:750:906:906)
+groups=(http:user:http:/var/lib/nginx:755:906:906)
services=(nginx)
permissions=(
/etc/nginx/nginx.conf:root:http:640
- /var/lib/nginx:http:http:750
+ /var/lib/nginx:root:http:755
/var/log/nginx:root:http:755
)
source=(https://nginx.org/download/$name-$version.tar.gz)
@@ -66,7 +66,7 @@ build() {
rm -f $PKG/etc/nginx/*.default
# Runtime / state directories
- install -d -m 750 $PKG/var/lib/nginx
+ install -d -m 755 $PKG/var/lib/nginx
install -d -m 755 $PKG/var/log/nginx
install -d -m 755 $PKG/etc/nginx/conf.d
}
@@ -162,3 +162,4 @@ signify() {
}
# vim: filetype=sh
+