Commit Graph

67 Commits

Author SHA1 Message Date
Valentin Bartenev
6e28263d65 Bumping year in copyright notice. 2021-01-18 16:48:47 +03:00
Andrei Belov
3abca42caf Packages: fixed building for Ubuntu 16.04 "xenial".
Changes introduced in a27532e3a17b effectively broke building of the unit
package due to missed dh_installsystemd script in older debhelper 9.x.

Once Ubuntu 16.04 reach EOL, the following actions should be made:
 - this commit should be reverted;
 - minimal debhelper version should be increased to 11.
2020-12-28 12:51:30 +03:00
Andrei Belov
c981ac6558 Packages: fixed an ability to override package version.
This was broken since 00d8049418cf.
2020-12-24 16:17:27 +03:00
Andrei Belov
c99b175988 Packages: set the "--user" value to "nobody" for build-stage tests.
This allows tests to pass well in cases when the default user specified in
the ./configure parameters does not exist in the building environment.
2020-12-23 18:31:18 +03:00
Andrei Belov
53d847615b Packages: run non-privileged processes under "unit" user. 2020-12-17 14:30:18 +03:00
Konstantin Pavlov
a5fa9673d9 Packages: added pcre2 to build depends.
While at it, propagate unit build depends to modules.
2020-11-24 14:27:06 +03:00
Konstantin Pavlov
9c09bc1772 Packages: dropped support for non-systemd distributions. 2020-11-24 13:25:09 +03:00
Andrei Belov
c33b10a41f Packages: eliminated debuild warning about debian/rules. 2020-12-16 09:56:04 +03:00
Andrei Belov
0c1abda391 Packages: the NOTICE file added to debian binaries.
This resolves the following lintian error:
https://lintian.debian.org/tags/missing-notice-file-for-apache-license.html

While here, changed upstream changelog name to conform with the policy:
https://lintian.debian.org/tags/wrong-name-for-upstream-changelog.html
2020-12-16 09:56:01 +03:00
Andrei Belov
d15acabfc5 Packages: introduced PYTEST_ARGS env variable for test targets.
This is useful for running particular tests, e.g.:
PYTEST_ARGS='test/test_respawn.py::TestRespawn::test_respawn_router' make test
2020-12-16 09:55:59 +03:00
Andrei Belov
b2771702fb Packages: added Ubuntu 20.10 "groovy" support. 2020-11-09 16:12:59 +03:00
Andrei Zeliankou
d5e9159340 Tests: migrated to the pytest. 2020-09-16 21:31:15 +01:00
Andrei Belov
af9392af1f Packages: added Ubuntu 20.04 "focal" support. 2020-04-23 19:55:19 +03:00
Max Romanov
5296be0b82 Using disk file to store large request body.
This closes #386 on GitHub.
2020-03-12 17:54:29 +03:00
Max Romanov
a58ca623cd Packages: added curl dependency to fetch Java archives. 2020-01-28 17:00:28 +03:00
Valentin Bartenev
d2eac78c57 Updated copyright notice. 2020-01-27 16:52:45 +03:00
Max Romanov
693a458b4e Go: changing import name for "unit.nginx.org/go".
This patch includes packaging changes - update unit-go installation
directory.
2019-12-25 20:00:32 +03:00
Max Romanov
f5a2984acf Go: moving source files to the root of the project.
This patch includes packaging changes related to files move.
2019-12-24 17:59:52 +03:00
Max Romanov
3d712a7078 Packages: making unit-go architecture independent.
To support Go modules, the unit-go module should be platform independent.
All platform-dependent logic is moved to libunit, so the unit-dev package
should be installed before building unit-go.
2019-12-24 17:59:44 +03:00
Andrei Belov
5758a06374 Packages: added Ubuntu 19.10 "eoan" support. 2019-11-21 14:13:24 +03:00
Andrei Belov
bc14605fd6 Packages: added Python 3.8 on Ubuntu 18.04, 19.04. 2019-11-19 12:43:51 +03:00
Konstantin Pavlov
5c6b01d76c Packaging: debian: drop a surplus line from init script 2019-09-25 16:19:31 +03:00
Konstantin Pavlov
919230a21e Packaging: debian: changed NAME in the init script
This fixes the following issues:
 - inability to stop unit daemon
 - default configuration from /etc/default/unit are not propagated to the daemon
