Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_authz_unixgroup/, www-apache/mod_authz_unixgroup/files/
Date: Fri, 06 Sep 2019 14:43:40
Message-Id: 1567780986.c96c2de5113e1c6d4741c4c1f9df4256e7210bc2.candrews@gentoo
1 commit: c96c2de5113e1c6d4741c4c1f9df4256e7210bc2
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 6 14:42:31 2019 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 6 14:43:06 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c96c2de5
7
8 www-apache/mod_authz_unixgroup: An Apache2 authorization DSO using unix groups
9
10 Closes: https://bugs.gentoo.org/693592
11 Package-Manager: Portage-2.3.75, Repoman-2.3.17
12 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
13
14 www-apache/mod_authz_unixgroup/Manifest | 1 +
15 .../files/10_mod_authz_unixgroup.conf | 11 ++++++++
16 www-apache/mod_authz_unixgroup/metadata.xml | 11 ++++++++
17 .../mod_authz_unixgroup-1.1.0.ebuild | 32 ++++++++++++++++++++++
18 .../mod_authz_unixgroup-9999.ebuild | 32 ++++++++++++++++++++++
19 5 files changed, 87 insertions(+)
20
21 diff --git a/www-apache/mod_authz_unixgroup/Manifest b/www-apache/mod_authz_unixgroup/Manifest
22 new file mode 100644
23 index 00000000000..286d71e1270
24 --- /dev/null
25 +++ b/www-apache/mod_authz_unixgroup/Manifest
26 @@ -0,0 +1 @@
27 +DIST mod_authz_unixgroup-1.1.0.tar.gz 10085 BLAKE2B d7948cf046d58bcf27dfd4310a69ea61395d75f67c782fdbeb3f96015b7df8abebb7c59a244efe37a20e42ed72b501cd757346812144cd66a1cae8dabbd62a42 SHA512 83c767b2eb903964e688658bc4ae4384afd14c99f714c9aafb8c5bdddc855511e0b81f3499411b401865e42028b587dbba4ea2eb5123fe32ac91899327d6bbb8
28
29 diff --git a/www-apache/mod_authz_unixgroup/files/10_mod_authz_unixgroup.conf b/www-apache/mod_authz_unixgroup/files/10_mod_authz_unixgroup.conf
30 new file mode 100644
31 index 00000000000..dd942a8dd79
32 --- /dev/null
33 +++ b/www-apache/mod_authz_unixgroup/files/10_mod_authz_unixgroup.conf
34 @@ -0,0 +1,11 @@
35 +<IfDefine AUTHZ_UNIXGROUP>
36 +LoadModule authz_unixgroup_module modules/mod_authz_unixgroup.so
37 +
38 +# For UNIX group check
39 +# Require unix-group staff admin
40 +# This would allow only access to accounts in the 'staff' or 'admin' unix groups.
41 +# You can alternately specify groups by their gid numbers instead of their names.
42 +</IfDefine>
43 +
44 +# vim: ts=4 filetype=apache
45 +
46
47 diff --git a/www-apache/mod_authz_unixgroup/metadata.xml b/www-apache/mod_authz_unixgroup/metadata.xml
48 new file mode 100644
49 index 00000000000..38b26aa0865
50 --- /dev/null
51 +++ b/www-apache/mod_authz_unixgroup/metadata.xml
52 @@ -0,0 +1,11 @@
53 +<?xml version="1.0" encoding="UTF-8"?>
54 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
55 +<pkgmetadata>
56 + <maintainer type="person">
57 + <email>candrews@g.o</email>
58 + <name>Craig Andrews</name>
59 + </maintainer>
60 + <upstream>
61 + <remote-id type="github">phokz/mod-auth-external</remote-id>
62 + </upstream>
63 +</pkgmetadata>
64
65 diff --git a/www-apache/mod_authz_unixgroup/mod_authz_unixgroup-1.1.0.ebuild b/www-apache/mod_authz_unixgroup/mod_authz_unixgroup-1.1.0.ebuild
66 new file mode 100644
67 index 00000000000..7c9081bf357
68 --- /dev/null
69 +++ b/www-apache/mod_authz_unixgroup/mod_authz_unixgroup-1.1.0.ebuild
70 @@ -0,0 +1,32 @@
71 +# Copyright 1999-2019 Gentoo Authors
72 +# Distributed under the terms of the GNU General Public License v2
73 +
74 +EAPI=6
75 +inherit apache-module
76 +
77 +if [[ ${PV} == *9999 ]] ; then
78 + EGIT_REPO_URI="https://github.com/phokz/mod-auth-external.git"
79 + inherit git-r3
80 + S="${WORKDIR}/${P}/${PN}"
81 +else
82 + SRC_URI="https://github.com/phokz/mod-auth-external/archive/${P}.tar.gz"
83 + KEYWORDS="~amd64"
84 + S="${WORKDIR}/mod-auth-external-${P}"
85 +fi
86 +
87 +DESCRIPTION="An Apache2 authorization DSO using unix groups"
88 +HOMEPAGE="https://github.com/phokz/mod-auth-external"
89 +
90 +LICENSE="Apache-1.1"
91 +SLOT="0"
92 +need_apache2_4
93 +
94 +DOCFILES="CHANGES INSTALL README NOTICE"
95 +
96 +APACHE2_MOD_CONF="10_${PN}"
97 +APACHE2_MOD_DEFINE="AUTHZ_UNIXGROUP"
98 +
99 +pkg_setup() {
100 + _init_apache2
101 + _init_apache2_late
102 +}
103
104 diff --git a/www-apache/mod_authz_unixgroup/mod_authz_unixgroup-9999.ebuild b/www-apache/mod_authz_unixgroup/mod_authz_unixgroup-9999.ebuild
105 new file mode 100644
106 index 00000000000..7c9081bf357
107 --- /dev/null
108 +++ b/www-apache/mod_authz_unixgroup/mod_authz_unixgroup-9999.ebuild
109 @@ -0,0 +1,32 @@
110 +# Copyright 1999-2019 Gentoo Authors
111 +# Distributed under the terms of the GNU General Public License v2
112 +
113 +EAPI=6
114 +inherit apache-module
115 +
116 +if [[ ${PV} == *9999 ]] ; then
117 + EGIT_REPO_URI="https://github.com/phokz/mod-auth-external.git"
118 + inherit git-r3
119 + S="${WORKDIR}/${P}/${PN}"
120 +else
121 + SRC_URI="https://github.com/phokz/mod-auth-external/archive/${P}.tar.gz"
122 + KEYWORDS="~amd64"
123 + S="${WORKDIR}/mod-auth-external-${P}"
124 +fi
125 +
126 +DESCRIPTION="An Apache2 authorization DSO using unix groups"
127 +HOMEPAGE="https://github.com/phokz/mod-auth-external"
128 +
129 +LICENSE="Apache-1.1"
130 +SLOT="0"
131 +need_apache2_4
132 +
133 +DOCFILES="CHANGES INSTALL README NOTICE"
134 +
135 +APACHE2_MOD_CONF="10_${PN}"
136 +APACHE2_MOD_DEFINE="AUTHZ_UNIXGROUP"
137 +
138 +pkg_setup() {
139 + _init_apache2
140 + _init_apache2_late
141 +}