[Pkg-nagios-changes] nsca/debian README.debian, NONE, 1.1 changelog, NONE, 1.1 conffiles, NONE, 1.1 control, NONE, 1.1 copyright, NONE, 1.1 dirs, NONE, 1.1 postinst, NONE, 1.1 postrm, NONE, 1.1 rules, NONE, 1.1

seanius at haydn.debian.org seanius at haydn.debian.org
Sat Oct 29 11:38:11 UTC 2005


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

Added Files:
	README.debian changelog conffiles control copyright dirs 
	postinst postrm rules 
Log Message:
Added debian changes for version 2.4-3. 


--- NEW FILE: README.debian ---
nsca for Debian
---------------

This is the debian package of nsca. Currently you've to add this line
to /etc/services to make it work:

nsca            5667/tcp        # NSCA

Edit the config files to fit your needs and reload inetd.

---
Cajus Pollmeier <cajus at debian.org>, Mon, 29 Mar 2004 15:39:36 +0200

--- NEW FILE: changelog ---
nsca (2.4-3) unstable; urgency=low

  * Adapted the path to the more recent nagios packages (Closes: #282589)

 -- Cajus Pollmeier <cajus at debian.org>  Tue, 23 Nov 2004 19:43:01 +0100

nsca (2.4-2) unstable; urgency=low

  * Added build dependency on debstd which is part of debmake.
    (Closes: #245508)

 -- Cajus Pollmeier <cajus at debian.org>  Fri, 23 Apr 2004 18:04:01 +0200

nsca (2.4-1) unstable; urgency=low

  * Initial upload. (Closes: #241405)

 -- Cajus Pollmeier <cajus at debian.org>  Mon, 29 Mar 2004 15:39:36 +0200

Local variables:
mode: debian-changelog
End:

--- NEW FILE: conffiles ---
/etc/send_nsca.cfg
/etc/nsca.cfg

--- NEW FILE: control ---
Source: nsca
Section: net
Priority: optional
Maintainer: Cajus Pollmeier <cajus at debian.org>
Standards-Version: 3.2.1
Build-depends: libmcrypt-dev, debmake

Package: nsca
Architecture: any
Depends: ${shlibs:Depends}, nagios-text | nagios-pgsql | nagios-mysql
Description: Nagios service monitor agent
 The purpose of this addon is to allow you to send service check
 results to a central monitoring server running Nagios in a secure
 manner.
 .
 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, problem history, log file, etc.)
 .
 Nagios was written in C and is designed to be easy to understand and modify
 to fit your own needs.

--- NEW FILE: copyright ---
This package was debianized by Cajus Pollmeier <cajus at debian.org>
on Mon, 29 Mar 2004 15:39:36 +0200.

It was downloaded from http://www.nagios.org/

Upstream Author: Ethan Galstad <nagios at nagios.org>

Copyright:

Nsca is released under the terms of the GPL license.
See /usr/share/common-licenses/GPL for the full license.

--- NEW FILE: dirs ---
usr/bin
usr/sbin
etc

--- NEW FILE: postinst ---
#! /bin/sh

pkg=nsca

case "$1" in
	configure)

		chown nagios.root /etc/nsca.cfg /etc/send_nsca.cfg
		chmod 440 /etc/nsca.cfg /etc/send_nsca.cfg

		update-inetd --group OTHER --add '5667\t\tstream\ttcp\tnowait\tnagios\t/usr/sbin/tcpd\t/usr/sbin/nsca -c /etc/nsca.cfg --inetd'
		/etc/init.d/inetd reload
		;;
	abort-upgrade|abort-remove|abort-deconfigure)
		exit 0
		;;
	*)
		echo "postinst called with unknown argument"
		exit 1
		;;
esac



--- NEW FILE: postrm ---
#! /bin/sh

if [ "$1" = "purge" ] ; then
	update-inetd --group OTHER --remove '5667\t\tstream\ttcp\tnowait\tnagios\t/usr/sbin/tcpd\t/usr/sbin/nsca -c /etc/nsca.cfg -- inetd'
fi


--- NEW FILE: rules ---
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.

package=nsca

build:
	$(checkdir)
	./configure --with-nsca-user=nagios --with-nsca-grp=nogroup --with-nsca-port=5667 --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib/nagios
	$(MAKE) all
	touch build

clean:
	$(checkdir)
	-rm -f build
	-$(MAKE) distclean
	-rm -f `find . -name "*~"`
	-rm -rf debian/tmp debian/files* core debian/substvars

binary-indep: checkroot build
	$(checkdir)
# There are no architecture-independent files to be uploaded
# generated by this package.  If there were any they would be
# made here.

binary-arch: checkroot build
	$(checkdir)
	-rm -rf debian/tmp
	install -d debian/tmp
	cd debian/tmp && install -d `cat ../dirs`
	$(MAKE) install prefix=`pwd`/debian/tmp/usr

	# Copy missing files
	cp src/nsca debian/tmp/usr/sbin
	cp src/send_nsca debian/tmp/usr/sbin
	cp send_nsca.cfg nsca.cfg debian/tmp/etc

	# Remove obsolete stuff
	rm -rf tmp/debian/usr/local
	
# Must have debmake installed for this to work. Otherwise please copy
# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
	debstd Changelog README 
	dpkg-gencontrol -isp
	chown -R root.root debian/tmp
	chmod -R go=rX debian/tmp
	dpkg --build debian/tmp ..

define checkdir
	test -f debian/rules
endef

binary: binary-indep binary-arch

checkroot:
	$(checkdir)
	test root = "`whoami`"

.PHONY: binary binary-arch binary-indep clean checkroot




More information about the Pkg-nagios-changes mailing list