# Distributed under the terms of the GNU General Public License v2 # Copyright 2018 Gluzskiy Alexandr require github [ user=gnif tag=v${PV} branch=stable ] export_exlib_phases src_install 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 emagicdocs }