From ca30de57458ef2ab90b919281b36e32847ced75e Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 13 Aug 2013 15:02:44 -0500
Subject: lighttpd: upgrade to 1.4.32; add proxy for shellinaboxd

---
 abs/core/lighttpd/PKGBUILD      | 10 +++++-----
 abs/core/lighttpd/__changelog   |  3 +++
 abs/core/lighttpd/lighttpd.conf | 12 +++++++++++-
 3 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/abs/core/lighttpd/PKGBUILD b/abs/core/lighttpd/PKGBUILD
index a936235..35f8c04 100644
--- a/abs/core/lighttpd/PKGBUILD
+++ b/abs/core/lighttpd/PKGBUILD
@@ -2,8 +2,8 @@
 # Maintainer: Pierre Schmitz <pierre@archlinux.de>
 
 pkgname=lighttpd
-pkgver=1.4.28
-pkgrel=7
+pkgver=1.4.32
+pkgrel=1
 pkgdesc='A secure, fast, compliant and very flexible web-server'
 license=('custom')
 arch=('i686' 'x86_64')
@@ -19,7 +19,7 @@ backup=(etc/lighttpd/lighttpd.conf etc/logrotate.d/lighttpd etc/lighttpd/auth-in
 options=('!libtool' 'emptydirs')
 source=("http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${pkgver}.tar.bz2" \
         'lighttpd.rc.d' 'lighttpd.logrotate.d' 'lighttpd.conf' 'auth-inc.conf' 'ssl-inc.conf')
-#install='lighttpd.install'
+install='lighttpd.install'
 build() {
 	cd ${srcdir}/${pkgname}-${pkgver}
 
@@ -76,9 +76,9 @@ package() {
 
 	install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
 }
-md5sums=('586eb535d31ac299652495b058dd87c4'
+md5sums=('8e2d4ae8e918d4de1aeb9842584d170b'
          'bd690eee0d9e51857448770a151023b0'
          'e17a29ebcdac82a853389c3df468c980'
-         '8c1b42c878461f1529433c35d691f519'
+         'f5e553759e0731bb54e60b1dac6e0a2a'
          '62779511e3f1127c3cc9b94c49f99c29'
          'ef64c496602b182a551416a8ba6b3d43')
diff --git a/abs/core/lighttpd/__changelog b/abs/core/lighttpd/__changelog
index 3c412af..ade9636 100644
--- a/abs/core/lighttpd/__changelog
+++ b/abs/core/lighttpd/__changelog
@@ -28,3 +28,6 @@ added bash and python to cgi list
                                ".sh"  => "/bin/bash",
                                 ".py"  => "/usr/bin/python")
 
+# 8/13/2013
+upgrade to 1.4.32
+add proxy for shellinaboxd
diff --git a/abs/core/lighttpd/lighttpd.conf b/abs/core/lighttpd/lighttpd.conf
index 3fff75c..22180cc 100644
--- a/abs/core/lighttpd/lighttpd.conf
+++ b/abs/core/lighttpd/lighttpd.conf
@@ -152,7 +152,7 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
 #server.bind                = "127.0.0.1"
 
 ## error-handler for status 404
-server.error-handler-404   = "/404.html"
+server.error-handler-404   = "/index.html"
 
 ## to help the rc.scripts
 server.pid-file            = "/var/run/lighttpd/lighttpd.pid"
@@ -216,6 +216,16 @@ server.groupname           = "http"
 #                               )
 #                             )
 
+#proxy for shellinaboxd
+proxy.server = ( "/shell/" =>
+    ( "localhost" =>
+        (
+            "host" => "127.0.0.1",
+            "port" => 4200
+        )
+    )
+)
+
 #### fastcgi module
 ## read fastcgi.txt for more info
 ## for PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini
-- 
cgit v0.12

