Browse Source

lighttpd: Update from 1.4.35 to 1.4.38

android-5
Fredrik Fornwall 9 years ago
parent
commit
744f41bd33
  1. 2
      packages/lighttpd/build.sh
  2. 19
      packages/lighttpd/hostlen-scope.patch

2
packages/lighttpd/build.sh

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=http://www.lighttpd.net
TERMUX_PKG_DESCRIPTION="Web server optimized for speed-critical environments while remaining standards-compliant, secure and flexible"
TERMUX_PKG_VERSION=1.4.35
TERMUX_PKG_VERSION=1.4.38
TERMUX_PKG_SRCURL=http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-bzip2 --with-openssl --with-pcre --with-zlib"
TERMUX_PKG_DEPENDS="libbz2, openssl, pcre"

19
packages/lighttpd/hostlen-scope.patch

@ -1,19 +0,0 @@
diff -u -r ../lighttpd-1.4.35/src/network.c ./src/network.c
--- ../lighttpd-1.4.35/src/network.c 2014-03-06 15:08:00.000000000 +0100
+++ ./src/network.c 2014-03-13 01:22:10.235965757 +0100
@@ -356,7 +356,6 @@
goto error_free_socket;
}
memcpy(srv_socket->addr.un.sun_path, host, hostlen);
- }
srv_socket->addr.un.sun_family = AF_UNIX;
#ifdef SUN_LEN
@@ -365,6 +364,7 @@
/* stevens says: */
addr_len = hostlen + sizeof(srv_socket->addr.un.sun_family);
#endif
+ }
/* check if the socket exists and try to connect to it. */
if (-1 != (fd = connect(srv_socket->fd, (struct sockaddr *) &(srv_socket->addr), addr_len))) {
Loading…
Cancel
Save