app-crypt/tang: add 12

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy 2023-02-10 21:07:38 -05:00
parent f1b9210893
commit c163b1d7bb
No known key found for this signature in database
GPG Key ID: BEF2297448848842
2 changed files with 36 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST tang-11.tar.gz 38502 BLAKE2B cc440780eda3aa2ded7dfa6bea62794c2f08d3c7e89573c4002d5f2644f5cd809357400031c9df94f5128fb24e3e038a56f3df14f8f7762c071404fdb7b62444 SHA512 a1115c7192224f2d09d026776768b4247632333ad152f2cb700567404ff33a220dc1280e4f588c6408775c4b9dc5049b5601bbee6336c8ff7f39ec6f28e26599
DIST tang-12.tar.gz 41459 BLAKE2B e948e0f7bc206cb7f0a2eeb42bf2b4b3cc5ff96fef4348beb562289684abbbbafc20d5dab4d5b20ffbd3de5008900fed7e649b771e4353642306831c7e048317 SHA512 dc61aa7711700e149f53c08557f917c1363d946137ea1cad7d7a5ff4248fe6726a61e5339ab8853c52b592bd9963fb4041c6c3143d3a32311d9942424bb9d847

View File

@ -0,0 +1,35 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson systemd
DESCRIPTION="Tang binding daemon"
HOMEPAGE="https://github.com/latchset/tang"
SRC_URI="https://github.com/latchset/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="acct-user/tang
net-misc/socat
>=net-libs/http-parser-2.8.0
>=dev-libs/jose-8"
RDEPEND="${DEPEND}"
BDEPEND="app-text/asciidoc"
src_install(){
meson_install
newinitd "${FILESDIR}"/tangd.initd tangd
systemd_dounit "${FILESDIR}"/tangd.service
doconfd "${FILESDIR}"/tangd
dodir /var/db/tang
keepdir /var/db/tang
fowners tang:tang /var/db/tang
fperms 770 /var/db/tang
}