blob: 37503d6ec7a1a1caf2506eb691cbbd4f7165d56d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
}
|