From 13cadd8cc4614a2670fcd76e1a63eb32ae95042a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Thu, 2 Feb 2017 18:40:08 +0000 Subject: vars/build.vars: adds nginx v1.11.3. patches/nginx-1.11.3.local.patch: build w/ pregenerated Makefiles etc. pp. --- vars/build.vars | 12 +++++++++--- vars/nginx.vars | 12 ++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 vars/nginx.vars (limited to 'vars') diff --git a/vars/build.vars b/vars/build.vars index 89dd4376..3372bb2c 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -483,9 +483,9 @@ LEAF_PACKAGES_MAKEFLAGS_INSTALL="DESTDIR=${PREFIX_NATIVE}"; LEAF_PACKAGES_PACKAGES=" apk_tools bash bc bdwgc chicken clang_host coreutils cparser cron dash datamash diffutils dos2unix ed figlet file findutils gawk git gnupg grep hexcurse htop inetutils infounzip infozip irssi john -ldns less lighttpd lynx make man_db mc mksh nano netcat openssh p7zip pacman patch perl procps_ng -python3 rsync rxvt_unicode sed smallbasic tar tcsh the_silver_searcher tmux util_linux vim weechat -wget which whois xeyes xwd zsh"; +ldns less lighttpd lynx make man_db mc mksh nano netcat nginx openssh p7zip pacman patch perl +procps_ng python3 rsync rxvt_unicode sed smallbasic tar tcsh the_silver_searcher tmux util_linux +vim weechat wget which whois xeyes xwd zsh"; LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}"; : ${PKG_APK_TOOLS_SHA256SUM:=def2b2c23cd12fd2a9c19be49653b0d1bf9d81a26dac5a0ee79a1351d674f93b}; : ${PKG_APK_TOOLS_VERSION:=2.6.8}; @@ -683,6 +683,12 @@ LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}"; : ${PKG_NETCAT_NO_MAKE_INSTALL:=1}; : ${PKG_NETCAT_SUBDIR:=${PKG_NETCAT_BUILD_DIR}}; : ${PKG_NETCAT_SUBDIR_CREATE:=1}; +: ${PKG_NGINX_SHA256SUM:=4a667f40f9f3917069db1dea1f2d5baa612f1fa19378aadf71502e846a424610}; +: ${PKG_NGINX_VERSION:=1.11.3}; +: ${PKG_NGINX_URL:=http://nginx.org/download/nginx-${PKG_NGINX_VERSION}.tar.gz}; +: ${PKG_NGINX_SUBDIR:=nginx-${PKG_NGINX_VERSION}}; +: ${PKG_NGINX_BUILD_DIR:=${PKG_NGINX_SUBDIR}}; +: ${PKG_NGINX_CONFIGURE_ARGS:="--prefix="}; : ${PKG_OPENSSH_SHA256SUM:=3ffb989a6dcaa69594c3b550d4855a5a2e1718ccdde7f5e36387b424220fbecc}; : ${PKG_OPENSSH_VERSION:=7.3p1}; : ${PKG_OPENSSH_URL:=http://artfiles.org/openbsd/OpenSSH/portable/openssh-${PKG_OPENSSH_VERSION}.tar.gz}; diff --git a/vars/nginx.vars b/vars/nginx.vars new file mode 100644 index 00000000..e9db7982 --- /dev/null +++ b/vars/nginx.vars @@ -0,0 +1,12 @@ +# +# . ./build.vars and set -o errexit -o noglob are assumed. +# + +pkg_nginx_configure() { + export CFLAGS="${PKG_CFLAGS_CONFIGURE} -I${PKG_PREFIX}/include -pipe -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror"; + export LDFLAGS="${PKG_LDFLAGS_CONFIGURE} -L${PKG_PREFIX}/lib"; + insecure_mkdir objs/src objs/src/core objs/src/event objs/src/event/modules objs/src/http objs/src/http/modules objs/src/os/unix; + set_build_script_done configure clean -build; +}; + +# vim:filetype=sh -- cgit v1.2.3