diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-16 07:20:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-16 07:35:57 +0000 |
commit | 27568dfd3000a20f2615ec4ee0f87d6ef5fc8583 (patch) | |
tree | a6e70a9fd9231377bf9222375cf851c658be4851 /main/nginx | |
parent | dcb0bd1dd20cac445b8988837d6f792a91a3c33b (diff) | |
download | aports-27568dfd3000a20f2615ec4ee0f87d6ef5fc8583.tar.bz2 aports-27568dfd3000a20f2615ec4ee0f87d6ef5fc8583.tar.xz |
main/nginx: remove --host --build as its not autotools
Diffstat (limited to 'main/nginx')
-rw-r--r-- | main/nginx/APKBUILD | 4 | ||||
-rw-r--r-- | main/nginx/nginx.pre-install | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index dfd32500df..778d4bfc8b 100644 --- a/main/nginx/APKBUILD +++ b/main/nginx/APKBUILD @@ -27,8 +27,6 @@ prepare() { build() { cd "$_builddir" ./configure \ - --build=$CBUILD \ - --host=$CHOST \ --prefix=/usr \ --conf-path=/etc/$pkgname/$pkgname.conf \ --pid-path=/var/run/$pkgname.pid \ @@ -47,7 +45,7 @@ build() { --with-http_spdy_module \ --with-mail \ --with-mail_ssl_module \ - || return 1 + || return 1 make || return 1 } diff --git a/main/nginx/nginx.pre-install b/main/nginx/nginx.pre-install new file mode 100644 index 0000000000..8d0a58c6f8 --- /dev/null +++ b/main/nginx/nginx.pre-install @@ -0,0 +1,5 @@ +#!/bin/sh + +addgroup nginx 2>/dev/null +adduser -S -H -h /dev/null -s /sbin/nologin -D -G nginx nginx 2>/dev/null +exit 0 |