blob: 948b2bebff8aab1f94dd9b6af4a0a372b92c79fd (
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
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit apache-module autotools
DESCRIPTION="Apache module that uses rustls to provide a memory safe TLS implementation in Rust"
HOMEPAGE="https://github.com/icing/mod_tls"
SRC_URI="https://github.com/icing/mod_tls/releases/download/v${PV}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="ssl"
RDEPEND="
>=net-libs/rustls-ffi-0.14:=
>=www-servers/apache-2.4.48[-apache2_modules_tls(-)]
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PN}-0.14.0-werror.patch" )
need_apache2_4
src_prepare() {
default
eautoreconf
}
src_compile() {
default
}
src_install() {
default
APACHE2_MOD_DEFINE="TLS"
insinto "${APACHE_MODULES_CONFDIR}"
newins "${FILESDIR}/mod_tls.conf" "41_mod_tls.conf"
}
|