nginx-mainline-mod-websockify
LOW
maintainer l1n
0 votes
scanned 2026-10-17 15:18:35.857371
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Nova <1367322+l1n@users.noreply.github.com>
2
3
pkgname=nginx-mainline-mod-websockify
4
_commit=c11bc9a3862c53b3af814c3f7d213cc3d2939641
5
pkgver=0.0.3.r14.gc11bc9a
6
pkgrel=1
7
8
_modname="${pkgname#nginx-mainline-mod-}"
9
10
pkgdesc='WebSocket-to-TCP proxy ("websockify_pass"), as used by noVNC (module for mainline nginx)'
11
arch=('x86_64')
12
url="https://github.com/tg123/websockify-nginx-module"
13
license=('MIT')
14
depends=('nginx-mainline')
15
makedepends=('nginx-mainline-src')
16
source=("$_modname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
17
sha256sums=('5e9c65916249a6b246ea7429e83f025d2ac5c24b60b89923016155268339587b')
18
19
prepare() {
20
mkdir -p build
21
cd build
22
ln -sf /usr/src/nginx/auto
23
ln -sf /usr/src/nginx/src
24
}
25
26
build() {
27
cd build
28
/usr/src/nginx/configure --with-compat --add-dynamic-module=../$_modname-nginx-module-$_commit
29
make modules
30
}
31
32
package() {
33
# nginx refuses dynamic modules built for another version, so tie the
34
# package to the nginx it was built against.
35
local _nginxver
36
_nginxver=$(pacman -Q nginx-mainline-src | awk '{print $2}')
37
depends=("nginx-mainline=$_nginxver")
38
39
install -Dm644 "$srcdir/$_modname-nginx-module-$_commit/LICENSE" \
40
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
41
42
cd build/objs
43
for mod in *.so; do
44
install -Dm755 $mod "$pkgdir/usr/lib/nginx/modules/$mod"
45
done
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 15:18:35 | Low | 1 |