|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright (C) 2016,2017,2019 Damien Goutte-Gattat |
|
|
|
# Copyright (C) 2016,2017,2019,2020 Damien Goutte-Gattat |
|
|
|
# |
|
|
|
# Copyright 2008 Cherife Le <cherife-#-dotimes.com> |
|
|
|
# Copyright 2011 Diogo Leal <diogo@diogoleal.com> |
|
|
@ -31,7 +31,7 @@ |
|
|
|
|
|
|
|
# Source package infos |
|
|
|
NAMESRC=${NAMESRC:-nginx} |
|
|
|
VERSION=${VERSION:-1.12.2} |
|
|
|
VERSION=${VERSION:-1.16.1} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
WGET=${WGET:-http://nginx.org/download/$ARCHIVE} |
|
|
|
|
|
|
@ -93,6 +93,7 @@ CXXFLAGS=$CPUOPT \ |
|
|
|
./configure \ |
|
|
|
--prefix=/usr \ |
|
|
|
--sbin-path=/usr/sbin/nginx \ |
|
|
|
--modules-path=/usr/lib$LIBDIRSUFFIX/nginx/modules \ |
|
|
|
--conf-path=/etc/nginx/nginx.conf \ |
|
|
|
--pid-path=/var/run/nginx.pid \ |
|
|
|
--lock-path=/var/lock/subsys \ |
|
|
@ -106,7 +107,6 @@ CXXFLAGS=$CPUOPT \ |
|
|
|
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \ |
|
|
|
--http-scgi-temp-path=/var/lib/nginx/scgi \ |
|
|
|
--with-file-aio \ |
|
|
|
--with-ipv6 \ |
|
|
|
--with-select_module \ |
|
|
|
--with-poll_module \ |
|
|
|
--with-http_ssl_module \ |
|
|
|