blob: e07f8885ecbe88cd29b33b8ea2e10cb5bba7a53f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools linux-info
DESCRIPTION="Kernel TLS helper utilities"
HOMEPAGE="https://github.com/oracle/ktls-utils"
SRC_URI="https://github.com/oracle/${PN}/archive/refs/tags/${P}.tar.gz"
S=${WORKDIR}/${PN}-${P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE=""
DEPEND="
dev-libs/glib
dev-libs/libnl:3
dev-libs/libyaml
net-libs/gnutls
sys-apps/keyutils
"
RDEPEND="${DEPEND}"
CONFIG_CHECK="~TLS ~KEYS ~KEYS_REQUEST_CACHE"
src_prepare() {
default
sed -i -e 's/-Werror//' src/tlshd/Makefile.am || die
eautoreconf
}
src_configure() {
econf --with-systemd
}
src_install() {
default
dodoc README.md
newinitd "${FILESDIR}/tlshd.initd" tlshd
}
|