diff options
Diffstat (limited to 'www-apache/mod_authz_unixgroup')
5 files changed, 91 insertions, 0 deletions
diff --git a/www-apache/mod_authz_unixgroup/Manifest b/www-apache/mod_authz_unixgroup/Manifest new file mode 100644 index 000000000000..07c0dcbf4f17 --- /dev/null +++ b/www-apache/mod_authz_unixgroup/Manifest @@ -0,0 +1,5 @@ +AUX 10_mod_authz_unixgroup.conf 359 BLAKE2B 5dcb3eb6d28c3b2d8aeae65ef109eb56e1781248bec2dbd6a99d5f0f927135dafe249222ae33c89634ca79e74b641677e17a293a7845064ec3ec7ae631639c4f SHA512 172d3ea8e80a77443e16d45c2cc6daf82b88facd145a26b1a196986c000967f861c9ee90cb5c6d3bd1de5c167a74e68039379fb55a9abcb4b32b773d502b8662 +DIST mod_authz_unixgroup-1.1.0.tar.gz 10085 BLAKE2B d7948cf046d58bcf27dfd4310a69ea61395d75f67c782fdbeb3f96015b7df8abebb7c59a244efe37a20e42ed72b501cd757346812144cd66a1cae8dabbd62a42 SHA512 83c767b2eb903964e688658bc4ae4384afd14c99f714c9aafb8c5bdddc855511e0b81f3499411b401865e42028b587dbba4ea2eb5123fe32ac91899327d6bbb8 +EBUILD mod_authz_unixgroup-1.1.0.ebuild 735 BLAKE2B c47b621f43a052b746bfba1c1c8fac59ba60555b54e73e560b910c1f613a33380e3cff0091bad5776a976787ae1197ee89961044018f197fae9ed2e6b419026d SHA512 116c08375d466d7b60ae44606dc34632d91219b32f30aa24d2b16eff463e98f18ce5e0723174f2cce6636a80c0156e14f9d3366d06e5d4338e1152f31a11bd90 +EBUILD mod_authz_unixgroup-9999.ebuild 735 BLAKE2B c47b621f43a052b746bfba1c1c8fac59ba60555b54e73e560b910c1f613a33380e3cff0091bad5776a976787ae1197ee89961044018f197fae9ed2e6b419026d SHA512 116c08375d466d7b60ae44606dc34632d91219b32f30aa24d2b16eff463e98f18ce5e0723174f2cce6636a80c0156e14f9d3366d06e5d4338e1152f31a11bd90 +MISC metadata.xml 336 BLAKE2B 22bff5bdfb90a1ce3e1e02e91eb783b3ad492c042ef11c3cd4322f1a710ee44949db8dc6fd16e36378e26389c1c326655c5a58d053aaa12adfa888c425d819f0 SHA512 d70954c0d9502b0f45dfbe37e623b679fe2b2466a7d261ffed766b5111e79912be5d6c5324af0d9d43741de58d8e70058c08866486a056ae4f7a27246c451500 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 new file mode 100644 index 000000000000..dd942a8dd791 --- /dev/null +++ b/www-apache/mod_authz_unixgroup/files/10_mod_authz_unixgroup.conf @@ -0,0 +1,11 @@ +<IfDefine AUTHZ_UNIXGROUP> +LoadModule authz_unixgroup_module modules/mod_authz_unixgroup.so + +# For UNIX group check +# Require unix-group staff admin +# This would allow only access to accounts in the 'staff' or 'admin' unix groups. +# You can alternately specify groups by their gid numbers instead of their names. +</IfDefine> + +# vim: ts=4 filetype=apache + diff --git a/www-apache/mod_authz_unixgroup/metadata.xml b/www-apache/mod_authz_unixgroup/metadata.xml new file mode 100644 index 000000000000..38b26aa08657 --- /dev/null +++ b/www-apache/mod_authz_unixgroup/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <upstream> + <remote-id type="github">phokz/mod-auth-external</remote-id> + </upstream> +</pkgmetadata> 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 new file mode 100644 index 000000000000..7c9081bf3575 --- /dev/null +++ b/www-apache/mod_authz_unixgroup/mod_authz_unixgroup-1.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit apache-module + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/phokz/mod-auth-external.git" + inherit git-r3 + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/phokz/mod-auth-external/archive/${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/mod-auth-external-${P}" +fi + +DESCRIPTION="An Apache2 authorization DSO using unix groups" +HOMEPAGE="https://github.com/phokz/mod-auth-external" + +LICENSE="Apache-1.1" +SLOT="0" +need_apache2_4 + +DOCFILES="CHANGES INSTALL README NOTICE" + +APACHE2_MOD_CONF="10_${PN}" +APACHE2_MOD_DEFINE="AUTHZ_UNIXGROUP" + +pkg_setup() { + _init_apache2 + _init_apache2_late +} diff --git a/www-apache/mod_authz_unixgroup/mod_authz_unixgroup-9999.ebuild b/www-apache/mod_authz_unixgroup/mod_authz_unixgroup-9999.ebuild new file mode 100644 index 000000000000..7c9081bf3575 --- /dev/null +++ b/www-apache/mod_authz_unixgroup/mod_authz_unixgroup-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit apache-module + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/phokz/mod-auth-external.git" + inherit git-r3 + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/phokz/mod-auth-external/archive/${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/mod-auth-external-${P}" +fi + +DESCRIPTION="An Apache2 authorization DSO using unix groups" +HOMEPAGE="https://github.com/phokz/mod-auth-external" + +LICENSE="Apache-1.1" +SLOT="0" +need_apache2_4 + +DOCFILES="CHANGES INSTALL README NOTICE" + +APACHE2_MOD_CONF="10_${PN}" +APACHE2_MOD_DEFINE="AUTHZ_UNIXGROUP" + +pkg_setup() { + _init_apache2 + _init_apache2_late +} |