diff options
-rw-r--r-- | metadata/categories.conf | 1 | ||||
-rw-r--r-- | packages/apache-mod/mod_rpaf/mod_rpaf-scm.exheres-0 | 6 | ||||
-rw-r--r-- | packages/apache-mod/mod_rpaf/mod_rpaf.exlib | 29 |
3 files changed, 36 insertions, 0 deletions
diff --git a/metadata/categories.conf b/metadata/categories.conf index e8b9437..7e62d6e 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -1,3 +1,4 @@ +apache-mod app-arch app-backup app-misc diff --git a/packages/apache-mod/mod_rpaf/mod_rpaf-scm.exheres-0 b/packages/apache-mod/mod_rpaf/mod_rpaf-scm.exheres-0 new file mode 100644 index 0000000..b01fdb0 --- /dev/null +++ b/packages/apache-mod/mod_rpaf/mod_rpaf-scm.exheres-0 @@ -0,0 +1,6 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + +require mod_rpaf + +PLATFORMS="~amd64 ~x86" diff --git a/packages/apache-mod/mod_rpaf/mod_rpaf.exlib b/packages/apache-mod/mod_rpaf/mod_rpaf.exlib new file mode 100644 index 0000000..37503d6 --- /dev/null +++ b/packages/apache-mod/mod_rpaf/mod_rpaf.exlib @@ -0,0 +1,29 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + + +require github [ user=gnif tag=v${PV} force_git_clone=true ] +export_exlib_phases src_install + +SCM_BRANCH="stable" + +SLOT="0" + +SUMMARY="reverse proxy add forward" +DESCRIPTION=" +Sets REMOTE_ADDR, HTTPS, and HTTP_PORT to the values provided by an upstream proxy. +Sets remoteip-proxy-ip-list field in r->notes table to list of proxy intermediaries. +" + +LICENCES="Apache-2.0" + +MYOPTIONS="" +DEPENDENCIES=" + build+run: + www-servers/apache[>=2] +" + +mod_rpaf_src_install() { + edo mkdir -p "${IMAGE}"/usr/$(exhost --target)/libexec/apache2/modules + edo cp "${WORK}"/.libs/mod_rpaf.so "${IMAGE}"/usr/$(exhost --target)/libexec/apache2/modules +} |