[Pkg-nagios-changes] [pkg-check-mk] 01/02: stop packaging upstream provided binaries

Matt Taggart taggart at moszumanska.debian.org
Fri Jul 3 21:58:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

taggart pushed a commit to branch master
in repository pkg-check-mk.

commit 8ce325f69471adfb5a9ceae5061dd7fbdf0253d2
Author: Matt Taggart <taggart at debian.org>
Date:   Fri Jul 3 14:51:54 2015 -0700

    stop packaging upstream provided binaries
    
    including:
    * upstream created agent deb and rpm
    * windows binaries which _might_ be rebuildable with tools
    in debian, but someone who wants them will need to figure it out.
    * jasperreport jar/classes, probably rebuildable with tools
    in debian, but someone who wants them will need to figure it out.
---
 debian/rules | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index bd5d431..5cb6309 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,11 +59,27 @@ install: build
 	dh_installdebconf
 	mkdir -p debian/tmp
 	DESTDIR=debian/tmp ./setup.sh --yes
-	#don't use the statically linked binary.
+	## clean up binaries shipped by upstream
+	# upstream agent deb and rpm
+	rm -rf debian/tmp/usr/share/check_mk/agent/check-mk-agent*.deb
+	rm -rf debian/tmp/usr/share/check_mk/agent/check-mk-agent*.rpm
+	# java jar and classes (we don't rebuild these, help if you want them)
+	rm -rf debian/tmp/usr/share/doc/check_mk/jasperreports
+	# Windows binaries (we don't rebuild these, help if you want them)
+	rm -rf debian/tmp/usr/share/check_mk/agents/windows
+	rm -rf debian/tmp/usr/share/doc/check_mk/treasures/windows_msi
+	# fsc-celsius 'treasure' tarball that includes binaries
+	rm -rf debian/tmp/usr/share/doc/check_mk/treasures/fsc-celsius*
+	# agent_modbus
+	rm debian/tmp/usr/share/doc/check_mk/treasures/modbus/agent_modbus
+	# waitmax, build our own
 	rm debian/tmp/usr/share/check_mk/agents/waitmax
 	# upstream stopped including waitmax.c, so we carry it in debian/
 	gcc -s -o debian/tmp/usr/share/check_mk/agents/waitmax debian/waitmax.c
 	cp -a livestatus.src/debian/tmp/* debian/tmp/
+	# z_os waitmax
+	rm debian/tmp/usr/share/check_mk/agents/z_os/waitmax
+	## config files
 	# We need 2 different "defaults" files for Icinga and Nagios3
 	rm debian/tmp/usr/share/check_mk/modules/defaults
 	rm debian/tmp/usr/share/check_mk/web/htdocs/defaults.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-check-mk.git



More information about the Pkg-nagios-changes mailing list