2019-09-25 16:18:19 +03:00
Andrei Belov
3644883aa8 Packages: added logrotate configuration for Debian packages.
While here, made logrotate configuration consistent between rpm and deb.

This closes #323 issue on GitHub.
2019-09-25 15:28:20 +03:00
Andrei Belov
c0aad59d13 Packages: Debian 10 "buster" support added. 2019-07-09 14:17:03 +03:00
Andrei Belov
e1de5bcfab Packages: log and pid paths made consistent. 2019-07-04 14:14:29 +03:00
Andrei Belov
c62cb7acdc Packages: switched to Java 11 on Ubuntu 18.04. 2019-06-07 14:17:37 +03:00
Andrei Belov
be515d2a36 Packages: added Python 3.7 on Ubuntu 18.04.
This closes #251 issue on GitHub.
2019-06-04 12:16:57 +03:00
Valentin Bartenev
094cc2fc99 Packages: using "pass" option in config examples.
The "application" option has been deprecated since 1.8.0.
2019-04-24 20:31:00 +03:00
Andrei Belov
48ae47017b Packages: Ubuntu 19.04 "disco" support added. 2019-04-22 13:50:02 +03:00
Andrei Belov
1b0595c74c Packages: added JSR-340 compatibility notice to unit-jsc packages. 2019-03-01 18:16:57 +03:00
Andrei Belov
2e4853f4d7 Packages: added Java trademark notice to corresponding packages. 2019-03-01 16:04:41 +03:00
Andrei Belov
5b98f0a552 Packages: removed Ubuntu 17.04 and 17.10 references due to EOL. 2019-03-01 10:46:46 +03:00
Andrei Belov
7ce6f05975 Packages: added unit-jsc (Java Servlet Container) family. 2019-02-28 18:22:15 +03:00
Andrei Belov
aa7478267a Packages: yet another fix added, missed in a7af31b69692. 2019-02-26 14:53:28 +03:00
Andrei Belov
79e3185f33 Packages: fixed packages build, broken in 00d8049418cf. 2019-02-26 14:39:08 +03:00
Alexander Borisov
608e09e9de Improvement and unification of version processing in build scripts.
This also eliminates expressions that incompatible with BSD make, thus fixing
installation of Node.js module on FreeBSD (broken by dace60fc4926).
2019-02-22 16:31:44 +03:00
Valentin Bartenev
8193601226 Year 2019. 2019-01-09 18:03:48 +03:00
Andrei Belov
be049932b1 Packages: Ubuntu 18.10 "cosmic" support added. 2018-12-27 11:07:24 +03:00
Andrei Belov
325421eac7 Packages: URL fixed in examples to work with latest curl. 2018-12-27 11:06:43 +03:00
Andrei Belov
63d16aa5f6 Packages: made unit-go architecture-dependent.
This closes #172 issue on GitHub.
2018-11-29 12:10:16 +03:00
Andrei Belov
7c09387156 Packages: added strict version dependency for unit-dev/unit-devel. 2018-11-26 13:05:37 +03:00
Valentin Bartenev
d55282105a Packages: updated to 1.5-1. 2018-10-25 17:49:10 +03:00
Andrei Belov
0e76769c1b Packages: introduced unit-dev/unit-devel package. 2018-10-23 10:30:28 +03:00
Valentin Bartenev
029c1a9f50 Renamed "go" application type to "external".
There's nothing specific to Go language.  This type of application object can
be used to run any external application that utilizes libunit API.
2018-10-09 17:53:31 +03:00
Andrei Belov
6c5e5f25ef Packages: all CRLF newlines in examples converted to LF. 2018-10-05 14:10:13 +03:00
Andrei Belov
2a9fc6b1fe Packages: updated to 1.4-2. 2018-09-27 15:05:03 +03:00
Andrei Belov
aa6e4947ba Packages: adjusted post-install banners. 2018-09-27 15:04:49 +03:00
Andrei Belov
446479b311 Packages: removed "loadconfig" and "saveconfig" actions. 2018-09-26 15:24:49 +03:00
Andrei Belov
fea05e3065 Packages: enabled OpenSSL support. 2018-09-20 16:14:29 +03:00