From 48e1f63e98c715da052364fddbe4d7f29f7bd628 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 19 Mar 2016 19:45:04 +0000 Subject: Specify locations of sudo and rrdtool in Debian build to avoid kludge of having to include them as build dependencies just so that ./configure can figure out their locations. svn path=/branches/tk705/; revision=6320 --- buildtools/debian-skeleton/control | 6 +----- buildtools/debian-skeleton/rules | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'buildtools') diff --git a/buildtools/debian-skeleton/control b/buildtools/debian-skeleton/control index 94f48d21..f8e1b846 100644 --- a/buildtools/debian-skeleton/control +++ b/buildtools/debian-skeleton/control @@ -5,15 +5,11 @@ # Division between rp and ca packages is somewhat arbitrary, and becomes less relevant as we move more and # more of the code from C into Python. Some day we may just collapse down to a single binary package again. -# Build doesn't really require sudo or rrdtool, but rpki.autoconf gets the wrong values if they're not present. -# Better fix for this would be to specify values for this on the command line for ./configure, but specifying -# them as build dependencies should work around the problem for now. - Source: rpki Section: net Priority: extra Maintainer: Rob Austein -Build-Depends: debhelper (>= 8.0.0), autotools-dev, python (>= 2.7), python-all-dev, python-setuptools, python-lxml, sudo, rrdtool +Build-Depends: debhelper (>= 8.0.0), autotools-dev, python (>= 2.7), python-all-dev, python-setuptools, python-lxml Standards-Version: 3.9.3 Homepage: http://trac.rpki.net/ Vcs-Svn: http://subvert-rpki.hactrn.net/ diff --git a/buildtools/debian-skeleton/rules b/buildtools/debian-skeleton/rules index 8e233e08..4849f2de 100644 --- a/buildtools/debian-skeleton/rules +++ b/buildtools/debian-skeleton/rules @@ -10,5 +10,8 @@ export DH_VERBOSE=1 override_dh_auto_configure: dh_auto_configure -- --disable-target-installation --enable-python-install-layout=deb --disable-runtime-dependencies --enable-wsgi-daemon-mode=rpki +override_dh_auto_build: + dh_auto_build -- SUDO=/usr/bin/sudo RRDTOOL=/usr/bin/rrdtool + override_dh_auto_test: @true -- cgit v1.2.3