[packages/curl] remove ldap from requirements in pc file; rel 2
atler
atler at pld-linux.org
Fri Nov 15 11:45:13 CET 2024
commit 4dd74e99ceedd07a843955697e8b0d24b60bc56d
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Nov 15 10:38:47 2024 +0100
remove ldap from requirements in pc file; rel 2
our ancient openldap does not provide pc file, similarly to other
implementations hence it was already disabled upstream:
https://github.com/curl/curl/commit/d511ec8b0a56b2a99226fe556abe9f815153c648
curl.spec | 4 +++-
disable-ldap-pc.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/curl.spec b/curl.spec
index ef8d460..9b2caea 100644
--- a/curl.spec
+++ b/curl.spec
@@ -26,13 +26,14 @@ Summary(ru.UTF-8): Утилита для получения файлов с се
Summary(uk.UTF-8): Утиліта для отримання файлів з серверів FTP, HTTP та інших
Name: curl
Version: 8.11.0
-Release: 1
+Release: 2
License: MIT-like
Group: Applications/Networking
Source0: https://curl.se/download/%{name}-%{version}.tar.xz
# Source0-md5: 49dd886ac84ed3de693464f78f1ee926
Patch0: %{name}-ac.patch
Patch1: %{name}-krb5flags.patch
+Patch2: disable-ldap-pc.patch
URL: https://curl.se/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
@@ -244,6 +245,7 @@ Dopełnianianie parametrów w ZSH dla polecenia curl.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%{__rm} m4/lt*.m4 m4/libtool.m4
diff --git a/disable-ldap-pc.patch b/disable-ldap-pc.patch
new file mode 100644
index 0000000..04a335b
--- /dev/null
+++ b/disable-ldap-pc.patch
@@ -0,0 +1,11 @@
+--- curl-8.11.0/acinclude.m4.orig 2024-11-06 08:09:19.000000000 +0100
++++ curl-8.11.0/acinclude.m4 2024-11-15 10:28:27.723007598 +0100
+@@ -565,7 +565,7 @@
+ else
+ LIBS="$curl_cv_ldap_LIBS $curl_cv_save_LIBS"
+ fi
+- LIBCURL_PC_REQUIRES_PRIVATE="ldap $LIBCURL_PC_REQUIRES_PRIVATE"
++ #LIBCURL_PC_REQUIRES_PRIVATE="ldap $LIBCURL_PC_REQUIRES_PRIVATE"
+ AC_MSG_RESULT([$curl_cv_ldap_LIBS])
+ ;;
+ esac
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/curl.git/commitdiff/4dd74e99ceedd07a843955697e8b0d24b60bc56d
More information about the pld-cvs-commit
mailing list