summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-03-11 08:53:28 +0100
committerHans de Graaff <graaff@gentoo.org>2021-03-11 08:53:40 +0100
commitea986751a8dd4210c4080a713bcd657f0c3bf138 (patch)
tree211e17d76405b21982637759fb94a9936aa42152 /www-apache
parentdev-ruby/rubygems: add 3.2.14 (diff)
downloadgentoo-ea986751a8dd4210c4080a713bcd657f0c3bf138.tar.gz
gentoo-ea986751a8dd4210c4080a713bcd657f0c3bf138.tar.bz2
gentoo-ea986751a8dd4210c4080a713bcd657f0c3bf138.zip
www-apache/mod_xsendfile: EAPI=7, fix docs, become maintainer
DOCFILE support in apache-module.eclass is broken, so just install the doc directly which is actually less effort. Closes: https://bugs.gentoo.org/515414 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_xsendfile/metadata.xml4
-rw-r--r--www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r2.ebuild28
2 files changed, 31 insertions, 1 deletions
diff --git a/www-apache/mod_xsendfile/metadata.xml b/www-apache/mod_xsendfile/metadata.xml
index 7a38bb900964..8bf69628e798 100644
--- a/www-apache/mod_xsendfile/metadata.xml
+++ b/www-apache/mod_xsendfile/metadata.xml
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>graaff@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r2.ebuild b/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r2.ebuild
new file mode 100644
index 000000000000..c80385f181c5
--- /dev/null
+++ b/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+}