added ca-certificates setting to wgetrc and configure options from Fedora to fix SSL support [release 1.21.2-2mamba;Sun Nov 28 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 19:14:29 +01:00
parent ce55e4fde5
commit 02785afade

View File

@ -2,7 +2,7 @@
Name: wget Name: wget
Version: 1.21.2 Version: 1.21.2
Release: 1mamba Release: 2mamba
Epoch: 1 Epoch: 1
Summary: A utility for retrieving files using the HTTP or FTP protocols Summary: A utility for retrieving files using the HTTP or FTP protocols
Group: Applications/Networking Group: Applications/Networking
@ -34,6 +34,7 @@ BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: gettext-devel BuildRequires: gettext-devel
Requires(post):%{__install_info} Requires(post):%{__install_info}
Requires: ca-certificates
%description %description
GNU Wget is a file retrieval utility which can use either the HTTP or FTP protocols. GNU Wget is a file retrieval utility which can use either the HTTP or FTP protocols.
@ -43,22 +44,25 @@ Wget features include the ability to work in the background while you're logged
%prep %prep
%setup -q %setup -q
#%patch0 -p1 -b .msec cat >> doc/sample.wgetrc <<EOF
#%patch1 -p1 -b .passive_ftp.patch
#%patch2 -p1 -b .etc # default root certs location
#%patch3 -p1 -b .logstdout ca_certificate=/etc/ssl/certs/ca-certificates.crt
#%patch4 -p1 -b .can-2004-1487_1488 EOF
#%patch5 -p1 -b .ctype
#%patch6 -p1 -b .cve-2006-6719
#%patch7 -p0
%build %build
autoreconf %configure \
%if %with_ssl --with-ssl=gnutls \
%configure --with-ssl --with-libpsl \
%else --enable-largefile \
%configure --enable-opie \
%endif --enable-digest \
--enable-ntlm \
--enable-nls \
--enable-ipv6 \
--disable-rpath \
--with-metalink \
--disable-year2038
%make %make
@ -81,15 +85,16 @@ exit 0
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/wget
#%{_bindir}/rmold
%config(noreplace) %{_sysconfdir}/wgetrc %config(noreplace) %{_sysconfdir}/wgetrc
%{_bindir}/wget
%{_mandir}/man1/* %{_mandir}/man1/*
%{_infodir}/%{name}.info.* %{_infodir}/%{name}.info.*
%doc AUTHORS COPYING %doc AUTHORS COPYING
#MAILING-LIST NEWS README
%changelog %changelog
* Sun Nov 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21.2-2mamba
- added ca-certificates setting to wgetrc and configure options from Fedora to fix SSL support
* Wed Sep 08 2021 Automatic Build System <autodist@mambasoft.it> 1.21.2-1mamba * Wed Sep 08 2021 Automatic Build System <autodist@mambasoft.it> 1.21.2-1mamba
- automatic version update by autodist - automatic version update by autodist