clusterlb 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -0
  3. data/Gemfile.lock +761 -1
  4. data/build.sh +4 -0
  5. data/clusterlb.gemspec +3 -0
  6. data/exe/clusterlb-stectrl +3 -2
  7. data/lib/clusterlb/version.rb +1 -1
  8. data/lib/clusterlb.rb +108 -5
  9. data/omnibus/.gitignore +10 -0
  10. data/omnibus/.kitchen.yml +41 -0
  11. data/omnibus/.ruby-version +1 -0
  12. data/omnibus/Berksfile +12 -0
  13. data/omnibus/Gemfile +21 -0
  14. data/omnibus/Gemfile.lock +284 -0
  15. data/omnibus/README.md +120 -0
  16. data/omnibus/build.sh +3 -0
  17. data/omnibus/config/patches/eventmachine/disable-extensions.patch +11 -0
  18. data/omnibus/config/patches/libffi/libffi-3.2.1-disable-multi-os-directory.patch +83 -0
  19. data/omnibus/config/patches/libffi/libffi-3.2.1-makefiles-sparc.patch +24 -0
  20. data/omnibus/config/patches/libiconv/config.guess_2015-09-14.patch +2390 -0
  21. data/omnibus/config/patches/libiconv/libiconv-1.14_srclib_stdio.in.h-remove-gets-declarations.patch +29 -0
  22. data/omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch +26 -0
  23. data/omnibus/config/patches/ncurses/config_guess_2015-09-24.patch +857 -0
  24. data/omnibus/config/patches/ncurses/ncurses-5.9-gcc-5.patch +46 -0
  25. data/omnibus/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +28 -0
  26. data/omnibus/config/patches/openssl/openssl-1.0.1q-fix-compiler-flags-table-for-msys.patch +20 -0
  27. data/omnibus/config/patches/openssl/openssl-1.0.2k-no-bang.patch +17 -0
  28. data/omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch +24 -0
  29. data/omnibus/config/patches/pkg-config-lite/pkg-config-lite-0.28-1.config.guess.patch +992 -0
  30. data/omnibus/config/patches/ruby/ruby-2_1_3-no-mkmf.patch +22 -0
  31. data/omnibus/config/patches/ruby/ruby-aix-atomic.patch +11 -0
  32. data/omnibus/config/patches/ruby/ruby-aix-configure-all-source.patch +11 -0
  33. data/omnibus/config/patches/ruby/ruby-aix-configure-use-bash.patch +8 -0
  34. data/omnibus/config/patches/ruby/ruby-aix-configure.patch +20 -0
  35. data/omnibus/config/patches/ruby/ruby-aix-vm-core.patch +14 -0
  36. data/omnibus/config/patches/ruby/ruby-mkmf.patch +29 -0
  37. data/omnibus/config/patches/ruby/ruby-no-m32-cflag.patch +38 -0
  38. data/omnibus/config/patches/ruby/ruby-no-stack-protector.patch +13 -0
  39. data/omnibus/config/patches/ruby/ruby-remove-headc.patch +10 -0
  40. data/omnibus/config/patches/ruby/ruby-solaris-linux-socket-compat.patch +42 -0
  41. data/omnibus/config/patches/ruby/ruby-take-windres-rcflags.patch +11 -0
  42. data/omnibus/config/patches/ruby/ruby_aix_2_1_3_ssl_EAGAIN.patch +19 -0
  43. data/omnibus/config/patches/ruby/ruby_aix_openssl.patch +10 -0
  44. data/omnibus/config/patches/ruby/ruby_nano.patch +68 -0
  45. data/omnibus/config/patches/zlib/zlib-windows-relocate.patch +20 -0
  46. data/omnibus/config/projects/clusterlb.rb +38 -0
  47. data/omnibus/config/software/acme.sh.rb +18 -0
  48. data/omnibus/config/software/cacerts.rb +89 -0
  49. data/omnibus/config/software/clusterlb-gem.rb +25 -0
  50. data/omnibus/config/software/clusterlb-zlib.rb +55 -0
  51. data/omnibus/config/software/config_guess.rb +36 -0
  52. data/omnibus/config/software/libffi.rb +70 -0
  53. data/omnibus/config/software/libiconv.rb +62 -0
  54. data/omnibus/config/software/libtool.rb +55 -0
  55. data/omnibus/config/software/libyaml.rb +46 -0
  56. data/omnibus/config/software/makedepend.rb +43 -0
  57. data/omnibus/config/software/ncurses.rb +154 -0
  58. data/omnibus/config/software/oggcert-gem.rb +24 -0
  59. data/omnibus/config/software/openssl.rb +166 -0
  60. data/omnibus/config/software/pkg-config-lite.rb +45 -0
  61. data/omnibus/config/software/preparation.rb +30 -0
  62. data/omnibus/config/software/ruby.rb +238 -0
  63. data/omnibus/config/software/rubygems.rb +89 -0
  64. data/omnibus/config/software/util-macros.rb +43 -0
  65. data/omnibus/config/software/xproto.rb +43 -0
  66. data/omnibus/config/software/zlib.rb +84 -0
  67. data/omnibus/omnibus.rb +54 -0
  68. data/omnibus/package-scripts/clusterlb/postinst +17 -0
  69. data/omnibus/package-scripts/clusterlb/postrm +9 -0
  70. data/omnibus/package-scripts/clusterlb/preinst +7 -0
  71. data/omnibus/package-scripts/clusterlb/prerm +15 -0
  72. data/omnibus/resources/clusterlb/deb/conffiles.erb +3 -0
  73. data/omnibus/resources/clusterlb/deb/control.erb +25 -0
  74. data/omnibus/resources/clusterlb/deb/md5sums.erb +3 -0
  75. metadata +124 -2
