Signed-off-by: Hans de Graaff <gra...@gentoo.org> --- .../mod_xsendfile-1.0_beta1-r3.ebuild | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r3.ebuild
diff --git a/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r3.ebuild b/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r3.ebuild new file mode 100644 index 000000000000..b70dfc8ac59d --- /dev/null +++ b/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit apache-module + +MY_PV="1.0b1" +DESCRIPTION="Apache module that processes X-SENDFILE headers registered by the output handler" +HOMEPAGE="https://tn123.org/mod_xsendfile/" +SRC_URI="https://tn123.org/mod_xsendfile/beta/${PN}-${MY_PV}.tar.gz" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86 ~amd64-linux" + +need_apache2 + +src_install() { + APACHE2_MOD_CONF="50_${PN}" + APACHE2_MOD_DEFINE="XSENDFILE" + APACHE_MODULESDIR="/usr/$(get_libdir)/apache2/modules" + + apache-module_src_install + + dodoc docs/Readme.html +} -- 2.41.0