nmap-vulners: 1.2 bump

This commit is contained in:
blshkv 2018-12-29 11:05:54 +08:00
parent 3ae0581cef
commit 31499c054c
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
4 changed files with 13 additions and 39 deletions

View file

@ -1,2 +1 @@
DIST nmap-vulners-1.0.tar.gz 187062 SHA256 2f82295877fe71d21889154007c0282a8d4f39115eb5695f184a871d47b1db9a SHA512 732a6a2457a1f8441b45a02a37254cc9ca48a79545cfd6233aa94b2e146478c508475b53fcece233d9dba13410fc0c19fd7ef913a6c7fca9b6bcc6b7f1311474 WHIRLPOOL 93cee5f00f7974ec00503538febaacc1ba480f2da85bf222f2071968cf216f5c8f75c089b532259ab9b23965a95b62977f0aba22edd5c9e8eee32881472a7175
DIST nmap-vulners-1.1.tar.gz 187690 SHA256 9599cf5ca3a180cd43021435c1875513e898398cb6963488304b8f431450dd09 SHA512 b537c3a4e7a8503481015eef322cab2f28086261899a8e86a91dffe3d327019f1ecad5cb5bdccf4a135bb2e8334df0ff0feffcb6ac93b118b3f70871da23a0e5 WHIRLPOOL e152b29279d5f4a16917176b718764425f6ea9c8823ff9de34a4748b7215eb922a0614a01a019930502dfd830a946e38bf356263c18892765362278449f65614
DIST nmap-vulners-1.2.tar.gz 184281 BLAKE2B 52e591ed2e2d98375261049a6fbe307b5b32ce9945361b125cfe1bbfcfce200c4643553d637799f8c227b90093d9e9d5346efdb6092776c972576ab12da29435 SHA512 ee999423dd6463469e9e83b3d46d901468767236352d0517df9f7cfab9b18e9b4f83718b859da6ec82d2f55956e666ff4569733adb74112a5fab5aeae33859c5

View file

@ -1,27 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
#inherit git-r3
DESCRIPTION="NSE script based on Vulners.com API"
HOMEPAGE="https://github.com/vulnersCom/nmap-vulners"
#EGIT_REPO_URI="https://github.com/vulnersCom/nmap-vulners.git"
#EGIT_COMMIT="6add677dceca02a7a2c3e8fd080f9f9d045eb03f"
SRC_URI="https://github.com/vulnersCom/nmap-vulners/archive/v${PV}-release.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm"
DEPEND=""
RDEPEND="net-analyzer/nmap[nse]"
S="${WORKDIR}/${P}-release"
src_install() {
insinto /usr/share/nmap/scripts/vulners
doins vulners.nse
dodoc README.md
}

View file

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

View file

@ -1,25 +1,26 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
#inherit git-r3
if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/vulnersCom/nmap-vulners.git"
KEYWORDS=""
else
SRC_URI="https://github.com/vulnersCom/nmap-vulners/archive/v${PV}-release.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${P}-release"
fi
DESCRIPTION="NSE script based on Vulners.com API"
HOMEPAGE="https://github.com/vulnersCom/nmap-vulners"
#EGIT_REPO_URI="https://github.com/vulnersCom/nmap-vulners.git"
#EGIT_COMMIT="6add677dceca02a7a2c3e8fd080f9f9d045eb03f"
SRC_URI="https://github.com/vulnersCom/nmap-vulners/archive/v${PV}-release.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm"
DEPEND=""
RDEPEND="net-analyzer/nmap[nse]"
S="${WORKDIR}/${P}-release"
src_install() {
insinto /usr/share/nmap/scripts/vulners
doins vulners.nse