Commit Graph

135 Commits

Author SHA1 Message Date
Igor Sysoev
9f9a708ed1 Using the single source of Unit version. 2017-10-20 17:52:04 +03:00
Igor Sysoev
2837d520bb Version bump. 2017-10-20 17:48:38 +03:00
Valentin Bartenev
096562c0b1 Improved applications versions handling. 2017-10-05 16:46:18 +03:00
Sergey Kandaurov
9213299d1f Supported linking with -lrt on BSD systems.
OpenBSD lacks support of librt.
2017-09-27 18:34:23 +03:00
Sergey Kandaurov
aac0f06f3d Better checking for shm_open() during configure. 2017-09-27 18:34:23 +03:00
Igor Sysoev
4f4647e187 Fixed "make dist" broken in changeset b18c0fb60032. 2017-09-27 18:34:15 +03:00
Valentin Bartenev
d18113ab66 Changed "path" to "directory" in configure summary.
The "directory" is more specific term, similar to "file".
2017-09-26 17:53:21 +03:00
Igor Sysoev
5635c259f9 Added state directory creation in install procedure. 2017-09-25 20:15:34 +03:00
Igor Sysoev
d04f030d1a Added --bindir and --sbindir options to the summary page. 2017-09-25 20:15:33 +03:00
Igor Sysoev
6b0a3aed22 Style fixes. 2017-09-25 18:04:11 +03:00
Max Romanov
2ae0449262 Checking mallopt() during configure.
mallopt() is absent on Alpine musl.
2017-09-25 17:53:10 +03:00
Igor Sysoev
8e2fd89634 Fixed displaying "echo" program building failure. 2017-09-22 20:13:55 +03:00
Valentin Bartenev
45c1d41f34 Removed fibers from compilation.
It's not used anyway, but breaks building with musl.

This closes issue #5 on GitHub.
2017-09-22 16:42:42 +03:00
Valentin Bartenev
4953e5b5cb Configuration persistence.
Now configuration survives server reloads.
2017-09-10 06:22:15 +03:00
Max Romanov
789a101e99 Decalring clean and dist targets as .PHONY. 2017-09-07 16:38:05 -07:00
Igor Sysoev
89df39374c Added the dist target in Makefile. 2017-09-06 19:23:50 +03:00
Igor Sysoev
58907888e5 Style fixes. 2017-09-06 02:30:55 +03:00
Andrei Belov
db6d2b9687 Fixed permissions for Go sources.
In particular, it resolves a number of errors and warnings
reported by rpmlint(1).
2017-09-04 19:09:34 +03:00
Igor Sysoev
1f95673713 Setting build directory with variable instead of configure option. 2017-08-31 21:44:30 +03:00
Max Romanov
ac7218e335 Introducing install & uninstall Makefile targets. 2017-08-31 11:42:13 -07:00
Sergey Kandaurov
db85a9a015 Go: fixed splitting recipe line with newer gmake.
Use double quotes to quote a string with the backslash/newline pair.
Newer gmake versions, such as GNU Make 4.1, do not remove the backslash
from a string quoted with single quotes, which results in an extraneous
backslash passed to the shell and, eventually, to the Go compiler.
2017-08-31 18:21:22 +03:00
Igor Sysoev
738ca54ded Changed modules names format. 2017-08-31 00:42:16 +03:00
Igor Sysoev
f0e9e3ace9 nginext has been renamed to unit. 2017-08-31 00:42:16 +03:00
Igor Sysoev
3f10b05de9 Moving generating CGO header file to the make stage. 2017-08-31 00:42:08 +03:00
Igor Sysoev
cdc7e4479f Lib unit tests have been renamed to tests. 2017-08-30 00:31:02 +03:00
Max Romanov
92f3b85298 The process type enum exposed to go module. 2017-08-29 14:18:00 -07:00
Max Romanov
5b879f0e2b Using NXT_GO variable instead of explicit go. 2017-08-29 11:37:49 -07:00
Max Romanov
52ae0e69c1 Store and use NXT_LIBRT for go module. 2017-08-29 11:33:35 -07:00
Max Romanov
73dc76b0bf Separation of module prerequisites for 'all' target in Makefile.
To avoid using sed -i.
2017-08-29 11:33:34 -07:00
Igor Sysoev
9d487df10d The master process has been renamed to the main process. 2017-08-29 02:59:35 +03:00
Igor Sysoev
946867febe Improved English. 2017-08-29 02:22:22 +03:00
Igor Sysoev
28efb65ac4 Added configuration summary. 2017-08-26 13:37:44 +03:00
Igor Sysoev
93f7104a65 Added configure and command line option --help. 2017-08-26 13:37:44 +03:00
Igor Sysoev
0d65c896cf Added configure and command line option --control. 2017-08-26 13:37:44 +03:00
Igor Sysoev
7f5b57bfb9 Added configure and command line option --modules. 2017-08-26 13:37:44 +03:00
Igor Sysoev
9aaa7d8c20 Added configure option --user=USER and --group=GROUP. 2017-08-26 13:37:44 +03:00
Igor Sysoev
e64494ba2c Added configure option --pid=FILE.
A pid file name can be relative.
The default pid file name is "nginext.pid".
2017-08-26 13:37:44 +03:00
Igor Sysoev
d3a6d7805f Added configure options --prefix=PATH and --log=FILE.
A prefix is prepended to all relative names at configure stage.
There is no prefix by default.

