Package Base Details: nginx-unit

Git Clone URL: (read-only, click to copy)
Submitter: roma-guru
Maintainer: KawaiDesu
Last Packager: KawaiDesu
Votes: 7
Popularity: 0.000034
First Submitted: 2017-12-31 15:36 (UTC)
Last Updated: 2021-12-03 11:30 (UTC)

Latest Comments

quatauta commented on 2020-12-30 10:30 (UTC)

nging-unit-python 1.20.0 does not compile with current python 3.9 installed. nginx-unit-python 1.21.0 compiles with python 3.9. Changes with Unit 1.21.0 19 Nov 2020 [...] *) Feature: compatibility with Python 3.9.

KawaiDesu commented on 2020-01-27 10:17 (UTC)

Package was flagged as out-of-date (that's true) but building ruby module is broken in 1.14. Fix will be deployed in 1.15 soon. See

KawaiDesu commented on 2019-11-19 21:44 (UTC) (edited on 2019-12-02 21:46 (UTC) by KawaiDesu)

@whoami I have succesfully built all packages with LANG=C and LANG=ru_RU.UTF-8
Try to pacman -Syu and rebuild again.

KawaiDesu commented on 2019-10-22 10:12 (UTC) (edited on 2019-10-22 10:12 (UTC) by KawaiDesu)

Hello. I am new package maintainer.
Pushed new release 1.12. What's new:
- Added support for Ruby and Perl (thanks @whoami).
- NodeJS support was added too but disabled for now due to build problems.
- Added TLS support.

whoami commented on 2019-08-22 17:38 (UTC)

whoami commented on 2019-05-30 16:56 (UTC)

gdamjan commented on 2018-11-18 01:26 (UTC) (edited on 2018-11-18 01:30 (UTC) by gdamjan)

the changes to the PKGBUILD to include perl, ruby and nodejs

gdamjan commented on 2018-11-18 01:18 (UTC) (edited on 2018-11-18 01:19 (UTC) by gdamjan)

how about adding the nodejs support

for nodejs you need makedepends=(node-gyp npm) ./configure nodejs and make DESTDIR="$pkgdir" node-install

ps. and how about ruby

whoami commented on 2018-11-15 23:48 (UTC)

whoami commented on 2018-10-13 22:46 (UTC)


whoami commented on 2018-08-04 12:34 (UTC) (edited on 2018-08-04 12:34 (UTC) by whoami)

u must specify LANGUAGE=C in build(), cause it's looks like not builds with non-english locales

build() {
  export LANGUAGE=C
  cd "$srcdir"/$_shortname-$pkgver

whoami commented on 2018-07-05 23:33 (UTC) (edited on 2018-07-05 23:36 (UTC) by whoami)

How it works?

$ locale
makepkg -sifC -- can't build
 build/src/nxt_php_sapi-php.o -lphp7<br>
/usr/bin/ld: build/src/nxt_php_sapi-php.o: перемещение R_X86_64_PC32 для символ «sapi_globals» не может использоваться при создании общий объект; перекомпилируйте с параметром -fPIC
/usr/bin/ld: final link failed: Некорректное значение
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
make:  [build/Makefile:1523: build/] Ошибка 1
make:  Ожидание завершения заданий…
LANG=C makepkg -sifC -- can't build

LANGUAGE=C makepkg -sifC -- CAN build

julianbrost commented on 2018-04-15 10:54 (UTC)

You can add me as co-maintainer, however for now I'm only playing around with Unit, so no guarantees that I'm interested in the package in the long run.

roma-guru commented on 2018-04-14 22:45 (UTC)

Thanks for the work, Julian! I've merged your code. I might add you as co-maintainer if you're interested in this role.

julianbrost commented on 2018-04-14 18:21 (UTC) (edited on 2018-04-14 18:22 (UTC) by julianbrost)

I've updates the PKGBUILD with a few changes, you can find my version at, feel free to merge it.


  • Update to v1.0

  • Fix all installation paths (note that I've changed the path of the pid and log file and the control socket so that they reflect the package base name)

  • Enable support for python 2

gdamjan commented on 2018-04-03 16:42 (UTC)

also, the nginx-unit-go package put all its files in /home/damjan/go/src/

gdamjan commented on 2018-04-03 16:42 (UTC)

what's with the /usr/build/ directory? is has and

roma-guru commented on 2018-01-28 19:06 (UTC)

Added Go support.

mgavrylov commented on 2018-01-19 10:17 (UTC)

It will be good add Go support. Changes is not so big.

package_nginx-unit-go() { depends=('nginx-unitd' 'go') cd "$srcdir"/$_shortname-$pkgver make DESTDIR="$pkgdir" go-install } Also it will be good see separate package for Go language.

roma-guru commented on 2018-01-16 05:51 (UTC)

Added systemd service.

roma-guru commented on 2018-01-01 21:07 (UTC) (edited on 2018-01-16 05:52 (UTC) by roma-guru)

Thanks for comments.

2,3 fixed. 1 - I will add systemd unit later.

About config files - all configuration is dynamic via control socket (

VVL commented on 2017-12-31 18:55 (UTC)

  1. There are no systemd units and config files for app.
  2. Impossible to install both (php and python) versions by this PKGBUILD.
  3. Need to add --sbindir=/usr/bin option for configure block.