[packages/wget] add libproxy support

atler atler at pld-linux.org
Mon Nov 18 21:42:29 CET 2024


commit 1f3533585bed7dfb4934b5a4b40044636bfb7fe4
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Nov 18 21:33:28 2024 +0100

    add libproxy support

 wget.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/wget.spec b/wget.spec
index be4b81a..18db78c 100644
--- a/wget.spec
+++ b/wget.spec
@@ -5,9 +5,10 @@
 # - add http://article.gmane.org/gmane.comp.web.wget.patches/2333
 #
 # Conditional build:
-%bcond_without	tests	# check target
-%bcond_without	metalink # build without metalink support
-%bcond_with	gnutls	# use GnuTLS (wget default) instead of OpenSSL
+%bcond_without	tests		# check target
+%bcond_without	metalink	# build without metalink support
+%bcond_with	gnutls		# use GnuTLS (wget default) instead of OpenSSL
+%bcond_without	libproxy	# libproxy support
 
 Summary:	A utility for retrieving files using the HTTP or FTP protocols
 Summary(es.UTF-8):	Cliente en línea de comando para bajar archivos WWW/FTP con recursión opcional
@@ -41,6 +42,7 @@ BuildRequires:	gettext-tools >= 0.21
 %{?with_metalink:BuildRequires:	gpgme-devel >= 0.4.2}
 BuildRequires:	libidn2-devel >= 0.14.0
 %{?with_metalink:BuildRequires:	libmetalink-devel}
+%{?with_libproxy:BuildRequires:	libproxy-devel}
 BuildRequires:	libpsl-devel >= 0.16.0
 BuildRequires:	libuuid-devel
 BuildRequires:	lzip
@@ -167,6 +169,7 @@ chmod +x build-aux/bzr-version-gen
 	--enable-ipv6 \
 	--enable-iri \
 	--enable-largefile \
+	%{?with_libproxy:--enable-libproxy} \
 	--enable-nls \
 	--enable-ntlm \
 	--enable-opie \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wget.git/commitdiff/1f3533585bed7dfb4934b5a4b40044636bfb7fe4



More information about the pld-cvs-commit mailing list