omnibus-software 22.11.239

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. checksums.yaml +7 -0
  2. data/.expeditor/Version_inspector/README.md +21 -0
  3. data/.expeditor/Version_inspector/SW-Version-update.py +243 -0
  4. data/.expeditor/Version_inspector/manual_prod_list.json +29 -0
  5. data/.expeditor/Version_inspector/prod_default_version.json +103 -0
  6. data/.expeditor/Version_inspector/prod_list.json +194 -0
  7. data/.expeditor/Version_inspector/requirements.txt +4 -0
  8. data/.expeditor/Version_inspector/update_prod_default_version.sh +24 -0
  9. data/.expeditor/Version_inspector/update_prod_list.sh +35 -0
  10. data/.expeditor/config.yml +33 -0
  11. data/.expeditor/determine_version.sh +15 -0
  12. data/.expeditor/push_git_tag.sh +12 -0
  13. data/.expeditor/run_linux_tests.sh +16 -0
  14. data/.expeditor/verify.pipeline.yml +52 -0
  15. data/.github/CODEOWNERS +5 -0
  16. data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +29 -0
  17. data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +40 -0
  18. data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +17 -0
  19. data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +11 -0
  20. data/.github/dependabot.yml +9 -0
  21. data/.github/lock.yml +1 -0
  22. data/.gitignore +17 -0
  23. data/CODE_OF_CONDUCT.md +1 -0
  24. data/CONTRIBUTING.md +1 -0
  25. data/Dockerfile +21 -0
  26. data/Gemfile +10 -0
  27. data/LICENSE +201 -0
  28. data/README.md +99 -0
  29. data/Rakefile +56 -0
  30. data/VERSION +1 -0
  31. data/config/patches/bash/race-condition.patch +15 -0
  32. data/config/patches/bzip2/aix_makefile.patch +11 -0
  33. data/config/patches/bzip2/makefile_no_bins.patch +77 -0
  34. data/config/patches/bzip2/makefile_take_env_vars.patch +31 -0
  35. data/config/patches/bzip2/soname_install_dir.patch +11 -0
  36. data/config/patches/curl/curl-aix-disable-alpn.patch +22 -0
  37. data/config/patches/curl/curl-freebsd-hostcheck.patch +10 -0
  38. data/config/patches/erlang/epmd-require-explicitly-adding-loopback-address.patch +84 -0
  39. data/config/patches/erlang/updated-epmd-require-explicitly-adding-loopback-address.patch +75 -0
  40. data/config/patches/expat/configure_xlc_visibility.patch +58 -0
  41. data/config/patches/expat/configure_xlc_visibility_2.4.7.patch +59 -0
  42. data/config/patches/figlet/aix-figlet-cdefs.patch +48 -0
  43. data/config/patches/gdbm/v1.8.3-Makefile.in.patch +32 -0
  44. data/config/patches/git/aix-endian-fix.patch +20 -0
  45. data/config/patches/gtar/aix_extra_case.patch +13 -0
  46. data/config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch +15 -0
  47. data/config/patches/libedit/freebsd-vi-fix.patch +24 -0
  48. data/config/patches/libedit/openbsd-weak-alias-fix.patch +48 -0
  49. data/config/patches/libedit/solaris.patch +36 -0
  50. data/config/patches/libffi/libffi-3.2.1-disable-multi-os-directory.patch +83 -0
  51. data/config/patches/libffi/libffi-3.3-arm64.patch +9608 -0
  52. data/config/patches/libxslt/libxslt-solaris-configure.patch +19 -0
  53. data/config/patches/libxslt/libxslt-windows-relocate.patch +12 -0
  54. data/config/patches/libyaml/windows-configure.patch +26 -0
  55. data/config/patches/libzmq/zeromq-4.0.11_mingw_inet_pton.patch +37 -0
  56. data/config/patches/libzmq/zeromq-aix-4.2.2-LARGE_FILES.patch +56 -0
  57. data/config/patches/libzmq/zeromq-aix-4.2.2-atomic-counter-fetch_and_add.patch +59 -0
  58. data/config/patches/logrotate/logrotate_basedir_override.patch +17 -0
  59. data/config/patches/m4/m4-1.4.18-glibc-change-work-around.patch +115 -0
  60. data/config/patches/make/deb-make-glob.patch +31 -0
  61. data/config/patches/ncurses/ncurses-5.9-gcc-5.patch +46 -0
  62. data/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch +11 -0
  63. data/config/patches/ncurses/ncurses-clang.patch +43 -0
  64. data/config/patches/ncurses/patch-aa +23 -0
  65. data/config/patches/ncurses/patch-ab +44 -0
  66. data/config/patches/ncurses/patch-ac +40 -0
  67. data/config/patches/ncurses/patch-ad +13 -0
  68. data/config/patches/ncurses/patch-cxx_cursesf.h +22 -0
  69. data/config/patches/ncurses/patch-cxx_cursesm.h +22 -0
  70. data/config/patches/ncurses/patch-ncurses_tinfo_lib__baudrate.c +24 -0
  71. data/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +28 -0
  72. data/config/patches/openssl/openssl-1.0.1j-windows-relocate-dll.patch +20 -0
  73. data/config/patches/openssl/openssl-1.0.1q-fix-compiler-flags-table-for-msys.patch +20 -0
  74. data/config/patches/openssl/openssl-1.0.2x-darwin-arm64.patch +54 -0
  75. data/config/patches/openssl/openssl-1.1.0f-do-not-install-docs.patch +11 -0
  76. data/config/patches/openssl/openssl-3.0.1-do-not-install-docs.patch +22 -0
  77. data/config/patches/openssl-fips/openssl-fips-fix-compiler-flags-table-for-msys.patch +11 -0
  78. data/config/patches/perl/perl-5.18.1-remove_lnsl.patch +441 -0
  79. data/config/patches/perl/perl-5.22.1-remove_lnsl.patch +512 -0
  80. data/config/patches/perl/perl-5.30.0-remove_lnsl.patch +518 -0
  81. data/config/patches/perl/perl-5.32.1-remove_lnsl.patch +456 -0
  82. data/config/patches/perl/perl-5.34.0-remove_lnsl.patch +516 -0
  83. data/config/patches/pkg-config/openbsd-charset.patch +19 -0
  84. data/config/patches/popt/v1.16.ppc64le-configure.patch +18 -0
  85. data/config/patches/redis/password-from-environment.patch +19 -0
  86. data/config/patches/ruby/patch-configure +103 -0
  87. data/config/patches/ruby/remove_nano.patch +10 -0
  88. data/config/patches/ruby/ruby-2.6.7_c99.patch +12 -0
  89. data/config/patches/ruby/ruby-3.0.1-configure.patch +281 -0
  90. data/config/patches/ruby/ruby-3.0.2-configure.patch +251 -0
  91. data/config/patches/ruby/ruby-aix-atomic.patch +11 -0
  92. data/config/patches/ruby/ruby-aix-configure_26_and_later.patch +19 -0
  93. data/config/patches/ruby/ruby-aix-vm-core.patch +14 -0
  94. data/config/patches/ruby/ruby-fast-load_26.patch +16 -0
  95. data/config/patches/ruby/ruby-fast-load_31.patch +16 -0
  96. data/config/patches/ruby/ruby-faster-load_26.patch +11 -0
  97. data/config/patches/ruby/ruby-faster-load_27.patch +11 -0
  98. data/config/patches/ruby/ruby-mkmf.patch +29 -0
  99. data/config/patches/ruby/ruby-no-stack-protector-strong.patch +11 -0
  100. data/config/patches/ruby/ruby-no-stack-protector.patch +13 -0
  101. data/config/patches/ruby/ruby-win32_warning_removal.patch +12 -0
  102. data/config/patches/ruby/ruby_aix_openssl.patch +10 -0
  103. data/config/patches/ruby/ruby_aix_ssl_EAGAIN.patch +19 -0
  104. data/config/patches/ruby/rvm-cflags.patch +27 -0
  105. data/config/patches/stunnel/stunnel-on-windows.patch +42 -0
  106. data/config/patches/zlib/zlib-windows-relocate.patch +20 -0
  107. data/config/software/autoconf.rb +46 -0
  108. data/config/software/automake.rb +49 -0
  109. data/config/software/bash.rb +72 -0
  110. data/config/software/berkshelf-no-depselector.rb +46 -0
  111. data/config/software/berkshelf.rb +34 -0
  112. data/config/software/binutils.rb +47 -0
  113. data/config/software/bundler.rb +38 -0
  114. data/config/software/bzip2.rb +55 -0
  115. data/config/software/cacerts.rb +50 -0
  116. data/config/software/chef-gem.rb +35 -0
  117. data/config/software/chef.rb +112 -0
  118. data/config/software/cmake.rb +94 -0
  119. data/config/software/config_guess.rb +37 -0
  120. data/config/software/cpanminus.rb +49 -0
  121. data/config/software/curl.rb +103 -0
  122. data/config/software/delivery-cli.rb +89 -0
  123. data/config/software/dep-selector-libgecode.rb +48 -0
  124. data/config/software/elasticsearch.rb +61 -0
  125. data/config/software/elixir.rb +35 -0
  126. data/config/software/erlang.rb +134 -0
  127. data/config/software/expat.rb +63 -0
  128. data/config/software/fakeroot.rb +41 -0
  129. data/config/software/ffi-yajl.rb +46 -0
  130. data/config/software/figlet-fonts.rb +31 -0
  131. data/config/software/figlet.rb +44 -0
  132. data/config/software/gcc.rb +60 -0
  133. data/config/software/gdbm.rb +54 -0
  134. data/config/software/gecode.rb +62 -0
  135. data/config/software/gem-permissions.rb +43 -0
  136. data/config/software/git-windows.rb +96 -0
  137. data/config/software/git.rb +138 -0
  138. data/config/software/gmp.rb +48 -0
  139. data/config/software/go-uninstall.rb +33 -0
  140. data/config/software/go.rb +116 -0
  141. data/config/software/google-protobuf.rb +45 -0
  142. data/config/software/gtar.rb +62 -0
  143. data/config/software/help2man.rb +40 -0
  144. data/config/software/highline-gem.rb +37 -0
  145. data/config/software/ibm-jre.rb +59 -0
  146. data/config/software/inspec.rb +43 -0
  147. data/config/software/jre-from-jdk.rb +67 -0
  148. data/config/software/keepalived.rb +68 -0
  149. data/config/software/libarchive.rb +71 -0
  150. data/config/software/libedit.rb +73 -0
  151. data/config/software/libffi.rb +68 -0
  152. data/config/software/libgcc.rb +52 -0
  153. data/config/software/libiconv.rb +55 -0
  154. data/config/software/libintl-perl.rb +56 -0
  155. data/config/software/liblzma.rb +59 -0
  156. data/config/software/libossp-uuid.rb +45 -0
  157. data/config/software/libsodium.rb +40 -0
  158. data/config/software/libtool.rb +56 -0
  159. data/config/software/libuuid.rb +45 -0
  160. data/config/software/libxml2.rb +63 -0
  161. data/config/software/libxslt.rb +64 -0
  162. data/config/software/libyajl2-gem.rb +44 -0
  163. data/config/software/libyaml.rb +50 -0
  164. data/config/software/libzmq.rb +93 -0
  165. data/config/software/logrotate.rb +61 -0
  166. data/config/software/lua.rb +46 -0
  167. data/config/software/m4.rb +40 -0
  168. data/config/software/make.rb +43 -0
  169. data/config/software/makedepend.rb +44 -0
  170. data/config/software/mpc.rb +44 -0
  171. data/config/software/mpfr.rb +45 -0
  172. data/config/software/musl.rb +107 -0
  173. data/config/software/mysql2.rb +50 -0
  174. data/config/software/ncurses.rb +159 -0
  175. data/config/software/nginx.rb +55 -0
  176. data/config/software/nodejs-binary.rb +90 -0
  177. data/config/software/nodejs.rb +58 -0
  178. data/config/software/nokogiri.rb +92 -0
  179. data/config/software/omnibus-ctl.rb +42 -0
  180. data/config/software/openresty.rb +94 -0
  181. data/config/software/opensearch.rb +54 -0
  182. data/config/software/openssl-customization.rb +81 -0
  183. data/config/software/openssl-fips.rb +81 -0
  184. data/config/software/openssl.rb +185 -0
  185. data/config/software/patch.rb +46 -0
  186. data/config/software/patchelf.rb +66 -0
  187. data/config/software/pcre.rb +53 -0
  188. data/config/software/perl-extutils-embed.rb +37 -0
  189. data/config/software/perl-extutils-makemaker.rb +46 -0
  190. data/config/software/perl-thread-queue.rb +40 -0
  191. data/config/software/perl.rb +78 -0
  192. data/config/software/perl_pg_driver.rb +45 -0
  193. data/config/software/pg-gem.rb +36 -0
  194. data/config/software/pkg-config-lite.rb +46 -0
  195. data/config/software/pkg-config.rb +66 -0
  196. data/config/software/popt.rb +54 -0
  197. data/config/software/postgresql.rb +70 -0
  198. data/config/software/preparation.rb +31 -0
  199. data/config/software/python.rb +79 -0
  200. data/config/software/rabbitmq.rb +58 -0
  201. data/config/software/rb-readline.rb +33 -0
  202. data/config/software/rbnacl-libsodium.rb +42 -0
  203. data/config/software/rbzmq.rb +44 -0
  204. data/config/software/rebar.rb +42 -0
  205. data/config/software/redis-gem.rb +36 -0
  206. data/config/software/redis.rb +51 -0
  207. data/config/software/relx.rb +39 -0
  208. data/config/software/rsync.rb +55 -0
  209. data/config/software/ruby-cleanup.rb +254 -0
  210. data/config/software/ruby-msys2-devkit.rb +77 -0
  211. data/config/software/ruby-windows-devkit-bash.rb +41 -0
  212. data/config/software/ruby-windows-devkit.rb +84 -0
  213. data/config/software/ruby.rb +306 -0
  214. data/config/software/rubygems.rb +73 -0
  215. data/config/software/runit.rb +67 -0
  216. data/config/software/rust-uninstall.rb +32 -0
  217. data/config/software/rust.rb +97 -0
  218. data/config/software/sequel-gem.rb +36 -0
  219. data/config/software/server-jre.rb +125 -0
  220. data/config/software/server-open-jre.rb +112 -0
  221. data/config/software/setuptools.rb +48 -0
  222. data/config/software/shebang-cleanup.rb +101 -0
  223. data/config/software/sqitch.rb +87 -0
  224. data/config/software/stunnel.rb +86 -0
  225. data/config/software/util-macros.rb +42 -0
  226. data/config/software/version-manifest.rb +33 -0
  227. data/config/software/xproto.rb +42 -0
  228. data/config/software/zlib.rb +85 -0
  229. data/config/templates/git/config.mak.erb +31 -0
  230. data/config/templates/rubygems/register_devtools.rb.erb +33 -0
  231. data/config/templates/runit/runsvdir-start.erb +42 -0
  232. data/docker-compose.yml +15 -0
  233. data/lib/omnibus-software/version.rb +3 -0
  234. data/lib/omnibus-software.rb +115 -0
  235. data/omnibus-software.gemspec +20 -0
  236. data/test/Gemfile +10 -0
  237. data/test/config/projects/test.rb +14 -0
  238. data/test/generate_steps.rb +55 -0
  239. data/test/omnibus-build.sh +50 -0
  240. data/test/omnibus.rb +55 -0
  241. metadata +296 -0
