1 |
commit: d5218b4731468b417aafae866f2c30924c9a337f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 25 22:45:11 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 22:53:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5218b47 |
7 |
|
8 |
www-apache/mod_xsendfile: port EAPI 4->6 |
9 |
|
10 |
We can't go to 7 yet because of the apache-module and depend.apache |
11 |
eclasses. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/724212 |
14 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
.../mod_xsendfile-1.0_beta1-r1.ebuild | 27 ++++++++++++++++++++++ |
18 |
1 file changed, 27 insertions(+) |
19 |
|
20 |
diff --git a/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r1.ebuild b/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000000..f8147aa6a2b |
23 |
--- /dev/null |
24 |
+++ b/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r1.ebuild |
25 |
@@ -0,0 +1,27 @@ |
26 |
+# Copyright 1999-2020 Gentoo Authors |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=6 |
30 |
+ |
31 |
+inherit apache-module |
32 |
+ |
33 |
+MY_PV="1.0b1" |
34 |
+DESCRIPTION="Apache module that processes X-SENDFILE headers registered by the output handler" |
35 |
+HOMEPAGE="https://tn123.org/mod_xsendfile/" |
36 |
+SRC_URI="https://tn123.org/mod_xsendfile/beta/${PN}-${MY_PV}.tar.gz" |
37 |
+S="${WORKDIR}" |
38 |
+ |
39 |
+LICENSE="Apache-2.0" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~sparc ~x86 ~amd64-linux" |
42 |
+ |
43 |
+APACHE2_MOD_CONF="50_${PN}" |
44 |
+APACHE2_MOD_DEFINE="XSENDFILE" |
45 |
+DOCFILES="docs/Readme.html" |
46 |
+ |
47 |
+need_apache2 |
48 |
+ |
49 |
+pkg_setup() { |
50 |
+ _init_apache2 |
51 |
+ _init_apache2_late |
52 |
+} |