[Pkg-nagios-changes] nagios2/debian README.Debian, NONE, 1.1 TODO,
NONE, 1.1 changelog, NONE, 1.1 compat, NONE, 1.1 control, NONE,
1.1 nagios2-common.copyright, NONE, 1.1 nagios2-common.dirs,
NONE, 1.1 nagios2-common.docs, NONE, 1.1 nagios2.dirs, NONE,
1.1 nagios2.links, NONE, 1.1 rules, NONE, 1.1
seanius at haydn.debian.org
seanius at haydn.debian.org
Sat Dec 3 14:38:25 UTC 2005
Update of /cvsroot/pkg-nagios/nagios2/debian
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv12433/debian
Added Files:
README.Debian TODO changelog compat control
nagios2-common.copyright nagios2-common.dirs
nagios2-common.docs nagios2.dirs nagios2.links rules
Log Message:
Added debian changes for version 0b6-2.0-0.
--- NEW FILE: README.Debian ---
debian-specific issues here
- upgrade plan, roadmap...
--- NEW FILE: TODO ---
what isn't there todo? :)
- make sure build-depends are inline
import these files from the 1.x debian dir:
nagios-common.docs
nagios-common.examples
nagios-common.install
- double check init script
- fill in README.Debian
--- NEW FILE: changelog ---
nagios2 (0b6-2.0-0) UNRELEASED; urgency=low
[sean finney]
* initial version (closes: #341748).
-- sean finney <seanius at debian.org> Sat, 03 Dec 2005 15:29:40 +0100
--- NEW FILE: compat ---
4
--- NEW FILE: control ---
Source: nagios2
Section: net
Priority: optional
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel at lists.alioth.debian.org>
Uploaders: sean finney <seanius at debian.org>
Standards-Version: 3.6.2
Build-Depends: debhelper (>= 4.2.21), dpatch (>= 2.0.10), libperl-dev, libpng12-dev, libgd2-noxpm-dev (>= 2.0.1) | libgd2-xpm-dev (>= 2.0.1), iputils-ping
Package: nagios2-common
Architecture: all
Depends: fileutils (>=4.0y) | coreutils (>= 4.5.3), apache | httpd, mailx, nagios-plugins (>= 1.3.1.0-6) | nagios-plugins-basic, adduser, ${misc:Depends}
Conflicts: nagios-text, nagios-mysql, nagios-pgsql, nagios-common
Replaces: nagios, nagios-common
Description: A host/service/network monitoring and management system
Nagios is a replacement of the Netsaint project. It accept and uses the
previous Netsaint modules transparently.
.
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.
.
This package contains the common files for the nagios2 package.
Package: nagios2
Architecture: any
Depends: ${shlibs:Depends}, nagios2-common (= ${Source-Version})
Recommends: nagios-images
Suggests: nagios-nrpe-plugin
Conflicts: nagios, nagios-text, nagios-pgsql, nagios-mysql
Replaces: nagios, nagios-text, nagios-pgsql, nagios-mysql
Provides: nagios, nagios-text
Description: A host/service/network monitoring and management system
Nagios is a replacement of the Netsaint project. It accept and uses the
previous Netsaint modules transparently.
.
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.
.
This package is the new version 2.x series of nagios, which will eventually
replace the 1.x versions.
--- NEW FILE: nagios2-common.copyright ---
This package was debianized by sean finney <seanius at debian.org> on
Sat, 03 Dec 2005 12:05:01 +0100
It was downloaded from http://www.nagios.org/
Upstream Author: Ethan Galstad <nagios at nagios.org>
Current Debian Maintainers: Sean Finney <seanius at debian.org>
Mailing-List: pkg-nagios-devel at lists.alioth.debian.org
Copyright:
Nagios is released under the terms of the GPL license.
See /usr/share/common-licenses/GPL for the full license.
--- NEW FILE: nagios2-common.dirs ---
etc/init.d
etc/nagios/stylesheets
usr/lib/nagios/plugins/eventhandlers
var/run/nagios
usr/share
--- NEW FILE: nagios2-common.docs ---
README
UPGRADING
--- NEW FILE: nagios2.dirs ---
usr/sbin
usr/lib/cgi-bin/nagios
--- NEW FILE: nagios2.links ---
usr/share/doc/nagios2-common usr/share/doc/nagios2
--- NEW FILE: rules ---
#!/usr/bin/make -f
# debian/rules makefile for nagios2
# Last modified:
# $Id: rules,v 1.1 2005/12/03 14:38:22 seanius Exp $
# export DH_VERBOSE=1
b := $(shell pwd)/debian
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
# -Wall disabled until source is fixed to not print tons of warnings with it. :)
#CFLAGS = -Wall -g
CFLAGS = -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
SHELL = /bin/sh -e
CONFIGURE = CFLAGS='$(CFLAGS)' ./configure --prefix=/usr \
--mandir=/usr/share/man \
--bindir=/usr/sbin \
--sbindir=/usr/lib/cgi-bin/nagios \
--datadir=/usr/share/nagios/htdocs \
--sysconfdir=/etc/nagios \
--infodir=/usr/share/info \
--libexecdir=/usr/lib/nagios/plugins \
--localstatedir=/var/log/nagios \
--enable-event-broker \
--enable-embedded-perl \
--with-nagios-user=nagios \
--with-nagios-group=nagios \
--with-command-user=nagios \
--with-command-group=nagios \
--with-init-dir=/etc/init.d \
--with-lockfile=/var/run/nagios/nagios.lock \
--with-mail=/usr/bin/mail \
--with-perlcache \
--build=$(DEB_BUILD_GNU_TYPE) \
--host=$(DEB_HOST_GNU_TYPE)
clean: clean-patched unpatch
clean-patched:
dh_testdir -a
dh_testroot -a
#-rm -Rf docs examples {build,config}-nagios-{text,pgsql,mysql}-stamp
if test -f Makefile; then make distclean; fi
#-rm -Rf {cgi,base}/*.{mysql,pgsql,text}
rm -f {patch,install,configure,build}-stamp
#-rm debian/templates.merged subst
dh_clean
#debconf-updatepo
configure: configure-stamp
configure-stamp:
dh_testdir -a
@echo "Doing $@"
if test -f Makefile; then make clean; fi
$(CONFIGURE)
touch configure-stamp
build: build-stamp
build-stamp: patch-stamp configure-stamp
dh_testdir -a
@echo "Doing $@"
$(MAKE) all
touch build-stamp
patch: patch-stamp
patch-stamp:
@echo "Doing $@"
dpatch --with-cpp apply-all
dpatch --with-cpp cat-all >patch-stamp
unpatch:
@echo "Doing $@"
dpatch --with-cpp deapply-all
rm -rf patch-stamp debian/patched
install: install-stamp
install-stamp: build-stamp
@echo "Doing $@"
dh_testdir -a
dh_testroot -a
dh_installdirs -a -i
make install DESTDIR=$b/nagios2
# move some arch-indep stuff to the nagios2-common package
mv $b/nagios2/usr/share/nagios $b/nagios2-common/usr/share/
mv $b/nagios2/var/log $b/nagios2-common/var
rmdir $b/nagios2/var
dh_link -a
touch install-stamp
binary: binary-arch binary-indep
binary-arch: install-stamp
@echo "Doing $@"
dh_testdir -a
dh_testroot -a
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_makeshlibs -a -V
dh_md5sums -a
dh_builddeb -a
binary-indep: install-stamp
dh_installdocs -i
dh_installexamples -i
dh_installchangelogs -i
# XXX some stuff below here is commented out
#dh_install -i
#install -m 755 cgi/grouplist.cgi.in debian/$@/usr/lib/cgi-bin/nagios/grouplist.cgi
# they install it themselves now?
#dh_installinit -p$@ -P$(b)/$@ --name nagios -- defaults 30 18
#chmod +x $(maindir)/debian/nagios-common/usr/lib/nagios/plugins/check-imap
#chmod +x $(maindir)/debian/nagios-common/usr/lib/cgi-bin/nagios/traceroute.cgi
#chmod 660 $(maindir)/debian/nagios-common/etc/nagios/resource.cfg
#rm -f $(maindir)/debian/nagios-common/etc/nagios/hosts.cfg
dh_link -i usr/share/nagios-common/htdocs/docs usr/share/doc/nagios-common/html
dh_compress -i
dh_fixperms -i -Xnagios/resource.cfg
dh_installdebconf -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
.PHONY: binary-indep binary-arch build configure binary install patch unpatch
More information about the Pkg-nagios-changes
mailing list