diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 15:09:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-20 16:57:21 +0000 |
commit | e8993bc4c46da3e446e61e9cf70d166320047a70 (patch) | |
tree | 58aa228f93f58442f2901e3aa780170ddd4e2f42 /debian | |
parent | Updating vcs fields. (diff) | |
download | open-infrastructure-service-tools-e8993bc4c46da3e446e61e9cf70d166320047a70.tar.xz open-infrastructure-service-tools-e8993bc4c46da3e446e61e9cf70d166320047a70.zip |
Building individual subpackages for every set of tools.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 293 | ||||
-rw-r--r-- | debian/open-infrastructure-apache-tools.lintian-overrides | 4 | ||||
-rwxr-xr-x | debian/open-infrastructure-apache-tools.postinst (renamed from debian/open-infrastructure-service-tools.postinst) | 0 | ||||
-rwxr-xr-x | debian/open-infrastructure-apache-tools.prerm (renamed from debian/open-infrastructure-service-tools.prerm) | 0 | ||||
-rw-r--r-- | debian/open-infrastructure-service-tools.lintian-overrides | 4 | ||||
-rwxr-xr-x | debian/rules | 20 |
6 files changed, 156 insertions, 165 deletions
diff --git a/debian/control b/debian/control index 4931afa..a2d1d34 100644 --- a/debian/control +++ b/debian/control @@ -19,179 +19,160 @@ Vcs-Git: https://git.progress-linux.org/packages/graograman/open-infrastructure- XSBC-Original-Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/open-infrastructure-service-tools XSBC-Original-Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/open-infrastructure-service-tools -Package: open-infrastructure-service-tools +Package: open-infrastructure-apache-tools Section: admin Architecture: all Depends: apache2-data, ${misc:Depends}, -Breaks: - open-infrastructure-apache-tools (<< 20221108-2), -Replaces: - open-infrastructure-apache-tools, +Provides: + apache-tools, Enhances: - apache2, -Description: additional tools to ease system administration and integration - This package contains some usefull tools, e.g.: - . - * alternative icons for Apache autoindex (Tango Icons and Font Awesome - based themes) + apache, +Description: additional tools for Apache HTTP server + This package contains additional tools for the Apache HTTP server. -Package: open-infrastructure-apache-tools -Section: oldlibs -Priority: extra +Package: open-infrastructure-apt-tools +Section: admin Architecture: all Depends: - open-infrastructure-service-tools, + apt, ${misc:Depends}, -Description: additional tools for Apache HTTP server (transitional package) - Package to ease upgrading from older open-infrastructure-apache-tools package - to the new open-infrastructure-service-tools package. - . - This package can be purged at anytime once the open-infrastructure-service-tools - package has been installed. - -#Package: open-infrastructure-apt-tools -#Section: admin -#Architecture: all -#Depends: -# apt, -# ${misc:Depends}, -#Provides: -# apt-tools, -#Enhances: -# apt, -#Description: additional tools for apt -# This package contains additional tools for apt. +Provides: + apt-tools, +Enhances: + apt, +Description: additional tools for apt + This package contains additional tools for apt. -#Package: open-infrastructure-dehydrated-tools -#Section: admin -#Architecture: all -#Depends: -# dehydrated, -# ssl-cert, -# ${misc:Depends}, -#Provides: -# dehydrated-tools, -#Enhances: -# dehydrated, -#Description: additional tools for dehydrated Letsencrypt client -# This package contains additional tools for the dehydrated Letsencrypt client. +Package: open-infrastructure-dehydrated-tools +Section: admin +Architecture: all +Depends: + dehydrated, + ssl-cert, + ${misc:Depends}, +Provides: + dehydrated-tools, +Enhances: + dehydrated, +Description: additional tools for dehydrated Letsencrypt client + This package contains additional tools for the dehydrated Letsencrypt client. -#Package: open-infrastructure-dnsdist-tools -#Section: admin -#Architecture: all -#Depends: -# dnsdist, -# ${misc:Depends}, -#Provides: -# dnsdist-tools, -#Enhances: -# dnsdist, -#Description: additional tools for dnsdist -# This package contains additional tools for the dnsdist. +Package: open-infrastructure-dnsdist-tools +Section: admin +Architecture: all +Depends: + dnsdist, + ${misc:Depends}, +Provides: + dnsdist-tools, +Enhances: + dnsdist, +Description: additional tools for dnsdist + This package contains additional tools for the dnsdist. -#Package: open-infrastructure-git-tools -#Section: admin -#Architecture: all -#Depends: -# git, -# ${misc:Depends}, -#Provides: -# git-tools, -#Enhances: -# git, -#Description: additional tools for Git version control system -# This package contains additional tools for the Git version control system. +Package: open-infrastructure-git-tools +Section: admin +Architecture: all +Depends: + git, + ${misc:Depends}, +Provides: + git-tools, +Enhances: + git, +Description: additional tools for Git version control system + This package contains additional tools for the Git version control system. -#Package: open-infrastructure-irker-tools -#Section: admin -#Architecture: all -#Depends: -# irker, -# ${misc:Depends}, -#Provides: -# irker-tools, -#Enhances: -# irker, -#Description: additional tools for irker IRC notification daemon -# This package contains additional tools for the irker IRC notification daemon: +Package: open-infrastructure-irker-tools +Section: admin +Architecture: all +Depends: + irker, + ${misc:Depends}, +Provides: + irker-tools, +Enhances: + irker, +Description: additional tools for irker IRC notification daemon + This package contains additional tools for the irker IRC notification daemon: -#Package: open-infrastructure-kea-tools -#Section: admin -#Architecture: all -#Depends: -# kea, -# ${misc:Depends}, -#Provides: -# kea-tools, -#Enhances: -# kea, -#Description: additional tools for kea DHCP server -# This package contains additional tools for the kea DHCP server. +Package: open-infrastructure-kea-tools +Section: admin +Architecture: all +Depends: + kea, + ${misc:Depends}, +Provides: + kea-tools, +Enhances: + kea, +Description: additional tools for kea DHCP server + This package contains additional tools for the kea DHCP server. -#Package: open-infrastructure-knot-tools -#Section: admin -#Architecture: all -#Depends: -# knot, -# ${misc:Depends}, -#Provides: -# knot-tools, -#Enhances: -# knot, -#Description: additional tools for knot DNS server -# This package contains additional tools for the knot DNS server. +Package: open-infrastructure-knot-tools +Section: admin +Architecture: all +Depends: + knot, + ${misc:Depends}, +Provides: + knot-tools, +Enhances: + knot, +Description: additional tools for knot DNS server + This package contains additional tools for the knot DNS server. -#Package: open-infrastructure-knot-resolver-tools -#Section: admin -#Architecture: all -#Depends: -# knot-resolver, -# socat, -# ${misc:Depends}, -#Provides: -# knot-resolver-tools, -#Enhances: -# knot-resolver, -#Description: additional tools for knot DNS resolver -# This package contains additional tools for the knot DNS resolver. +Package: open-infrastructure-knot-resolver-tools +Section: admin +Architecture: all +Depends: + knot-resolver, + socat, + ${misc:Depends}, +Provides: + knot-resolver-tools, +Enhances: + knot-resolver, +Description: additional tools for knot DNS resolver + This package contains additional tools for the knot DNS resolver. -#Package: open-infrastructure-linux-tools -#Section: admin -#Architecture: all -#Depends: -# ethtool, -# ${misc:Depends}, -#Provides: -# linux-tools, -#Enhances: -# ethtool, -#Description: additional tools for Linux kernel related things -# This package contains additional tools for the Linux kernel. +Package: open-infrastructure-linux-tools +Section: admin +Architecture: all +Depends: + ethtool, + ${misc:Depends}, +Provides: + linux-tools, +Enhances: + ethtool, +Description: additional tools for Linux kernel related things + This package contains additional tools for the Linux kernel. -#Package: open-infrastructure-vim-tools -#Section: admin -#Architecture: all -#Depends: -# vim, -# ${misc:Depends}, -#Provides: -# vim-tools, -#Enhances: -# vim, -#Description: additional tools for vim text editor -# This package contains additional tools for the vim text editor. +Package: open-infrastructure-vim-tools +Section: admin +Architecture: all +Depends: + vim, + ${misc:Depends}, +Provides: + vim-tools, +Enhances: + vim, +Description: additional tools for vim text editor + This package contains additional tools for the vim text editor. -#Package: open-infrastructure-znuny-tools -#Section: admin -#Architecture: all -#Depends: -# znuny, -# ${misc:Depends}, -#Provides: -# znuny-tools, -#Enhances: -# znuny, -#Description: additional tools for znuny ticketing system -# This package contains additional tools for the znuny ticketing system. +Package: open-infrastructure-znuny-tools +Section: admin +Architecture: all +Depends: + znuny, + ${misc:Depends}, +Provides: + znuny-tools, +Enhances: + znuny, +Description: additional tools for znuny ticketing system + This package contains additional tools for the znuny ticketing system. diff --git a/debian/open-infrastructure-apache-tools.lintian-overrides b/debian/open-infrastructure-apache-tools.lintian-overrides new file mode 100644 index 0000000..a73033e --- /dev/null +++ b/debian/open-infrastructure-apache-tools.lintian-overrides @@ -0,0 +1,4 @@ +# '000-' prefix is required to keep order of apache parsing working +open-infrastructure-apache-tools: non-standard-apache2-configuration-name +# apache-tools is for apache2 only +open-infrastructure-apache-tools: web-application-depends-on-apache2-data-package diff --git a/debian/open-infrastructure-service-tools.postinst b/debian/open-infrastructure-apache-tools.postinst index 2cd7822..2cd7822 100755 --- a/debian/open-infrastructure-service-tools.postinst +++ b/debian/open-infrastructure-apache-tools.postinst diff --git a/debian/open-infrastructure-service-tools.prerm b/debian/open-infrastructure-apache-tools.prerm index b580074..b580074 100755 --- a/debian/open-infrastructure-service-tools.prerm +++ b/debian/open-infrastructure-apache-tools.prerm diff --git a/debian/open-infrastructure-service-tools.lintian-overrides b/debian/open-infrastructure-service-tools.lintian-overrides deleted file mode 100644 index 9970e45..0000000 --- a/debian/open-infrastructure-service-tools.lintian-overrides +++ /dev/null @@ -1,4 +0,0 @@ -# '000-' prefix is required to keep order of apache parsing working -open-infrastructure-service-tools: non-standard-apache2-configuration-name -# service-tools is for apache2 only -open-infrastructure-service-tools: web-application-depends-on-apache2-data-package diff --git a/debian/rules b/debian/rules index 62c4dda..b3924c0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,13 +1,23 @@ #!/usr/bin/make -f +PACKAGES := $(shell dh_listpackages | cut -d '-' -f 3- | sed -e 's|-tools$$||') + %: dh ${@} --with apache2 override_dh_auto_install: + for PACKAGE in $(PACKAGES); \ + do \ + $(MAKE) -C $${PACKAGE} DESTDIR=$(CURDIR)/debian/open-infrastructure-$${PACKAGE}-tools install; \ + done + # apache-tools - $(MAKE) -C apache DESTDIR=$(CURDIR)/debian/open-infrastructure-service-tools install + rm -f debian/open-infrastructure-apache-tools/usr/share/doc/apache-tools/CHANGELOG.txt + rm -f debian/open-infrastructure-apache-tools/usr/share/doc/apache-tools/LICENSE.txt + -mv debian/open-infrastructure-apache-tools/usr/share/doc/* debian/open-infrastructure-apache-tools/usr/share/doc/open-infrastructure-apache-tools - # service-tools - rm -f debian/open-infrastructure-service-tools/usr/share/doc/service-tools/CHANGELOG.txt - rm -f debian/open-infrastructure-service-tools/usr/share/doc/service-tools/LICENSE.txt - -mv debian/open-infrastructure-service-tools/usr/share/doc/* debian/open-infrastructure-service-tools/usr/share/doc/open-infrastructure-service-tools +ifeq (open-infrastructure-linux-tools,$(findstring open-infrastructure-linux-tools,$(PACKAGES))) +override_dh_installsystemd: + dh_installsystemd -p open-infrastructure-linux-tools --no-restart-after-upgrade --no-start --no-stop-on-upgrade + dh_installsystemd --remaining-packages +endif |