Commit Graph

178 Commits

Author SHA1 Message Date
swananan 478d980900
changes: remove the pcre2 disable config. 2024-01-12 22:13:21 +08:00
Yichun Zhang (agentzh) ad33f56e91
change: Makefile: added new INSTALL variable that can be overridden from the make command line.
Also fixed compatibility with Android Termux's install utility.
2024-01-09 22:59:56 -08:00
swananan 6278b1aeae feature: upgrade nginx core to 1.25.1 which supports HTTP3. 2023-08-05 23:18:27 +08:00
Yichun Zhang (agentzh) 29b901d4cd change: ./configure: we no longer need to pass in -msse4.2 with the latest LuaJIT. 2020-10-27 01:06:41 -07:00
lijunlong 4a006e09b4 bugfix: fixed a typo in configure. 2020-08-26 00:08:44 +08:00
Thibault Charbonnier 5a03142ec3 configure: removed outdated '--with-luajit' option (always the default).
* keep the option to avoid the script from producing an error - it NOPs.
* removed a dead branch of code since it is now impossible for the
  `luajit` and `luajit_path` options to be both enabled at once.
* update `--help` output to remove mentions of PUC-Rio Lua
2020-06-24 20:02:44 -07:00
Thibault Charbonnier e3615c3522 configure: removed dead code since PUC-Lua isn't supported anymore. 2020-06-24 20:02:11 -07:00
Thibault Charbonnier 947365b3b1 configure: updated options inherited from NGINX 1.17.8.
* removed duplicated `--without-stream_ssl_module` option
* removed obsolete `--with-pcre-conf-opt` option
* added "(defautl on) description to `--with-http_ssl_module` option
* moved `--without-stream` option to OpenResty's section
2020-06-24 20:01:28 -07:00
lijunlong 61f6ecb419 feature: passed C compiler option -g by default for statically linked openssl, pcre, and zlib libraries to enable debuginfo. 2020-06-24 19:59:32 -07:00
Yichun Zhang (agentzh) 8cf88e3b13 upgraded ngx_stream_lua to 0.0.8rc3 and ngx_http_lua to 0.10.16rc5.
bugfix: now we avoid introducing double quotes or single quotes in CFLAGS variable values. Fix #587.

win32/win64: upgraded openssl to 1.1.1e.
2020-03-19 15:22:40 -07:00
Yichun Zhang (agentzh) 2ac0ad9f03 feature: fixed compatibility with macOS 11.15+.
bumped version to 1.17.8.1 RC1.

