---
name: ap22-mod_rpaf2
version: 0.6_3
origin: www/mod_rpaf2
comment: Make proxied requests appear with client IP
arch: freebsd:9:x86:64
www: http://stderr.net/apache/rpaf/
maintainer: apache@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 10715
desc: "rpaf changes the remote address of the client on incoming proxy \nrequests.
  It is used in backend servers that needs to know the IP of the \nclient, and works
  in conjunction with mod_proxy_add_forward (which sets \nthe X-Forwarded-For header).
  When an X-Host header exists rpaf will take \nthe hostname found here, put it into
  Apache, and update the virtualhost \nsettings so that you can serve virtualhosts
  on the backend.\n\nWWW: http://stderr.net/apache/rpaf/\n"
deps:
  apache22: {origin: www/apache22, version: 2.2.25}
  expat: {origin: textproc/expat2, version: 2.1.0}
  perl: {origin: lang/perl5.14, version: 5.14.4}
  pcre: {origin: devel/pcre, version: 8.33}
  gettext: {origin: devel/gettext, version: 0.18.3}
  apr: {origin: devel/apr1, version: 1.4.8.1.5.2}
  gdbm: {origin: databases/gdbm, version: 1.10}
  db42: {origin: databases/db42, version: 4.2.52_5}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- www
shlibs_provided:
- mod_rpaf2.so
files:
  /usr/local/libexec/apache22/mod_rpaf2.so: 4e27cb45e9df88654dfa1160de4f999ad348f7bc917a6c41f28f22db80b5a4bf
scripts:
  post-install: |
    /usr/local/sbin/apxs -e -A -n rpaf /usr/local/libexec/apache22/mod_rpaf2.so
  pre-deinstall: |
    /usr/bin/sed -i '' -E '/LoadModule[[:blank:]]+rpaf_module/d' /usr/local/etc/apache22/httpd.conf
    echo "Don't forget to remove all mod_rpaf2-related directives in your httpd.conf"
