Accepting request 487601 from home:sebix:branches:network:utilities
OBS-URL: https://build.opensuse.org/request/show/487601 OBS-URL: https://build.opensuse.org/package/show/network:utilities/axel?expand=0&rev=6
This commit is contained in:
parent
11936b8def
commit
5f86a6b6e8
11
axel-fix-url-max-length.patch
Normal file
11
axel-fix-url-max-length.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- conn.c 2009-04-27 16:19:03.000000000 +0200
|
||||
+++ conn.c 2017-04-12 15:58:37.838976530 +0200
|
||||
@@ -326,7 +326,7 @@
|
||||
break;
|
||||
if( ( t = http_header( conn->http, "location:" ) ) == NULL )
|
||||
return( 0 );
|
||||
- sscanf( t, "%255s", s );
|
||||
+ sscanf( t, "%1024", s );
|
||||
if( strstr( s, "://" ) == NULL)
|
||||
{
|
||||
sprintf( conn->http->headers, "%s%s",
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 12 13:46:32 UTC 2017 - sebix+novell.com@sebix.at
|
||||
|
||||
- run spec-cleaner
|
||||
- add axel-fix-url-max-length.patch to accept longer URLs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 22 16:56:54 UTC 2011 - andreas.stieger@gmx.de
|
||||
|
||||
|
20
axel.spec
20
axel.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package axel
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,12 +15,11 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: axel
|
||||
Version: 2.4
|
||||
Release: 0
|
||||
Summary: Lightweight Download Accelerator
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Networking/Other
|
||||
Url: http://axel.alioth.debian.org/
|
||||
@ -29,8 +28,9 @@ Patch1: axel-fix_buffer_overflow.patch
|
||||
Patch2: axel-getaddrinfo.patch
|
||||
# PATCH-FIX-OPENSUSE axel-2.4-configure.patch andreas.stieger@gmx.de -- fix to accept and ignore --disable-dependency-tracking
|
||||
Patch3: axel-2.4-configure.patch
|
||||
# PATCH-FIX-OPENSUSE axel-fix-url-max-length.patch sebix+novell@sebix.at -- fix to accept longer URLs
|
||||
Patch4: axel-fix-url-max-length.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Lightweight Download Accelerator
|
||||
|
||||
%description
|
||||
Axel tries to accelerate HTTP/FTP downloading process by using multiple
|
||||
@ -43,6 +43,7 @@ byte-critical systems.
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -50,23 +51,20 @@ byte-critical systems.
|
||||
--strip=0 \
|
||||
--i18n=1
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%make_install
|
||||
|
||||
%__rm -rf "%{buildroot}%{_mandir}/zh_CN"
|
||||
rm -rf "%{buildroot}%{_mandir}/zh_CN"
|
||||
|
||||
%find_lang axel
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files -f axel.lang
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES
|
||||
%config %{_sysconfdir}/axelrc
|
||||
%{_bindir}/axel
|
||||
%doc %{_mandir}/man1/axel.1%{ext_man}
|
||||
%{_mandir}/man1/axel.1%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user