omnibus-software 23.7.295 → 3002.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of omnibus-software might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/omnibus-software.rb +87 -102
- metadata +13 -273
- data/.buildkite/hooks/pre-command +0 -9
- data/.expeditor/Version_inspector/README.md +0 -21
- data/.expeditor/Version_inspector/SW-Version-update.py +0 -243
- data/.expeditor/Version_inspector/manual_prod_list.json +0 -29
- data/.expeditor/Version_inspector/prod_default_version.json +0 -103
- data/.expeditor/Version_inspector/prod_list.json +0 -194
- data/.expeditor/Version_inspector/requirements.txt +0 -4
- data/.expeditor/Version_inspector/update_prod_default_version.sh +0 -24
- data/.expeditor/Version_inspector/update_prod_list.sh +0 -35
- data/.expeditor/config.yml +0 -44
- data/.expeditor/determine_version.sh +0 -15
- data/.expeditor/push_git_tag.sh +0 -12
- data/.expeditor/run_linux_tests.sh +0 -16
- data/.expeditor/software_upload.pipeline.yml +0 -17
- data/.expeditor/verify.pipeline.yml +0 -52
- data/.github/CODEOWNERS +0 -5
- data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +0 -29
- data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +0 -40
- data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +0 -17
- data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +0 -11
- data/.github/dependabot.yml +0 -9
- data/.github/lock.yml +0 -1
- data/.gitignore +0 -17
- data/CHANGELOG.md +0 -18
- data/CODE_OF_CONDUCT.md +0 -1
- data/CONTRIBUTING.md +0 -1
- data/Dockerfile +0 -21
- data/Gemfile +0 -10
- data/LICENSE +0 -201
- data/README.md +0 -99
- data/Rakefile +0 -56
- data/VERSION +0 -1
- data/config/patches/bash/race-condition.patch +0 -15
- data/config/patches/bash/updated_race-condition.patch +0 -15
- data/config/patches/bzip2/aix_makefile.patch +0 -11
- data/config/patches/bzip2/makefile_no_bins.patch +0 -77
- data/config/patches/bzip2/makefile_take_env_vars.patch +0 -31
- data/config/patches/bzip2/soname_install_dir.patch +0 -11
- data/config/patches/curl/curl-aix-disable-alpn.patch +0 -22
- data/config/patches/curl/curl-freebsd-hostcheck.patch +0 -10
- data/config/patches/erlang/epmd-require-explicitly-adding-loopback-address.patch +0 -84
- data/config/patches/erlang/updated-epmd-require-explicitly-adding-loopback-address.patch +0 -75
- data/config/patches/expat/configure_xlc_visibility.patch +0 -58
- data/config/patches/expat/configure_xlc_visibility_2.4.7.patch +0 -59
- data/config/patches/figlet/aix-figlet-cdefs.patch +0 -48
- data/config/patches/gdbm/v1.8.3-Makefile.in.patch +0 -32
- data/config/patches/git/aix-endian-fix.patch +0 -20
- data/config/patches/gtar/aix_extra_case.patch +0 -13
- data/config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch +0 -15
- data/config/patches/libedit/freebsd-vi-fix.patch +0 -24
- data/config/patches/libedit/openbsd-weak-alias-fix.patch +0 -48
- data/config/patches/libedit/solaris.patch +0 -36
- data/config/patches/libffi/libffi-3.2.1-disable-multi-os-directory.patch +0 -83
- data/config/patches/libffi/libffi-3.3-arm64.patch +0 -9608
- data/config/patches/libxslt/libxslt-solaris-configure.patch +0 -19
- data/config/patches/libxslt/libxslt-windows-relocate.patch +0 -12
- data/config/patches/libyaml/windows-configure.patch +0 -26
- data/config/patches/libzmq/zeromq-4.0.11_mingw_inet_pton.patch +0 -37
- data/config/patches/libzmq/zeromq-aix-4.2.2-LARGE_FILES.patch +0 -56
- data/config/patches/libzmq/zeromq-aix-4.2.2-atomic-counter-fetch_and_add.patch +0 -59
- data/config/patches/logrotate/logrotate_basedir_override.patch +0 -17
- data/config/patches/m4/m4-1.4.18-glibc-change-work-around.patch +0 -115
- data/config/patches/make/deb-make-glob.patch +0 -31
- data/config/patches/ncurses/ncurses-5.9-gcc-5.patch +0 -46
- data/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch +0 -11
- data/config/patches/ncurses/ncurses-clang.patch +0 -43
- data/config/patches/ncurses/patch-aa +0 -23
- data/config/patches/ncurses/patch-ab +0 -44
- data/config/patches/ncurses/patch-ac +0 -40
- data/config/patches/ncurses/patch-ad +0 -13
- data/config/patches/ncurses/patch-cxx_cursesf.h +0 -22
- data/config/patches/ncurses/patch-cxx_cursesm.h +0 -22
- data/config/patches/ncurses/patch-ncurses_tinfo_lib__baudrate.c +0 -24
- data/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +0 -28
- data/config/patches/openssl/openssl-1.0.1j-windows-relocate-dll.patch +0 -44
- data/config/patches/openssl/openssl-1.0.1q-fix-compiler-flags-table-for-msys.patch +0 -20
- data/config/patches/openssl/openssl-1.0.2x-darwin-arm64.patch +0 -54
- data/config/patches/openssl/openssl-1.1.0f-do-not-install-docs.patch +0 -11
- data/config/patches/openssl/openssl-3.0.1-do-not-install-docs.patch +0 -22
- data/config/patches/openssl-fips/openssl-fips-fix-compiler-flags-table-for-msys.patch +0 -11
- data/config/patches/perl/perl-5.18.1-remove_lnsl.patch +0 -441
- data/config/patches/perl/perl-5.22.1-remove_lnsl.patch +0 -512
- data/config/patches/perl/perl-5.30.0-remove_lnsl.patch +0 -518
- data/config/patches/perl/perl-5.32.1-remove_lnsl.patch +0 -456
- data/config/patches/perl/perl-5.34.0-remove_lnsl.patch +0 -516
- data/config/patches/pkg-config/openbsd-charset.patch +0 -19
- data/config/patches/popt/v1.16.ppc64le-configure.patch +0 -18
- data/config/patches/redis/password-from-environment.patch +0 -19
- data/config/patches/ruby/patch-configure +0 -103
- data/config/patches/ruby/remove_nano.patch +0 -10
- data/config/patches/ruby/ruby-2.6.7_c99.patch +0 -12
- data/config/patches/ruby/ruby-3.0.1-configure.patch +0 -281
- data/config/patches/ruby/ruby-3.0.2-configure.patch +0 -251
- data/config/patches/ruby/ruby-3.0.5-configure.patch +0 -260
- data/config/patches/ruby/ruby-aix-atomic.patch +0 -11
- data/config/patches/ruby/ruby-aix-configure_26_and_later.patch +0 -19
- data/config/patches/ruby/ruby-aix-vm-core.patch +0 -14
- data/config/patches/ruby/ruby-fast-load_26.patch +0 -16
- data/config/patches/ruby/ruby-fast-load_31.patch +0 -16
- data/config/patches/ruby/ruby-faster-load_26.patch +0 -11
- data/config/patches/ruby/ruby-faster-load_27.patch +0 -11
- data/config/patches/ruby/ruby-mkmf.patch +0 -29
- data/config/patches/ruby/ruby-no-stack-protector-strong.patch +0 -11
- data/config/patches/ruby/ruby-no-stack-protector.patch +0 -13
- data/config/patches/ruby/ruby-win32_warning_removal.patch +0 -12
- data/config/patches/ruby/ruby_aix_openssl.patch +0 -10
- data/config/patches/ruby/ruby_aix_ssl_EAGAIN.patch +0 -19
- data/config/patches/ruby/rvm-cflags.patch +0 -27
- data/config/patches/stunnel/stunnel-on-windows.patch +0 -42
- data/config/patches/zlib/zlib-windows-relocate.patch +0 -20
- data/config/software/autoconf.rb +0 -46
- data/config/software/automake.rb +0 -49
- data/config/software/bash.rb +0 -81
- data/config/software/berkshelf-no-depselector.rb +0 -46
- data/config/software/berkshelf.rb +0 -34
- data/config/software/binutils.rb +0 -47
- data/config/software/bundler.rb +0 -38
- data/config/software/bzip2.rb +0 -57
- data/config/software/cacerts.rb +0 -52
- data/config/software/chef-gem.rb +0 -35
- data/config/software/chef.rb +0 -113
- data/config/software/cmake.rb +0 -100
- data/config/software/config_guess.rb +0 -37
- data/config/software/cpanminus.rb +0 -50
- data/config/software/curl.rb +0 -105
- data/config/software/delivery-cli.rb +0 -89
- data/config/software/dep-selector-libgecode.rb +0 -48
- data/config/software/elasticsearch.rb +0 -67
- data/config/software/elixir.rb +0 -35
- data/config/software/erlang.rb +0 -134
- data/config/software/expat.rb +0 -66
- data/config/software/fakeroot.rb +0 -41
- data/config/software/ffi-yajl.rb +0 -46
- data/config/software/figlet-fonts.rb +0 -31
- data/config/software/figlet.rb +0 -44
- data/config/software/gcc.rb +0 -60
- data/config/software/gdbm.rb +0 -54
- data/config/software/gecode.rb +0 -64
- data/config/software/gem-permissions.rb +0 -43
- data/config/software/git-windows.rb +0 -98
- data/config/software/git.rb +0 -142
- data/config/software/gmp.rb +0 -50
- data/config/software/go-uninstall.rb +0 -33
- data/config/software/go.rb +0 -123
- data/config/software/google-protobuf.rb +0 -45
- data/config/software/gtar.rb +0 -64
- data/config/software/help2man.rb +0 -40
- data/config/software/highline-gem.rb +0 -37
- data/config/software/ibm-jre.rb +0 -59
- data/config/software/inspec.rb +0 -43
- data/config/software/jre-from-jdk.rb +0 -67
- data/config/software/keepalived.rb +0 -68
- data/config/software/libarchive.rb +0 -74
- data/config/software/libedit.rb +0 -76
- data/config/software/libffi.rb +0 -71
- data/config/software/libgcc.rb +0 -52
- data/config/software/libiconv.rb +0 -57
- data/config/software/libintl-perl.rb +0 -59
- data/config/software/liblzma.rb +0 -63
- data/config/software/libossp-uuid.rb +0 -47
- data/config/software/libsodium.rb +0 -42
- data/config/software/libtool.rb +0 -58
- data/config/software/libuuid.rb +0 -44
- data/config/software/libxml2.rb +0 -65
- data/config/software/libxslt.rb +0 -68
- data/config/software/libyajl2-gem.rb +0 -44
- data/config/software/libyaml.rb +0 -52
- data/config/software/libzmq.rb +0 -93
- data/config/software/logrotate.rb +0 -64
- data/config/software/lua.rb +0 -48
- data/config/software/m4.rb +0 -40
- data/config/software/make.rb +0 -46
- data/config/software/makedepend.rb +0 -47
- data/config/software/mpc.rb +0 -48
- data/config/software/mpfr.rb +0 -48
- data/config/software/musl.rb +0 -107
- data/config/software/mysql2.rb +0 -50
- data/config/software/ncurses.rb +0 -162
- data/config/software/nginx.rb +0 -57
- data/config/software/nodejs-binary.rb +0 -93
- data/config/software/nodejs.rb +0 -58
- data/config/software/nokogiri.rb +0 -92
- data/config/software/omnibus-ctl.rb +0 -42
- data/config/software/openresty.rb +0 -96
- data/config/software/opensearch.rb +0 -59
- data/config/software/openssl-customization.rb +0 -81
- data/config/software/openssl-fips.rb +0 -85
- data/config/software/openssl.rb +0 -199
- data/config/software/patch.rb +0 -48
- data/config/software/patchelf.rb +0 -70
- data/config/software/pcre.rb +0 -55
- data/config/software/perl-extutils-embed.rb +0 -38
- data/config/software/perl-extutils-makemaker.rb +0 -47
- data/config/software/perl-thread-queue.rb +0 -41
- data/config/software/perl.rb +0 -80
- data/config/software/perl_pg_driver.rb +0 -46
- data/config/software/pg-gem.rb +0 -36
- data/config/software/pkg-config-lite.rb +0 -48
- data/config/software/pkg-config.rb +0 -68
- data/config/software/popt.rb +0 -59
- data/config/software/postgresql.rb +0 -71
- data/config/software/preparation.rb +0 -31
- data/config/software/python.rb +0 -83
- data/config/software/rabbitmq.rb +0 -58
- data/config/software/rb-readline.rb +0 -33
- data/config/software/rbnacl-libsodium.rb +0 -42
- data/config/software/rbzmq.rb +0 -44
- data/config/software/rebar.rb +0 -42
- data/config/software/redis-gem.rb +0 -36
- data/config/software/redis.rb +0 -54
- data/config/software/relx.rb +0 -39
- data/config/software/rsync.rb +0 -57
- data/config/software/ruby-cleanup.rb +0 -271
- data/config/software/ruby-msys2-devkit.rb +0 -72
- data/config/software/ruby-windows-devkit-bash.rb +0 -43
- data/config/software/ruby-windows-devkit.rb +0 -84
- data/config/software/ruby.rb +0 -315
- data/config/software/rubygems.rb +0 -73
- data/config/software/runit.rb +0 -68
- data/config/software/rust-uninstall.rb +0 -32
- data/config/software/rust.rb +0 -97
- data/config/software/sequel-gem.rb +0 -36
- data/config/software/server-jre.rb +0 -132
- data/config/software/server-open-jre.rb +0 -146
- data/config/software/setuptools.rb +0 -48
- data/config/software/shebang-cleanup.rb +0 -101
- data/config/software/sqitch.rb +0 -92
- data/config/software/stunnel.rb +0 -88
- data/config/software/util-macros.rb +0 -44
- data/config/software/version-manifest.rb +0 -33
- data/config/software/xproto.rb +0 -43
- data/config/software/zlib.rb +0 -88
- data/config/templates/git/config.mak.erb +0 -31
- data/config/templates/rubygems/register_devtools.rb.erb +0 -33
- data/config/templates/runit/runsvdir-start.erb +0 -42
- data/docker-compose.yml +0 -15
- data/lib/omnibus-software/version.rb +0 -3
- data/omnibus-software.gemspec +0 -20
- data/scripts/internal_sources.rb +0 -78
- data/scripts/internal_sources.yml +0 -419
- data/test/Gemfile +0 -10
- data/test/config/projects/test.rb +0 -14
- data/test/generate_steps.rb +0 -65
- data/test/omnibus-build.sh +0 -55
- data/test/omnibus.rb +0 -59
@@ -1,260 +0,0 @@
|
|
1
|
-
diff -ur ruby-3.0.1/configure.ac ruby-3.0.1-patched/configure.ac
|
2
|
-
--- ruby-3.0.1/configure.ac 2021-04-05 05:33:42.000000000 -0700
|
3
|
-
+++ ruby-3.0.1-patched/configure.ac 2021-04-09 12:42:35.578174106 -0700
|
4
|
-
@@ -544,11 +544,16 @@
|
5
|
-
rpathflag=`echo "$RPATHFLAG" | sed 's/%.*//'`
|
6
|
-
])
|
7
|
-
|
8
|
-
-RUBY_TRY_CFLAGS(-fdeclspec, [
|
9
|
-
- RUBY_APPEND_OPTIONS(CC, -fdeclspec)
|
10
|
-
- RUBY_APPEND_OPTIONS(MJIT_CC, -fdeclspec)
|
11
|
-
+RUBY_TRY_LDFLAGS(-fdeclspec, [fdeclspec=yes], [fdeclspec=no])
|
12
|
-
+AS_IF([test "$fdeclspec" = yes], [
|
13
|
-
+ RUBY_APPEND_OPTIONS(CFLAGS, -fdeclspec)
|
14
|
-
+ RUBY_APPEND_OPTIONS(cflags, -fdeclspec)
|
15
|
-
+ RUBY_APPEND_OPTIONS(orig_cflags, -fdeclspec)
|
16
|
-
+])
|
17
|
-
+RUBY_TRY_CXXFLAGS(-fdeclspec, [fdeclspec=yes], [fdeclspec=no])
|
18
|
-
+AS_IF([test "$fdeclspec" = yes], [
|
19
|
-
+ RUBY_APPEND_OPTIONS(CXXFLAGS, -fdeclspec)
|
20
|
-
])
|
21
|
-
-RUBY_TRY_CXXFLAGS(-fdeclspec, [RUBY_APPEND_OPTIONS(CXX, -fdeclspec)])
|
22
|
-
|
23
|
-
AS_CASE([$RUBY_PATCHLEVEL], [-*],
|
24
|
-
[RUBY_DEVEL=yes], [RUBY_DEVEL=no])
|
25
|
-
@@ -1494,7 +1499,9 @@
|
26
|
-
AC_DEFINE_UNQUOTED([RUBY_ALIAS_FUNCTION_VOID(prot, name, args)],
|
27
|
-
[RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)])
|
28
|
-
])
|
29
|
-
+])
|
30
|
-
|
31
|
-
+{
|
32
|
-
AC_CACHE_CHECK([for __atomic builtins], [rb_cv_gcc_atomic_builtins], [
|
33
|
-
AC_TRY_LINK([unsigned int atomic_var;],
|
34
|
-
[
|
35
|
-
@@ -1525,7 +1532,6 @@
|
36
|
-
AS_IF([test "$rb_cv_gcc_sync_builtins" = yes], [
|
37
|
-
AC_DEFINE(HAVE_GCC_SYNC_BUILTINS)
|
38
|
-
])
|
39
|
-
-])
|
40
|
-
|
41
|
-
AC_CACHE_CHECK(for __builtin_unreachable, rb_cv_func___builtin_unreachable,
|
42
|
-
[RUBY_WERROR_FLAG(
|
43
|
-
@@ -1538,6 +1544,7 @@
|
44
|
-
AS_IF([test "$rb_cv_func___builtin_unreachable" = yes], [
|
45
|
-
AC_DEFINE_UNQUOTED(UNREACHABLE, [__builtin_unreachable()])
|
46
|
-
])
|
47
|
-
+}
|
48
|
-
|
49
|
-
AC_CACHE_CHECK(for exported function attribute, rb_cv_func_exported, [
|
50
|
-
rb_cv_func_exported=no
|
51
|
-
diff -ur ruby-3.0.1/template/Makefile.in ruby-3.0.1-patched/template/Makefile.in
|
52
|
-
--- ruby-3.0.1/template/Makefile.in 2021-04-05 05:33:42.000000000 -0700
|
53
|
-
+++ ruby-3.0.1-patched/template/Makefile.in 2021-04-09 12:42:35.579834751 -0700
|
54
|
-
@@ -75,7 +75,7 @@
|
55
|
-
CC_VERSION = @CC_VERSION@
|
56
|
-
OUTFLAG = @OUTFLAG@$(empty)
|
57
|
-
COUTFLAG = @COUTFLAG@$(empty)
|
58
|
-
-CPPOUTFLAG = $(COUTFLAG)
|
59
|
-
+CPPOUTFLAG = >
|
60
|
-
ARCH_FLAG = @ARCH_FLAG@
|
61
|
-
CFLAGS_NO_ARCH = @CFLAGS@
|
62
|
-
CFLAGS = $(CFLAGS_NO_ARCH) $(ARCH_FLAG)
|
63
|
-
diff -ur ruby-3.0.5/configure configure
|
64
|
-
--- ruby-3.0.5/configure 2022-11-24 12:04:58
|
65
|
-
+++ configure 2022-12-05 14:06:03
|
66
|
-
@@ -10384,6 +10384,8 @@
|
67
|
-
fi
|
68
|
-
|
69
|
-
|
70
|
-
+ save_LDFLAGS="$LDFLAGS"
|
71
|
-
+ LDFLAGS="$LDFLAGS -fdeclspec"
|
72
|
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -fdeclspec is accepted as CFLAGS" >&5
|
73
|
-
printf %s "checking whether -fdeclspec is accepted as CFLAGS... " >&6; }
|
74
|
-
save_CFLAGS="$CFLAGS"
|
75
|
-
@@ -10400,7 +10402,6 @@
|
76
|
-
fi
|
77
|
-
ac_c_werror_flag=yes
|
78
|
-
|
79
|
-
- CFLAGS="$CFLAGS -fdeclspec"
|
80
|
-
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
81
|
-
/* end confdefs.h. */
|
82
|
-
|
83
|
-
@@ -10412,56 +10413,72 @@
|
84
|
-
return 0;
|
85
|
-
}
|
86
|
-
_ACEOF
|
87
|
-
-if ac_fn_c_try_compile "$LINENO"
|
88
|
-
+if ac_fn_c_try_link "$LINENO"; then :
|
89
|
-
+ fdeclspec=yes
|
90
|
-
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
91
|
-
+ printf "%s\n" "${msg_result_yes}yes${msg_reset}" >&6 ; }
|
92
|
-
+else $as_nop
|
93
|
-
+ fdeclspec=no
|
94
|
-
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
95
|
-
+ printf "%s\n" "${msg_result_no}no${msg_reset}" >&6 ; }
|
96
|
-
+fi
|
97
|
-
+rm -f core conftest.err conftest.$ac_objext \
|
98
|
-
+ conftest$ac_exeext conftest.$ac_ext conftest.beam
|
99
|
-
+
|
100
|
-
+CFLAGS="$save_CFLAGS"
|
101
|
-
+save_CFLAGS=
|
102
|
-
+if test "${rb_c_werror_flag+set}"
|
103
|
-
then :
|
104
|
-
|
105
|
-
- # RUBY_APPEND_OPTIONS(CC)
|
106
|
-
+ ac_c_werror_flag="$rb_c_werror_flag"
|
107
|
-
+
|
108
|
-
+else $as_nop
|
109
|
-
+
|
110
|
-
+ unset ac_c_werror_flag
|
111
|
-
+
|
112
|
-
+fi
|
113
|
-
+ LDFLAGS="$save_LDFLAGS"
|
114
|
-
+ save_LDFLAGS=
|
115
|
-
+
|
116
|
-
+if test "$fdeclspec" = yes; then :
|
117
|
-
+
|
118
|
-
+ # RUBY_APPEND_OPTIONS(CFLAGS)
|
119
|
-
for rb_opt in -fdeclspec; do
|
120
|
-
- case " ${CC-} " in #(
|
121
|
-
+ case " ${CFLAGS-} " in #(
|
122
|
-
*" ${rb_opt} "*) :
|
123
|
-
;; #(
|
124
|
-
' ') :
|
125
|
-
- CC="${rb_opt}" ;; #(
|
126
|
-
+ CFLAGS="${rb_opt}" ;; #(
|
127
|
-
*) :
|
128
|
-
- CC="$CC ${rb_opt}" ;;
|
129
|
-
+ CFLAGS="$CFLAGS ${rb_opt}" ;;
|
130
|
-
esac
|
131
|
-
done
|
132
|
-
- # RUBY_APPEND_OPTIONS(MJIT_CC)
|
133
|
-
+ # RUBY_APPEND_OPTIONS(cflags)
|
134
|
-
for rb_opt in -fdeclspec; do
|
135
|
-
- case " ${MJIT_CC-} " in #(
|
136
|
-
+ case " ${cflags-} " in #(
|
137
|
-
*" ${rb_opt} "*) :
|
138
|
-
;; #(
|
139
|
-
' ') :
|
140
|
-
- MJIT_CC="${rb_opt}" ;; #(
|
141
|
-
+ cflags="${rb_opt}" ;; #(
|
142
|
-
*) :
|
143
|
-
- MJIT_CC="$MJIT_CC ${rb_opt}" ;;
|
144
|
-
+ cflags="$cflags ${rb_opt}" ;;
|
145
|
-
esac
|
146
|
-
done
|
147
|
-
+ # RUBY_APPEND_OPTIONS(orig_cflags)
|
148
|
-
+ for rb_opt in -fdeclspec; do
|
149
|
-
+ case " ${orig_cflags-} " in #(
|
150
|
-
+ *" ${rb_opt} "*) :
|
151
|
-
+ ;; #(
|
152
|
-
+ ' ') :
|
153
|
-
+ orig_cflags="${rb_opt}" ;; #(
|
154
|
-
+ *) :
|
155
|
-
+ orig_cflags="$orig_cflags ${rb_opt}" ;;
|
156
|
-
+esac
|
157
|
-
+ done
|
158
|
-
|
159
|
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
160
|
-
- printf "%s\n" "${msg_result_yes}yes${msg_reset}" >&6 ; }
|
161
|
-
-else $as_nop
|
162
|
-
-
|
163
|
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
164
|
-
- printf "%s\n" "${msg_result_no}no${msg_reset}" >&6 ; }
|
165
|
-
fi
|
166
|
-
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
167
|
-
|
168
|
-
-CFLAGS="$save_CFLAGS"
|
169
|
-
-save_CFLAGS=
|
170
|
-
-if test "${rb_c_werror_flag+set}"
|
171
|
-
-then :
|
172
|
-
|
173
|
-
- ac_c_werror_flag="$rb_c_werror_flag"
|
174
|
-
-
|
175
|
-
-else $as_nop
|
176
|
-
-
|
177
|
-
- unset ac_c_werror_flag
|
178
|
-
-
|
179
|
-
-fi
|
180
|
-
-
|
181
|
-
-
|
182
|
-
-
|
183
|
-
save_CXXFLAGS="$CXXFLAGS"
|
184
|
-
CXXFLAGS="$CXXFLAGS -fdeclspec"
|
185
|
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -fdeclspec is accepted as CXXFLAGS" >&5
|
186
|
-
@@ -10499,21 +10516,11 @@
|
187
|
-
_ACEOF
|
188
|
-
if ac_fn_cxx_try_link "$LINENO"
|
189
|
-
then :
|
190
|
-
- # RUBY_APPEND_OPTIONS(CXX)
|
191
|
-
- for rb_opt in -fdeclspec; do
|
192
|
-
- case " ${CXX-} " in #(
|
193
|
-
- *" ${rb_opt} "*) :
|
194
|
-
- ;; #(
|
195
|
-
- ' ') :
|
196
|
-
- CXX="${rb_opt}" ;; #(
|
197
|
-
- *) :
|
198
|
-
- CXX="$CXX ${rb_opt}" ;;
|
199
|
-
-esac
|
200
|
-
- done
|
201
|
-
+ fdeclspec=yes
|
202
|
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
203
|
-
printf "%s\n" "${msg_result_yes}yes${msg_reset}" >&6 ; }
|
204
|
-
else $as_nop
|
205
|
-
-
|
206
|
-
+ fdeclspec=no
|
207
|
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
208
|
-
printf "%s\n" "${msg_result_no}no${msg_reset}" >&6 ; }
|
209
|
-
fi
|
210
|
-
@@ -10541,7 +10548,22 @@
|
211
|
-
CXXFLAGS="$save_CXXFLAGS"
|
212
|
-
save_CXXFLAGS=
|
213
|
-
|
214
|
-
+if test "$fdeclspec" = yes; then :
|
215
|
-
|
216
|
-
+ # RUBY_APPEND_OPTIONS(CXXFLAGS)
|
217
|
-
+ for rb_opt in -fdeclspec; do
|
218
|
-
+ case " ${CXXFLAGS-} " in #(
|
219
|
-
+ *" ${rb_opt} "*) :
|
220
|
-
+ ;; #(
|
221
|
-
+ ' ') :
|
222
|
-
+ CXXFLAGS="${rb_opt}" ;; #(
|
223
|
-
+ *) :
|
224
|
-
+ CXXFLAGS="$CXXFLAGS ${rb_opt}" ;;
|
225
|
-
+esac
|
226
|
-
+ done
|
227
|
-
+
|
228
|
-
+fi
|
229
|
-
+
|
230
|
-
case $RUBY_PATCHLEVEL in #(
|
231
|
-
-*) :
|
232
|
-
RUBY_DEVEL=yes ;; #(
|
233
|
-
@@ -20529,6 +20551,9 @@
|
234
|
-
|
235
|
-
fi
|
236
|
-
|
237
|
-
+fi
|
238
|
-
+
|
239
|
-
+{
|
240
|
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __atomic builtins" >&5
|
241
|
-
printf %s "checking for __atomic builtins... " >&6; }
|
242
|
-
if test ${rb_cv_gcc_atomic_builtins+y}
|
243
|
-
@@ -20616,8 +20641,6 @@
|
244
|
-
|
245
|
-
fi
|
246
|
-
|
247
|
-
-fi
|
248
|
-
-
|
249
|
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_unreachable" >&5
|
250
|
-
printf %s "checking for __builtin_unreachable... " >&6; }
|
251
|
-
if test ${rb_cv_func___builtin_unreachable+y}
|
252
|
-
@@ -20680,6 +20703,7 @@
|
253
|
-
|
254
|
-
|
255
|
-
fi
|
256
|
-
+}
|
257
|
-
|
258
|
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exported function attribute" >&5
|
259
|
-
printf %s "checking for exported function attribute... " >&6; }
|
260
|
-
|
@@ -1,11 +0,0 @@
|
|
1
|
-
--- ruby-2.1.2/ruby_atomic.h.orig 2014-09-29 14:08:29.000000000 -0500
|
2
|
-
+++ ruby-2.1.2/ruby_atomic.h 2014-09-29 14:08:41.000000000 -0500
|
3
|
-
@@ -117,7 +117,7 @@
|
4
|
-
# endif
|
5
|
-
|
6
|
-
#else
|
7
|
-
-typedef int rb_atomic_t;
|
8
|
-
+typedef long rb_atomic_t;
|
9
|
-
#define NEED_RUBY_ATOMIC_OPS
|
10
|
-
extern rb_atomic_t ruby_atomic_exchange(rb_atomic_t *ptr, rb_atomic_t val);
|
11
|
-
extern rb_atomic_t ruby_atomic_compare_and_swap(rb_atomic_t *ptr,
|
@@ -1,19 +0,0 @@
|
|
1
|
-
--- ruby-2.6.0/configure.orig 2019-01-28 19:31:52.000000000 -0800
|
2
|
-
+++ ruby-2.6.0/configure 2019-01-28 19:30:18.000000000 -0800
|
3
|
-
@@ -26791,6 +26791,7 @@
|
4
|
-
LDSHARED="$LDSHARED ${linker_flag}-G"
|
5
|
-
|
6
|
-
fi
|
7
|
-
+ DLDFLAGS='-eInit_$(TARGET)'
|
8
|
-
EXTDLDFLAGS='-e$(TARGET_ENTRY)'
|
9
|
-
XLDFLAGS="${linker_flag}"'-bE:$(ARCHFILE)'" ${linker_flag}-brtl"
|
10
|
-
XLDFLAGS="$XLDFLAGS ${linker_flag}-blibpath:${prefix}/lib:${LIBPATH:-/usr/lib:/lib}"
|
11
|
-
@@ -28066,7 +28067,8 @@
|
12
|
-
esac
|
13
|
-
done
|
14
|
-
LIBRUBYARG_SHARED='-L${libdir} -l${RUBY_SO_NAME}'
|
15
|
-
- LIBS="$LIBS -lm -lc"
|
16
|
-
+ LIBS="$LIBS -lm -lc -lz"
|
17
|
-
+ LIBRUBY_SO='lib$(RUBY_SO_NAME).a'
|
18
|
-
;; #(
|
19
|
-
darwin*) :
|
@@ -1,14 +0,0 @@
|
|
1
|
-
--- ruby-2.1.2/vm_core.h.orig 2014-09-29 14:05:24.000000000 -0500
|
2
|
-
+++ ruby-2.1.2/vm_core.h 2014-09-29 14:05:39.000000000 -0500
|
3
|
-
@@ -392,9 +392,9 @@
|
4
|
-
|
5
|
-
/* postponed_job */
|
6
|
-
struct rb_postponed_job_struct *postponed_job_buffer;
|
7
|
-
- int postponed_job_index;
|
8
|
-
+ long postponed_job_index;
|
9
|
-
|
10
|
-
- int src_encoding_index;
|
11
|
-
+ long src_encoding_index;
|
12
|
-
|
13
|
-
VALUE verbose, debug, orig_progname, progname;
|
14
|
-
VALUE coverages;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
diff --git a/load.c b/load.c
|
2
|
-
index 576464fb68..ae89f63820 100644
|
3
|
-
--- a/load.c
|
4
|
-
+++ b/load.c
|
5
|
-
@@ -908,6 +908,11 @@ search_required(VALUE fname, volatile VALUE *path, int safe_level, feature_func
|
6
|
-
if (loading) *path = rb_filesystem_str_new_cstr(loading);
|
7
|
-
return 'r';
|
8
|
-
}
|
9
|
-
+ else if ((ft = rb_feature_p(ftptr, 0, FALSE, FALSE, &loading)) == 's') {
|
10
|
-
+ if (loading) *path = rb_filesystem_str_new_cstr(loading);
|
11
|
-
+ return 's';
|
12
|
-
+ }
|
13
|
-
+
|
14
|
-
tmp = fname;
|
15
|
-
type = rb_find_file_ext_safe(&tmp, loadable_ext, safe_level);
|
16
|
-
switch (type) {
|
@@ -1,16 +0,0 @@
|
|
1
|
-
diff --git a/load.c b/load.c
|
2
|
-
index a2b9da4..05ea96e 100644
|
3
|
-
--- a/load.c
|
4
|
-
+++ b/load.c
|
5
|
-
@@ -981,6 +981,11 @@ search_required(rb_vm_t *vm, VALUE fname, volatile VALUE *path, feature_func rb_
|
6
|
-
if (loading) *path = rb_filesystem_str_new_cstr(loading);
|
7
|
-
return 'r';
|
8
|
-
}
|
9
|
-
+ else if ((ft = rb_feature_p(vm, ftptr, 0, FALSE, FALSE, &loading)) == 's') {
|
10
|
-
+ if (loading) *path = rb_filesystem_str_new_cstr(loading);
|
11
|
-
+ return 's';
|
12
|
-
+ }
|
13
|
-
+
|
14
|
-
tmp = fname;
|
15
|
-
type = rb_find_file_ext(&tmp, ft == 's' ? ruby_ext : loadable_ext);
|
16
|
-
switch (type) {
|
@@ -1,11 +0,0 @@
|
|
1
|
-
--- a/load.c
|
2
|
-
+++ b/load.c
|
3
|
-
@@ -605,7 +605,7 @@ rb_load_internal0(rb_execution_context_t *ec, VALUE fname, int wrap)
|
4
|
-
rb_parser_set_context(parser, NULL, FALSE);
|
5
|
-
ast = (rb_ast_t *)rb_parser_load_file(parser, fname);
|
6
|
-
iseq = rb_iseq_new_top(&ast->body, rb_fstring_lit("<top (required)>"),
|
7
|
-
- fname, rb_realpath_internal(Qnil, fname, 1), NULL);
|
8
|
-
+ fname, fname, NULL);
|
9
|
-
rb_ast_dispose(ast);
|
10
|
-
}
|
11
|
-
rb_exec_event_hook_script_compiled(ec, iseq, Qnil);
|
@@ -1,11 +0,0 @@
|
|
1
|
-
--- ruby-2.7.0/load.c.orig 2020-02-26 12:19:04.963826602 -0800
|
2
|
-
+++ ruby-2.7.0/load.c 2020-02-26 12:28:55.865876051 -0800
|
3
|
-
@@ -578,7 +578,7 @@
|
4
|
-
rb_parser_set_context(parser, NULL, FALSE);
|
5
|
-
ast = (rb_ast_t *)rb_parser_load_file(parser, fname);
|
6
|
-
iseq = rb_iseq_new_top(&ast->body, rb_fstring_lit("<top (required)>"),
|
7
|
-
- fname, rb_realpath_internal(Qnil, fname, 1), NULL);
|
8
|
-
+ fname, fname, NULL);
|
9
|
-
rb_ast_dispose(ast);
|
10
|
-
}
|
11
|
-
rb_exec_event_hook_script_compiled(ec, iseq, Qnil);
|
@@ -1,29 +0,0 @@
|
|
1
|
-
--- a/lib/mkmf.rb 2016-06-16 16:19:13.000000000 -0400
|
2
|
-
+++ b/lib/mkmf.rb 2016-06-16 16:23:08.000000000 -0400
|
3
|
-
@@ -365,6 +365,17 @@
|
4
|
-
end
|
5
|
-
|
6
|
-
def libpath_env
|
7
|
-
+ # Patch for aix
|
8
|
-
+ # Ideally applications should not need LIBPATH/LD_LIBRARY_PATH set
|
9
|
-
+ # and should rely on the embedded paths in binaries/shared objects
|
10
|
-
+ # For chef say on AIX we already build using -blibpath and
|
11
|
-
+ # LD_RUN_PATH, so the extensions built using chef embedded ruby
|
12
|
-
+ # (using rbconfig) should have correct paths set.
|
13
|
-
+ # Setting LIBPATH overrides the behaviour of programs invoked from
|
14
|
-
+ # chef built ruby, for example xlc ends up picking up libiconv built
|
15
|
-
+ # within chef embedded ruby libs instead of the one from /usr/lib
|
16
|
-
+ return {}
|
17
|
-
+
|
18
|
-
# used only if native compiling
|
19
|
-
if libpathenv = config_string("LIBPATHENV")
|
20
|
-
pathenv = ENV[libpathenv]
|
21
|
-
@@ -1799,7 +1810,7 @@
|
22
|
-
#
|
23
|
-
if !CROSS_COMPILING
|
24
|
-
case CONFIG['build_os']
|
25
|
-
- when 'mingw32'
|
26
|
-
+ when 'mingw32', 'mingw64'
|
27
|
-
def mkintpath(path)
|
28
|
-
# mingw uses make from msys and it needs special care
|
29
|
-
# converts from C:\some\path to /C/some/path
|
@@ -1,11 +0,0 @@
|
|
1
|
-
--- ruby-2.6.5/configure.old 2019-12-06 13:03:20.962288441 -0800
|
2
|
-
+++ ruby-2.6.5/configure 2019-12-06 13:03:32.242919275 -0800
|
3
|
-
@@ -8409,7 +8409,7 @@
|
4
|
-
esac
|
5
|
-
if test -z "${stack_protector+set}"; then :
|
6
|
-
|
7
|
-
- for opt in -fstack-protector-strong -fstack-protector
|
8
|
-
+ for opt in -fstack-protector
|
9
|
-
do :
|
10
|
-
|
11
|
-
|
@@ -1,13 +0,0 @@
|
|
1
|
-
diff --git a/configure.dist b/configure
|
2
|
-
index d83c15a..bd4813c 100755
|
3
|
-
--- a/configure.dist
|
4
|
-
+++ b/configure
|
5
|
-
@@ -7491,7 +7491,7 @@ main ()
|
6
|
-
}
|
7
|
-
_ACEOF
|
8
|
-
if ac_fn_c_try_compile "$LINENO"; then :
|
9
|
-
- stack_protector=yes
|
10
|
-
+ stack_protector=no
|
11
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
12
|
-
$as_echo "yes" >&6; }
|
13
|
-
else
|
@@ -1,12 +0,0 @@
|
|
1
|
-
--- a/ext/win32/lib/Win32API.rb
|
2
|
-
+++ b/ext/win32/lib/Win32API.rb
|
3
|
-
@@ -1,9 +1,6 @@
|
4
|
-
# -*- ruby -*-
|
5
|
-
# frozen_string_literal: true
|
6
|
-
|
7
|
-
-# for backward compatibility
|
8
|
-
-warn "Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead", uplevel: 2
|
9
|
-
-
|
10
|
-
require 'fiddle/import'
|
11
|
-
|
12
|
-
class Win32API
|
@@ -1,10 +0,0 @@
|
|
1
|
-
--- ruby-1.9.3-p547/ext/openssl/extconf.rb.orig 2014-07-15 17:50:30 -0500
|
2
|
-
+++ ruby-1.9.3-p547/ext/openssl/extconf.rb 2014-07-15 17:50:39 -0500
|
3
|
-
@@ -34,6 +34,7 @@
|
4
|
-
end
|
5
|
-
|
6
|
-
Logging::message "=== Checking for system dependent stuff... ===\n"
|
7
|
-
+have_library("z", "inflate")
|
8
|
-
have_library("nsl", "t_open")
|
9
|
-
have_library("socket", "socket")
|
10
|
-
have_header("assert.h")
|
@@ -1,19 +0,0 @@
|
|
1
|
-
--- ruby-2.1.3/ext/openssl/lib/openssl/ssl.rb_orig 2014-10-24 13:09:44.000000000 -0500
|
2
|
-
+++ ruby-2.1.3/ext/openssl/lib/openssl/ssl.rb 2014-10-24 13:11:01.000000000 -0500
|
3
|
-
@@ -194,7 +194,15 @@
|
4
|
-
begin
|
5
|
-
ssl = OpenSSL::SSL::SSLSocket.new(sock, @ctx)
|
6
|
-
ssl.sync_close = true
|
7
|
-
- ssl.accept if @start_immediately
|
8
|
-
+ if @start_immediately
|
9
|
-
+ # Retry on EAGAIN (may be due to underlying inprogress for TLS handshake or renegotiation requested.)
|
10
|
-
+ # Any other error is rescued further.
|
11
|
-
+ begin
|
12
|
-
+ ssl.accept
|
13
|
-
+ rescue Errno::EAGAIN
|
14
|
-
+ retry
|
15
|
-
+ end
|
16
|
-
+ end
|
17
|
-
ssl
|
18
|
-
rescue SSLError => ex
|
19
|
-
sock.close
|
@@ -1,27 +0,0 @@
|
|
1
|
-
--- a/configure.in
|
2
|
-
+++ b/configure.in
|
3
|
-
@@ -267,11 +267,9 @@
|
4
|
-
cflagspat="$cflagspat;s|"`eval echo '"'"${debugflags}"'"' | sed 's/[[][|.*]]/\\&/g;s/^ */ /;s/ *$/ /'`'| |g'
|
5
|
-
test -z "warnflags" ||
|
6
|
-
cflagspat="$cflagspat;s|"`eval echo '"'"${warnflags}"'"' | sed 's/[[][|.*]]/\\&/g;s/^ */ /;s/ *$/ /'`'| |g'
|
7
|
-
-if test -z "${CFLAGS+set}"; then
|
8
|
-
- cflags=`echo " $cflags " | sed "$cflagspat;s/^ *//;s/ *$//"`
|
9
|
-
- orig_cflags="$cflags"
|
10
|
-
- cflags="$cflags "'${optflags} ${debugflags} ${warnflags}'
|
11
|
-
-fi
|
12
|
-
+cflags=`echo " $cflags " | sed "$cflagspat;s/^ *//;s/ *$//"`
|
13
|
-
+orig_cflags="$cflags"
|
14
|
-
+cflags="$cflags "'${optflags} ${debugflags} ${warnflags}'
|
15
|
-
if test -z "${CXXFLAGS+set}"; then
|
16
|
-
cxxflags=`echo " $cxxflags " | sed "$cflagspat;s/^ *//;s/ *$//"`
|
17
|
-
orig_cxxflags="$cxxflags"
|
18
|
-
@@ -511,7 +509,8 @@
|
19
|
-
])
|
20
|
-
fi
|
21
|
-
|
22
|
-
-test -z "${ac_env_CFLAGS_set}" -a -n "${cflags+set}" && eval CFLAGS="\"$cflags $ARCH_FLAG\""
|
23
|
-
+test -z "${ac_env_CFLAGS_set}" && CFLAGS="$ARCH_FLAG"
|
24
|
-
+test -n "${cflags:+set}" && eval CFLAGS="\"$cflags\${CFLAGS:+ $CFLAGS}\""
|
25
|
-
test -z "${ac_env_CXXFLAGS_set}" -a -n "${cxxflags+set}" && eval CXXFLAGS="\"$cxxflags $ARCH_FLAG\""
|
26
|
-
|
27
|
-
dnl check for large file stuff
|
@@ -1,42 +0,0 @@
|
|
1
|
-
diff --git a/src/mingw.mk b/src/mingw.mk
|
2
|
-
index 244602f..055c425 100644
|
3
|
-
--- a/src/mingw.mk
|
4
|
-
+++ b/src/mingw.mk
|
5
|
-
@@ -12,7 +12,7 @@
|
6
|
-
bindir = ../bin/$(win32_mingw)
|
7
|
-
objdir = ../obj/$(win32_mingw)
|
8
|
-
|
9
|
-
-win32_ssl_dir = /opt/openssl-$(win32_mingw)
|
10
|
-
+win32_ssl_dir = $(WIN32_SSL_DIR_PATCHED)
|
11
|
-
win32_cppflags = -I$(win32_ssl_dir)/include
|
12
|
-
win32_cflags = -mthreads -fstack-protector -O2
|
13
|
-
win32_cflags += -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long
|
14
|
-
@@ -34,7 +34,8 @@ win32_cli_objs = $(addsuffix .o, $(addprefix $(objdir)/, $(win32_cli)))
|
15
|
-
|
16
|
-
win32_prefix = $(win32_targetcpu)-w64-mingw32-
|
17
|
-
win32_cc = $(win32_prefix)gcc
|
18
|
-
-win32_windres = $(win32_prefix)windres
|
19
|
-
+# Our build system only has windres.exe, no prefix
|
20
|
-
+win32_windres = windres
|
21
|
-
|
22
|
-
all: mkdirs $(bindir)/stunnel.exe $(bindir)/tstunnel.exe
|
23
|
-
|
24
|
-
diff --git a/src/stunnel.c b/src/stunnel.c
|
25
|
-
index 00637b0..5a6a0a1 100644
|
26
|
-
--- a/src/stunnel.c
|
27
|
-
+++ b/src/stunnel.c
|
28
|
-
@@ -46,7 +46,13 @@
|
29
|
-
#pragma GCC diagnostic ignored "-pedantic"
|
30
|
-
#endif /* __GNUC__ */
|
31
|
-
|
32
|
-
-#include <openssl/applink.c>
|
33
|
-
+/*
|
34
|
-
+ * Maybe we could remove
|
35
|
-
+ * omnibus-software/config/patches/openssl-fips/openssl-fips-fix-compiler-flags-table-for-msys.patch
|
36
|
-
+ * and leave this include here? Building applink into openssl broke some version
|
37
|
-
+ * of Ruby
|
38
|
-
+ */
|
39
|
-
+/* #include <openssl/applink.c> */
|
40
|
-
|
41
|
-
#ifdef __GNUC__
|
42
|
-
#pragma GCC diagnostic pop
|
@@ -1,20 +0,0 @@
|
|
1
|
-
--- zlib-1.2.8/win32/Makefile.gcc.orig 2016-02-11 13:46:54.000000000 -0500
|
2
|
-
+++ zlib-1.2.8/win32/Makefile.gcc 2016-02-11 13:53:08.000000000 -0500
|
3
|
-
@@ -57,6 +57,8 @@
|
4
|
-
RC = $(PREFIX)windres
|
5
|
-
RCFLAGS = --define GCC_WINDRES
|
6
|
-
|
7
|
-
+IMAGE_BASE = 0x63300000
|
8
|
-
+
|
9
|
-
STRIP = $(PREFIX)strip
|
10
|
-
|
11
|
-
CP = cp -fp
|
12
|
-
@@ -93,7 +95,7 @@
|
13
|
-
$(IMPLIB): $(SHAREDLIB)
|
14
|
-
|
15
|
-
$(SHAREDLIB): win32/zlib.def $(OBJS) $(OBJA) zlibrc.o
|
16
|
-
- $(CC) -shared -Wl,--out-implib,$(IMPLIB) $(LDFLAGS) \
|
17
|
-
+ $(CC) -shared -Wl,--out-implib,$(IMPLIB),--image-base,$(IMAGE_BASE) $(LDFLAGS) \
|
18
|
-
-o $@ win32/zlib.def $(OBJS) $(OBJA) zlibrc.o
|
19
|
-
$(STRIP) $@
|
20
|
-
|
data/config/software/autoconf.rb
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright:: Chef Software, Inc.
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
#
|
16
|
-
# expeditor/ignore: deprecated 2021-04
|
17
|
-
|
18
|
-
name "autoconf"
|
19
|
-
default_version "2.69"
|
20
|
-
|
21
|
-
license "GPL-3.0"
|
22
|
-
license_file "COPYING"
|
23
|
-
license_file "COPYING.EXCEPTION"
|
24
|
-
skip_transitive_dependency_licensing true
|
25
|
-
|
26
|
-
dependency "m4"
|
27
|
-
|
28
|
-
version("2.69") { source sha256: "954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969" }
|
29
|
-
|
30
|
-
source url: "https://ftp.gnu.org/gnu/autoconf/autoconf-#{version}.tar.gz"
|
31
|
-
|
32
|
-
relative_path "autoconf-#{version}"
|
33
|
-
|
34
|
-
build do
|
35
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
36
|
-
|
37
|
-
if solaris2?
|
38
|
-
env["M4"] = "#{install_dir}/embedded/bin/m4"
|
39
|
-
end
|
40
|
-
|
41
|
-
command "./configure" \
|
42
|
-
" --prefix=#{install_dir}/embedded", env: env
|
43
|
-
|
44
|
-
make "-j #{workers}", env: env
|
45
|
-
make "install", env: env
|
46
|
-
end
|
data/config/software/automake.rb
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2012-2014 Chef Software, Inc.
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
#
|
16
|
-
# expeditor/ignore: deprecated 2021-04
|
17
|
-
|
18
|
-
name "automake"
|
19
|
-
default_version "1.16"
|
20
|
-
|
21
|
-
dependency "autoconf"
|
22
|
-
dependency "perl-thread-queue"
|
23
|
-
|
24
|
-
license "GPL-2.0"
|
25
|
-
license_file "COPYING"
|
26
|
-
skip_transitive_dependency_licensing true
|
27
|
-
|
28
|
-
version("1.16") { source sha256: "80da43bb5665596ee389e6d8b64b4f122ea4b92a685b1dbd813cd1f0e0c2d83f" }
|
29
|
-
version("1.15") { source sha256: "7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924" }
|
30
|
-
version("1.11.2") { source sha256: "c339e3871d6595620760725da61de02cf1c293af8a05b14592d6587ac39ce546" }
|
31
|
-
|
32
|
-
source url: "https://ftp.gnu.org/gnu/automake/automake-#{version}.tar.gz"
|
33
|
-
|
34
|
-
relative_path "automake-#{version}"
|
35
|
-
|
36
|
-
build do
|
37
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
38
|
-
|
39
|
-
if version == "1.15"
|
40
|
-
command "./bootstrap.sh", env: env
|
41
|
-
else
|
42
|
-
command "./bootstrap", env: env
|
43
|
-
end
|
44
|
-
command "./configure" \
|
45
|
-
" --prefix=#{install_dir}/embedded", env: env
|
46
|
-
|
47
|
-
make "-j #{workers}", env: env
|
48
|
-
make "install", env: env
|
49
|
-
end
|