public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openssl] rebase_40beta: one more try to apply RPM_LD_FLAGS properly (#1541033)
@ 2026-06-09 12:44 Tomas Mraz
0 siblings, 0 replies; only message in thread
From: Tomas Mraz @ 2026-06-09 12:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/openssl
Branch : rebase_40beta
Commit : 6d92af0099a1962d448fa0d0787e9e40f93b91f8
Author : Tomas Mraz <tmraz@fedoraproject.org>
Date : 2018-02-23T17:01:58+01:00
Stats : +8/-29 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/openssl/c/6d92af0099a1962d448fa0d0787e9e40f93b91f8?branch=rebase_40beta
Log:
one more try to apply RPM_LD_FLAGS properly (#1541033)
dropped unneeded starttls xmpp patch (#1417017)
---
diff --git a/openssl-1.1.0-starttls-xmpp.patch b/openssl-1.1.0-starttls-xmpp.patch
deleted file mode 100644
index 68341ba..0000000
--- a/openssl-1.1.0-starttls-xmpp.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -up openssl-1.1.0-pre5/apps/s_client.c.xmpp openssl-1.1.0-pre5/apps/s_client.c
---- openssl-1.1.0-pre5/apps/s_client.c.xmpp 2016-07-20 14:53:39.008233281 +0200
-+++ openssl-1.1.0-pre5/apps/s_client.c 2016-07-20 14:56:24.452962890 +0200
-@@ -134,6 +134,8 @@
- * OTHERWISE.
- */
-
-+/* for strcasestr */
-+#define _GNU_SOURCE
- #include <ctype.h>
- #include <stdio.h>
- #include <stdlib.h>
-@@ -2023,9 +2025,9 @@ int s_client_main(int argc, char **argv)
- xmpphost ? xmpphost : host);
- seen = BIO_read(sbio, mbuf, BUFSIZZ);
- mbuf[seen] = 0;
-- while (!strstr
-+ while (!strcasestr
- (mbuf, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'")
-- && !strstr(mbuf,
-+ && !strcasestr(mbuf,
- "<starttls xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\""))
- {
- seen = BIO_read(sbio, mbuf, BUFSIZZ);
diff --git a/openssl.spec b/openssl.spec
index 880022e..af665df 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -22,7 +22,7 @@
Summary: Utilities from the general purpose cryptography library with TLS implementation
Name: openssl
Version: 1.1.0g
-Release: 5%{?dist}
+Release: 6%{?dist}
Epoch: 1
# We have to remove certain patented algorithms from the openssl source
# tarball with the hobble-openssl script which is included below.
@@ -49,7 +49,6 @@ Patch23: openssl-1.1.0-manfix.patch
Patch31: openssl-1.1.0-ca-dir.patch
Patch32: openssl-1.1.0-version-add-engines.patch
Patch33: openssl-1.1.0-apps-dgst.patch
-Patch34: openssl-1.1.0-starttls-xmpp.patch
Patch35: openssl-1.1.0-chil-fixes.patch
Patch36: openssl-1.1.0-secure-getenv.patch
Patch37: openssl-1.1.0-ec-curves.patch
@@ -66,6 +65,7 @@ Patch46: openssl-1.1.0-silent-rnd-write.patch
License: OpenSSL
Group: System Environment/Libraries
URL: http://www.openssl.org/
+BuildRequires: gcc
BuildRequires: coreutils, krb5-devel, perl-interpreter, sed, zlib-devel, /usr/bin/cmp
BuildRequires: lksctp-tools-devel
BuildRequires: /usr/bin/rename
@@ -151,7 +151,6 @@ cp %{SOURCE13} test/
%patch31 -p1 -b .ca-dir
%patch32 -p1 -b .version-add-engines
%patch33 -p1 -b .dgst
-%patch34 -p1 -b .xmpp
%patch35 -p1 -b .chil
%patch36 -p1 -b .secure-getenv
%patch37 -p1 -b .curves
@@ -228,7 +227,7 @@ sslarch=linux-generic64
# marked as not requiring an executable stack.
# Also add -DPURIFY to make using valgrind with openssl easier as we do not
# want to depend on the uninitialized memory as a source of entropy anyway.
-RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack -DPURIFY"
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack -DPURIFY $RPM_LD_FLAGS"
export HASHBANGPERL=/usr/bin/perl
@@ -247,7 +246,7 @@ export HASHBANGPERL=/usr/bin/perl
util/mkdef.pl crypto update
-make all LDFLAGS="$RPM_LD_FLAGS"
+make all
# Overwrite FIPS README
cp -f %{SOURCE11} .
@@ -430,6 +429,10 @@ export LD_LIBRARY_PATH
%postun libs -p /sbin/ldconfig
%changelog
+* Fri Feb 23 2018 Tomáš Mráz <tmraz@redhat.com> 1.1.0g-6
+- one more try to apply RPM_LD_FLAGS properly (#1541033)
+- dropped unneeded starttls xmpp patch (#1417017)
+
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.0g-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-09 12:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 12:44 [rpms/openssl] rebase_40beta: one more try to apply RPM_LD_FLAGS properly (#1541033) Tomas Mraz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox