Package Details: nginx-mainline-mod-vts 0.2.1-1

Git Clone URL: (read-only, click to copy)
Package Base: nginx-mainline-mod-vts
Description: Nginx virtual host traffic status module (module for mainline nginx)
Upstream URL:
Licenses: BSD
Submitter: intelfx
Maintainer: intelfx
Last Packager: intelfx
Votes: 2
Popularity: 0.000000
First Submitted: 2018-09-03 01:44 (UTC)
Last Updated: 2022-10-10 01:08 (UTC)

Latest Comments

kescherAUR commented on 2022-06-23 21:18 (UTC)

@intelfx please apply my change. Alternatively, orphan the package and allow me to adopt it.

anonfunc commented on 2022-03-06 10:59 (UTC)

@kescherAUR This maintainer does not seem to recognize there is something wrong with this package (see my exchange with him down below). I would suggest you (and everyone else to be honest) use your modified PKGBUILD and be done with it.

kescherAUR commented on 2022-03-06 07:34 (UTC)

So, no idea why this package still requires a specific version of nginx-mainline (which also makes it unusable for, say, nginx-quic). All other modules have changed to use the -src package, so here's a easy git diff for you to apply (along with a makepkg --printsrcinfo > .SRCINFO):

diff --git a/PKGBUILD b/PKGBUILD
index be2f653..d73f753 100644
@@ -1,39 +1,39 @@
 # Maintainer: Ivan Shapovalov <>
 # Contributor: Massimiliano Torromeo <>
+# Contributor: Jeremy Kescher <>


 pkgdesc='Nginx virtual host traffic status module (module for mainline nginx)'
 arch=('i686' 'x86_64')
-depends=()  # the build process doesn't require or use installed nginx, so add the dependency in package() to break the cycle

-       $pkgname-$pkgver.tar.gz::$pkgver.tar.gz

-            '17ea41d4083f6d1ab1ab83dad9160eeca66867abe16c5a0421f85a39d7c84b65')
+prepare() {
+       mkdir -p build
+       cd build
+       ln -sf /usr/src/nginx/auto
+       ln -sf /usr/src/nginx/src

 build() {
-       cd "$srcdir"/nginx-$_nginxver
-       ./configure --with-compat --add-dynamic-module=../nginx-module-vts-$pkgver
+       cd build
+       /usr/src/nginx/configure --with-compat --add-dynamic-module=../nginx-module-vts-$pkgver
        make modules

 package() {
-       depends=("nginx-mainline=$_nginxver")
+       depends=('nginx-mainline')
        install -Dm644 "$srcdir"/nginx-module-vts-$pkgver/LICENSE \

-       cd "$srcdir"/nginx-$_nginxver/objs
+       cd build/objs
        for mod in *.so; do
                install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod

Madic commented on 2022-02-22 10:21 (UTC)

Flagging the package out of date was a mistake. Sorry

anonfunc commented on 2021-04-16 16:38 (UTC) (edited on 2022-03-06 11:15 (UTC) by anonfunc)

Well be my guest to not do it, I'm gonna do these changes myself and use that. Maybe you should think about why nginx-mainline-src is in the official repos in the first place.

To quote the pkg desc: "Source code of nginx-mainline 1.19.10, useful for building modules"

anonfunc commented on 2021-03-12 00:38 (UTC) (edited on 2021-03-12 00:41 (UTC) by anonfunc)

@intelfx but you don't need to push a new PKGBUILD (or version) nor does the user has to edit the PKGBUILD, bc nginx-mainline-src is in sync with nginx-mainline. Just a simple rebuild does the trick.

Additionally you don't have the nginx src lying around for every nginx mod you have build, and you don't have to download it either.

intelfx commented on 2021-03-11 23:09 (UTC)


I... don't see how it helps? You still need to rebuild the package every time nginx changes minor version, otherwise your system breaks. The package you linked will not even try to prevent pacman from putting your system into a broken state.

anonfunc commented on 2021-03-05 18:31 (UTC) (edited on 2021-03-05 18:32 (UTC) by anonfunc)

This should probably be adjusted to use nginx-mainline-src, so one can rebuild it without changing PKGBUILD.

See nginx-mainline-mod-geoip2 for an example.