summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-10-21 15:28:58 +0300
committerAndrei Belov <defan@nginx.com>2021-10-21 15:28:58 +0300
commit7503cc96df4f8c5637ac90dcf6095d93fd03296f (patch)
tree7b97e53cc67183cd44b5f057bba5779575d4e8be /pkg/deb/Makefile
parent0900edb10d6def65dd6482d9ed3c596eb5305b3f (diff)
downloadunit-7503cc96df4f8c5637ac90dcf6095d93fd03296f.tar.gz
unit-7503cc96df4f8c5637ac90dcf6095d93fd03296f.tar.bz2
Packages: removed support for EOL'ed Debian/Ubuntu distros.
While here, default debhelper compat level bumped to 11 (this is the version installed out of the box on Ubuntu 18.04 "bionic" which is the oldest one from supported distros).
Diffstat (limited to 'pkg/deb/Makefile')
-rw-r--r--pkg/deb/Makefile99
1 files changed, 2 insertions, 97 deletions
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile
index d762e790..01ed13e7 100644
--- a/pkg/deb/Makefile
+++ b/pkg/deb/Makefile
@@ -50,21 +50,6 @@ include Makefile.jsc16
include Makefile.jsc17
endif
-# Ubuntu 20.10
-ifeq ($(CODENAME),groovy)
-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
-include Makefile.jsc13
-include Makefile.jsc14
-include Makefile.jsc15
-endif
-
# Ubuntu 20.04
ifeq ($(CODENAME),focal)
include Makefile.php
@@ -77,46 +62,6 @@ include Makefile.jsc-common
include Makefile.jsc11
endif
-# Ubuntu 19.10
-ifeq ($(CODENAME),eoan)
-include Makefile.php
-include Makefile.python27
-include Makefile.python37
-include Makefile.python38
-include Makefile.go
-include Makefile.perl
-include Makefile.ruby
-include Makefile.jsc-common
-include Makefile.jsc11
-endif
-
-# Ubuntu 19.04
-ifeq ($(CODENAME),disco)
-include Makefile.php
-include Makefile.python27
-include Makefile.python37
-include Makefile.python38
-include Makefile.go
-include Makefile.perl
-include Makefile.ruby
-include Makefile.jsc-common
-include Makefile.jsc11
-endif
-
-# Ubuntu 18.10
-ifeq ($(CODENAME),cosmic)
-include Makefile.php
-include Makefile.python27
-include Makefile.python36
-include Makefile.python37
-include Makefile.go
-include Makefile.perl
-include Makefile.ruby
-include Makefile.jsc-common
-include Makefile.jsc8
-include Makefile.jsc11
-endif
-
# Ubuntu 18.04
ifeq ($(CODENAME),bionic)
include Makefile.php
@@ -132,25 +77,6 @@ include Makefile.jsc8
include Makefile.jsc11
endif
-# Ubuntu 16.04
-ifeq ($(CODENAME),xenial)
-include Makefile.php
-include Makefile.python27
-include Makefile.python35
-include Makefile.go
-include Makefile.perl
-include Makefile.ruby
-include Makefile.jsc-common
-include Makefile.jsc8
-endif
-
-# Ubuntu 14.04
-ifeq ($(CODENAME),trusty)
-include Makefile.php
-include Makefile.python
-include Makefile.perl
-endif
-
# Debian 11
ifeq ($(CODENAME),bullseye)
include Makefile.php
@@ -175,27 +101,6 @@ include Makefile.jsc-common
include Makefile.jsc11
endif
-# Debian 9
-ifeq ($(CODENAME),stretch)
-include Makefile.php
-include Makefile.python27
-include Makefile.python35
-include Makefile.go
-include Makefile.perl
-include Makefile.ruby
-include Makefile.jsc-common
-include Makefile.jsc8
-endif
-
-# Debian 8
-ifeq ($(CODENAME),jessie)
-include Makefile.php
-include Makefile.python27
-include Makefile.python34
-include Makefile.perl
-include Makefile.ruby
-endif
-
CONFIGURE_ARGS=\
--prefix=/usr \
--state=/var/lib/unit \
@@ -247,7 +152,7 @@ debuild/$(SRCDIR)/debian:
set -e ; \
mkdir -p debuild/$(SRCDIR) ; \
cp -pr debian debuild/$(SRCDIR) ; \
- echo '9' > debuild/$(SRCDIR)/debian/compat ; \
+ echo '11' > debuild/$(SRCDIR)/debian/compat ; \
mkdir -p debuild/$(SRCDIR)/debian/source ; \
echo '3.0 (quilt)' > debuild/$(SRCDIR)/debian/source/format ; \
cat debian/control.in | sed \
@@ -291,7 +196,7 @@ debuild-%: debuild/unit_$(VERSION).orig.tar.gz ../../docs/changes.xml
cp debuild/unit_$(VERSION).orig.tar.gz debuild-$*/unit-$(MODULE_SUFFIX_$*)_$(VERSION).orig.tar.gz
cd $@ && tar zxf unit-$(MODULE_SUFFIX_$*)_$(VERSION).orig.tar.gz
mkdir $@/$(SRCDIR)/debian
- echo '9' > $@/$(SRCDIR)/debian/compat
+ echo '11' > $@/$(SRCDIR)/debian/compat
mkdir $@/$(SRCDIR)/debian/source
echo '3.0 (quilt)' > $@/$(SRCDIR)/debian/source/format
cd ../../docs && make ../build/unit-$(MODULE_SUFFIX_$*).deb-changelog