Package Details: nginx-unit-go 1.31.0-1

Git Clone URL: https://aur.archlinux.org/nginx-unit.git (read-only, click to copy)
Package Base: nginx-unit
Description: Lightweight, dynamic, open-source server for diverse web applications.
Upstream URL: https://unit.nginx.org/
Licenses: Apache
Submitter: roma-guru
Maintainer: KawaiDesu
Last Packager: KawaiDesu
Votes: 10
Popularity: 0.007539
First Submitted: 2017-12-31 15:36 (UTC)
Last Updated: 2023-09-17 10:41 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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
LANG=ru_RU.UTF-8
...
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/php.unit.so] Ошибка 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 https://github.com/julianbrost/archlinux-pkgbuild-nginx-unit, feel free to merge it.

Changes:

  • 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 php.unit.so and python.unit.so

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.