public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.21.0-9: drop the hide_selinux.c hack no longer needed in %check
Date: Mon, 02 Nov 2026 14:28:05 GMT	[thread overview]
Message-ID: <179362968542.1.3500157284974501893.rpms-curl-920074f0fc73@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.21.0-9
Commit : 920074f0fc73653190b7e3c2b525301c124adda2
Author : Kamil Dudka <kdudka@redhat.com>
Date   : 2013-03-06T16:24:25+01:00
Stats  : +1/-15 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/920074f0fc73653190b7e3c2b525301c124adda2?branch=curl-v8.21.0-9

Log:
drop the hide_selinux.c hack no longer needed in %check

---
diff --git a/curl.spec b/curl.spec
index 0ac3f0b..f05e2ea 100644
--- a/curl.spec
+++ b/curl.spec
@@ -6,7 +6,6 @@ License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
 Source2: curlbuild.h
-Source3: hide_selinux.c
 
 # fix a SIGSEGV when closing an unused multi handle (#914411)
 Patch1: 0001-curl-7.29.0-da3fc1ee.patch
@@ -165,12 +164,6 @@ export LD_LIBRARY_PATH
 cd tests
 make %{?_smp_mflags}
 
-# make it possible to start a testing OpenSSH server with SELinux
-# in the enforcing mode (#521087)
-gcc -o hide_selinux.so -fPIC -shared %{SOURCE3}
-LD_PRELOAD="`readlink -f ./hide_selinux.so`:$LD_PRELOAD"
-export LD_PRELOAD
-
 # use different port range for 32bit and 64bit build, thus make it possible
 # to run both in parallel on the same machine
 ./runtests.pl -a -b%{?__isa_bits}90 -p -v
@@ -234,6 +227,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Wed Mar 06 2013 Kamil Dudka <kdudka@redhat.com> 7.29.0-3
 - switch SSL socket into non-blocking mode after handshake
+- drop the hide_selinux.c hack no longer needed in %%check
 
 * Fri Feb 22 2013 Kamil Dudka <kdudka@redhat.com> 7.29.0-2
 - fix a SIGSEGV when closing an unused multi handle (#914411)

diff --git a/hide_selinux.c b/hide_selinux.c
deleted file mode 100644
index d34be1a..0000000
--- a/hide_selinux.c
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
- * make it possible to start a testing OpenSSH server with SELinux
- * in the enforcing mode (#521087)
- */
-int security_getenforce(void)
-{
-    return 0;
-}

                 reply	other threads:[~2026-11-02 14:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179362968542.1.3500157284974501893.rpms-curl-920074f0fc73@fedoraproject.org \
    --to=kdudka@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox