[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 01/02: do not build check_varnish and check_memcached on hurd-i386

Bernd Zeimetz bernd at bzed.de
Fri Apr 25 22:36:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

bzed pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.

commit 9774c695c9f25d09de0e978f696db70a97336c9c
Author: Evgeni Golov <evgeni at debian.org>
Date:   Sat Jan 25 10:30:09 2014 +0000

    do not build check_varnish and check_memcached on hurd-i386
    
    also do not build check_memcached on arm64 and check_varnish on m68k
---
 check_memcached/control |  2 +-
 check_varnish/control   |  2 +-
 debian/control          |  2 +-
 debian/rules            | 11 +++++++++++
 4 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/check_memcached/control b/check_memcached/control
index 4043cef..c3e0be4 100644
--- a/check_memcached/control
+++ b/check_memcached/control
@@ -1,4 +1,4 @@
-Build-Depends: flex, libmemcached-dev
+Build-Depends: flex, libmemcached-dev [!hurd-i386 !arm64]
 Homepage: http://exchange.nagios.org/directory/Plugins/Websites,-Forms-and-Transactions/check_memcached-IV/details
 Version: 1.3
 Uploaders: Bernd Zeimetz <bzed at debian.org>
diff --git a/check_varnish/control b/check_varnish/control
index 499d0c6..a5a472d 100644
--- a/check_varnish/control
+++ b/check_varnish/control
@@ -1,5 +1,5 @@
 Uploaders: Bernd Zeimetz <bzed at debian.org>
-Build-Depends: libvarnishapi-dev, pkg-config
+Build-Depends: libvarnishapi-dev [!hurd-i386 !m68k], pkg-config
 Version: 1.1
 Homepage: http://repo.varnish-cache.org/source/
 Watch: http://repo.varnish-cache.org/source/ varnish-nagios-([0-9.]+)\.tar\.gz
diff --git a/debian/control b/debian/control
index ec1774f..a49a12a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: net
 Priority: extra
 Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel at lists.alioth.debian.org>
 Uploaders: Bernd Zeimetz <bzed at debian.org>, Jan Wagner <waja at cyconet.org>
-Build-Depends: debhelper (>= 8.0.0), python, python-debian, quilt (>= 0.46-7), autotools-dev, dh-autoreconf, autotools-dev, flex, libmemcached-dev, libvarnishapi-dev, pkg-config
+Build-Depends: debhelper (>= 8.0.0), python, python-debian, quilt (>= 0.46-7), autotools-dev, dh-autoreconf, flex, libmemcached-dev [!hurd-i386 !arm64], libvarnishapi-dev [!hurd-i386 !m68k], pkg-config
 Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/pkg-nagios/pkg-nagios-plugins-contrib
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-nagios/pkg-nagios-plugins-contrib;a=summary
diff --git a/debian/rules b/debian/rules
index eedc9b6..54d76db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,17 @@
 export DH_VERBOSE=1
 
 PLUGINS := $(shell find $(CURDIR) -mindepth 1 -maxdepth 1 -name .git -prune -o -name .pc -prune -o -name debian -prune -o -type d -printf '%f\n' | sort)
+
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH), hurd-i386))
+	PLUGINS := $(filter-out check_memcached check_varnish,$(PLUGINS))
+endif
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH), arm64))
+	PLUGINS := $(filter-out check_memcached,$(PLUGINS))
+endif
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH), m68k))
+	PLUGINS := $(filter-out check_varnish,$(PLUGINS))
+endif
+
 PKGNAME = nagios-plugins-contrib
 
 %:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins-contrib



More information about the Pkg-nagios-changes mailing list