net-analyzer/twa - 1.10.0 (pentoo)

Search

Install

Install this version:

emerge -a =net-analyzer/twa-1.10.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-analyzer/twa-1.10.0

Or alternatively:

emerge --autounmask-write -a =net-analyzer/twa-1.10.0

Package Information

Description:
A tiny web auditor with strong opinions
Homepage:
https://trailofbits.github.io/twa https://github.com/trailofbits/twa
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.10.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-analyzer/twa | euse -E <flag> -p net-analyzer/twa | euse -D <flag> -p net-analyzer/twa

Global/Standard Flags

testssl
Default: Enabled (+)

Inherited Eclasses

Dependencies

RDEPEND

	app-misc/jq
	net-misc/curl
	net-analyzer/netcat
	sys-apps/gawk
	testssl? ( net-analyzer/testssl )

Manifest for 1.10.0

Type File Size Source URLs
DIST twa-1.10.0.tar.gz 14321 bytes https://github.com/trailofbits/twa/archive/v1.10.0.tar.gz