A log file name can be relative.
The default log file name is "nginext.log".
2017-08-26 13:37:44 +03:00
Igor Sysoev
f71e404151 Renamed configure option --no-unix-domain to --no-unix-sockets. 2017-08-24 18:38:34 +03:00
Igor Sysoev
d7105ff300 Building IPv6 by default. 2017-08-24 18:33:13 +03:00
Igor Sysoev
b84aa64dcb Removed configure option --no-threads. 2017-08-24 17:43:32 +03:00
Valentin Bartenev
e34c7567c7 Renamed configure options. 2017-08-21 17:06:32 +03:00
Igor Sysoev
949548da29 The new module configuration interface.
Configuration and building example:

  ./configure
  ./configure python
  ./configure php
  ./configure go
  make all

or

  ./configure
  make nginext
  ./configure python
  make python
  ./configure php
  make php
  ./configure go
  make go

Modules configuration options and building examples:

  ./configure python --module=python2 --config=python2.7-config
  make python2

  ./configure php --module=php7 --config=php7.0-config
                  --lib-path=/usr/local/php7.0
  make php7

  ./configure go --go=go1.6 --go-path=${HOME}/go1.6
  make go1.6
2017-08-17 21:47:19 +03:00
Igor Sysoev
5ef8e0ee89 Removing auto/modules directory before commiting the new module
configuration infrastructure.
2017-08-17 21:47:19 +03:00
Igor Sysoev
e62840cd54 Introducing configure option --with-php-ldflags=. 2017-08-04 08:21:22 +03:00
Max Romanov
c93d2c7623 Include build/Makefile into main Makefile. 2017-08-02 13:18:04 +03:00
Max Romanov
f2e9afdf42 Port RPC interface introduced.
Usage:
1. Register handlers in incoming port with nxt_port_rpc_register_handler().
2. Use return value as a stream identifier for next nxt_port_socket_write().
2017-08-02 13:14:31 +03:00
Max Romanov
a7ef8481fc Added make target 'golang-nginext-install' to install precompiled go package. 2017-08-02 13:01:54 +03:00
Max Romanov
83d7ab38ac Using old-style packed attribute specification for compatibility. 2017-08-02 13:01:54 +03:00
Igor Sysoev
145eeb8476 Improved PHP configure test. 2017-07-26 12:17:41 +03:00