net-analyzer/twa: 1.10.0

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Yury Martynov <email@linxon.ru>
This commit is contained in:
Yury Martynov 2020-09-21 22:08:10 +03:00
parent 6cd5c283e2
commit f9b34173bf
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
2 changed files with 45 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST twa-1.10.0.tar.gz 14321 BLAKE2B 69f91de322ecf21a9edfb753b51182f8a73e5b02d02e5562c44db3ed2ae9eee8065a04b267c6744dfcde9279b6827c302a5ee9bcc97a84d3f295ab1e84c0e3d1 SHA512 e4ef063941451e296d883527daf8fa41a2f710bf7552e73c9cd731631dbfd7f0b8d95e36f62280990a9bcce6f68d0e64eb170eeb6f8eb16643d6733a3c992a84
DIST twa-1.9.3.tar.gz 14012 BLAKE2B 49fb835ab14aa1c2b2010f4e2cfacfcbd5a164b526f70766574e9caa2bd564be43340751d08f643afdaf9376873a96e339805b64470fbf655dc56d645a9d8c83 SHA512 96a6d6288a0c1cd5caa9c4bb83ac167abde4d1963cbb0e4a426d558d2b20f95e6c3d944dac719baa048d96c0817a056844910e14a99a00eb70c04528eb77d811

View file

@ -0,0 +1,44 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="A tiny web auditor with strong opinions"
HOMEPAGE="https://trailofbits.github.io/twa https://github.com/trailofbits/twa"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/trailofbits/twa"
else
SRC_URI="https://github.com/trailofbits/twa/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="+testssl"
RDEPEND="
app-misc/jq
net-misc/curl
net-analyzer/netcat
sys-apps/gawk
testssl? ( net-analyzer/testssl )"
src_prepare() {
default
# Fix shebang
sed -e 's|^#!/usr/bin/env bash$|#!/bin/bash|' -i twa || die
# Remove the bash version check
sed -e '/Expected GNU Bash 4.0 or later/d' -i twa || die
# Remove the "ensure dependency is installed" checks
sed -e '/^ensure installed .*/d' -i twa || die
}
src_install() {
dobin twa tscore
doman twa.1
}