diff options
| author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-05 00:59:59 -0600 |
|---|---|---|
| committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-05 00:59:59 -0600 |
| commit | 17b6ff7c210625187a8a69c3f67e50587a8da1bc (patch) | |
| tree | f7b87216f20f777d0d1325c5f936f1cf314d5a12 | |
| parent | 8110c782065266da5492e913aa4a9a6aafb51fc4 (diff) | |
| download | cygwin-openssl-17b6ff7c210625187a8a69c3f67e50587a8da1bc.tar.gz cygwin-openssl-17b6ff7c210625187a8a69c3f67e50587a8da1bc.tar.xz cygwin-openssl-17b6ff7c210625187a8a69c3f67e50587a8da1bc.zip | |
cygwin-openssl 1.0.2m
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | cygwin-openssl.spec | 9 | ||||
| -rw-r--r-- | openssl-1.0.2a-enginesdir.patch | 52 | ||||
| -rw-r--r-- | openssl-1.0.2i-enginesdir.patch | 83 | ||||
| -rw-r--r-- | sources | 2 |
5 files changed, 90 insertions, 57 deletions
@@ -1 +1,2 @@ /openssl-1.0.2h.tar.gz +/openssl-1.0.2m.tar.gz diff --git a/cygwin-openssl.spec b/cygwin-openssl.spec index 6208db8..187f303 100644 --- a/cygwin-openssl.spec +++ b/cygwin-openssl.spec @@ -3,7 +3,7 @@ %define soversion 1.0.0 Name: cygwin-openssl -Version: 1.0.2h +Version: 1.0.2m Release: 1%{?dist} Summary: Cygwin port of the OpenSSL toolkit @@ -13,7 +13,7 @@ URL: http://www.openssl.org/ BuildArch: noarch Source0: http://www.openssl.org/source/openssl-%{version}.tar.gz -Patch0: openssl-1.0.2a-enginesdir.patch +Patch0: openssl-1.0.2i-enginesdir.patch Patch1: openssl-1.0.2-debuginfo.patch BuildRequires: cygwin32-filesystem @@ -44,8 +44,6 @@ OpenSSL encryption toolkit for Cygwin toolchains. %package -n cygwin32-openssl Summary: Cygwin32 OpenSSL libraries Group: Development/Libraries -Provides: %{name} = %{version}-%{release} -Obsoletes: %{name} < %{version}-%{release} %description -n cygwin32-openssl OpenSSL encryption toolkit for the Cygwin i686 toolchain. @@ -155,6 +153,9 @@ rm -rf $RPM_BUILD_ROOT%{cygwin64_mandir} %changelog +* Tue Dec 05 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.0.2m-1 +- new version + * Sun Sep 11 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 1.0.2h-1 - Version bump. diff --git a/openssl-1.0.2a-enginesdir.patch b/openssl-1.0.2a-enginesdir.patch deleted file mode 100644 index 10baf5a..0000000 --- a/openssl-1.0.2a-enginesdir.patch +++ /dev/null @@ -1,52 +0,0 @@ -diff -up openssl-1.0.2a/Configure.enginesdir openssl-1.0.2a/Configure ---- openssl-1.0.2a/Configure.enginesdir 2015-04-20 14:37:58.137392222 +0200 -+++ openssl-1.0.2a/Configure 2015-04-20 14:37:58.140392292 +0200 -@@ -702,6 +702,7 @@ my $idx_multilib = $idx++; - my $prefix=""; - my $libdir=""; - my $openssldir=""; -+my $enginesdir=""; - my $exe_ext=""; - my $install_prefix= "$ENV{'INSTALL_PREFIX'}"; - my $cross_compile_prefix=""; -@@ -929,6 +930,10 @@ PROCESS_ARGS: - { - $openssldir=$1; - } -+ elsif (/^--enginesdir=(.*)$/) -+ { -+ $enginesdir=$1; -+ } - elsif (/^--install.prefix=(.*)$/) - { - $install_prefix=$1; -@@ -1185,7 +1190,7 @@ chop $prefix if $prefix =~ /.\/$/; - - $openssldir=$prefix . "/ssl" if $openssldir eq ""; - $openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/])/; -- -+$enginesdir="$prefix/lib/engines" if $enginesdir eq ""; - - print "IsMK1MF=$IsMK1MF\n"; - -@@ -1871,7 +1876,7 @@ while (<IN>) - } - elsif (/^#define\s+ENGINESDIR/) - { -- my $foo = "$prefix/$libdir/engines"; -+ my $foo = "$enginesdir"; - $foo =~ s/\\/\\\\/g; - print OUT "#define ENGINESDIR \"$foo\"\n"; - } -diff -up openssl-1.0.2a/engines/Makefile.enginesdir openssl-1.0.2a/engines/Makefile ---- openssl-1.0.2a/engines/Makefile.enginesdir 2015-04-20 14:37:58.140392292 +0200 -+++ openssl-1.0.2a/engines/Makefile 2015-04-20 14:40:15.570598383 +0200 -@@ -124,7 +124,7 @@ install: - esac; \ - cp $$pfx$$l$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ - fi; \ -- chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ -+ chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ - mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx ); \ - done; \ - fi diff --git a/openssl-1.0.2i-enginesdir.patch b/openssl-1.0.2i-enginesdir.patch new file mode 100644 index 0000000..862ef1b --- /dev/null +++ b/openssl-1.0.2i-enginesdir.patch @@ -0,0 +1,83 @@ +diff --git a/Configure b/Configure +index c39f71a..7f3d905 100755 +--- a/Configure ++++ b/Configure +@@ -727,6 +727,7 @@ my $idx_multilib = $idx++; + my $prefix=""; + my $libdir=""; + my $openssldir=""; ++my $enginesdir=""; + my $exe_ext=""; + my $install_prefix= "$ENV{'INSTALL_PREFIX'}"; + my $cross_compile_prefix=""; +@@ -956,6 +957,10 @@ PROCESS_ARGS: + { + $openssldir=$1; + } ++ elsif (/^--enginesdir=(.*)$/) ++ { ++ $enginesdir=$1; ++ } + elsif (/^--install.prefix=(.*)$/) + { + $install_prefix=$1; +@@ -1207,7 +1212,7 @@ chop $prefix if $prefix =~ /.\/$/; + + $openssldir=$prefix . "/ssl" if $openssldir eq ""; + $openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/])/; +- ++$enginesdir="$prefix/lib/engines" if $enginesdir eq ""; + + print "IsMK1MF=$IsMK1MF\n"; + +@@ -1709,6 +1714,7 @@ while (<IN>) + s/^INSTALLTOP=.*$/INSTALLTOP=$prefix/; + s/^MULTILIB=.*$/MULTILIB=$multilib/; + s/^OPENSSLDIR=.*$/OPENSSLDIR=$openssldir/; ++ s/^ENGINESDIR=.*$/ENGINESDIR=$enginesdir/; + s/^LIBDIR=.*$/LIBDIR=$libdir/; + s/^INSTALL_PREFIX=.*$/INSTALL_PREFIX=$install_prefix/; + s/^PLATFORM=.*$/PLATFORM=$target/; +@@ -1915,7 +1921,7 @@ while (<IN>) + } + elsif (/^#define\s+ENGINESDIR/) + { +- my $foo = "$prefix/$libdir/engines"; ++ my $foo = "$enginesdir"; + $foo =~ s/\\/\\\\/g; + print OUT "#define ENGINESDIR \"$foo\"\n"; + } +diff --git a/Makefile.org b/Makefile.org +index 2377f50..fe8d54c 100644 +--- a/Makefile.org ++++ b/Makefile.org +@@ -28,6 +28,7 @@ INSTALLTOP=/usr/local/ssl + + # Do not edit this manually. Use Configure --openssldir=DIR do change this! + OPENSSLDIR=/usr/local/ssl ++ENGINESDIR=$${libdir}/engines + + # NO_IDEA - Define to build without the IDEA algorithm + # NO_RC4 - Define to build without the RC4 algorithm +@@ -368,7 +369,7 @@ libcrypto.pc: Makefile + echo 'exec_prefix=$${prefix}'; \ + echo 'libdir=$${exec_prefix}/$(LIBDIR)'; \ + echo 'includedir=$${prefix}/include'; \ +- echo 'enginesdir=$${libdir}/engines'; \ ++ echo 'enginesdir=$(ENGINESDIR)'; \ + echo ''; \ + echo 'Name: OpenSSL-libcrypto'; \ + echo 'Description: OpenSSL cryptography library'; \ +diff --git a/engines/Makefile b/engines/Makefile +index 2058ff4..a2c407b 100644 +--- a/engines/Makefile ++++ b/engines/Makefile +@@ -124,7 +124,7 @@ install: + esac; \ + cp $$pfx$$l$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ + fi; \ +- chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ ++ chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ + mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx ); \ + done; \ + fi @@ -1 +1 @@ -9392e65072ce4b614c1392eefc1f23d0 openssl-1.0.2h.tar.gz +10e9e37f492094b9ef296f68f24a7666 openssl-1.0.2m.tar.gz |
