Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/axel/
Date: Fri, 27 Oct 2017 22:42:46
Message-Id: 1509144155.277d3f4e063bbc2d3071afa0f49844504d7d9685.monsieurp@gentoo
1 commit: 277d3f4e063bbc2d3071afa0f49844504d7d9685
2 Author: Antonio Quartulli <a <AT> unstable <DOT> cc>
3 AuthorDate: Tue Oct 10 14:08:07 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 27 22:42:35 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=277d3f4e
7
8 net-misc/axel: update 9999 ebuild with latest URI, flags and instructions.
9
10 Signed-off-by: Antonio Quartulli <a <AT> unstable.cc>
11 Package-Manager: Portage-2.3.8, Repoman-2.3.3
12
13 net-misc/axel/axel-9999.ebuild | 17 ++++++++++++-----
14 1 file changed, 12 insertions(+), 5 deletions(-)
15
16 diff --git a/net-misc/axel/axel-9999.ebuild b/net-misc/axel/axel-9999.ebuild
17 index 70eda56e3f0..d4a43d0094f 100644
18 --- a/net-misc/axel/axel-9999.ebuild
19 +++ b/net-misc/axel/axel-9999.ebuild
20 @@ -6,9 +6,9 @@ EAPI=6
21 inherit autotools git-r3
22
23 DESCRIPTION="Light Unix download accelerator"
24 -HOMEPAGE="https://github.com/eribertomota/axel"
25 +HOMEPAGE="https://github.com/axel-download-accelerator/axel"
26 SRC_URI=""
27 -EGIT_REPO_URI="https://github.com/eribertomota/axel.git"
28 +EGIT_REPO_URI="https://github.com/axel-download-accelerator/axel.git"
29
30 LICENSE="GPL-2"
31 SLOT="0"
32 @@ -38,12 +38,19 @@ src_prepare() {
33 src_configure() {
34 econf \
35 $(use_enable nls) \
36 - $(use_with ssl openssl)
37 + $(use_with ssl)
38 }
39
40 pkg_postinst() {
41 - einfo 'To use axel with portage, try these settings in your make.conf'
42 + einfo 'To use axel with portage, create a script in'
43 + einfo '/usr/local/bin/fetchwrapper.sh with the following content:'
44 einfo
45 - einfo ' FETCHCOMMAND='\''axel -a -o "\${DISTDIR}/\${FILE}.axel" "\${URI}" && mv "\${DISTDIR}/\${FILE}.axel" "\${DISTDIR}/\${FILE}"'\'
46 + einfo ' #!/bin/bash'
47 + einfo ' set -e'
48 + einfo ' /usr/bin/axel -o "$1.axel" "$2"'
49 + einfo ' mv "$1.axel" "$1"'
50 + einfo
51 + einfo 'and then add the following to your make.conf:'
52 + einfo ' FETCHCOMMAND='\''/usr/local/bin/fetchwrapper.sh "\${DISTDIR}/\${FILE}" "\${URI}"'\'
53 einfo ' RESUMECOMMAND="${FETCHCOMMAND}"'
54 }