@@ -0,0 +1,24 @@
1
+ $NetBSD: patch-ncurses_tinfo_lib__baudrate.c,v 1.1 2014/05/11 16:55:17 rodent Exp $
2
+
3
+ sys/ttydev.h doesn't exist in OpenBSD 5.5
4
+
5
+ --- ncurses/tinfo/lib_baudrate.c.orig Sun Dec 19 01:50:50 2010
6
+ +++ ncurses/tinfo/lib_baudrate.c
7
+ @@ -39,7 +39,7 @@
8
+
9
+ #include <curses.priv.h>
10
+ #include <termcap.h> /* ospeed */
11
+ -#if defined(__FreeBSD__)
12
+ +#if defined(__FreeBSD__) || defined(__OpenBSD__)
13
+ #include <sys/param.h>
14
+ #endif
15
+
16
+ @@ -49,7 +49,7 @@
17
+ * of the indices up to B115200 fit nicely in a 'short', allowing us to retain
18
+ * ospeed's type for compatibility.
19
+ */
20
+ -#if (defined(__FreeBSD__) && (__FreeBSD_version < 700000)) || defined(__NetBSD__) || defined(__OpenBSD__)
21
+ +#if (defined(__FreeBSD__) && (__FreeBSD_version < 700000)) || defined(__NetBSD__) || (defined(__OpenBSD__) && (OpenBSD < 201405))
22
+ #undef B0
23
+ #undef B50
24
+ #undef B75
@@ -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
+ diff --git a/Makefile.shared b/Makefile.shared
2
+ index e8d222a..02ec85b 100644
3
+ --- a/Makefile.shared
4
+ +++ b/Makefile.shared
5
+ @@ -283,13 +283,12 @@ link_a.cygwin:
6
+ base=-Wl,--enable-auto-image-base; \
7
+ if expr $(PLATFORM) : 'mingw' > /dev/null; then \
8
+ case $(LIBNAME) in \
9
+ - crypto) SHLIB=libeay;; \
10
+ - ssl) SHLIB=ssleay;; \
11
+ + crypto) SHLIB=libeay; base=-Wl,--image-base,0x64000000;; \
12
+ + ssl) SHLIB=ssleay; base=-Wl,--image-base,0x65000000;; \
13
+ esac; \
14
+ SHLIB_SOVER=32; \
15
+ extras="$(LIBNAME).def"; \
16
+ $(PERL) util/mkdef.pl 32 $$SHLIB > $$extras; \
17
+ - base=; [ $(LIBNAME) = "crypto" -a -n "$(FIPSCANLIB)" ] && base=-Wl,--image-base,0x63000000; \
18
+ fi; \
19
+ dll_name=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; \
20
+ $(PERL) util/mkrc.pl $$dll_name | \
@@ -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,54 @@
1
+ diff -ur openssl-1.0.2x/Configure openssl-1.0.2x.new/Configure
2
+ --- openssl-1.0.2x/Configure 2020-12-08 13:23:12.000000000 +0000
3
+ +++ openssl-1.0.2x.new/Configure 2021-01-12 08:24:27.000000000 +0000
4
+ @@ -156,6 +156,7 @@
5
+
6
+ my $x86_elf_asm="$x86_asm:elf";
7
+
8
+ +my $arm64_asm="arm64cpuid.o:arm64-gcc.o arm64-mont.o arm64-mont5.o arm64-gf2m.o modexp512-arm64.o::aes-arm64.o vpaes-arm64.o bsaes-arm64.o aesni-arm64.o aesni-sha1-arm64.o::md5-arm64.o:sha1-arm64.o sha256-arm64.o sha512-arm64.o::rc4-arm64.o rc4-md5-arm64.o:::wp-arm64.o:cmll-arm64.o cmll_misc.o:ghash-arm64.o:";
9
+ my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o x86_64-mont.o x86_64-mont5.o x86_64-gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o:ecp_nistz256.o ecp_nistz256-x86_64.o::aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o aesni-mb-x86_64.o::md5-x86_64.o:sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o sha1-mb-x86_64.o sha256-mb-x86_64.o::rc4-x86_64.o rc4-md5-x86_64.o:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o:ghash-x86_64.o aesni-gcm-x86_64.o:";
10
+ my $ia64_asm="ia64cpuid.o:bn-ia64.o ia64-mont.o:::aes_core.o aes_cbc.o aes-ia64.o::md5-ia64.o:sha1-ia64.o sha256-ia64.o sha512-ia64.o::rc4-ia64.o rc4_skey.o:::::ghash-ia64.o::void";
11
+ my $sparcv9_asm="sparcv9cap.o sparccpuid.o:bn-sparcv9.o sparcv9-mont.o sparcv9a-mont.o vis3-mont.o sparct4-mont.o sparcv9-gf2m.o::des_enc-sparc.o fcrypt_b.o dest4-sparcv9.o:aes_core.o aes_cbc.o aes-sparcv9.o aest4-sparcv9.o::md5-sparcv9.o:sha1-sparcv9.o sha256-sparcv9.o sha512-sparcv9.o::::::camellia.o cmll_misc.o cmll_cbc.o cmllt4-sparcv9.o:ghash-sparcv9.o::void";
12
+ @@ -649,6 +650,7 @@
13
+ "darwin64-ppc-cc","cc:-arch ppc64 -O3 -DB_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${ppc64_asm}:osx64:dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
14
+ "darwin-i386-cc","cc:-arch i386 -O3 -fomit-frame-pointer -DL_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_INT RC4_CHUNK DES_UNROLL BF_PTR:".eval{my $asm=$x86_asm;$asm=~s/cast\-586\.o//;$asm}.":macosx:dlfcn:darwin-shared:-fPIC -fno-common:-arch i386 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
15
+ "debug-darwin-i386-cc","cc:-arch i386 -g3 -DL_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_INT RC4_CHUNK DES_UNROLL BF_PTR:${x86_asm}:macosx:dlfcn:darwin-shared:-fPIC -fno-common:-arch i386 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
16
+ +"darwin64-arm64-cc","cc:-arch arm64 -O3 -DL_ENDIAN -Wall::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL:".eval{my $asm=$arm64_asm;$asm=~s/rc4\-[^:]+//;$asm}.":macosx:dlfcn:darwin-shared:-fPIC -fno-common:-arch arm64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
17
+ "darwin64-x86_64-cc","cc:-arch x86_64 -O3 -DL_ENDIAN -Wall::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:".eval{my $asm=$x86_64_asm;$asm=~s/rc4\-[^:]+//;$asm}.":macosx:dlfcn:darwin-shared:-fPIC -fno-common:-arch x86_64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
18
+ "debug-darwin64-x86_64-cc","cc:-arch x86_64 -ggdb -g2 -O0 -DL_ENDIAN -Wall::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:".eval{my $asm=$x86_64_asm;$asm=~s/rc4\-[^:]+//;$asm}.":macosx:dlfcn:darwin-shared:-fPIC -fno-common:-arch x86_64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
19
+ "debug-darwin-ppc-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DB_ENDIAN -g -Wall -O::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${ppc32_asm}:osx32:dlfcn:darwin-shared:-fPIC:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
20
+ diff -ur openssl-1.0.2x/config openssl-1.0.2x.new/config
21
+ --- openssl-1.0.2x/config 2020-12-08 13:23:12.000000000 +0000
22
+ +++ openssl-1.0.2x.new/config 2021-01-12 08:39:17.000000000 +0000
23
+ @@ -274,6 +274,9 @@
24
+
25
+ Darwin:*)
26
+ case "$MACHINE" in
27
+ + arm*)
28
+ + echo "arm-apple-darwin${VERSION}"
29
+ + ;;
30
+ Power*)
31
+ echo "ppc-apple-darwin${VERSION}"
32
+ ;;
33
+ @@ -560,6 +563,21 @@
34
+ else
35
+ OUT="darwin-ppc-cc"
36
+ fi ;;
37
+ + arm-apple-darwin*)
38
+ + ISA64=`(sysctl -n hw.optional.arm64) 2>/dev/null`
39
+ + if [ "$ISA64" = "1" -a -z "$KERNEL_BITS" ]; then
40
+ + echo "WARNING! If you wish to build M1 ARM 64-bit library, then you have to"
41
+ + echo " invoke './Configure darwin64-arm64-cc' *manually*."
42
+ + if [ "$TEST" = "false" -a -t 1 ]; then
43
+ + echo " You have about 5 seconds to press Ctrl-C to abort."
44
+ + (trap "stty `stty -g`" 2 0; stty -icanon min 0 time 50; read waste) <&1
45
+ + fi
46
+ + fi
47
+ + if [ "$ISA64" = "1" -a "$KERNEL_BITS" = "64" ]; then
48
+ + OUT="darwin64-arm64-cc"
49
+ + else
50
+ + OUT="darwin-arm64-cc"
51
+ + fi ;;
52
+ i?86-apple-darwin*)
53
+ ISA64=`(sysctl -n hw.optional.x86_64) 2>/dev/null`
54
+ if [ "$ISA64" = "1" -a -z "$KERNEL_BITS" ]; then
@@ -0,0 +1,11 @@
1
+ --- openssl-1.1.0f/Configurations/unix-Makefile.tmpl.orig 2017-10-22 13:23:48.592533617 +0300
2
+ +++ openssl-1.1.0f/Configurations/unix-Makefile.tmpl 2017-10-22 13:26:21.199065333 +0300
3
+ @@ -260,7 +260,7 @@
4
+ @echo "Tests are not supported with your chosen Configure options"
5
+ @ : {- output_on() if !$disabled{tests}; "" -}
6
+
7
+ -install: install_sw install_ssldirs install_docs
8
+ +install: install_sw install_ssldirs
9
+
10
+ uninstall: uninstall_docs uninstall_sw
11
+
@@ -0,0 +1,22 @@
1
+ --- openssl-3.0.1/Configurations/unix-Makefile.tmpl.orig 2022-03-04 04:45:21.611028316 +0000
2
+ +++ openssl-3.0.1/Configurations/unix-Makefile.tmpl 2022-03-04 04:45:39.164848171 +0000
3
+ @@ -546,7 +546,7 @@
4
+ @echo "Tests are not supported with your chosen Configure options"
5
+ @ : {- output_on() if !$disabled{tests}; "" -}
6
+
7
+ -install: install_sw install_ssldirs install_docs {- $disabled{fips} ? "" : "install_fips" -}
8
+ +install: install_sw install_ssldirs {- $disabled{fips} ? "" : "install_fips" -}
9
+
10
+ uninstall: uninstall_docs uninstall_sw {- $disabled{fips} ? "" : "uninstall_fips" -}
11
+
12
+ --- openssl-3.0.1/Configurations/windows-makefile.tmpl.orig 2022-03-04 04:46:02.850951693 +0000
13
+ +++ openssl-3.0.1/Configurations/windows-makefile.tmpl 2022-03-04 04:46:13.353494915 +0000
14
+ @@ -453,7 +453,7 @@
15
+ @$(ECHO) "Tests are not supported with your chosen Configure options"
16
+ @{- output_on() if !$disabled{tests}; "\@rem" -}
17
+
18
+ -install: install_sw install_ssldirs install_docs {- $disabled{fips} ? "" : "install_fips" -}
19
+ +install: install_sw install_ssldirs {- $disabled{fips} ? "" : "install_fips" -}
20
+
21
+ uninstall: uninstall_docs uninstall_sw {- $disabled{fips} ? "" : "uninstall_fips" -}
22
+
@@ -0,0 +1,11 @@
1
+ --- a/Configure
2
+ +++ b/Configure
3
+ @@ -536,7 +536,7 @@ my %table=(
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,
@@ -0,0 +1,441 @@
1
+ diff -ru perl-5.18.1.orig/Configure perl-5.18.1/Configure
2
+ --- perl-5.18.1.orig/Configure 2013-08-11 20:44:47.000000000 -0600
3
+ +++ perl-5.18.1/Configure 2019-08-21 09:07:10.876345427 -0600
4
+ @@ -1381,7 +1381,7 @@
5
+ : set usesocks on the Configure command line to enable socks.
6
+ : List of libraries we want.
7
+ : If anyone needs extra -lxxx, put those in a hint file.
8
+ -libswanted="sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun"
9
+ +libswanted="sfio socket bind inet nm ndbm gdbm dbm db malloc dl dld ld sun"
10
+ libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD"
11
+ : We probably want to search /usr/shlib before most other libraries.
12
+ : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
13
+ diff -ru perl-5.18.1.orig/configure.com perl-5.18.1/configure.com
14
+ --- perl-5.18.1.orig/configure.com 2013-08-11 20:44:47.000000000 -0600
15
+ +++ perl-5.18.1/configure.com 2019-08-21 09:07:10.878345427 -0600
16
+ @@ -121,7 +121,7 @@
17
+ $!: full support for void wanted by default !sfn
18
+ $!defvoidused=15 !sfn
19
+ $!: List of libraries we want. !sfn
20
+ -$!libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl' !sfn
21
+ +$!libswanted='net socket inet nm ndbm gdbm dbm db malloc dl' !sfn
22
+ $!libswanted="$libswanted dld ld sun m c cposix posix ndir dir crypt" !sfn
23
+ $!libswanted="$libswanted ucb bsd BSD PW x" !sfn
24
+ $!: We probably want to search /usr/shlib before most other libraries. !sfn
25
+ diff -ru perl-5.18.1.orig/cpan/Config-Perl-V/t/20_plv.t perl-5.18.1/cpan/Config-Perl-V/t/20_plv.t
26
+ --- perl-5.18.1.orig/cpan/Config-Perl-V/t/20_plv.t 2013-08-11 20:44:47.000000000 -0600
27
+ +++ perl-5.18.1/cpan/Config-Perl-V/t/20_plv.t 2019-08-21 09:07:10.879345427 -0600
28
+ @@ -48,8 +48,8 @@
29
+ Linker and Libraries:
30
+ ld='cc', ldflags ='-L/pro/local/lib'
31
+ libpth=/pro/local/lib /lib /usr/lib /usr/local/lib
32
+ - libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
33
+ - perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
34
+ + libs=-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
35
+ + perllibs=-ldl -lm -lcrypt -lutil -lc
36
+ libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a
37
+ gnulibc_version='2.6.1'
38
+ Dynamic Linking:
39
+ diff -ru perl-5.18.1.orig/Cross/config.sh-arm-linux perl-5.18.1/Cross/config.sh-arm-linux
40
+ --- perl-5.18.1.orig/Cross/config.sh-arm-linux 2013-08-11 20:44:47.000000000 -0600
41
+ +++ perl-5.18.1/Cross/config.sh-arm-linux 2019-08-21 09:08:35.251345202 -0600
42
+ @@ -777,12 +777,12 @@
43
+ libc='/lib/libc-2.2.2.so'
44
+ libperl='libperl.so'
45
+ libpth='/usr/local/lib /lib /usr/lib'
46
+ -libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
47
+ +libs='-ldl -lm -lcrypt -lutil -lc'
48
+ libsdirs=' /usr/lib'
49
+ -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
50
+ -libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
51
+ +libsfiles=' libdl.so libm.so libcrypt.so libutil.so libc.so'
52
+ +libsfound=' /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
53
+ libspath=' /usr/local/lib /lib /usr/lib'
54
+ -libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
55
+ +libswanted='sfio socket bind inet nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
56
+ libswanted_uselargefiles=''
57
+ line=''
58
+ lint=''
59
+ @@ -865,7 +865,7 @@
60
+ perl_patchlevel=''
61
+ perl_static_inline='static'
62
+ perladmin='red@criticalintegration.com'
63
+ -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
64
+ +perllibs='-ldl -lm -lcrypt -lutil -lc'
65
+ perlpath='/usr/bin/perl'
66
+ pg='pg'
67
+ phostname='hostname'
68
+ diff -ru perl-5.18.1.orig/Cross/config.sh-arm-linux-n770 perl-5.18.1/Cross/config.sh-arm-linux-n770
69
+ --- perl-5.18.1.orig/Cross/config.sh-arm-linux-n770 2013-08-11 20:44:47.000000000 -0600
70
+ +++ perl-5.18.1/Cross/config.sh-arm-linux-n770 2019-08-21 09:08:35.252345202 -0600
71
+ @@ -748,12 +748,12 @@
72
+ libc='/lib/libc-2.2.2.so'
73
+ libperl='libperl.arma'
74
+ libpth='/usr/local/lib /lib /usr/lib'
75
+ -libs='-lnsl -ldl -lm -lcrypt -lutil -lc'
76
+ +libs='-ldl -lm -lcrypt -lutil -lc'
77
+ libsdirs=' /usr/lib'
78
+ -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
79
+ -libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
80
+ +libsfiles=' libdl.so libm.so libcrypt.so libutil.so libc.so'
81
+ +libsfound=' /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
82
+ libspath=' /usr/local/lib /lib /usr/lib'
83
+ -libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
84
+ +libswanted='sfio socket bind inet nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
85
+ libswanted_uselargefiles=''
86
+ line=''
87
+ lint=''
88
+ @@ -835,7 +835,7 @@
89
+ perl=''
90
+ perl_patchlevel=''
91
+ perladmin='red@criticalintegration.com'
92
+ -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
93
+ +perllibs='-ldl -lm -lcrypt -lutil -lc'
94
+ perlpath='/usr/bin/perl'
95
+ pg='pg'
96
+ phostname='hostname'
97
+ diff -ru perl-5.18.1.orig/hints/aix_4.sh perl-5.18.1/hints/aix_4.sh
98
+ --- perl-5.18.1.orig/hints/aix_4.sh 2013-04-30 20:52:55.000000000 -0600
99
+ +++ perl-5.18.1/hints/aix_4.sh 2019-08-21 09:07:10.880345427 -0600
100
+ @@ -583,7 +583,7 @@
101
+
102
+ ***
103
+ *** You seem to be compiling in AIX for the OS/400 PASE environment.
104
+ -*** I'm not going to use the AIX bind, nsl, and possible util libraries, then.
105
+ +*** I'm not going to use the AIX bind, and possible util libraries, then.
106
+ *** I'm also not going to install perl as /usr/bin/perl.
107
+ *** Perl will be installed under $prefix.
108
+ *** For instructions how to install this build from AIX to PASE,
109
+ @@ -591,7 +591,7 @@
110
+ *** about "Operating system name".
111
+ ***
112
+ EOF
113
+ - set `echo " $libswanted " | sed -e 's@ bind @ @' -e 's@ nsl @ @' -e 's@ util @ @'`
114
+ + set `echo " $libswanted " | sed -e 's@ bind @ @' -e 's@ util @ @'`
115
+ shift
116
+ libswanted="$*"
117
+ installusrbinperl="$undef"
118
+ diff -ru perl-5.18.1.orig/hints/aix.sh perl-5.18.1/hints/aix.sh
119
+ --- perl-5.18.1.orig/hints/aix.sh 2013-08-11 20:44:48.000000000 -0600
120
+ +++ perl-5.18.1/hints/aix.sh 2019-08-21 09:07:10.880345427 -0600
121
+ @@ -505,7 +505,7 @@
122
+
123
+ ***
124
+ *** You seem to be compiling in AIX for the OS/400 PASE environment.
125
+ -*** I'm not going to use the AIX bind, nsl, and possible util libraries, then.
126
+ +*** I'm not going to use the AIX bind, and possible util libraries, then.
127
+ *** I'm also not going to install perl as /usr/bin/perl.
128
+ *** Perl will be installed under $prefix.
129
+ *** For instructions how to install this build from AIX to PASE,
130
+ @@ -513,7 +513,7 @@
131
+ *** about "Operating system name".
132
+ ***
133
+ EOF
134
+ - set `echo " $libswanted " | sed -e 's@ bind @ @' -e 's@ nsl @ @' -e 's@ util @ @'`
135
+ + set `echo " $libswanted " | sed -e 's@ bind @ @' -e 's@ util @ @'`
136
+ shift
137
+ libswanted="$*"
138
+ installusrbinperl="$undef"
139
+ diff -ru perl-5.18.1.orig/hints/dgux.sh perl-5.18.1/hints/dgux.sh
140
+ --- perl-5.18.1.orig/hints/dgux.sh 2013-08-11 20:44:48.000000000 -0600
141
+ +++ perl-5.18.1/hints/dgux.sh 2019-08-21 09:07:10.880345427 -0600
142
+ @@ -154,7 +154,7 @@
143
+ #libswanted="dbm posix $libswanted"
144
+ # Do *NOT* add there the malloc native
145
+ # DG/UX library!
146
+ -libswanted="dbm posix resolv socket nsl dl m"
147
+ +libswanted="dbm posix resolv socket dl m"
148
+
149
+ #####################################
150
+ # <takis@XFree86.Org>
151
+ @@ -203,7 +203,7 @@
152
+ # DG/UX's sched_yield is in -lrte
153
+ # Do *NOT* add there the malloc native
154
+ # DG/UX library!
155
+ - libswanted="dbm posix resolv socket nsl dl m rte"
156
+ + libswanted="dbm posix resolv socket dl m rte"
157
+ archname="ix86-dgux-thread"
158
+ sitearch="$prefix/lib/perl518/$archname"
159
+ sitelib="$prefix/lib/perl518"
160
+ diff -ru perl-5.18.1.orig/hints/epix.sh perl-5.18.1/hints/epix.sh
161
+ --- perl-5.18.1.orig/hints/epix.sh 2013-04-30 20:52:55.000000000 -0600
162
+ +++ perl-5.18.1/hints/epix.sh 2019-08-21 09:07:10.880345427 -0600
163
+ @@ -37,7 +37,7 @@
164
+ # Old version had this, but I'm not sure why since the old version
165
+ # also mucked around with libswanted. This is also definitely wrong
166
+ # if the user is trying to use DB_File or GDBM_File.
167
+ -# libs='-lsocket -lnsl -ldbm -ldl -lc -lcrypt -lm -lucb'
168
+ +# libs='-lsocket -ldbm -ldl -lc -lcrypt -lm -lucb'
169
+
170
+ # We include support for using libraries in /usr/ucblib, but the setting
171
+ # of libswanted excludes some libraries found there. You may want to
172
+ diff -ru perl-5.18.1.orig/hints/gnu.sh perl-5.18.1/hints/gnu.sh
173
+ --- perl-5.18.1.orig/hints/gnu.sh 2013-05-23 17:38:10.000000000 -0600
174
+ +++ perl-5.18.1/hints/gnu.sh 2019-08-21 09:07:10.880345427 -0600
175
+ @@ -4,7 +4,7 @@
176
+
177
+ # libnsl is unusable on the Hurd.
178
+ # XXX remove this once SUNRPC is implemented.
179
+ -set `echo X "$libswanted "| sed -e 's/ nsl / /' -e 's/ c / pthread /'`
180
+ +set `echo X "$libswanted "| sed -e 's/ c / pthread /'`
181
+ shift
182
+ libswanted="$*"
183
+
184
+ diff -ru perl-5.18.1.orig/hints/irix_5.sh perl-5.18.1/hints/irix_5.sh
185
+ --- perl-5.18.1.orig/hints/irix_5.sh 2013-02-26 14:28:27.000000000 -0700
186
+ +++ perl-5.18.1/hints/irix_5.sh 2019-08-21 09:07:10.881345427 -0600
187
+ @@ -27,9 +27,9 @@
188
+ esac
189
+
190
+ lddlflags="-shared"
191
+ -# For some reason we don't want -lsocket -lnsl or -ldl. Can anyone
192
+ +# For some reason we don't want -lsocket or -ldl. Can anyone
193
+ # contribute an explanation?
194
+ -set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'`
195
+ +set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ dl / /'`
196
+ shift
197
+ libswanted="$*"
198
+
199
+ diff -ru perl-5.18.1.orig/hints/irix_6_0.sh perl-5.18.1/hints/irix_6_0.sh
200
+ --- perl-5.18.1.orig/hints/irix_6_0.sh 2013-02-26 14:28:27.000000000 -0700
201
+ +++ perl-5.18.1/hints/irix_6_0.sh 2019-08-21 09:07:10.881345427 -0600
202
+ @@ -19,7 +19,7 @@
203
+ lddlflags="-32 -shared"
204
+
205
+ # We don't want these libraries. Anyone know why?
206
+ -set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'`
207
+ +set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ dl / /'`
208
+ shift
209
+ libswanted="$*"
210
+ #
211
+ @@ -29,7 +29,7 @@
212
+ # taken from irix_5.sh . Changes from irix_5.sh:
213
+ # Olimit and nested comments (warning 1009) no longer accepted
214
+ # -OPT:fold_arith_limit so POSIX module will optimize
215
+ -# no 64bit versions of sun, crypt, nsl, socket, dl dso's available
216
+ +# no 64bit versions of sun, crypt, socket, dl dso's available
217
+ # as of IRIX 6.0.1 so omit those from libswanted line via `sed'.
218
+
219
+ # perl 5 built with this hints file passes most tests (`make test').
220
+ @@ -38,7 +38,7 @@
221
+ # i_time='define'
222
+ # ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -woff 1009 -OPT:fold_arith_limit=1046"
223
+ # lddlflags="-shared"
224
+ -# set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ sun / /' -e 's/ crypt / /' -e 's/ nsl / /' -e 's/ dl / /'`
225
+ +# set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ sun / /' -e 's/ crypt / /' -e 's/ dl / /'`
226
+ # shift
227
+ # libswanted="$*"
228
+
229
+ diff -ru perl-5.18.1.orig/hints/irix_6_1.sh perl-5.18.1/hints/irix_6_1.sh
230
+ --- perl-5.18.1.orig/hints/irix_6_1.sh 2013-02-26 14:28:27.000000000 -0700
231
+ +++ perl-5.18.1/hints/irix_6_1.sh 2019-08-21 09:07:10.881345427 -0600
232
+ @@ -19,7 +19,7 @@
233
+ lddlflags="-32 -shared"
234
+
235
+ # We don't want these libraries. Anyone know why?
236
+ -set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'`
237
+ +set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ dl / /'`
238
+ shift
239
+ libswanted="$*"
240
+ #
241
+ @@ -29,7 +29,7 @@
242
+ # taken from irix_5.sh . Changes from irix_5.sh:
243
+ # Olimit and nested comments (warning 1009) no longer accepted
244
+ # -OPT:fold_arith_limit so POSIX module will optimize
245
+ -# no 64bit versions of sun, crypt, nsl, socket, dl dso's available
246
+ +# no 64bit versions of sun, crypt, socket, dl dso's available
247
+ # as of IRIX 6.0.1 so omit those from libswanted line via `sed'.
248
+
249
+ # perl 5 built with this hints file passes most tests (`make test').
250
+ @@ -38,7 +38,7 @@
251
+ # i_time='define'
252
+ # ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -woff 1009 -OPT:fold_arith_limit=1046"
253
+ # lddlflags="-shared"
254
+ -# set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ sun / /' -e 's/ crypt / /' -e 's/ nsl / /' -e 's/ dl / /'`
255
+ +# set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ sun / /' -e 's/ crypt / /' -e 's/ dl / /'`
256
+ # shift
257
+ # libswanted="$*"
258
+
259
+ diff -ru perl-5.18.1.orig/hints/irix_6.sh perl-5.18.1/hints/irix_6.sh
260
+ --- perl-5.18.1.orig/hints/irix_6.sh 2013-04-30 20:52:55.000000000 -0600
261
+ +++ perl-5.18.1/hints/irix_6.sh 2019-08-21 09:07:10.881345427 -0600
262
+ @@ -359,7 +359,7 @@
263
+ # Socket networking is in libc, these are not installed by default,
264
+ # and just slow perl down. (scotth@sgi.com)
265
+ # librt contains nothing we need (some places need it for Time::HiRes) --jhi
266
+ -set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /' -e 's/ rt / /'`
267
+ +set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ dl / /' -e 's/ rt / /'`
268
+ shift
269
+ libswanted="$*"
270
+
271
+ diff -ru perl-5.18.1.orig/hints/powerux.sh perl-5.18.1/hints/powerux.sh
272
+ --- perl-5.18.1.orig/hints/powerux.sh 2013-04-30 20:52:55.000000000 -0600
273
+ +++ perl-5.18.1/hints/powerux.sh 2019-08-21 09:07:10.882345427 -0600
274
+ @@ -27,11 +27,11 @@
275
+ exit 2
276
+ fi
277
+
278
+ -# We DO NOT want -lmalloc or -lPW, we DO need -lgen to follow -lnsl, so
279
+ +# We DO NOT want -lmalloc or -lPW, we DO need -lgen to follow, so
280
+ # fixup libswanted to reflect that desire (also need -lresolv if you want
281
+ # DNS name lookup to work, which seems desirable :-).
282
+ #
283
+ -libswanted=`echo ' '$libswanted' ' | sed -e 's/ malloc / /' -e 's/ PW / /' -e 's/ nsl / nsl gen resolv /'`
284
+ +libswanted=`echo ' '$libswanted' ' | sed -e 's/ malloc / /' -e 's/ PW / /'`
285
+
286
+ # We DO NOT want /usr/ucblib in glibpth
287
+ #
288
+ diff -ru perl-5.18.1.orig/hints/titanos.sh perl-5.18.1/hints/titanos.sh
289
+ --- perl-5.18.1.orig/hints/titanos.sh 2013-02-26 14:28:27.000000000 -0700
290
+ +++ perl-5.18.1/hints/titanos.sh 2019-08-21 09:07:10.882345427 -0600
291
+ @@ -17,14 +17,14 @@
292
+ stdchar='unsigned char'
293
+ #
294
+ # Apparently there are some harmful libs in Configure's $libswanted.
295
+ -# Perl5.000 had: libs='-lnsl -ldbm -lPW -lmalloc -lm'
296
+ +# Perl5.000 had: libs='-ldbm -lPW -lmalloc -lm'
297
+ # Unfortunately, this line prevents users from including things like
298
+ # -lgdbm and -ldb, which they may or may not have or want.
299
+ # We should probably fiddle with libswanted instead of libs.
300
+ # And even there, we should only bother to delete harmful libraries.
301
+ # However, I don't know what they are or why they should be deleted,
302
+ # so this will have to do for now. --AD 28 Mar 1995
303
+ -libswanted='sfio nsl dbm gdbm db PW malloc m'
304
+ +libswanted='sfio dbm gdbm db PW malloc m'
305
+ #
306
+ # Extensions: This system can not compile POSIX. We'll let Configure
307
+ # figure out the others.
308
+ diff -ru perl-5.18.1.orig/INSTALL perl-5.18.1/INSTALL
309
+ --- perl-5.18.1.orig/INSTALL 2013-08-11 20:44:47.000000000 -0600
310
+ +++ perl-5.18.1/INSTALL 2019-08-21 09:07:10.883345427 -0600
311
+ @@ -1583,7 +1583,7 @@
312
+ undefined symbols, check the libs variable in the config.sh file. It
313
+ should look something like
314
+
315
+ - libs='-lsocket -lnsl -ldl -lm -lc'
316
+ + libs='-lsocket -ldl -lm -lc'
317
+
318
+ The exact libraries will vary from system to system, but you typically
319
+ need to include at least the math library -lm. Normally, Configure
320
+ diff -ru perl-5.18.1.orig/NetWare/config.wc perl-5.18.1/NetWare/config.wc
321
+ --- perl-5.18.1.orig/NetWare/config.wc 2013-08-11 20:44:47.000000000 -0600
322
+ +++ perl-5.18.1/NetWare/config.wc 2019-08-21 09:07:10.883345427 -0600
323
+ @@ -757,7 +757,7 @@
324
+ libsfiles=''
325
+ libsfound=''
326
+ libspath=''
327
+ -libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
328
+ +libswanted='net socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
329
+ line='line'
330
+ lint=''
331
+ lkflags=''
332
+ diff -ru perl-5.18.1.orig/plan9/config_sh.sample perl-5.18.1/plan9/config_sh.sample
333
+ --- perl-5.18.1.orig/plan9/config_sh.sample 2013-08-11 20:44:48.000000000 -0600
334
+ +++ perl-5.18.1/plan9/config_sh.sample 2019-08-21 09:07:10.883345427 -0600
335
+ @@ -764,7 +764,7 @@
336
+ libsfiles=''
337
+ libsfound=''
338
+ libspath=' /lib'
339
+ -libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt sec ucb bsd BSD PW x util'
340
+ +libswanted='sfio socket bind inet nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt sec ucb bsd BSD PW x util'
341
+ libswanted_uselargefiles=''
342
+ line=''
343
+ lint=''
344
+ diff -ru perl-5.18.1.orig/pod/perlrun.pod perl-5.18.1/pod/perlrun.pod
345
+ --- perl-5.18.1.orig/pod/perlrun.pod 2013-08-11 20:44:48.000000000 -0600
346
+ +++ perl-5.18.1/pod/perlrun.pod 2019-08-21 09:07:10.884345427 -0600
347
+ @@ -862,11 +862,11 @@
348
+ $ perl -V:libc
349
+ libc='/lib/libc-2.2.4.so';
350
+ $ perl -V:lib.
351
+ - libs='-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc';
352
+ + libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc';
353
+ libc='/lib/libc-2.2.4.so';
354
+ $ perl -V:lib.*
355
+ libpth='/usr/local/lib /lib /usr/lib';
356
+ - libs='-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc';
357
+ + libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc';
358
+ lib_ext='.a';
359
+ libc='/lib/libc-2.2.4.so';
360
+ libperl='libperl.a';
361
+ diff -ru perl-5.18.1.orig/Porting/bisect-runner.pl perl-5.18.1/Porting/bisect-runner.pl
362
+ --- perl-5.18.1.orig/Porting/bisect-runner.pl 2013-08-11 20:44:47.000000000 -0600
363
+ +++ perl-5.18.1/Porting/bisect-runner.pl 2019-08-21 09:07:10.885345427 -0600
364
+ @@ -922,7 +922,7 @@
365
+ my @libs;
366
+ # This is the current libswanted list from Configure, less the libs removed
367
+ # by current hints/linux.sh
368
+ - foreach my $lib (qw(sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld
369
+ + foreach my $lib (qw(sfio socket inet nm ndbm gdbm dbm db malloc dl dld
370
+ ld sun m crypt sec util c cposix posix ucb BSD)) {
371
+ foreach my $dir (@paths) {
372
+ next unless -f "$dir/lib$lib.so";
373
+ diff -ru perl-5.18.1.orig/Porting/config.sh perl-5.18.1/Porting/config.sh
374
+ --- perl-5.18.1.orig/Porting/config.sh 2013-08-11 20:44:47.000000000 -0600
375
+ +++ perl-5.18.1/Porting/config.sh 2019-08-21 09:08:35.252345202 -0600
376
+ @@ -795,12 +795,12 @@
377
+ libc='/lib/libc-2.7.so'
378
+ libperl='libperl.a'
379
+ libpth='/usr/local/lib /lib /usr/lib'
380
+ -libs='-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat'
381
+ +libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat'
382
+ libsdirs=' /usr/lib'
383
+ -libsfiles=' libnsl.so libgdbm.so libdb.so libdl.so libm.so libcrypt.so libutil.so libc.so libgdbm_compat.so'
384
+ -libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so /usr/lib/libgdbm_compat.so'
385
+ +libsfiles=' libgdbm.so libdb.so libdl.so libm.so libcrypt.so libutil.so libc.so libgdbm_compat.so'
386
+ +libsfound=' /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so /usr/lib/libgdbm_compat.so'
387
+ libspath=' /usr/local/lib /lib /usr/lib'
388
+ -libswanted='sfio socket inet nsl nm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat'
389
+ +libswanted='sfio socket inet nm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat'
390
+ libswanted_uselargefiles=''
391
+ line=''
392
+ lint=''
393
+ @@ -886,7 +886,7 @@
394
+ perl_patchlevel='34948'
395
+ perl_static_inline='static __inline__'
396
+ perladmin='yourname@yourhost.yourplace.com'
397
+ -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
398
+ +perllibs='-ldl -lm -lcrypt -lutil -lc'
399
+ perlpath='/opt/perl/bin/perl5.18.1'
400
+ pg='pg'
401
+ phostname=''
402
+ diff -ru perl-5.18.1.orig/win32/config.ce perl-5.18.1/win32/config.ce
403
+ --- perl-5.18.1.orig/win32/config.ce 2013-08-11 20:44:49.000000000 -0600
404
+ +++ perl-5.18.1/win32/config.ce 2019-08-21 09:07:10.886345427 -0600
405
+ @@ -749,7 +749,7 @@
406
+ libsfiles=''
407
+ libsfound=''
408
+ libspath=''
409
+ -libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
410
+ +libswanted='net socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
411
+ line='line'
412
+ lint=''
413
+ lkflags=''
414
+ diff -ru perl-5.18.1.orig/win32/config.gc perl-5.18.1/win32/config.gc
415
+ --- perl-5.18.1.orig/win32/config.gc 2013-08-11 20:44:49.000000000 -0600
416
+ +++ perl-5.18.1/win32/config.gc 2019-08-21 09:07:10.886345427 -0600
417
+ @@ -775,8 +775,8 @@
418
+ libsfiles=''
419
+ libsfound=''
420
+ libspath=''
421
+ -libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
422
+ -libswanted_uselargefiles='net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
423
+ +libswanted='net socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
424
+ +libswanted_uselargefiles='net socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
425
+ line='line'
426
+ lint=''
427
+ lkflags=''
428
+ diff -ru perl-5.18.1.orig/win32/config.vc perl-5.18.1/win32/config.vc
429
+ --- perl-5.18.1.orig/win32/config.vc 2013-08-11 20:44:49.000000000 -0600
430
+ +++ perl-5.18.1/win32/config.vc 2019-08-21 09:07:10.887345427 -0600
431
+ @@ -774,8 +774,8 @@
432
+ libsfiles=''
433
+ libsfound=''
434
+ libspath=''
435
+ -libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
436
+ -libswanted_uselargefiles='net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
437
+ +libswanted='net socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
438
+ +libswanted_uselargefiles='net socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
439
+ line='line'
440
+ lint=''
441
+ lkflags=''