[Pkg-nagios-changes] [pkg-nsca] 14/25: Use dh_auto_configure instead of configure directly.

Bas Couwenberg sebastic at debian.org
Mon Dec 5 07:08:07 UTC 2016


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

sebastic pushed a commit to branch master
in repository pkg-nsca.

commit 2c3705a7a7194bc8a68f44eb042e470cc37f9dfd
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 4 21:08:56 2016 +0100

    Use dh_auto_configure instead of configure directly.
---
 debian/changelog |  1 +
 debian/rules     | 10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c617ad9..59c7859 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ nsca (2.9.1-4) UNRELEASED; urgency=medium
   * Add upstream metadata.
   * Add gbp.conf to use pristine-tar by default.
   * Use dh-autoreconf for retooling.
+  * Use dh_auto_configure instead of configure directly.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 04 Dec 2016 00:04:22 +0100
 
diff --git a/debian/rules b/debian/rules
index cb4c5da..9b97de8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,11 +6,11 @@ export AUTOHEADER=true
 	dh $@ --with autoreconf
 
 override_dh_auto_configure:
-	./configure \
-		--with-nsca-user=nagios \
-		--with-nsca-grp=nogroup \
-		--with-nsca-port=5667 \
+	dh_auto_configure -- \
 		--prefix=/usr \
 		--sysconfdir=/etc \
 		--localstatedir=/var \
-		--libdir=/usr/lib/nagios
+		--libdir=/usr/lib/nagios \
+		--with-nsca-user=nagios \
+		--with-nsca-grp=nogroup \
+		--with-nsca-port=5667

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



More information about the Pkg-nagios-changes mailing list