chore: exclude packages sections using tools/packages.py (#1499)

* feat: exclude packages sections using tools/packages.py

* chore: group apache deps packages in a section

This allow one to exlude the entire section and install nginx for example.
This commit is contained in:
Jonas L 2022-01-10 07:23:37 +01:00 committed by GitHub
parent 1b601e2ac1
commit 19986cf1b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 8 deletions

View file

@ -1,14 +1,18 @@
# This file contains a list of package dependencies.
[common]
apache2 = buster, bullseye, bionic, focal
# The php-pear package depends on php-(cli|common|xml), be sure to
# install the dependencies with the right php version.
php-pear = buster, bullseye, bionic, focal
php-amqplib = buster, bullseye, bionic, focal
[apache]
apache2 = buster, bullseye, bionic, focal
libapache2-mod-php7.2 = bionic
libapache2-mod-php7.3 = buster
libapache2-mod-php7.4 = bullseye, focal
# Bionic
[php7.2]
libapache2-mod-php7.2 = bionic
php7.2 = bionic
php7.2-apcu = bionic
# Bionic does not have php7.2-apcu-bc, use php-apcu-bc instead
@ -25,7 +29,6 @@ php7.2-xml = bionic
# Buster
[php7.3]
libapache2-mod-php7.3 = buster
php7.3 = buster
php7.3-apcu = buster
php7.3-apcu-bc = buster
@ -41,7 +44,6 @@ php7.3-xml = buster
# Bullseye, Focal
[php7.4]
libapache2-mod-php7.4 = bullseye, focal
php7.4 = bullseye, focal
php7.4-apcu = bullseye, focal
php7.4-apcu-bc = bullseye, focal