Browse Source

upgrading package: lighttpd 1.4.32 -> 1.4.33

master
parent
commit
21f6d0275f
  1. 11
      lighttpd/lighttpd.patch
  2. 6
      lighttpd/lighttpd.spec

11
lighttpd/lighttpd.patch

@ -0,0 +1,11 @@
Index: src/mod_extforward.c
--- src/mod_extforward.c.orig 2013-08-28 23:11:41.000000000 +0200
+++ src/mod_extforward.c 2013-09-28 10:21:09.997803201 +0200
@@ -439,7 +439,6 @@
#ifdef HAVE_IPV6
ipstr_to_sockaddr(srv, real_remote_addr, &sock);
#else
- UNUSED(addrs_left);
sock.ipv4.sin_addr.s_addr = inet_addr(real_remote_addr);
sock.plain.sa_family = (sock.ipv4.sin_addr.s_addr == 0xFFFFFFFF) ? AF_UNSPEC : AF_INET;
#endif

6
lighttpd/lighttpd.spec

@ -31,8 +31,8 @@ Distribution: OpenPKG Community
Class: BASE
Group: Web
License: MIT-style
Version: 1.4.32
Release: 20121122
Version: 1.4.33
Release: 20130928
# package options
%option with_fsl yes
@ -50,6 +50,7 @@ Source0: http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-%{ve
Source1: lighttpd.conf
Source2: rc.lighttpd
Source3: fsl.lighttpd
Patch0: lighttpd.patch
# build information
BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc
@ -108,6 +109,7 @@ PreReq: lua
%prep
%setup -q
%patch -p0
%{l_shtool} subst \
-e 's;\(/etc/lighttpd/lighttpd.conf\);%{l_prefix}\1;' \
doc/lighttpd.1

Loading…
Cancel
Save