[Pkg-nagios-devel] nagios-plugins/debian README.Debian, NONE, 1.1 TODO, NONE, 1.1 changelog, NONE, 1.1 compat, NONE, 1.1 control, NONE, 1.1 copyright, NONE, 1.1 dirs, NONE, 1.1 docs, NONE, 1.1 postinst, NONE, 1.1 postrm, NONE, 1.1 rules, NONE, 1.1 watch, NONE, 1.1

seanius at haydn.debian.org seanius at haydn.debian.org
Fri Sep 30 13:15:19 UTC 2005


Update of /cvsroot/pkg-nagios/nagios-plugins/debian
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv19179/debian

Added Files:
	README.Debian TODO changelog compat control copyright dirs 
	docs postinst postrm rules watch 
Log Message:
Added debian changes for version 1.4-6. 


--- NEW FILE: README.Debian ---
nagios-plugins for Debian
-------------------------

If you customize the plugin configuration, please remember to run "update-nagios".

At the time of this writing MRTGEXT NLM for Novell Servers is not packaged for 
debian, so check_nwstat is removed for the time beeing, till me or someone else 
packages it.

 -- Guido Trotter <ultrotter at debian.org>, Sun,  1 Feb 2004 10:05:51 +0100


--- NEW FILE: TODO ---

After sarge: 

- Remove the possibility to build with fileutils.

- Now /usr/share/nagios/pluginconfig -> /etc/nagios-plugins/config
  Remove the symlink af and conflict with nagios < (ver that reads from /etc)


These are the plugins which miss .cfg files: add them if someone asks:

/usr/lib/nagios/plugins/check_ups
/usr/lib/nagios/plugins/check_mysql
/usr/lib/nagios/plugins/check_swap
/usr/lib/nagios/plugins/check_dig
/usr/lib/nagios/plugins/check_breeze
/usr/lib/nagios/plugins/check_disk_smb
/usr/lib/nagios/plugins/check_ircd
/usr/lib/nagios/plugins/check_log
/usr/lib/nagios/plugins/check_oracle
/usr/lib/nagios/plugins/check_sensors
/usr/lib/nagios/plugins/check_wave
/usr/lib/nagios/plugins/check_mailq
/usr/lib/nagios/plugins/check_simap
/usr/lib/nagios/plugins/check_spop




--- NEW FILE: changelog ---
nagios-plugins (1.4-6) unstable; urgency=low

  * Build-Depend on the *correct* libmysqlclient-dev

 -- Guido Trotter <ultrotter at debian.org>  Sun,  8 May 2005 08:12:20 -0700

nagios-plugins (1.4-5) unstable; urgency=low

  * Fix Build-Dependencies for sarge as per
    http://lists.debian.org/debian-release/2005/05/msg00442.html and following

 -- Guido Trotter <ultrotter at debian.org>  Sat,  7 May 2005 18:19:32 -0700

