Package Details: nginx-custom 1.12.2-2

Git Clone URL: https://aur.archlinux.org/nginx-custom.git (read-only)
Package Base: nginx-custom
Description: Lightweight HTTP server and IMAP/POP3 proxy server (with standard, additional and 3rd party modules)
Upstream URL: https://nginx.org
Licenses: custom
Conflicts: nginx, nginx-custom-dev, nginx-devel, nginx-full, nginx-svn, nginx-unstable
Provides: nginx
Submitter: akuznetcov
Maintainer: Martchus (unixfox)
Last Packager: Martchus
Votes: 15
Popularity: 0.004721
First Submitted: 2012-04-03 18:08
Last Updated: 2018-01-10 18:19

Required by (68)

Sources (21)

Pinned Comments

Martchus commented on 2017-04-27 00:59

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff

Latest Comments

SunDoctor commented on 2017-12-05 20:02

@Martchus: thanks, new string with 'find' is much better

Martchus commented on 2017-12-05 15:12

I'm currently to busy to test this just for yaourt, but you could try replacing the concerning line with:

TEST_NGINX_BINARY="$srcdir/${_pkgname}-${pkgver}/objs/nginx" find -maxdepth 1 -not -iname 'auth_request_satisfy.t' -iname '*.t' -exec prove {} \+

If I didn't miss something, this it should be equivalent to the (extended) glob expression yaourt doesn't seem to like.

SunDoctor commented on 2017-12-05 14:59

I confirm that new package breaks at line 139 with yaourt:

/tmp/yaourt-tmp/aur-nginx-custom/./tmp.1C65hkHNcM: line 139: syntax error near unexpected token (' /tmp/yaourt-tmp/aur-nginx-custom/./tmp.1C65hkHNcM: line 139: TEST_NGINX_BINARY="$srcdir/${_pkgname}-${pkgver}/objs/nginx" prove !(auth_request_satisfy).t' ==> ERROR: Failed to source /tmp/yaourt-tmp/aur-nginx-custom/./tmp.1C65hkHNcM Unable to read PKGBUILD

Wyn commented on 2017-12-01 19:55

@Martchus Installation was successful manually, when installing manually I ran across mailcap conflicting with '/etc/nginx/mime.types' which was easily solved.

Wyn commented on 2017-12-01 19:30

@Martchus I update via yaourt with '-Syyua' parameters, the same error is displayed as before. I'll attempt doing it manually.

Martchus commented on 2017-12-01 19:25

@Wyn I can not reproduce. Maybe someone else can? How do you invoke makepkg/makechrootpkg exactly and what is the exact error? Can you `source PKGBUILD`?

Wyn commented on 2017-12-01 19:12

@Martchus After triple checking extglob is in fact enabled the error is still thrown.

Martchus commented on 2017-12-01 12:43

@Wyn Seems like extglob is not enabled in your case. Actually it should be enabled by line `shopt -s extglob`. I could use `find` instead, however I'm wondering why makepkg behaves different in your case.

Wyn commented on 2017-12-01 05:04

There's a syntax error on line 139:

/aur-nginx-custom/./tmp.BXY6L3SCoV: line 139: syntax error near unexpected token `('
/aur-nginx-custom/./tmp.BXY6L3SCoV: line 139: ` TEST_NGINX_BINARY="$srcdir/${_pkgname}-${pkgver}/objs/nginx" prove !(auth_request_satisfy).t'

SunDoctor commented on 2017-11-01 15:47

@Martchus: I think this problem comes with new version of nginx, since 1.1 or later. I found the same messages at github:

https://github.com/gplessis/dotdeb-nginx/issues/82

but I have no decision and advice how to solve it yet.

All comments