commit:     05a168da8078ad919ed4fe41ea0848a117bbc825
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 10:09:35 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Feb  7 10:12:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a168da

www-apache/mod_tls: new package, add 0.14.0

Closes: https://bugs.gentoo.org/948951
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 www-apache/mod_tls/Manifest              |  1 +
 www-apache/mod_tls/metadata.xml          | 11 +++++++++
 www-apache/mod_tls/mod_tls-0.14.0.ebuild | 40 ++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+)

diff --git a/www-apache/mod_tls/Manifest b/www-apache/mod_tls/Manifest
new file mode 100644
index 000000000000..90ccd3a96068
--- /dev/null
+++ b/www-apache/mod_tls/Manifest
@@ -0,0 +1 @@
+DIST mod_tls-0.14.0.tar.gz 206639 BLAKE2B 
fffdb26b171cba674c283e689728dc42fff75124c0a1e2590c31e0fea2d5ea840db4cdbaa5455eee46c1cdd5211532b80271c2cf63f98c246e34bda07d96508d
 SHA512 
a48e0eba706358aa348b3feba84392b9ac43979f40ae4eb56b1a4cc9b3bf39c233cafa166edb193a3c20657d7c9f592941ac19b22852516d34d956586390c7c7

diff --git a/www-apache/mod_tls/metadata.xml b/www-apache/mod_tls/metadata.xml
new file mode 100644
index 000000000000..f536232054b7
--- /dev/null
+++ b/www-apache/mod_tls/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Apache project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">icing/mod_tls</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/www-apache/mod_tls/mod_tls-0.14.0.ebuild 
b/www-apache/mod_tls/mod_tls-0.14.0.ebuild
new file mode 100644
index 000000000000..002b3e5f85fe
--- /dev/null
+++ b/www-apache/mod_tls/mod_tls-0.14.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit apache-module autotools
+
+DESCRIPTION="A 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/archive/v${PV}.tar.gz -> ${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}"
+
+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"
+}

Reply via email to