From 92b71369d9c622791ec7758cb3ecfc256031e24d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 14:39:40 +0200 Subject: Adding debian version 2.11.4-2+deb12u1. Signed-off-by: Daniel Baumann --- debian/rules | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b73f540 --- /dev/null +++ b/debian/rules @@ -0,0 +1,51 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + +%: + dh $@ --with bash_completion + +override_dh_install: + dh_install -XSOURCE + + mkdir -p debian/php-icinga/usr/share/doc/php-icinga + cp library/vendor/Zend/README.md debian/php-icinga/usr/share/doc/php-icinga/README-ZF1.md + + # Remove extra license files + find debian/*/usr/share/icingaweb2 -name LICENSE -delete + find debian/*/usr/share/icingaweb2 -name LICENSE.LGPL -delete + find debian/*/usr/share/icingaweb2 -name LICENSE.txt -delete + + # Remove documentation + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/AUTHORS.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/README.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/AUTHORS.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/CHANGELOG.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/README.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/RELEASE.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/UPGRADING.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/*/*/*/README.md + + $(RM) debian/*/usr/share/icingaweb2/library/vendor/lessphp/CHANGES.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/lessphp/README.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/lessphp/SECURITY.md + + # Remove duplicate font files + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Bold.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-BoldOblique.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Oblique.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Bold.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-BoldOblique.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Oblique.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Bold.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-BoldItalic.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Italic.ttf + + # Remove executable bit + chmod -x debian/*/usr/share/icingaweb2/application/fonts/fontello-ifont/config.json \ + debian/*/usr/share/icingaweb2/library/vendor/HTMLPurifier/DefinitionCache/Serializer/README \ + debian/*/usr/share/icingaweb2/public/font/ifont.* + +# vi: ts=4 sw=4 noexpandtab : -- cgit v1.2.3