nagios-plugins (1.4-4) unstable; urgency=medium

  * The "Upload after it's too late" release
  * Make nagios-plugins depend on iputils-ping only (closes: #296295)
  * Urgency medium because it fixes an important bug reported by lots
    of people, and it doesn't change anything else
  * This version should be the one sarge ships with, hopefully!

 -- Guido Trotter <ultrotter at debian.org>  Tue,  3 May 2005 17:04:39 -0700

nagios-plugins (1.4-3) unstable; urgency=medium

  * Add back empty imap.cfg (closes: #296249)
  * Remove --with-ping-command from configure (closes: #296295)
  * Fix load.cfg (closes: #296254)
  * Urgency medium because it fixes a segfault in check_ping
  * Build depend on mail-transport-agent (mailq path) (closes: #297708)

 -- Guido Trotter <ultrotter at debian.org>  Mon,  7 Mar 2005 04:31:49 +0000

nagios-plugins (1.4-2) unstable; urgency=low

  * Add information about update-nagios needed after re-configuration
    (Shouldn't nagios document this? anyway...) (closes: #291224)
  * Use --ssl in check_https (closes: #295917)
  * Fix ps syntax (closes: #296003)

 -- Guido Trotter <ultrotter at debian.org>  Sat, 19 Feb 2005 20:22:16 +0000

nagios-plugins (1.4-1) unstable; urgency=low

  * The "I'm still around" release
  * New upstream version (closes: #294224)
  * Remove useless patches:
    01_ldap21bind
    04_checkswap
    03_hostwithnumbers
    05_checkbreeze
    07_checkbyssh (apparently it wasn't considered a bug upstream)
  * Fix argument number in check_ldap (closes: #281700) (Thanks Joerg)
  * Fix hostname placeholder in mysql.cfg (closes: #281701)
  * Don't list check_imap twice (closes: #280702)
  * Add check_https command (closes: #292124)
  * Add check_dig command (closes: #281020)
  * Add check_breeze command (closes: #281019)
  * Add dummy commands (closes: #281018)
  * Add check_mailq_<MTA> commands for all supported mtas (closes: #281016, #282015)
  * Add check_spop and check_simap commands (closes: #280700)
  * Add check_nt command (closes: #294299)
  * Fix check_load command (closes: #294298)
  * Fix a reference to @libexec@ in snmp.cfg (closes: #276520)

 -- Guido Trotter <ultrotter at debian.org>  Fri, 18 Feb 2005 07:50:28 +0000

nagios-plugins (1.3.1.0-12) unstable; urgency=low

  * Sorry for the multiple uploads trying to fix the problem... 
    Unfortunately I don't have any !i386 handy. :(
  * This time #275803 should really be dealt with!

 -- Guido Trotter <ultrotter at debian.org>  Wed, 13 Oct 2004 13:59:58 -0700

nagios-plugins (1.3.1.0-11) unstable; urgency=high

  * Hack subst.in to really solve the incorrect "use lib" on arches !i386
    forcing the correct (debian) path in (closes: #275803)
  * urgency set to high because it solves an RC bug in sarge

 -- Guido Trotter <ultrotter at debian.org>  Wed, 13 Oct 2004 08:23:53 -0700

nagios-plugins (1.3.1.0-10) unstable; urgency=low

  * The "Better late than never" release
  * Include Tom Laermans mysql.cfg in pluginsconfig (closes: #267747)
  * Include Tom Laermans imap.cfg in pluginsconfig (closes: #267953)
  * Fix snmp_load typo (thanks to Raoul Borenius) (closes: #270276)
  * Fix snmp_load typo (thanks to Raoul Borenius) (closes: #270276)
  * Build-depend on mawk to try fixing #275803 (was that the culprit?)

 -- Guido Trotter <ultrotter at debian.org>  Tue, 12 Oct 2004 20:44:51 -0700

nagios-plugins (1.3.1.0-9) unstable; urgency=high

  * Update debian/watch file
  * Fix check_breeze (thanks to Peter Palfrader for noticing it was broken)
    (closes: #265207)
  * Add to 04_checkswap two patches from Sean Finney plus one from me
    (to avoid it returning STATE_CRITICAL when no swap is configured) 
    (closes: #265152, #265154)
  * Also import:
    - Sven Velt patch for check_ircd (closes: #259720)
    - Cyril Bouthors patch for check_by_ssh (closes: #257793)
  * Urgency high so nagios and nagios-plugins stop running one after
    the other to enter testing
  * Sorry, the package splitting is still delayed for after sarge

 -- Guido Trotter <ultrotter at debian.org>  Thu, 12 Aug 2004 16:13:35 +0200

nagios-plugins (1.3.1.0-8) unstable; urgency=low

  * Import a backport of check_swap from upstream CVS done by 
    "The Fungi" <fungi at yuggoth.org> to make swap checking 2.6 
    compatible (closes: #261151)
  * Postpone package splitting, so this version can go in sarge
    with nagios before we have to wait a bit in the NEW queue

 -- Guido Trotter <ultrotter at debian.org>  Sun, 25 Jul 2004 11:34:01 +0200

nagios-plugins (1.3.1.0-7) unstable; urgency=low

  * Add 03_hostwithnumbers.dpatch written by me to correct the behaviour
    of is_hostname() in utils.c  about host components beginning with a 
    number (closes: #253620). Thanks to Andreas Edler who spotted
    the problem.

 -- Guido Trotter <ultrotter at debian.org>  Tue, 15 Jun 2004 15:37:48 +0200

nagios-plugins (1.3.1.0-6) unstable; urgency=low

  * Conflict with the current version of nagios (closes: #245607)

 -- Guido Trotter <ultrotter at debian.org>  Sat, 24 Apr 2004 12:01:59 +0200

nagios-plugins (1.3.1.0-5) unstable; urgency=low

  * Move plugin configuration to /etc/nagios-plugins/config
  * For the time beeing symlink from the original directory

  This should help nagios closing #241807

 -- Guido Trotter <ultrotter at debian.org>  Fri, 23 Apr 2004 09:06:51 +0200

nagios-plugins (1.3.1.0-4) unstable; urgency=low

  * Fix not considered args and broken example in check_disk (closes: #241833)

 -- Guido Trotter <ultrotter at debian.org>  Mon,  5 Apr 2004 10:34:37 +0200

nagios-plugins (1.3.1.0-3) unstable; urgency=low

  * Take parameters for basic check_ping (closes: #238670)
  * Add ssh.cfg and ldap.cfg (closes: #236781)

 -- Guido Trotter <ultrotter at debian.org>  Sat,  3 Apr 2004 18:03:38 +0200

nagios-plugins (1.3.1.0-2) unstable; urgency=low

  * Recommend nagios-text | nagios
  * Remove notify.cfg from distributed config files (closes: #234951)

 -- Guido Trotter <ultrotter at debian.org>  Thu, 26 Feb 2004 22:41:56 +0100

nagios-plugins (1.3.1.0-1) unstable; urgency=low

  * The "lintian clean it" release
  * Upstream version is 1.3.1, i've incremented the version number a bit in
    order to upload a new source without the CVS directories, and so let
    lintian not complain...

 -- Guido Trotter <ultrotter at debian.org>  Tue, 24 Feb 2004 19:37:09 +0100

nagios-plugins (1.3.1-6) unstable; urgency=low

  * Depend only on ntp-simple instead of ntp (closes: #233267)
  * Also in build-dependency use ntp-simple rather than ntp

 -- Guido Trotter <ultrotter at debian.org>  Tue, 17 Feb 2004 21:03:58 +0100

nagios-plugins (1.3.1-5) unstable; urgency=low

  * Adapt the choosen ping command to the fact that configure 
    doesn't set PING_PACKETS_FIRST when PING_COMMAND is passed 
    from the command line (closes: #233010)

 -- Guido Trotter <ultrotter at debian.org>  Mon, 16 Feb 2004 13:19:20 +0100

nagios-plugins (1.3.1-4) unstable; urgency=low

  * Pass --with-ping-command to configure, and relax the dependency on ping.
  * Export a sane $PATH and pass it to configure (closes: #232498)
  * Give full path of libexec dir to configure (closes: #232436)
  * Remove empty dirs from debian/dirs
  * Ship command configuration in /usr/share/nagios/pluginconfig
    These files are generated passing the upstream command.cfg to 
    nagios' convertcfg, and then splitted up manually removing 
    definitions already shipped with nagios. Thanks to Nate Allen 
    who found out the solution. (closes: #232300)

 -- Guido Trotter <ultrotter at debian.org>  Sat, 14 Feb 2004 13:20:55 +0100

nagios-plugins (1.3.1-3) unstable; urgency=low

  * Remove dependency on non-existent package "dqs"
  * Pass --with-df-command="/bin/df -Pk" to configure, since compiling
    on the autobuilders doesn't detect that (why?)
  * Build-depend also on libkrb5-dev

 -- Guido Trotter <ultrotter at debian.org>  Wed, 11 Feb 2004 17:03:23 +0100

nagios-plugins (1.3.1-2) unstable; urgency=low

  * Add some missing build dependencies that prevented nagios-plugins
    from compiling

 -- Guido Trotter <ultrotter at debian.org>  Wed, 11 Feb 2004 12:41:13 +0100

nagios-plugins (1.3.1-1) unstable; urgency=low

  * Initial Release (closes: #208218)
  * I prefer having all the plugins in a single package: the installation size
    is not so terrible

 -- Guido Trotter <ultrotter at debian.org>  Sun,  1 Feb 2004 10:32:04 +0100


--- NEW FILE: compat ---
4

--- NEW FILE: control ---
Source: nagios-plugins
Section: net
Priority: extra
Maintainer: Guido Trotter <ultrotter at debian.org>
Build-Depends: debhelper (>= 4.0.0), dpatch (>= 2.0.9), libldap2-dev, postgresql-dev, libmysqlclient12-dev | libmysqlclient-dev, libsnmp5-dev, libradius1-dev, libkrb5-dev, qstat, fping, libnet-snmp-perl, procps, coreutils | fileutils, iputils-ping, dnsutils, bind9-host | host, ntpdate, ntp-simple, smbclient, snmp, ssh, mawk | awk, exim4 | mail-transport-agent
Standards-Version: 3.6.1.0

Package: nagios-plugins
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, fping, qstat, snmp, radiusclient1, libnet-snmp-perl, procps, iputils-ping, dnsutils, bind9-host | host, ntpdate, ntp-simple | ntp, smbclient
Conflicts: netsaint, netsaint-plugins, netsaint-plugins-extra, netsaint-plugins-fping, netsaint-plugins-game, netsaint-plugins-ldap, netsaint-plugins-mysql, netsaint-plugins-pgsql, netsaint-plugins-radius, netsaint-plugins-samba, netsaint-plugins-snmp, nagios-text (<= 2:1.2-3.1), nagios-mysql (<= 2:1.2-3.1), nagios-pgsql (<= 2:1.2-3.1)
Suggests: ntp
Recommends: nagios-text | nagios
Description: Plugins for the nagios network monitoring and management system
 Nagios is a host/service/network monitoring and management system. It has
 the following features:
 .
  o  Monitoring of network services (via TCP port, SMTP, POP3, HTTP, NNTP,
     PING, etc.)
  o  Plugin interface to allow for user-developed service checks
  o  Contact notifications when problems occur and get resolved (via email,
     pager, or user-defined method)
  o  Ability to define event handlers to be run during service or host events
     (for proactive problem resolution)
  o  Web output (current status, notifications, history, log file, etc.)
 .
 These plugins are used by nagios to perform the various service checks.


--- NEW FILE: copyright ---
This package was debianized by Guido Trotter <ultrotter at debian.org> on
Sun,  1 Feb 2004 10:05:51 +0100.

It was downloaded from http://nagiosplug.sourceforge.net/

Upstream Authors:	Felipe Gustavo de Almeida
			Ian Cass
			Robert Dale
			Karl DeBisschop
			Ragnar Hojland Espinosa
			Ethan Galstad
			Bo Kersey
			Pedro Leite
			Richard Mayhew
			Remi Paulmier
			Didi Rieder
			Tom Shields

Copyright:

   This package is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; version 2 dated June, 1991.

   This package is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this package; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
   02111-1307, USA.

On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.


--- NEW FILE: dirs ---
etc/nagios-plugins/config

--- NEW FILE: docs ---
FAQ
NEWS
README
LEGAL
REQUIREMENTS
SUPPORT

--- NEW FILE: postinst ---
#! /bin/sh
# postinst script for nagios-plugins
#
# see: dh_installdeb(1)

set -e

case "$1" in
    configure)
	# Update Nagios Config
	if [ -x /usr/sbin/update-nagios ] ; then
		/usr/sbin/update-nagios
	fi
   ;;

    abort-upgrade|abort-remove|abort-deconfigure)

    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0


--- NEW FILE: postrm ---
#! /bin/sh
# postrm script for nagios-plugin
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postrm> `remove'
#        * <postrm> `purge'
#        * <old-postrm> `upgrade' <new-version>
#        * <new-postrm> `failed-upgrade' <old-version>
#        * <new-postrm> `abort-install'
#        * <new-postrm> `abort-install' <old-version>
#        * <new-postrm> `abort-upgrade' <old-version>
#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)

	# Update Nagios Configuration
	if [ -x /usr/sbin/update-nagios ] ; then
        	/usr/sbin/update-nagios
	fi
        ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1

esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0

--- NEW FILE: rules ---
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PACKAGE = nagios-plugins

include /usr/share/dpatch/dpatch.make

# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

CFLAGS = -Wall -g

PATH = /bin:/sbin:/usr/bin:/usr/sbin


ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
	INSTALL_PROGRAM += -s
endif

config.status: configure
	export PATH=$(PATH)
	dh_testdir
	# Add here commands to configure the package.
	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/nagios/plugins --with-nagios-user=nagios --with-nagios-group=nagios --with-trusted-path=/bin:/sbin:/usr/bin:/usr/sbin --with-df-command="/bin/df -Pk"

build: patch-stamp build-stamp

build-stamp:  config.status
	dh_testdir

	# Add here commands to compile the package.
	$(MAKE)
	#/usr/bin/docbook-to-man debian/nagios-plugins.sgml > nagios-plugins.1

	touch build-stamp

clean: really-clean unpatch

really-clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp 

	# Add here commands to clean up after the build process.
	-$(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
	cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
	cp -f /usr/share/misc/config.guess config.guess
endif
	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/nagios-plugins.
	$(MAKE) install DESTDIR=$(CURDIR)/debian/nagios-plugins
	cp $(CURDIR)/debian/pluginconfig/* $(CURDIR)/debian/nagios-plugins/etc/nagios-plugins/config/


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs ChangeLog
	dh_installdocs
	dh_installexamples command.cfg
#	dh_install
#	dh_installmenu
#	dh_installdebconf	
#	dh_installlogrotate
#	dh_installemacsen
#	dh_installpam
#	dh_installmime
#	dh_installinit
#	dh_installcron
#	dh_installinfo
	dh_installman
#	dh_link
	dh_strip
	dh_compress
	dh_fixperms
#	dh_perl
#	dh_python
#	dh_makeshlibs
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install 

--- NEW FILE: watch ---
version=2
http://prdownloads.sourceforge.net/nagiosplug/nagios-plugins-([\d+\.a-z]+|\d+)\.tar\.gz




More information about the Pkg-nagios-devel mailing list