mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/nginx: remove --host --build as its not autotools
This commit is contained in:
parent
dcb0bd1dd2
commit
27568dfd30
@ -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
|
||||
}
|
||||
|
||||
|
||||
5
main/nginx/nginx.pre-install
Normal file
5
main/nginx/nginx.pre-install
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user