now i have used the PKBUILD file from the ArchLinux ARM repo from github (
https://github.com/archlinuxarm/PKGBUIL ... x-mainline). The PKGBUILD differs from the one obtained from
https://archlinuxarm.org/packages/armv6h/nginx-mainline.
$this->bbcode_second_pass_code('', 'diff PKGBUILD1 PKGBUILD2
2c2
< # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
---
> # Maintainer: Bartłomiej Piotrowski
6c6
< # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
---
> # ALARM: Kevin Mihelich
95,118c95
< sed -e 's|\<user\s\+\w\+;|user html;|g' \
< -e '44s|html|/usr/share/nginx/html|' \
< -e '54s|html|/usr/share/nginx/html|' \
< -i "$pkgdir"/etc/nginx/nginx.conf
<
< rm "$pkgdir"/etc/nginx/*.default
<
< install -d "$pkgdir"/var/lib/nginx
< install -dm700 "$pkgdir"/var/lib/nginx/proxy
<
< chmod 750 "$pkgdir"/var/log/nginx
< chown http:log "$pkgdir"/var/log/nginx
<
< install -d "$pkgdir"/usr/share/nginx
< mv "$pkgdir"/etc/nginx/html/ "$pkgdir"/usr/share/nginx
<
< install -Dm644 ../logrotate "$pkgdir"/etc/logrotate.d/nginx
< install -Dm644 ../service "$pkgdir"/usr/lib/systemd/system/nginx.service
< install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$provides/LICENSE
<
< rmdir "$pkgdir"/run
<
< install -d "$pkgdir"/usr/share/man/man8/
< gzip -9c man/nginx.8 > "$pkgdir"/usr/share/man/man8/nginx.8.gz
---
> sed -e 's|\ "$pkgdir"/usr/share/man/man8/nginx.8.gz
127d103
<')
Aditionally i've downloaded the nginx source code from
http://hg.nginx.org/ into the same dir where the PKGBUILD resides and now when i try to compile, i get the following error:
$this->bbcode_second_pass_code('', 'makepkg -so
==> ERROR: nginx-mainline is not available for the 'armv6h' architecture.
')
i don't understand this as on
https://archlinuxarm.org/packages the nging-mailline package IS availibe for armv6 architectures. or is this just not true? I mean I could also install nginx-mainline as a package via pacman (wich works fine), so why should it not be possible to compile it? Please help me