From e27645aaddc65bf0dc01cfa85bf5b554abee6a16 Mon Sep 17 00:00:00 2001 From: kroeckx Date: Mon, 20 May 2013 14:21:20 +0000 Subject: Make it depect openssl when it moves it's headers to be multiarch compatible. (Closes: #696390) git-svn-id: svn://svn.debian.org/pkg-ntp/ntp/trunk@365 0070b5ef-2f16-0410-befa-9a02bd1d6ddb --- debian/changelog | 8 ++++++++ debian/patches/autotools.patch | 26 ++++++++++++++++++++++++++ debian/patches/openssl-headers.patch | 23 +++++++++++++++++++++++ debian/patches/series | 3 ++- 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 debian/patches/openssl-headers.patch diff --git a/debian/changelog b/debian/changelog index 942d042..dab8c39 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +ntp (1:4.2.6.p5+dfsg-3) unstable; urgency=low + + * Look for rather than , which + is due to move to a different location in order to support multiarch. + Patch by Colin Watson (Closes: #696390) + + -- Kurt Roeckx Mon, 20 May 2013 16:14:07 +0200 + ntp (1:4.2.6.p5+dfsg-2) unstable; urgency=medium * Re-enable crypto support by pointing openssl libdir to multiarch dir. diff --git a/debian/patches/autotools.patch b/debian/patches/autotools.patch index 100fc2c..373f071 100644 --- a/debian/patches/autotools.patch +++ b/debian/patches/autotools.patch @@ -1068,6 +1068,19 @@ until it works. { $as_echo "$as_me:${as_lineno-$LINENO}: checking VARITEXT clock" >&5 $as_echo_n "checking VARITEXT clock... " >&6; } +@@ -22915,10 +22964,10 @@ + case "$ans" in + no) + ;; +- *) # look for openssl/opensslconf.h: ++ *) # look for openssl/opensslv.h: + for i in $ans no + do +- test -f $i/openssl/opensslconf.h && break ++ test -f $i/openssl/opensslv.h && break + done + case "$i" in + no) @@ -25112,8 +25161,6 @@ ac_config_files="$ac_config_files Makefile" @@ -4432,6 +4445,19 @@ until it works. ac_config_commands="$ac_config_commands libtool" +@@ -14857,10 +14930,10 @@ + case "$ans" in + no) + ;; +- *) # look for openssl/opensslconf.h: ++ *) # look for openssl/opensslv.h: + for i in $ans no + do +- test -f $i/openssl/opensslconf.h && break ++ test -f $i/openssl/opensslv.h && break + done + case "$i" in + no) @@ -16881,6 +16954,7 @@ enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' diff --git a/debian/patches/openssl-headers.patch b/debian/patches/openssl-headers.patch new file mode 100644 index 0000000..f26d21f --- /dev/null +++ b/debian/patches/openssl-headers.patch @@ -0,0 +1,23 @@ +Description: Make OpenSSL header detection more reliable + is architecture-dependent and so may reside in a + different location on multiarch-capable systems. Check for + instead. +Author: Colin Watson +Forwarded: no +Last-Update: 2012-12-20 + +--- a/m4/ntp_openssl.m4 ++++ b/m4/ntp_openssl.m4 +@@ -86,10 +86,10 @@ + case "$ans" in + no) + ;; +- *) # look for openssl/opensslconf.h: ++ *) # look for openssl/opensslv.h: + for i in $ans no + do +- test -f $i/openssl/opensslconf.h && break ++ test -f $i/openssl/opensslv.h && break + done + case "$i" in + no) diff --git a/debian/patches/series b/debian/patches/series index 8fe5cf8..c2ec25e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,6 +6,7 @@ ntpd-linux-caps-inheritable.patch ntpd-ni-maxhost.patch openssl-disable-check.patch libedit.patch -autotools.patch format-security.patch sntp-manpage.patch +openssl-headers.patch +autotools.patch -- cgit v1.2.3