@@ -0,0 +1,83 @@
1
+ --- libffi-3.2.1-orig/configure.ac 2014-11-12 05:56:51.000000000 -0600
2
+ +++ libffi-3.2.1/configure.ac 2015-10-29 15:53:41.695055040 -0500
3
+ @@ -590,6 +590,10 @@
4
+ AC_DEFINE(USING_PURIFY, 1, [Define this if you are using Purify and want to suppress spurious messages.])
5
+ fi)
6
+
7
+ +AC_ARG_ENABLE(multi-os-directory,
8
+ +[ --disable-multi-os-directory
9
+ + disable use of gcc --print-multi-os-directory to change the library installation directory])
10
+ +
11
+ # These variables are only ever used when we cross-build to X86_WIN32.
12
+ # And we only support this with GCC, so...
13
+ if test "x$GCC" = "xyes"; then
14
+ @@ -601,11 +605,13 @@
15
+ toolexecdir="${libdir}"/gcc-lib/'$(target_alias)'
16
+ toolexeclibdir="${libdir}"
17
+ fi
18
+ - multi_os_directory=`$CC $CFLAGS -print-multi-os-directory`
19
+ - case $multi_os_directory in
20
+ - .) ;; # Avoid trailing /.
21
+ - ../*) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
22
+ - esac
23
+ + if test x"$enable_multi_os_directory" != x"no"; then
24
+ + multi_os_directory=`$CC $CFLAGS -print-multi-os-directory`
25
+ + case $multi_os_directory in
26
+ + .) ;; # Avoid trailing /.
27
+ + ../*) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
28
+ + esac
29
+ + fi
30
+ AC_SUBST(toolexecdir)
31
+ else
32
+ toolexeclibdir="${libdir}"
33
+ --- libffi-3.2.1-orig/configure 2014-11-12 11:59:57.000000000 +0000
34
+ +++ libffi-3.2.1/configure 2015-10-30 19:50:51.082221000 +0000
35
+ @@ -886,6 +886,7 @@
36
+ enable_structs
37
+ enable_raw_api
38
+ enable_purify_safety
39
+ +enable_multi_os_directory
40
+ '
41
+ ac_precious_vars='build_alias
42
+ host_alias
43
+ @@ -1538,6 +1539,8 @@
44
+ --disable-structs omit code for struct support
45
+ --disable-raw-api make the raw api unavailable
46
+ --enable-purify-safety purify-safe mode
47
+ + --disable-multi-os-directory
48
+ + disable use of gcc --print-multi-os-directory to change the library installation directory
49
+
50
+ Optional Packages:
51
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
52
+ @@ -18714,6 +18717,12 @@
53
+ fi
54
+
55
+
56
+ +# Check whether --enable-multi-os-directory was given.
57
+ +if test "${enable_multi_os_directory+set}" = set; then :
58
+ + enableval=$enable_multi_os_directory;
59
+ +fi
60
+ +
61
+ +
62
+ # These variables are only ever used when we cross-build to X86_WIN32.
63
+ # And we only support this with GCC, so...
64
+ if test "x$GCC" = "xyes"; then
65
+ @@ -18725,11 +18734,13 @@
66
+ toolexecdir="${libdir}"/gcc-lib/'$(target_alias)'
67
+ toolexeclibdir="${libdir}"
68
+ fi
69
+ - multi_os_directory=`$CC $CFLAGS -print-multi-os-directory`
70
+ - case $multi_os_directory in
71
+ - .) ;; # Avoid trailing /.
72
+ - ../*) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
73
+ - esac
74
+ + if test x"$enable_multi_os_directory" != x"no"; then
75
+ + multi_os_directory=`$CC $CFLAGS -print-multi-os-directory`
76
+ + case $multi_os_directory in
77
+ + .) ;; # Avoid trailing /.
78
+ + ../*) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
79
+ + esac
80
+ + fi
81
+
82
+ else
83
+ toolexeclibdir="${libdir}"
@@ -0,0 +1,24 @@
1
+ diff -U 2 libffi-3.2.1-orig/Makefile.am libffi-3.2.1/Makefile.am
2
+ --- libffi-3.2.1-orig/Makefile.am 2018-10-09 12:59:24.000000000 -0700
3
+ +++ libffi-3.2.1/Makefile.am 2018-10-09 13:00:02.000000000 -0700
4
+ @@ -72,8 +72,4 @@
5
+ 'CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)' \
6
+ 'CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)' \
7
+ - 'INSTALL=$(INSTALL)' \
8
+ - 'INSTALL_DATA=$(INSTALL_DATA)' \
9
+ - 'INSTALL_PROGRAM=$(INSTALL_PROGRAM)' \
10
+ - 'INSTALL_SCRIPT=$(INSTALL_SCRIPT)' \
11
+ 'JC1FLAGS=$(JC1FLAGS)' \
12
+ 'LDFLAGS=$(LDFLAGS)' \
13
+ diff -U 2 libffi-3.2.1-orig/Makefile.in libffi-3.2.1/Makefile.in
14
+ --- libffi-3.2.1-orig/Makefile.in 2018-10-09 12:59:29.000000000 -0700
15
+ +++ libffi-3.2.1/Makefile.in 2018-10-09 12:59:58.000000000 -0700
16
+ @@ -667,8 +667,4 @@
17
+ 'CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)' \
18
+ 'CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)' \
19
+ - 'INSTALL=$(INSTALL)' \
20
+ - 'INSTALL_DATA=$(INSTALL_DATA)' \
21
+ - 'INSTALL_PROGRAM=$(INSTALL_PROGRAM)' \
22
+ - 'INSTALL_SCRIPT=$(INSTALL_SCRIPT)' \
23
+ 'JC1FLAGS=$(JC1FLAGS)' \
24
+ 'LDFLAGS=$(LDFLAGS)' \