* add build-dependency on autotools-dev, add code to automatically

link in current config.guess, config.sub
This commit is contained in:
Marc Haber 2006-01-20 19:05:43 +00:00
parent 427cb051d8
commit cb16874e63
3 changed files with 12 additions and 2 deletions

4
debian/changelog vendored
View file

@ -5,8 +5,10 @@ nagios-plugins (1.4.2-6) unreleased; urgency=low
* add 23_check_axis.dpatch, making the package suiteable to * add 23_check_axis.dpatch, making the package suiteable to
debian/-only layout debian/-only layout
* convert to debian/-only layout * convert to debian/-only layout
* add build-dependency on autotools-dev, add code to automatically
link in current config.guess, config.sub
-- Marc Haber <mh+debian-packages@zugschlus.de> Fri, 20 Jan 2006 19:01:25 +0000 -- Marc Haber <mh+debian-packages@zugschlus.de> Fri, 20 Jan 2006 19:05:15 +0000
nagios-plugins (1.4.2-5) unstable; urgency=low nagios-plugins (1.4.2-5) unstable; urgency=low

2
debian/control vendored
View file

@ -3,7 +3,7 @@ Section: net
Priority: extra Priority: extra
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org> Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
Uploaders: sean finney <seanius@debian.org>, Guido Trotter <ultrotter@debian.org> Uploaders: sean finney <seanius@debian.org>, Guido Trotter <ultrotter@debian.org>
Build-Depends: debhelper (>= 4.0.0), dpatch (>= 2.0.9), libldap2-dev, postgresql-dev, libmysqlclient14-dev | libmysqlclient-dev, libsnmp9-dev | libsnmp-dev, libradius1-dev, libkrb5-dev, libnet-snmp-perl, procps, coreutils | fileutils, iputils-ping, dnsutils, bind9-host | host, snmp, mawk | awk Build-Depends: debhelper (>= 4.0.0), dpatch (>= 2.0.9), autotools-dev, libldap2-dev, postgresql-dev, libmysqlclient14-dev | libmysqlclient-dev, libsnmp9-dev | libsnmp-dev, libradius1-dev, libkrb5-dev, libnet-snmp-perl, procps, coreutils | fileutils, iputils-ping, dnsutils, bind9-host | host, snmp, mawk | awk
Standards-Version: 3.6.2 Standards-Version: 3.6.2
Package: nagios-plugins Package: nagios-plugins

8
debian/rules vendored
View file

@ -44,6 +44,10 @@ endif
config.status: configure config.status: configure
export PATH=$(PATH) export PATH=$(PATH)
dh_testdir dh_testdir
ln -sf /usr/share/misc/config.sub .
ln -sf /usr/share/misc/config.guess .
rm -f config.cache
# Add here commands to configure the package. # Add here commands to configure the package.
EXTRAS="check_game check_fping check_by_ssh" CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=${NP_LIBEXEC} --with-nagios-user=nagios --with-nagios-group=nagios --with-trusted-path=/bin:/sbin:/usr/bin:/usr/sbin --with-df-command="/bin/df -Pk" EXTRAS="check_game check_fping check_by_ssh" CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=${NP_LIBEXEC} --with-nagios-user=nagios --with-nagios-group=nagios --with-trusted-path=/bin:/sbin:/usr/bin:/usr/sbin --with-df-command="/bin/df -Pk"
@ -67,6 +71,10 @@ really-clean:
# Add here commands to clean up after the build process. # Add here commands to clean up after the build process.
-$(MAKE) distclean -$(MAKE) distclean
find -type d -name autom4te.cache -print0 | xargs -0 -r rm -rf \;
-rm -f platform.h auto-include.h
find -type d -name build -print0 | xargs -0 -r rm -rf \;
find \( -name config.sub -o -name config.guess \) -print0 | xargs -0 -r rm -f \;
dh_clean dh_clean
install: build install: build