nginx-mainline-mod-websockify

LOW
maintainer l1n 0 votes scanned 2026-10-17 15:18:35.857371
View on AUR
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
3pkgname=nginx-mainline-mod-websockify
4_commit=c11bc9a3862c53b3af814c3f7d213cc3d2939641
5pkgver=0.0.3.r14.gc11bc9a
6pkgrel=1
7
8_modname="${pkgname#nginx-mainline-mod-}"
9
10pkgdesc='WebSocket-to-TCP proxy ("websockify_pass"), as used by noVNC (module for mainline nginx)'
11arch=('x86_64')
12url="https://github.com/tg123/websockify-nginx-module"
13license=('MIT')
14depends=('nginx-mainline')
15makedepends=('nginx-mainline-src')
16source=("$_modname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
17sha256sums=('5e9c65916249a6b246ea7429e83f025d2ac5c24b60b89923016155268339587b')
18
19prepare() {
20 mkdir -p build
21 cd build
22 ln -sf /usr/src/nginx/auto
23 ln -sf /usr/src/nginx/src
24}
25
26build() {
27 cd build
28 /usr/src/nginx/configure --with-compat --add-dynamic-module=../$_modname-nginx-module-$_commit
29 make modules
30}
31
32package() {
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)SeverityRules
2026-10-17 15:18:35 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion