nmap-vulners: 1.4 beta bump

This commit is contained in:
blshkv 2019-08-16 09:52:42 +08:00
parent 9b7102199d
commit f39f416f18
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 8 additions and 1 deletions

View file

@ -1 +1,2 @@
DIST nmap-vulners-1.2.tar.gz 184281 BLAKE2B 52e591ed2e2d98375261049a6fbe307b5b32ce9945361b125cfe1bbfcfce200c4643553d637799f8c227b90093d9e9d5346efdb6092776c972576ab12da29435 SHA512 ee999423dd6463469e9e83b3d46d901468767236352d0517df9f7cfab9b18e9b4f83718b859da6ec82d2f55956e666ff4569733adb74112a5fab5aeae33859c5
DIST nmap-vulners-1.4_beta.tar.gz 249956 BLAKE2B cec3369e6f1b249074a12ff258d6cc72b33709e05ad48f1a6d8a543d62fe41d8c0fe865b4c8bf1bc263fd04e13ff17467201c6d9c399f9e1cf1808d88ba45ab2 SHA512 ba60a2976784d8bcc05653751333c29f3f0752e37f9bfd52c8b800b49a3a7c35c60abf05b7d78554d8d096665011343b889d953804ffe1b7b07486ca8ec72cbc

View file

@ -0,0 +1 @@
./nmap-vulners-9999.ebuild

View file

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -7,6 +7,11 @@ if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/vulnersCom/nmap-vulners.git"
KEYWORDS=""
elif [[ $(ver_cut 3) == "beta" ]]; then
MY_PV=$(ver_rs 2 -)
SRC_URI="https://github.com/vulnersCom/nmap-vulners/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-${MY_PV}"
else
SRC_URI="https://github.com/vulnersCom/nmap-vulners/archive/v${PV}-release.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"