public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/axel/
Date: Tue,  3 Oct 2017 21:34:09 +0000 (UTC)	[thread overview]
Message-ID: <1507066418.8569656db073515227caa52f2bd4d5020de74796.monsieurp@gentoo> (raw)

commit:     8569656db073515227caa52f2bd4d5020de74796
Author:     Antonio Quartulli <a <AT> unstable <DOT> cc>
AuthorDate: Tue Oct  3 01:56:18 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Oct  3 21:33:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8569656d

net-misc/axel: version bump to 2.14.1.

At the same time improve the instructions given
by the ebuild about how to use axel with portage.

Closes: https://bugs.gentoo.org/628456
Closes: https://github.com/gentoo/gentoo/pull/5841
Package-Manager: Portage-2.3.8, Repoman-2.3.1

 net-misc/axel/Manifest           |  1 +
 net-misc/axel/axel-2.14.1.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/net-misc/axel/Manifest b/net-misc/axel/Manifest
index 48500a58b56..289d41fbb9b 100644
--- a/net-misc/axel/Manifest
+++ b/net-misc/axel/Manifest
@@ -1,2 +1,3 @@
 DIST axel-2.12.tar.gz 82995 SHA256 28e7bb26b7be3f56a61b60ef07e15e05ea9a41850b0ed45a0c56d6d2202f4a8b SHA512 5e163c319366f7efd16f8b35dbcf901300c884ab303696dabe87ad47511f56cc3f1e399af738dc79ca717ca70fd529b6dd1adf30f5162cfb530105ce34e2eaf2 WHIRLPOOL dece4ad9eae5441e0b24952a96189417e75eb155ad46b199ce531b35fa6d027ffb75a16c016044a37dd4e76601865e51c0310b69b7fc70b974f9b67a6b2b1fe5
+DIST axel-2.14.1.tar.gz 89356 SHA256 acf6820d98a792faf309fc9acf22f7caf4b8a4b7001072c8f546b3c4fc755e39 SHA512 72c37fc6def0c765ed8220c27efe22255073b1e3cf1c8f6bda5ee2ce9cd36ac46263ac602a185efd40ca8f197a268612f2dcda69bcb49891c2538b910d971e8b WHIRLPOOL 1384ab65a689200f68d2549deb2f22526ae82a25f1b580ce5a270babc33d577513c2732a57676ea1e51b99eb09267960a5e24b6507ebca64a61d6ab4070eb374
 DIST axel-2.4.tar.bz2 44995 SHA256 ebc7d40e989c680d2afa632a17e5208101608924cf446da20814a6f3c3338612 SHA512 34d73cea19f2bf393aa8d3e4b6c24296f8b1d4e6177da6f4728763e013d5d9d073aa5dae31d0ff175126e8fcbd973daf94674a70f100afc9e7d00b92b78b8ec9 WHIRLPOOL 373af984738008572847ae0ed84a518d0b61323e3612f48affa96175792b0856c2bd13601ddcdd0c81ead5059ee41130759bf9b0ada2a2654f767ec69d992a0f

diff --git a/net-misc/axel/axel-2.14.1.ebuild b/net-misc/axel/axel-2.14.1.ebuild
new file mode 100644
index 00000000000..4bd7ad89659
--- /dev/null
+++ b/net-misc/axel/axel-2.14.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Light Unix download accelerator"
+HOMEPAGE="https://github.com/axel-download-accelerator/axel"
+SRC_URI="https://github.com/axel-download-accelerator/axel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris"
+IUSE="debug libressl nls ssl"
+
+REQUIRED_USE="libressl? ( ssl )"
+
+CDEPEND="
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= )
+	)
+"
+DEPEND="${CDEPEND}
+	nls? ( sys-devel/gettext )"
+RDEPEND="${CDEPEND}
+	nls? ( virtual/libintl virtual/libiconv )"
+
+DOCS=( doc/. )
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_enable nls) \
+		$(use_with ssl)
+}
+
+pkg_postinst() {
+	einfo 'To use axel with portage, create a script in'
+	einfo '/usr/local/bin/fetchwrapper.sh with the following content:'
+	einfo
+	einfo ' #!/bin/bash'
+	einfo ' set -e'
+	einfo ' /usr/bin/axel -o "$1.axel" "$2"'
+	einfo ' mv "$1.axel" "$1"'
+	einfo
+	einfo 'and then add the following to your make.conf:'
+	einfo ' FETCHCOMMAND='\''/usr/local/bin/fetchwrapper.sh "\${DISTDIR}/\${FILE}.axel" "\${URI}"'\'
+	einfo ' RESUMECOMMAND="${FETCHCOMMAND}"'
+}


             reply	other threads:[~2017-10-03 21:34 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-03 21:34 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-14 13:14 [gentoo-commits] repo/gentoo:master commit in: net-misc/axel/ Petr Vaněk
2024-09-14 13:14 Petr Vaněk
2024-09-14 13:14 Petr Vaněk
2024-03-01 13:46 Arthur Zamarin
2023-03-29 20:51 Piotr Karbowski
2023-02-27  9:02 WANG Xuerui
2022-11-06  8:05 Agostino Sarubbo
2022-11-06  4:00 Sam James
2022-11-06  4:00 Sam James
2022-11-06  4:00 Sam James
2022-11-06  4:00 Sam James
2022-10-17 23:34 Sam James
2022-06-23 21:03 Piotr Karbowski
2022-06-23 21:03 Piotr Karbowski
2022-04-03 12:36 Piotr Karbowski
2022-04-01 13:55 Marek Szuba
2021-05-02 12:09 Mikle Kolyada
2021-02-07  1:07 Sam James
2021-02-04 14:42 Agostino Sarubbo
2021-02-04 14:09 Sam James
2021-02-04  8:00 Sam James
2021-02-04  7:59 Sam James
2020-11-25 21:52 Piotr Karbowski
2020-06-14 10:00 Piotr Karbowski
2020-06-06 21:17 Piotr Karbowski
2020-06-04  6:23 Agostino Sarubbo
2020-06-01 20:51 Sergei Trofimovich
2020-05-31 19:12 Sergei Trofimovich
2020-05-31  8:19 Sergei Trofimovich
2020-04-08 14:42 Piotr Karbowski
2020-04-08  9:54 Agostino Sarubbo
2020-04-08  9:53 Agostino Sarubbo
2020-04-08  9:51 Agostino Sarubbo
2020-04-08  9:50 Agostino Sarubbo
2020-04-07 20:20 Piotr Karbowski
2020-04-07 19:37 Piotr Karbowski
2020-02-21 22:31 Piotr Karbowski
2020-02-21 20:52 Piotr Karbowski
2019-04-27 20:28 David Seifert
2017-10-27 22:42 Patrice Clement
2017-10-27 22:42 Patrice Clement
2017-10-27 22:42 Patrice Clement
2017-01-05 22:50 Justin Lecher
2015-11-05 12:57 Justin Lecher
2015-10-15 12:31 Justin Lecher
2015-10-04 10:14 Agostino Sarubbo
2015-10-03  7:06 Jeroen Roovers
2015-10-01 12:37 Agostino Sarubbo
2015-09-29 11:36 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1507066418.8569656db073515227caa52f2bd4d5020de74796.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox