History log of /unit/auto/modules/ (Results 1 – 25 of 107)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: 1.28.0-1, 1.28.0, 1.27.0-1, 1.27.0
2080:651f5a37f5b810-Mar-2022 Alejandro Colomar

Workarounded Clang bug triggered by Ruby.

Add -fdeclspec to NXT_RUBY_CFLAGS for Clang, if it's available.

Clang incorrectly reports 1 for __has_declspec_attribute(x) in
some cases, such as MacOS or

Workarounded Clang bug triggered by Ruby.

Add -fdeclspec to NXT_RUBY_CFLAGS for Clang, if it's available.

Clang incorrectly reports 1 for __has_declspec_attribute(x) in
some cases, such as MacOS or Cygwin. That causes ruby code to
break. ruby added -fdeclspec to their CFLAGS in 2019 to
workaround this bug, since it enables __declspec() and therefore,
the compiler behavior matches what it reports.

Since we don't know what are all the architectures that trigger
the clang bug, let's add the flag for all of them (especially
since it should be harmless).

Add this workaround only at the time of configuring the ruby
module. This way we don't clutter the global NXT_CFLAGS with an
unnecessary flag.

Link: unit bug <https://github.com/nginx/unit/issues/653>
Link: ruby bug <https://bugs.ruby-lang.org/issues/18616>
Link: LLVM bug <https://github.com/llvm/llvm-project/issues/49958>
Commit: LLVM: Add -fdeclspec <d170c4b57a91adc74ca89c6d4af616a00323b12c>
Commit: ruby: Use -fdeclspec <0958e19ffb047781fe1506760c7cbd8d7fe74e57>

show more ...

2062:ede07f84045b10-Jan-2022 Max Romanov

Tests: using modules in Go.

Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0
1938:418e225f58e412-Aug-2021 Max Romanov

Java: upgrading third-party components.

1931:747666e4bec309-Aug-2021 Max Romanov

Java: upgrading third-party components.

1898:7158c417a71115-Jun-2021 Max Romanov

Node.js: improving and test packaging.

The patch removes the "files" section from package.json to avoid future issues
with missing files. For package testing purposes, 'npm pack' is used instead
of

Node.js: improving and test packaging.

The patch removes the "files" section from package.json to avoid future issues
with missing files. For package testing purposes, 'npm pack' is used instead
of plain 'tar' to simulate packaging more accurately.

show more ...

Revision tags: 1.24.0-1, 1.24.0
1880:00dc6b21190625-May-2021 Max Romanov

Go: fixing tests for Go 1.16.

In Go 1.16, the module-aware mode is enabled by default; to fall back to
previous behavior, the GO111MODULE environment variable should be set to
'auto'.

Details: http

Go: fixing tests for Go 1.16.

In Go 1.16, the module-aware mode is enabled by default; to fall back to
previous behavior, the GO111MODULE environment variable should be set to
'auto'.

Details: https://golang.org/doc/go1.16

show more ...

Revision tags: 1.23.0-1, 1.23.0
1831:da356521859a25-Mar-2021 Valentin Bartenev

Node.js: used distinct placeholder for version in "package.json".

This makes the "sed" instruction simpler and more portable, as the previous
variant didn't work well on BSD systems due to the "\s"

Node.js: used distinct placeholder for version in "package.json".

This makes the "sed" instruction simpler and more portable, as the previous
variant didn't work well on BSD systems due to the "\s" metacharacter.

Thanks to Sergey A. Osokin <osa@FreeBSD.org.ru> for spotting this issue.

Also, this should prevent accidentally creating a version 1.0.0 package.

show more ...

1830:aa339694598025-Mar-2021 Max Romanov

Node.js: fixing module global installation.

Globally installed modules require a globally installed libunit.
The "binding_pub.gyp" file is the correct version, otherwise linked module
may have unres

Node.js: fixing module global installation.

Globally installed modules require a globally installed libunit.
The "binding_pub.gyp" file is the correct version, otherwise linked module
may have unresolved symbols because libunit is not linked.

show more ...

1816:91b04f5068f522-Mar-2021 "Sergey A. Osokin"

Java: upgrading third-party components.

Revision tags: 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0
1696:27cef28d012610-Nov-2020 Max Romanov

