~ubuntu-branches/debian/stretch/resource-agents/stretch

« back to all changes in this revision

Viewing changes to debian/patches/724116-fix-FTBFS.patch

  • Committer: Package Import Robot
  • Author(s): Salvatore Bonaccorso
  • Date: 2014-02-20 13:40:22 UTC
  • Revision ID: package-import@ubuntu.com-20140220134022-g0i87rm660dnnya3
Tags: 1:3.9.3+git20121009-3.1
* Non-maintainer upload.
* Add 724116-fix-FTBFS.patch patch.
  Fixes "resource-agents: FTBFS: /bin/bash: /install-sh: No such file or
  directory".
  Thanks to William Grant <wgrant@ubuntu.com> (Closes: #724116)
* Add 0001-Disable-HTTPS-SSL-certificate-hostname-checking-tidy.patch patch.
  Fixes "ldirectord: fails to test HTTPS real servers". HTTPS checks with
  request/receive will fail under newer versions of the LWP module due to
  certificate name checking being enabled by default. This disables the
  check again so that service checking by IP only still succeeds.
  (Closes: #739608)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Fix configure.ac to cope with new autoconf.
 
2
 Recent autoconfs generate a bad configure when AM_INIT_AUTOMAKE is
 
3
 called as late as it was, ending up thinking that the am_aux_dir is pwd
 
4
 at the start of the build. Move it up to under AC_INIT to fix that.
 
5
Author: William Grant <wgrant@ubuntu.com>
 
6
 
 
7
Index: resource-agents-3.9.3+git20121009/configure.ac
 
8
===================================================================
 
9
--- resource-agents-3.9.3+git20121009.orig/configure.ac 2012-10-06 05:27:22.000000000 +1000
 
10
+++ resource-agents-3.9.3+git20121009/configure.ac      2013-12-16 17:28:42.354909697 +1100
 
11
@@ -22,6 +22,13 @@
 
12
 AC_INIT([resource-agents], 
 
13
        m4_esyscmd([make/git-version-gen .tarball-version]),
 
14
        [to_be_defined@foobar.org])
 
15
+AC_CONFIG_AUX_DIR(.)
 
16
+
 
17
+dnl 
 
18
+dnl AM_INIT_AUTOMAKE([1.11.1 foreign dist-bzip2 dist-xz])
 
19
+dnl
 
20
+
 
21
+AM_INIT_AUTOMAKE([1.10.1 foreign dist-bzip2])
 
22
 
 
23
 AC_USE_SYSTEM_EXTENSIONS
 
24
 
 
25
@@ -29,7 +36,6 @@
 
26
 
 
27
 PKG_FEATURES=""
 
28
 
 
29
-AC_CONFIG_AUX_DIR(.)
 
30
 AC_CANONICAL_HOST
 
31
 
 
32
 dnl Where #defines go (e.g. `AC_CHECK_HEADERS' below)
 
33
@@ -56,12 +62,6 @@
 
34
     [  --with-pkg-name=name     Override package name (if you're a packager needing to pretend) ],
 
35
     [ PACKAGE_NAME="$withval" ])
 
36
 
 
37
-dnl 
 
38
-dnl AM_INIT_AUTOMAKE([1.11.1 foreign dist-bzip2 dist-xz])
 
39
-dnl
 
40
-
 
41
-AM_INIT_AUTOMAKE([1.10.1 foreign dist-bzip2])
 
42
-
 
43
 AC_DEFINE_UNQUOTED(AGENTS_VERSION, "$PACKAGE_VERSION", Current agents version)
 
44
 
 
45
 CC_IN_CONFIGURE=yes