From: | Andrey Utkin <andrey_utkin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: net-wireless/hostapd/ |
Date: | Sun, 02 Sep 2018 02:46:49 |
Message-Id: | 1535856205.321e02c766fd96bd316c9732c14042e67d89c5a0.andrey_utkin@gentoo |
1 | commit: 321e02c766fd96bd316c9732c14042e67d89c5a0 |
2 | Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
3 | AuthorDate: Sun Sep 2 02:39:50 2018 +0000 |
4 | Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
5 | CommitDate: Sun Sep 2 02:43:25 2018 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=321e02c7 |
7 | |
8 | net-wireless/hostapd: 9999: add snapshot versions logic |
9 | |
10 | Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
11 | |
12 | net-wireless/hostapd/hostapd-9999.ebuild | 7 ++++++- |
13 | 1 file changed, 6 insertions(+), 1 deletion(-) |
14 | |
15 | diff --git a/net-wireless/hostapd/hostapd-9999.ebuild b/net-wireless/hostapd/hostapd-9999.ebuild |
16 | index e7978ed1696..342d0151c2d 100644 |
17 | --- a/net-wireless/hostapd/hostapd-9999.ebuild |
18 | +++ b/net-wireless/hostapd/hostapd-9999.ebuild |
19 | @@ -15,7 +15,12 @@ if [[ $PV == 9999 ]]; then |
20 | inherit git-r3 |
21 | EGIT_REPO_URI="https://w1.fi/hostap.git" |
22 | else |
23 | - SRC_URI+=" https://w1.fi/releases/${P}.tar.gz" |
24 | + if [[ $PV =~ ^.*_p[0-9]{8}$ ]]; then |
25 | + SRC_URI+=" https://dev.gentoo.org/~andrey_utkin/distfiles/${P}.tar.xz" |
26 | + else |
27 | + SRC_URI+=" https://w1.fi/releases/${P}.tar.gz" |
28 | + fi |
29 | + # Never stabilize snapshot ebuilds please |
30 | KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" |
31 | fi |