Install this version:
emerge -a =net-analyzer/cameradar-6.2.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-analyzer/cameradar-6.2.0
Or alternatively:
emerge --autounmask-write -a =net-analyzer/cameradar-6.2.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 6.2.0 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Cameradar hacks its way into RTSP videosurveillance cameras"
HOMEPAGE="https://github.com/ullaakut/cameradar"
SRC_URI="
https://github.com/ullaakut/cameradar/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
https://github.com/pentoo/pentoo-golang-dist/releases/download/${P}/${P}-deps.tar.xz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="gnome X"
RDEPEND=">=dev-lang/go-1.12"
DEPEND="${RDEPEND}"
src_compile() {
GOBIN="${S}/bin" ego install ./... ||
die "compile failed"
}
src_install() {
dobin bin/cameradar
insinto /usr/share/cameradar/
doins internal/dict/assets/{credentials.json,routes}
}
# https://github.com/Ullaakut/cameradar/wiki/Configuration-Reference/
# FIXME: configure a shell launcher file with ENV varilables:
# CUSTOM_CREDENTIALS=/usr/share/cameradar/credentials.json
# CUSTOM_ROUTES=/usr/share/cameradar/routes
Manage flags for this package:
euse -i <flag> -p net-analyzer/cameradar |
euse -E <flag> -p net-analyzer/cameradar |
euse -D <flag> -p net-analyzer/cameradar
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | cameradar-6.2.0-deps.tar.xz | 50375980 bytes | https://github.com/pentoo/pentoo-golang-dist/releases/download/cameradar-6.2.0/cameradar-6.2.0-deps.tar.xz |
| DIST | cameradar-6.2.0.gh.tar.gz | 2552175 bytes | https://github.com/ullaakut/cameradar/archive/refs/tags/v6.2.0.tar.gz |