public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: drop the hide_selinux.c hack no longer needed in %check
@ 2026-11-03 12:35 Kamil Dudka
  0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-03 12:35 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.23.0-3
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.23.0-3

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;
-}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 12:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:35 [rpms/curl] curl-v8.23.0-3: drop the hide_selinux.c hack no longer needed in %check Kamil Dudka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox