File: libapache-mod-proxy-add-forward.packages

package info (click to toggle)
yada 0.34
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,160 kB
  • ctags: 83
  • sloc: perl: 3,554; makefile: 26; sh: 12
file content (53 lines) | stat: -rw-r--r-- 2,010 bytes parent folder | download
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Source: libapache-mod-proxy-add-forward
Section: web
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.5.6
Upstream-Source: <URL:http://develooper.com/code/mpaf/>
Description: module for Apache which includes 'X-Forwarded-For' header
Origin: Debian
Copyright: .
 "THE FOO LICENSE" (Revision 3.14159265358979323844): 
 .
 <ask@netcetera.dk> wrote this file. As long as you retain this
 notice you can do whatever you want with this stuff. If it does
 anything you didn't want it to do, it is of course your own fault.
 If we meet some day, and you think this stuff is worth it, you
 can buy me a beer in return. - Ask Bjoern Hansen.
Major-Changes:
 none
Build-Depends: apache-dev
Build: sh
 CC=gcc
 EXTRA_CFLAGS="-O2 -Wall"
 if [ "${DEB_BUILD_OPTIONS#*debug}" != "$DEB_BUILD_OPTIONS" ]; then
     EXTRA_CFLAGS="$EXTRA_CFLAGS -g"
 fi
 make -f debian/mod_proxy_add_forward.mk EXTRA_CFLAGS="$EXTRA_CFLAGS" CC="$CC"
Clean: sh
 make -f debian/mod_proxy_add_forward.mk clean || true

Package: libapache-mod-proxy-add-forward
Architecture: any
Depends: ${apache:Depends}, []
Description: Module for Apache which includes 'X-Forwarded-For' header
 This module adds a 'X-Forwarded-For' header to outgoing proxy requests 
 like Squid does.
 .
 You can then get the client IP back on the proxied host by setting
 r->connection->remote_ip from this header.  It's very useful for the 
 common lightweight frontend/heavy backend mod_perl setup. 
Install: sh
 yada install -lib -into /usr/lib/apache/1.3 mod_proxy_add_forward.so
 yada install -data -into /usr/lib/apache/1.3 debian/500proxy_add_forward.info
 yada dpkg-shlibdeps
 echo "apache:Depends=apache-common (>= $(dpkg -s apache-dev|grep ^Version|sed 's/^Version: //'))" \
     >> debian/substvars
Postinst: bash
 if [ "$1" = "configure" ]; then
     test -f /usr/sbin/apacheconfig && apacheconfig --force-modules
 fi
Postrm: bash
 if [ "$1" = "remove" ]; then
     test -f /usr/sbin/apacheconfig && apacheconfig --force-modules
 fi