summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2020-04-23 19:55:19 +0300
committerAndrei Belov <defan@nginx.com>2020-04-23 19:55:19 +0300
commitaf9392af1fec054119c8ddcd356ade0ea3fbf913 (patch)
tree50322f9a9d0bb47815b5035dd35bc1ed74ce146a /pkg
parent8f6e6086cb7bceeff6eec7cf0a2e3ff94f8d7705 (diff)
downloadunit-af9392af1fec054119c8ddcd356ade0ea3fbf913.tar.gz
unit-af9392af1fec054119c8ddcd356ade0ea3fbf913.tar.bz2
Packages: added Ubuntu 20.04 "focal" support.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/deb/Makefile12
-rw-r--r--pkg/deb/Makefile.jsc-common2
2 files changed, 13 insertions, 1 deletions
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile
index 797ff438..55bf7082 100644
--- a/pkg/deb/Makefile
+++ b/pkg/deb/Makefile
@@ -16,6 +16,18 @@ BUILD_DEPENDS = $(BUILD_DEPENDS_unit)
MODULES=
+# Ubuntu 20.04
+ifeq ($(CODENAME),focal)
+include Makefile.php
+include Makefile.python27
+include Makefile.python38
+include Makefile.go
+include Makefile.perl
+include Makefile.ruby
+include Makefile.jsc-common
+include Makefile.jsc11
+endif
+
# Ubuntu 19.10
ifeq ($(CODENAME),eoan)
include Makefile.php
diff --git a/pkg/deb/Makefile.jsc-common b/pkg/deb/Makefile.jsc-common
index 42b4ad74..928376c3 100644
--- a/pkg/deb/Makefile.jsc-common
+++ b/pkg/deb/Makefile.jsc-common
@@ -6,7 +6,7 @@ MODULE_SUMMARY_jsc_common= Java shared packages for NGINX Unit
MODULE_VERSION_jsc_common= $(VERSION)
MODULE_RELEASE_jsc_common= 1
-ifneq (,$(findstring $(CODENAME),eoan disco buster))
+ifneq (,$(findstring $(CODENAME),focal eoan disco buster))
JAVA_MINVERSION= 11
else
JAVA_MINVERSION= 8