diff options
author | Andrey Utkin <andrey_utkin@gentoo.org> | 2018-09-02 03:39:50 +0100 |
---|---|---|
committer | Andrey Utkin <andrey_utkin@gentoo.org> | 2018-09-02 03:43:25 +0100 |
commit | 321e02c766fd96bd316c9732c14042e67d89c5a0 (patch) | |
tree | 352aefdf6cfd6513133d5f883555899ab376b52a /net-wireless/hostapd | |
parent | net-wireless/hostapd: 9999: fix spacing in SRC_URI (diff) | |
download | gentoo-321e02c766fd96bd316c9732c14042e67d89c5a0.tar.gz gentoo-321e02c766fd96bd316c9732c14042e67d89c5a0.tar.bz2 gentoo-321e02c766fd96bd316c9732c14042e67d89c5a0.zip |
net-wireless/hostapd: 9999: add snapshot versions logic
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'net-wireless/hostapd')
-rw-r--r-- | net-wireless/hostapd/hostapd-9999.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net-wireless/hostapd/hostapd-9999.ebuild b/net-wireless/hostapd/hostapd-9999.ebuild index e7978ed1696b..342d0151c2d8 100644 --- a/net-wireless/hostapd/hostapd-9999.ebuild +++ b/net-wireless/hostapd/hostapd-9999.ebuild @@ -15,7 +15,12 @@ if [[ $PV == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://w1.fi/hostap.git" else - SRC_URI+=" https://w1.fi/releases/${P}.tar.gz" + if [[ $PV =~ ^.*_p[0-9]{8}$ ]]; then + SRC_URI+=" https://dev.gentoo.org/~andrey_utkin/distfiles/${P}.tar.xz" + else + SRC_URI+=" https://w1.fi/releases/${P}.tar.gz" + fi + # Never stabilize snapshot ebuilds please KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" fi |