app-crypt/labca - 26.04 (nest)

Search

Install

Install this version:

emerge -a =app-crypt/labca-26.04

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

autounmask =app-crypt/labca-26.04

Or alternatively:

emerge --autounmask-write -a =app-crypt/labca-26.04

Package Information

Description:
A private Certificate Authority for internal (lab) use
Homepage:
https://github.com/hakwerk/labca
License:
MPL-2.0

Ebuild Details

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

EAPI=8

inherit go-module tmpfiles

DESCRIPTION="A private Certificate Authority for internal (lab) use"
HOMEPAGE="https://github.com/hakwerk/labca"
SRC_URI="https://github.com/hakwerk/labca/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/SpiderX/portage-overlay/releases/download/${P}/${P}-deps.tar.xz"
S="${WORKDIR}/${P}/gui"

LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="acct-group/labca
	acct-user/labca"

src_compile() {
	LDFLAGS="-w -X main.standaloneVersion=${PV}"
	ego build -ldflags "${LDFLAGS}" -tags standalone -o labca-gui
}

src_test() {
	ego test ./...
}

src_install() {
	dobin labca-gui
	diropts -o labca -g labca
	keepdir /var/log/labca
	newinitd "${FILESDIR}"/labca.initd labca
	newconfd "${FILESDIR}"/labca.confd labca
	newtmpfiles "${FILESDIR}"/labca.tmpfile labca.conf
}

pkg_postinst() {
	tmpfiles_process labca.conf
}

Inherited Eclasses

Dependencies

RDEPEND

acct-group/labca
	acct-user/labca

Manifest for 26.04

Type File Size Source URLs
DIST labca-26.04-deps.tar.xz 63743268 bytes https://github.com/SpiderX/portage-overlay/releases/download/labca-26.04/labca-26.04-deps.tar.xz
DIST labca-26.04.tar.gz 1974200 bytes https://github.com/hakwerk/labca/archive/v26.04.tar.gz