Accepting request 97958 from home:AndreasStieger:branches:network:utilities
- Update License to GPL-2.0+ - add axel-2.4-configure.patch to make configure script accept and ignore --disable-dependency-tracking OBS-URL: https://build.opensuse.org/request/show/97958 OBS-URL: https://build.opensuse.org/package/show/network:utilities/axel?expand=0&rev=5
This commit is contained in:
parent
f0988afe80
commit
dc2924c500
30
axel-2.4-configure.patch
Normal file
30
axel-2.4-configure.patch
Normal file
@ -0,0 +1,30 @@
|
||||
When called with --disable-dependency-tracking, the configure
|
||||
script would exit with the usage output. This patch make the script
|
||||
accept and ignore that option.
|
||||
|
||||
Index: configure
|
||||
===================================================================
|
||||
--- configure.orig 2009-04-27 15:19:03.000000000 +0100
|
||||
+++ configure 2011-12-22 16:46:32.000000000 +0000
|
||||
@@ -20,7 +20,7 @@ strip=1
|
||||
arch=`uname -s`
|
||||
|
||||
while [ -n "$1" ]; do
|
||||
- e="`expr "$1" : '--\(.*=.*\)'`"
|
||||
+ e="`expr "$1" : '--\(.*\)'`"
|
||||
if [ -z "$e" ]; then
|
||||
cat<<EOF
|
||||
Axel configure
|
||||
@@ -44,8 +44,10 @@ EOF
|
||||
|
||||
keyname=$(expr "$e" : '\(.*\)=.*' | sed 's/[^a-z0-9_]/_/g')
|
||||
value=$(expr "$e" : '.*=\(.*\)' | sed "s/'/_/g")
|
||||
-
|
||||
- eval "$keyname='$value'"
|
||||
+
|
||||
+ if [ -n "$value" ]; then
|
||||
+ eval "$keyname='$value'"
|
||||
+ fi
|
||||
shift;
|
||||
done
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 22 16:56:54 UTC 2011 - andreas.stieger@gmx.de
|
||||
|
||||
- Update License to GPL-2.0+
|
||||
- add axel-2.4-configure.patch to make configure script accept and
|
||||
ignore --disable-dependency-tracking
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 12 15:28:17 UTC 2010 - pascal.bleser@opensuse.org
|
||||
|
||||
|
46
axel.spec
46
axel.spec
@ -1,17 +1,36 @@
|
||||
#
|
||||
# spec file for package axel
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: axel
|
||||
Version: 2.4
|
||||
Release: 0
|
||||
License: GNU GPL v2
|
||||
Group: Productivity/Networking/Other
|
||||
URL: http://axel.alioth.debian.org/
|
||||
# http://alioth.debian.org/frs/download.php/3015/axel-%{version}.tar.gz
|
||||
Source: axel-%{version}.tar.bz2
|
||||
Patch1: axel-fix_buffer_overflow.patch
|
||||
Patch2: axel-getaddrinfo.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Lightweight Download Accelerator
|
||||
|
||||
Name: axel
|
||||
Version: 2.4
|
||||
Release: 0
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Networking/Other
|
||||
Url: http://axel.alioth.debian.org/
|
||||
Source: axel-%{version}.tar.bz2
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Lightweight Download Accelerator
|
||||
|
||||
%description
|
||||
Axel tries to accelerate HTTP/FTP downloading process by using multiple
|
||||
@ -23,6 +42,7 @@ byte-critical systems.
|
||||
%setup -q
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -48,3 +68,5 @@ byte-critical systems.
|
||||
%config %{_sysconfdir}/axelrc
|
||||
%{_bindir}/axel
|
||||
%doc %{_mandir}/man1/axel.1%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user