mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
main/nginx-lua: fix paxmark
This commit is contained in:
parent
9b4f36c9a4
commit
d5ff2af376
@ -8,7 +8,7 @@ _pkgname=nginx
|
||||
pkgver=1.6.3
|
||||
_ngx_devel_kit_ver=0.2.19
|
||||
_ngx_lua_ver=0.9.15
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="lightweight HTTP and reverse proxy server with Lua support"
|
||||
url="http://www.nginx.org"
|
||||
arch="all"
|
||||
@ -74,7 +74,7 @@ package() {
|
||||
|
||||
local paxflags="-m"
|
||||
[ "$CARCH" = "x86" ] && paxflags="-msp"
|
||||
paxmark -c $paxflags "$pkgdir"/usr/sbin/nginx || return 1
|
||||
paxmark "$paxflags" "$pkgdir"/usr/sbin/nginx || return 1
|
||||
|
||||
install -m755 -D "$srcdir"/$_pkgname.initd "$pkgdir"/etc/init.d/$_pkgname
|
||||
install -m644 -D "$srcdir"/$_pkgname.logrotate "$pkgdir"/etc/logrotate.d/$_pkgname
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user