From ab8812c042d250790c6d30f1729984570ba248cf Mon Sep 17 00:00:00 2001 From: Michael Howe Date: Sun, 20 Dec 2015 11:43:01 +0000 Subject: [PATCH] Split packages out Create separate -client and -server packages, in an attempt to keep the increasing number of plugins and dependencies down. --- Makefile | 7 +---- debian/changelog | 12 +++++++++ debian/control | 31 ++++++++++++++++++++-- debian/nagios-plugins-local-client.install | 3 +++ debian/nagios-plugins-local-server.install | 3 +++ 5 files changed, 48 insertions(+), 8 deletions(-) create mode 100644 debian/nagios-plugins-local-client.install create mode 100644 debian/nagios-plugins-local-server.install diff --git a/Makefile b/Makefile index 445f331..bf9ee84 100644 --- a/Makefile +++ b/Makefile @@ -13,12 +13,7 @@ check_ldaps_ip: src/check_ldaps_ip.c install: $(INSTALL) -d $(DSTPLUGINDIR) - $(INSTALL) -m 0755 $(PLUGINDIR)/check_cert $(DSTPLUGINDIR) - $(INSTALL) -m 0755 $(PLUGINDIR)/check_md_raid $(DSTPLUGINDIR) - $(INSTALL) -m 0755 $(PLUGINDIR)/check_ldaps_ip $(DSTPLUGINDIR) - $(INSTALL) -m 0755 $(PLUGINDIR)/check_networkclients $(DSTPLUGINDIR) - $(INSTALL) -m 0755 $(PLUGINDIR)/check_krb5 $(DSTPLUGINDIR) - $(INSTALL) -m 0755 $(PLUGINDIR)/check_configtool $(DSTPLUGINDIR) + $(INSTALL) -m 0755 $(PLUGINDIR)/* $(DSTPLUGINDIR)/ clean: $(RM) plugins/check_ldaps_ip diff --git a/debian/changelog b/debian/changelog index 27a376f..dbee5b9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +nagios-plugins-local (0.11) unstable; urgency=low + + * Split package out into multiple packages: + - nagios-plugins-local-server: plugins that should run on the nagios + server + - nagios-plugins-local-client: plugins that should run on individual + clients + - nagios-plugins-local: transitional empty package that merely depends on + nagios-plugins-local-client + + -- Michael Howe Sun, 20 Dec 2015 11:42:30 +0000 + nagios-plugins-local (0.10) unstable; urgency=medium * Fix Makefile diff --git a/debian/control b/debian/control index b7f9603..cfe817b 100644 --- a/debian/control +++ b/debian/control @@ -8,6 +8,33 @@ Homepage: Package: nagios-plugins-local Architecture: any -Depends: ${misc:Depends}, perl, python, libc6, gnutls-bin, libnet-telnet-perl, libnagios-plugin-perl, libregexp-common-perl, libauthen-krb5-perl, libtimedate-perl, liburi-perl +Depends: nagios-plugins-local-client (= ${source:Version} ) +Description: Transitional package to nagios-plugins-local-client + nagios-plugins-local has been split into two. Systems running nrpe should use + nagios-plugins-local-client instead. + +Package: nagios-plugins-local-server +Architecture: any +Depends: ${misc:Depends}, + perl, + python, + libc6, + libnet-telnet-perl, + libregexp-common-perl, + libauthen-krb5-perl, + nagios-nrpe-plugins-local (= ${source:Version}) Description: Local nagios plugins - Nagios plugins customized for use on michaelhowe.org hosts. + Nagios plugins for use on the michaelhowe.org nagios host. + +Package: nagios-plugins-local-client +Architecture: any +Depends: ${misc:Depends}, + perl, + python, + gnutls-bin, + libnagios-plugin-perl, + libtimedate-perl, + liburi-perl +Description: Local nagios plugins (NRPE hosts) + Nagios plugins customized for use on michaelhowe.org hosts, likely to need to + run on all hosts. diff --git a/debian/nagios-plugins-local-client.install b/debian/nagios-plugins-local-client.install new file mode 100644 index 0000000..4f4f31d --- /dev/null +++ b/debian/nagios-plugins-local-client.install @@ -0,0 +1,3 @@ +/usr/lib/nagios/plugins/check_cert +/usr/lib/nagios/plugins/check_configtool +/usr/lib/nagios/plugins/check_md_raid diff --git a/debian/nagios-plugins-local-server.install b/debian/nagios-plugins-local-server.install new file mode 100644 index 0000000..b4276fd --- /dev/null +++ b/debian/nagios-plugins-local-server.install @@ -0,0 +1,3 @@ +/usr/lib/nagios/plugins/check_krb5 +/usr/lib/nagios/plugins/check_networkclients +/usr/lib/nagios/plugins/check_ldaps_ip -- 2.39.5