summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-06-07 17:39:27 -0700
committerKonstantin Pavlov <thresh@nginx.com>2023-06-07 17:39:27 -0700
commita3b9b49cfb091410ca8f3c8d9df24d1fe184f8e0 (patch)
tree364fedfdaeb183389622f3338cf2c8d92437f9b9 /pkg
parentb42f6b1dc8186effaeac566518700e80b2415a41 (diff)
downloadunit-a3b9b49cfb091410ca8f3c8d9df24d1fe184f8e0.tar.gz
unit-a3b9b49cfb091410ca8f3c8d9df24d1fe184f8e0.tar.bz2
Packages: added Debian 12 "bookworm" support.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/deb/Makefile11
-rw-r--r--pkg/deb/Makefile.jsc-common4
2 files changed, 14 insertions, 1 deletions
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile
index 09544892..044b7226 100644
--- a/pkg/deb/Makefile
+++ b/pkg/deb/Makefile
@@ -106,6 +106,17 @@ include Makefile.jsc8
include Makefile.jsc11
endif
+# Debian 12
+ifeq ($(CODENAME),bookworm)
+include Makefile.php
+include Makefile.python311
+include Makefile.go
+include Makefile.perl
+include Makefile.ruby
+include Makefile.jsc-common
+include Makefile.jsc17
+endif
+
# Debian 11
ifeq ($(CODENAME),bullseye)
include Makefile.php
diff --git a/pkg/deb/Makefile.jsc-common b/pkg/deb/Makefile.jsc-common
index 2b098025..61af8e6e 100644
--- a/pkg/deb/Makefile.jsc-common
+++ b/pkg/deb/Makefile.jsc-common
@@ -6,8 +6,10 @@ MODULE_SUMMARY_jsc_common= Java shared packages for NGINX Unit
MODULE_VERSION_jsc_common= $(VERSION)
MODULE_RELEASE_jsc_common= 1
-ifneq (,$(findstring $(CODENAME),bionic))
+ifeq ($(CODENAME),bionic)
JAVA_MINVERSION= 8
+else ifeq ($(CODENAME),bookworm)
+JAVA_MINVERSION= 17
else
JAVA_MINVERSION= 11
endif