dev-vcs/blackbox: New package at 1.20220610

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2025-02-07 16:10:12 +00:00
parent 5668c1f9fa
commit f58b26311b
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST blackbox-1.20220610.tar.gz 100040 BLAKE2B 54f54c0724ab88d56785211f3aee670fbbc7251f9f4bb4f991bdf3f878c81b643671588e6dd51b5167921b24e7744807e935b25d9b0158288994ad7c76a7ec0d SHA512 db45d7874e5a1e62e8a078eca8c3fed8fae895ee979e516bd900374c5a39808f4dec39a637ae870bbf37bb4d05fe0b469decdc163000b0f49b87e094a4eab62c

View File

@@ -0,0 +1,36 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Safely store secrets in a VCS repo"
HOMEPAGE="https://github.com/StackExchange/blackbox"
SRC_URI="https://github.com/StackExchange/blackbox/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
app-shells/bash
"
src_prepare() {
default
# Don't pollute the bin directory with shared scripts.
sed -r -i "s:\b(source .*/)(_[^/]+\.sh)\b:\1../share/${PN}/\2:g" bin/* || die
}
src_compile() {
:
}
src_install() {
dobin bin/${PN}_*
insinto /usr/share/${PN}
doins bin/_*.sh
dodoc AUTHORS {CHANGELOG,DESIGN,README}.md
docinto manual
dodoc docs/*
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chewi@gentoo.org</email>
<name>James Le Cuirot</name>
</maintainer>
<upstream>
<remote-id type="github">StackExchange/blackbox</remote-id>
</upstream>
</pkgmetadata>