commit:     ea986751a8dd4210c4080a713bcd657f0c3bf138
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 11 07:53:28 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Mar 11 07:53:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea986751

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 <AT> gentoo.org>

 www-apache/mod_xsendfile/metadata.xml              |  4 +++-
 .../mod_xsendfile-1.0_beta1-r2.ebuild              | 28 ++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/www-apache/mod_xsendfile/metadata.xml 
b/www-apache/mod_xsendfile/metadata.xml
index 7a38bb90096..8bf69628e79 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>[email protected]</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 00000000000..c80385f181c
--- /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
+}

Reply via email to