public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jindrich Novy <jnovy@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: - drop useless ldap library detection since curl doesn't dlopen()s it but
Date: Tue, 03 Nov 2026 12:32:49 GMT [thread overview]
Message-ID: <179370916984.1.11319637337469498961.rpms-curl-ec4866341d34@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : ec4866341d34238d80fb2a53636a45d6be35b4d6
Author : Jindrich Novy <jnovy@fedoraproject.org>
Date : 2007-11-30T11:24:24+00:00
Stats : +19/-20 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/ec4866341d34238d80fb2a53636a45d6be35b4d6?branch=curl-v8.23.0-3
Log:
- drop useless ldap library detection since curl doesn't dlopen()s it but
links to it -> BR: openldap-devel
- enable LDAPS support (#225671), thanks to Paul Howarth
- BR: krb5-devel to reenable GSSAPI support
- simplify build process
- update description
---
diff --git a/curl.spec b/curl.spec
index 6585d9c..4ffabfe 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,10 +1,7 @@
-# get the current ldap library version to link against automatically
-%define ldap_version %(readlink %{_libdir}/libldap.so | sed 's,.*libldap-\\([0-9.]*\\)\\.so\\..*,\\1,')
-
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.17.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: MIT
Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
@@ -16,15 +13,14 @@ Provides: webclient
URL: http://curl.haxx.se/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool, pkgconfig, libidn-devel, zlib-devel
-BuildRequires: nss-devel >= 3.11.7-7
+BuildRequires: nss-devel >= 3.11.7-7, openldap-devel, krb5-devel
-%description
-cURL is a tool for getting files from FTP, FTPS, HTTP, HTTPS, SFTP,
-TFTP, TELNET, DICT and FILE servers, using any of the supported
-protocols. cURL is designed to work without user interaction or any kind
-of interactivity. cURL offers many useful capabilities, like proxy
-support, user authentication, FTP upload, HTTP post, and file transfer
-resume.
+%description
+cURL is a tool for getting files from HTTP, FTP, FILE, LDAP, LDAPS,
+DICT, TELNET and TFTP servers, using any of the supported protocols.
+cURL is designed to work without user interaction or any kind of
+interactivity. cURL 5;3~offers many useful capabilities, like proxy support,
+user authentication, FTP upload, HTTP post, and file transfer resume.
%package -n libcurl
Summary: A library for getting files from web servers
@@ -56,19 +52,14 @@ use cURL's capabilities internally.
%patch4 -p1 -b .sslgen
%build
-if pkg-config nss ; then
- CPPFLAGS=`pkg-config --cflags nss`; export CPPFLAGS
- LDFLAGS=`pkg-config --libs nss`; export LDFLAGS
-fi
+export CPPFLAGS="$(pkg-config --cflags nss) -DHAVE_PK11_CREATEGENERICOBJECT"
%configure --without-ssl --with-nss=%{_prefix} --enable-ipv6 \
--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
--with-gssapi=%{_prefix}/kerberos --with-libidn \
- --with-ldap-lib=libldap-%{ldap_version}.so.0 \
- --with-lber-lib=liblber-%{ldap_version}.so.0 \
- --disable-static
+ --enable-ldaps --disable-static
sed -i -e 's,-L/usr/lib ,,g;s,-L/usr/lib64 ,,g;s,-L/usr/lib$,,g;s,-L/usr/lib64$,,g' \
Makefile libcurl.pc
-make CFLAGS="$RPM_OPT_FLAGS -DHAVE_PK11_CREATEGENERICOBJECT" %{?_smp_mflags}
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
@@ -115,6 +106,14 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/aclocal/libcurl.m4
%changelog
+* Fri Nov 30 2007 Jindrich Novy <jnovy@redhat.com> 7.17.1-3
+- drop useless ldap library detection since curl doesn't
+ dlopen()s it but links to it -> BR: openldap-devel
+- enable LDAPS support (#225671), thanks to Paul Howarth
+- BR: krb5-devel to reenable GSSAPI support
+- simplify build process
+- update description
+
* Wed Nov 21 2007 Jindrich Novy <jnovy@redhat.com> 7.17.1-2
- update description to contain complete supported servers list (#393861)
reply other threads:[~2026-11-03 12:32 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=179370916984.1.11319637337469498961.rpms-curl-ec4866341d34@fedoraproject.org \
--to=jnovy@fedoraproject.org \
--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