clusterlb 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/Gemfile.lock +761 -1
- data/build.sh +4 -0
- data/clusterlb.gemspec +3 -0
- data/exe/clusterlb-stectrl +3 -2
- data/lib/clusterlb/version.rb +1 -1
- data/lib/clusterlb.rb +108 -5
- data/omnibus/.gitignore +10 -0
- data/omnibus/.kitchen.yml +41 -0
- data/omnibus/.ruby-version +1 -0
- data/omnibus/Berksfile +12 -0
- data/omnibus/Gemfile +21 -0
- data/omnibus/Gemfile.lock +284 -0
- data/omnibus/README.md +120 -0
- data/omnibus/build.sh +3 -0
- data/omnibus/config/patches/eventmachine/disable-extensions.patch +11 -0
- data/omnibus/config/patches/libffi/libffi-3.2.1-disable-multi-os-directory.patch +83 -0
- data/omnibus/config/patches/libffi/libffi-3.2.1-makefiles-sparc.patch +24 -0
- data/omnibus/config/patches/libiconv/config.guess_2015-09-14.patch +2390 -0
- data/omnibus/config/patches/libiconv/libiconv-1.14_srclib_stdio.in.h-remove-gets-declarations.patch +29 -0
- data/omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch +26 -0
- data/omnibus/config/patches/ncurses/config_guess_2015-09-24.patch +857 -0
- data/omnibus/config/patches/ncurses/ncurses-5.9-gcc-5.patch +46 -0
- data/omnibus/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +28 -0
- data/omnibus/config/patches/openssl/openssl-1.0.1q-fix-compiler-flags-table-for-msys.patch +20 -0
- data/omnibus/config/patches/openssl/openssl-1.0.2k-no-bang.patch +17 -0
- data/omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch +24 -0
- data/omnibus/config/patches/pkg-config-lite/pkg-config-lite-0.28-1.config.guess.patch +992 -0
- data/omnibus/config/patches/ruby/ruby-2_1_3-no-mkmf.patch +22 -0
- data/omnibus/config/patches/ruby/ruby-aix-atomic.patch +11 -0
- data/omnibus/config/patches/ruby/ruby-aix-configure-all-source.patch +11 -0
- data/omnibus/config/patches/ruby/ruby-aix-configure-use-bash.patch +8 -0
- data/omnibus/config/patches/ruby/ruby-aix-configure.patch +20 -0
- data/omnibus/config/patches/ruby/ruby-aix-vm-core.patch +14 -0
- data/omnibus/config/patches/ruby/ruby-mkmf.patch +29 -0
- data/omnibus/config/patches/ruby/ruby-no-m32-cflag.patch +38 -0
- data/omnibus/config/patches/ruby/ruby-no-stack-protector.patch +13 -0
- data/omnibus/config/patches/ruby/ruby-remove-headc.patch +10 -0
- data/omnibus/config/patches/ruby/ruby-solaris-linux-socket-compat.patch +42 -0
- data/omnibus/config/patches/ruby/ruby-take-windres-rcflags.patch +11 -0
- data/omnibus/config/patches/ruby/ruby_aix_2_1_3_ssl_EAGAIN.patch +19 -0
- data/omnibus/config/patches/ruby/ruby_aix_openssl.patch +10 -0
- data/omnibus/config/patches/ruby/ruby_nano.patch +68 -0
- data/omnibus/config/patches/zlib/zlib-windows-relocate.patch +20 -0
- data/omnibus/config/projects/clusterlb.rb +38 -0
- data/omnibus/config/software/acme.sh.rb +18 -0
- data/omnibus/config/software/cacerts.rb +89 -0
- data/omnibus/config/software/clusterlb-gem.rb +25 -0
- data/omnibus/config/software/clusterlb-zlib.rb +55 -0
- data/omnibus/config/software/config_guess.rb +36 -0
- data/omnibus/config/software/libffi.rb +70 -0
- data/omnibus/config/software/libiconv.rb +62 -0
- data/omnibus/config/software/libtool.rb +55 -0
- data/omnibus/config/software/libyaml.rb +46 -0
- data/omnibus/config/software/makedepend.rb +43 -0
- data/omnibus/config/software/ncurses.rb +154 -0
- data/omnibus/config/software/oggcert-gem.rb +24 -0
- data/omnibus/config/software/openssl.rb +166 -0
- data/omnibus/config/software/pkg-config-lite.rb +45 -0
- data/omnibus/config/software/preparation.rb +30 -0
- data/omnibus/config/software/ruby.rb +238 -0
- data/omnibus/config/software/rubygems.rb +89 -0
- data/omnibus/config/software/util-macros.rb +43 -0
- data/omnibus/config/software/xproto.rb +43 -0
- data/omnibus/config/software/zlib.rb +84 -0
- data/omnibus/omnibus.rb +54 -0
- data/omnibus/package-scripts/clusterlb/postinst +17 -0
- data/omnibus/package-scripts/clusterlb/postrm +9 -0
- data/omnibus/package-scripts/clusterlb/preinst +7 -0
- data/omnibus/package-scripts/clusterlb/prerm +15 -0
- data/omnibus/resources/clusterlb/deb/conffiles.erb +3 -0
- data/omnibus/resources/clusterlb/deb/control.erb +25 -0
- data/omnibus/resources/clusterlb/deb/md5sums.erb +3 -0
- metadata +124 -2
@@ -0,0 +1,46 @@
|
|
1
|
+
https://bugs.gentoo.org/545114
|
2
|
+
|
3
|
+
extracted from the upstream change (which had many unrelated commits in one)
|
4
|
+
|
5
|
+
From 97bb4678dc03e753290b39bbff30ba2825df9517 Mon Sep 17 00:00:00 2001
|
6
|
+
From: "Thomas E. Dickey" <dickey@invisible-island.net>
|
7
|
+
Date: Sun, 7 Dec 2014 03:10:09 +0000
|
8
|
+
Subject: [PATCH] ncurses 5.9 - patch 20141206
|
9
|
+
|
10
|
+
+ modify MKlib_gen.sh to work around change in development version of
|
11
|
+
gcc introduced here:
|
12
|
+
https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
|
13
|
+
https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00236.html
|
14
|
+
(reports by Marcus Shawcroft, Maohui Lei).
|
15
|
+
|
16
|
+
diff --git a/ncurses/base/MKlib_gen.sh b/ncurses/base/MKlib_gen.sh
|
17
|
+
index d8cc3c9..b91398c 100755
|
18
|
+
--- a/ncurses/base/MKlib_gen.sh
|
19
|
+
+++ b/ncurses/base/MKlib_gen.sh
|
20
|
+
@@ -474,11 +474,22 @@ sed -n -f $ED1 \
|
21
|
+
-e 's/gen_$//' \
|
22
|
+
-e 's/ / /g' >>$TMP
|
23
|
+
|
24
|
+
+cat >$ED1 <<EOF
|
25
|
+
+s/ / /g
|
26
|
+
+s/^ //
|
27
|
+
+s/ $//
|
28
|
+
+s/P_NCURSES_BOOL/NCURSES_BOOL/g
|
29
|
+
+EOF
|
30
|
+
+
|
31
|
+
+# A patch discussed here:
|
32
|
+
+# https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
|
33
|
+
+# introduces spurious #line markers. Work around that by ignoring the system's
|
34
|
+
+# attempt to define "bool" and using our own symbol here.
|
35
|
+
+sed -e 's/bool/P_NCURSES_BOOL/g' $TMP > $ED2
|
36
|
+
+cat $ED2 >$TMP
|
37
|
+
+
|
38
|
+
$preprocessor $TMP 2>/dev/null \
|
39
|
+
-| sed \
|
40
|
+
- -e 's/ / /g' \
|
41
|
+
- -e 's/^ //' \
|
42
|
+
- -e 's/_Bool/NCURSES_BOOL/g' \
|
43
|
+
+| sed -f $ED1 \
|
44
|
+
| $AWK -f $AW2 \
|
45
|
+
| sed -f $ED3 \
|
46
|
+
| sed \
|
@@ -0,0 +1,28 @@
|
|
1
|
+
--- openssl-1.0.1f/Makefile.org.orig 2014-01-08 10:58:40.000000000 -0800
|
2
|
+
+++ openssl-1.0.1f/Makefile.org 2014-01-08 11:06:29.000000000 -0800
|
3
|
+
@@ -167,7 +167,7 @@
|
4
|
+
|
5
|
+
TOP= .
|
6
|
+
ONEDIRS=out tmp
|
7
|
+
-EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS
|
8
|
+
+EDIRS= times bugs util include certs ms shlib mt demos perl sf dep VMS
|
9
|
+
WDIRS= windows
|
10
|
+
LIBS= libcrypto.a libssl.a
|
11
|
+
SHARED_CRYPTO=libcrypto$(SHLIB_EXT)
|
12
|
+
@@ -538,7 +538,7 @@
|
13
|
+
dist_pem_h:
|
14
|
+
(cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
|
15
|
+
|
16
|
+
-install: all install_docs install_sw
|
17
|
+
+install: all install_sw
|
18
|
+
|
19
|
+
install_sw:
|
20
|
+
@$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
|
21
|
+
@@ -603,7 +603,6 @@
|
22
|
+
echo 'OpenSSL shared libraries have been installed in:'; \
|
23
|
+
echo ' $(INSTALLTOP)'; \
|
24
|
+
echo ''; \
|
25
|
+
- sed -e '1,/^$$/d' doc/openssl-shared.txt; \
|
26
|
+
fi; \
|
27
|
+
fi
|
28
|
+
cp libcrypto.pc $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/pkgconfig
|
@@ -0,0 +1,20 @@
|
|
1
|
+
--- openssl-1.0.1q/Configure.orig 2015-12-15 17:47:52.000000000 -0500
|
2
|
+
+++ openssl-1.0.1q/Configure 2015-12-15 18:31:01.000000000 -0500
|
3
|
+
@@ -537,7 +537,7 @@
|
4
|
+
"BC-32","bcc32::::WIN32::BN_LLONG DES_PTR RC4_INDEX EXPORT_VAR_AS_FN:${no_asm}:win32",
|
5
|
+
|
6
|
+
# MinGW
|
7
|
+
-"mingw", "gcc:-mno-cygwin -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall::-D_MT:MINGW32:-lws2_32 -lgdi32 -lcrypt32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_asm}:coff:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin:.dll.a",
|
8
|
+
+"mingw", "gcc:-mno-cygwin -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall::-D_MT:MINGW32:-lws2_32 -lgdi32 -lcrypt32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_asm}:coff:win32:cygwin-shared:-D_WINDLL:-mno-cygwin:.dll.a",
|
9
|
+
# As for OPENSSL_USE_APPLINK. Applink makes it possible to use .dll
|
10
|
+
# compiled with one compiler with application compiled with another
|
11
|
+
# compiler. It's possible to engage Applink support in mingw64 build,
|
12
|
+
@@ -545,7 +545,7 @@
|
13
|
+
# handling, one can't seriously consider its binaries for using with
|
14
|
+
# non-mingw64 run-time environment. And as mingw64 is always consistent
|
15
|
+
# with itself, Applink is never engaged and can as well be omitted.
|
16
|
+
-"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE::-D_MT:MINGW64:-lws2_32 -lgdi32 -lcrypt32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin:.dll.a",
|
17
|
+
+"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE::-D_MT:MINGW64:-lws2_32 -lgdi32 -lcrypt32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin:.dll.a",
|
18
|
+
|
19
|
+
# UWIN
|
20
|
+
"UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32",
|
@@ -0,0 +1,17 @@
|
|
1
|
+
--- a/util/domd
|
2
|
+
+++ b/util/domd
|
3
|
+
@@ -34,11 +34,11 @@ else
|
4
|
+
${PERL} $TOP/util/clean-depend.pl < Makefile > Makefile.new
|
5
|
+
RC=$?
|
6
|
+
fi
|
7
|
+
-if ! cmp -s Makefile.save Makefile.new; then
|
8
|
+
- mv Makefile.new Makefile
|
9
|
+
-else
|
10
|
+
+if cmp -s Makefile.save Makefile.new; then
|
11
|
+
mv Makefile.save Makefile
|
12
|
+
rm -f Makefile.new
|
13
|
+
+else
|
14
|
+
+ mv Makefile.new Makefile
|
15
|
+
fi
|
16
|
+
# unfake the presence of Kerberos
|
17
|
+
rm $TOP/krb5.h
|
@@ -0,0 +1,24 @@
|
|
1
|
+
--- openssl/crypto/rand/randfile.c.old 2015-07-10 02:44:30.171640289 +0200
|
2
|
+
+++ openssl/crypto/rand/randfile.c 2015-07-10 02:54:20.081824839 +0200
|
3
|
+
@@ -57,7 +57,7 @@
|
4
|
+
*/
|
5
|
+
|
6
|
+
/* We need to define this to get macros like S_IFBLK and S_IFCHR */
|
7
|
+
-#if !defined(OPENSSL_SYS_VXWORKS)
|
8
|
+
+#if !defined(OPENSSL_SYS_VXWORKS) && !defined(__sun)
|
9
|
+
# define _XOPEN_SOURCE 500
|
10
|
+
#endif
|
11
|
+
|
12
|
+
@@ -82,6 +82,12 @@
|
13
|
+
# include <fcntl.h>
|
14
|
+
#endif
|
15
|
+
|
16
|
+
+#if defined(__sun)
|
17
|
+
+# if !defined(S_IFBLK) || !defined(S_IFCHR)
|
18
|
+
+# error "We need S_IFBLK and S_IFCHR"
|
19
|
+
+# endif
|
20
|
+
+#endif
|
21
|
+
+
|
22
|
+
#ifdef _WIN32
|
23
|
+
# define stat _stat
|
24
|
+
# define chmod _chmod
|