win32/win64: upgraded pcre to 8.44 and openssl to 1.1.1d.
2020-03-19 14:17:48 -07:00
Thibault Charbonnier 6d7249f1c4 configure: updated '--without-luajit-gc64' to follow Mike Pall's commit which enables GC64 by default on x64 platforms.
See openresty/luajit2@bd00094
2020-01-20 15:18:26 -08:00
Yichun Zhang (agentzh) 41abd0f3b5 bugfix: updated the ./configure --help usage text output for the latest nginx version. 2020-01-02 20:58:30 -08:00
Yichun Zhang (agentzh) f17fe6edc1 change: we no longer maintain the nginx dtrace patch. 2020-01-02 20:35:41 -08:00
Yichun Zhang (agentzh) 395bed2b14 bugfix: windows: make clean: we did not clear many windows-specific files. 2019-09-07 23:42:20 -07:00
Yichun Zhang (agentzh) cc9787a290 feature: ./configure: added new option --with-luajit-ldflags=OPTS for specifying custom luajit linker flags. 2019-05-20 13:14:56 -07:00
Yichun Zhang (agentzh) 4cb86c999c bugfix: lua-resty-signal and lua-resty-shell should not be enabled on windows. 2019-02-04 20:08:28 -08:00
Thibault Charbonnier 72962e0125 bugfix: we now build lua-resty-signal's shared lib component. 2019-02-04 14:45:44 -08:00
Thibault Charbonnier 2e7e51e649 feature: bundled the lua-resty-signal and lua-resty-shell libraries. 2019-02-02 20:35:53 -08:00
Thibault Charbonnier 3f42731e50
change: we now enable the GC64 mode by default in our bundled LuaJIT build for x86_64 architectures; this can be disabled with ./configure --without-luajit-gc64. 2019-01-29 20:00:58 -08:00
Thibault Charbonnier 7b290a582f feature: bundled the lua-tablepool library. 2019-01-29 09:48:06 -08:00
Yichun Zhang (agentzh) 2cfd8e5f04 feature: ./configure: added support for the -h option. 2018-12-09 14:36:08 -08:00
Yichun Zhang (agentzh) 37a41b416c feature: ./configure: added new options --without-stream_ssl_module and --without-stream. 2018-11-01 17:45:50 -07:00
Datong Sun 34db6fd04c configure: now supports the --without-stream_ssl_module option to disable ngx_stream_ssl_module if necessary.
Fix #388.
2018-07-05 00:38:15 -07:00
Datong Sun 0263f89bff configure: support @rpath placeholder in OS X. 2018-06-14 15:59:42 -07:00
Yichun Zhang (agentzh) 4a85469797 ./configure: fixed source lines exceeding 80 cols (heredoc literals are skipped). 2018-03-18 12:42:07 -07:00
Yichun Zhang (agentzh) 46a1c7adb3 feature: now the openresty build system (./configure) automatically patches the resty command-line utility to use its own nginx binary so that it does not have to compute it at runtime (which is a bit expensive).
this saves about 10ms (from for total 20ms to 10ms) for resty's startup time, as
measured on a mid-2015 MBP. That's 50% reduction in total startup time!

Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2018-03-18 12:32:02 -07:00
catatsuy 031778f770 bugfix: ./configure: relative paths in --add-dynamic-module=PATH option did not work.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2018-02-25 14:46:07 -08:00
Yichun Zhang (agentzh) 94db027c12 ./configure: updated the stream subsystem related options from nginx 1.13.6.
thanks hy05190134 for the report in #334.

Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2018-01-24 11:49:52 -08:00
spacewander 2cc5ba6c91 bugfix: we removed the existing Makefile even for `./configure --help`.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2017-12-09 11:42:32 -08:00
Yichun Zhang (agentzh) 3763c5380e feature: bundled and enabled ngx_stream_lua_module by default. this module is still experimental. 2017-10-26 10:41:47 -07:00
Yichun Zhang (agentzh) 9d36d4f069 bugfix: do not abort `make install` when copying COPYRIGHT fails (the destination could be the same file on Windows, for example). 2017-08-08 20:17:18 -07:00
Yichun Zhang (agentzh) cf01381428 plus: install the COPYRIGHT file as well. 2017-07-02 20:10:44 -07:00
Yichun Zhang (agentzh) bc2068420c feature: we now search LuaJIT bytecode files .ljbc before Lua source files *.lua in the default Lua module search paths. 2017-06-26 22:03:02 -07:00
Yichun Zhang (agentzh) b81a5cea66 bugfix: ./configure: the --without-http_lua_upstream option alone incorrectly disabled all the Lua stuff. 2017-06-26 14:17:43 -07:00
Yichun Zhang (agentzh) a8ea810fdc feature: ./configure: the user flags specified by the --with-luajit-xcflags=FLAGS option are not appended to the default flags instead of being prepended. thanks spacewander for the report in #256. 2017-05-06 17:38:10 -07:00
Jukka Raimovaara eb8fc7771d bugfix: the feature test for SSE 4.2 support did not really check if the local CPU indeed has it.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2017-05-06 17:12:07 -07:00
Yichun Zhang (agentzh) 1fbcf153e3 change: we no longer bundle the standard Lua 5.1 interpreter. 2017-04-08 17:33:18 -07:00
Yichun Zhang (agentzh) 6b82ea1099 feature: now we automatically add the -msse4.2 compilation option for building the bundled LuaJIT when it is available. 2017-03-19 22:21:11 -07:00
David Galeano ee90152ae3 bugfix: we did not use PATH in ./configure --sbin-path=PATH when creating symlinks.
this fixes #196.

Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
2017-02-13 15:09:10 -08:00
Yichun Zhang (agentzh) e254c3d0c1 change: now we enable -DLUAJIT_ENABLE_LUA52COMPAT in our bundled LuaJIT build by default, which can be disabled by ./configure --without-luajit-lua52. 2016-11-13 08:18:06 -08:00
Yichun Zhang (agentzh) efe10e532c added new command-line utility, opm, for managing community contributed OpenResty packages. 2016-11-04 15:12:14 -07:00
Yichun Zhang (agentzh) 8ffd932b20 added lua-resty-limit-traffic. 2016-11-04 15:00:22 -07:00
Yichun Zhang (agentzh) 5163293260 make install: now we also create directories <prefix>/site/pod/ and <prefix>/site/manifest/. 2016-11-02 15:19:06 -07:00
Yichun Zhang (agentzh) fd667d6369 updated the help text of ./configure --help to sync with the new nginx 1.11.2 core. 2016-08-26 13:35:04 -07:00
Yichun Zhang (agentzh) 961eb11536 bugfix: forgot to create the directory <openresty-prefix>/site/lualib/. 2016-07-14 18:30:07 -07:00
Yichun Zhang (agentzh) 5429150ab6 feature: added "<openresty-prefix>/site/lualib/" to the default Lua module search paths used by OpenResty. This location is for 3rd-party Lua modules so that the users will not pollute the "<openresty-prefix>/lualib/" directory with non-standard Lua module files. 2016-07-14 18:05:53 -07:00
Yichun Zhang (agentzh) 8d76d5910f feature: now we create the <openresty-prefix>/bin/openresty symlink which points to <openresty-prefix>/nginx/sbin/nginx to avoid polluting the PATH environment with the name "nginx". 2016-07-14 17:53:07 -07:00
Yichun Zhang (agentzh) e63984f81d bugfix: special characters like spaces in nginx configure option values (like --with-pcre-opt and --with-openssl-opt) were not passed correctly. thanks Andreas Lubbe for the report in #178. 2016-06-06 12:07:54 -07:00
Yichun Zhang (agentzh) 6160254ec8 bugfix: ./configure: we should disable the ngx_http_encrypted_session module when --without-http_ssl_module is specified. 2016-05-12 18:19:01 -07:00