Java: fixing isolation mounts for Alpine musl.

Thanks to @wujjpp.

This closes #490 PR on GitHub.

1677:ccd5c695b73902-Nov-2020 Max Romanov

Java: upgrading 3rd-party components.

1673:883f2f79c2f629-Oct-2020 Tiago Natel de Moura

Isolation: mounting of procfs by default when using "rootfs".

1655:72319d05588926-Oct-2020 Valentin Bartenev

Configure: using comma instead of space for passing -rpath value.

This variant will be more interoperable across various systems
and it's already used in Ruby module.

Otherwise, configure tests fai

Configure: using comma instead of space for passing -rpath value.

This variant will be more interoperable across various systems
and it's already used in Ruby module.

Otherwise, configure tests fail on NetBSD with:

gcc: Missing argument for -Wl,-rpath

show more ...

Revision tags: 1.20.0-1, 1.20.0
1624:e46b1b42254501-Oct-2020 Max Romanov

Python: ASGI server introduced.

This closes #461 issue on GitHub.

1622:773f29e2607209-Sep-2020 Tiago Natel de Moura

PHP: fixed "rootfs" isolation dependency on system mounts.

1592:9727c9b61f1c14-Sep-2020 Max Romanov

Python: split module initialization from WSGI implementation.

This is required for futher ASGI implementation.

1591:f5812964401013-Sep-2020 Max Romanov

Python: source file moved to 'python' sub-directory.

No functional changes. Get ready for an increase in file number.

1585:e941d77852d125-Aug-2020 Tiago Natel de Moura

Isolation: added "automount" option.

Now it's possible to disable default bind mounts of
languages by setting:

{
"isolation": {
"automount": {
"language_deps": fal

Isolation: added "automount" option.

Now it's possible to disable default bind mounts of
languages by setting:

{
"isolation": {
"automount": {
"language_deps": false
}
}
}

In this case, the user is responsible to provide a "rootfs"
containing the language libraries and required files for
the application.

show more ...

1583:0d343e154c4625-Aug-2020 Tiago Natel de Moura

PHP: added bind mounts for extensions directory.

Revision tags: 1.19.0-1, 1.19.0
1540:624bb8f866b008-Aug-2020 Valentin Bartenev

Ruby: fixed gem mount paths.

The gem paths must depend on the specified interpreter.
Also, gemdir looks redundant as it's already included in Gem.default_path().

1539:33581f92318008-Aug-2020 Valentin Bartenev

Ruby: simplified commands in ./configure script.

There is no reason to use printf instead of just print.

No functional changes.

1538:18eb0282c85908-Aug-2020 Valentin Bartenev

Ruby: removed unused variable from ./configure script.

1537:b472ba22447208-Aug-2020 Valentin Bartenev

Configure: verifying the Ruby library path.

An attempt to build a Ruby module for a custom Ruby installation that has the
same major version as the system Ruby may unexpectedly cause the use of the

Configure: verifying the Ruby library path.

An attempt to build a Ruby module for a custom Ruby installation that has the
same major version as the system Ruby may unexpectedly cause the use of the
system Ruby library.

This closes #449 issue on GitHub.

show more ...

1532:4b4d0c3ce94b30-Jul-2020 Tiago Natel de Moura

Isolation: fixed the generation of mounts table.

Since the introduction of rootfs feature, some language modules
can't be configured multiple times.

Now the configure generates a separate nxt_<modu

Isolation: fixed the generation of mounts table.

Since the introduction of rootfs feature, some language modules
can't be configured multiple times.

Now the configure generates a separate nxt_<module>_mounts.h for
each module compiled.

show more ...

1531:5665f0ada70328-Jul-2020 Tiago Natel de Moura

PHP: fixed version comparison in configure script.

Some PPAs for Ubuntu package PHP with versions like:
7.2.28-3+ubuntu18.04.1+deb.sury.org+1

But the script expected only "X.Y.Z".

The issue was i

PHP: fixed version comparison in configure script.

Some PPAs for Ubuntu package PHP with versions like:
7.2.28-3+ubuntu18.04.1+deb.sury.org+1

But the script expected only "X.Y.Z".

The issue was introduced in:
http://hg.nginx.org/unit/rev/2ecb15904ba5

show more ...

12345