Install this version:
emerge -a =dev-util/osv-scanner-bin-2.7.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/osv-scanner-bin-2.7.1
Or alternatively:
emerge --autounmask-write -a =dev-util/osv-scanner-bin-2.7.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.7.1 | 8 | ~amd64 | 0 |
# Copyright 2026 ReK2 - Chris F.N. <rek2@hispagatos.org>
# https://rek2.hispagatos.org
# Distributed under the terms of the GNU General Public License v3
EAPI=8
DESCRIPTION="Vulnerability scanner for project dependencies, using data from osv.dev"
HOMEPAGE="https://github.com/google/osv-scanner"
SRC_URI="
https://github.com/google/osv-scanner/releases/download/v${PV}/osv-scanner_linux_amd64 -> ${P}.amd64
https://raw.githubusercontent.com/google/osv-scanner/v${PV}/LICENSE -> ${P}.LICENSE
https://raw.githubusercontent.com/google/osv-scanner/v${PV}/README.md -> ${P}.README.md
"
S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
QA_PREBUILT="*"
src_unpack() {
cp "${DISTDIR}/${P}.amd64" "${WORKDIR}/osv-scanner" || die
cp "${DISTDIR}/${P}.LICENSE" "${WORKDIR}/LICENSE" || die
cp "${DISTDIR}/${P}.README.md" "${WORKDIR}/README.md" || die
}
src_install() {
newbin osv-scanner osv-scanner
dodoc LICENSE README.md
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | osv-scanner-bin-2.7.1.LICENSE | 11358 bytes | https://raw.githubusercontent.com/google/osv-scanner/v2.7.1/LICENSE |
| DIST | osv-scanner-bin-2.7.1.README.md | 11071 bytes | https://raw.githubusercontent.com/google/osv-scanner/v2.7.1/README.md |
| DIST | osv-scanner-bin-2.7.1.amd64 | 58187936 bytes | https://github.com/google/osv-scanner/releases/download/v2.7.1/osv-scanner_linux_amd64 |