uhttpd: update to latest git revision
authorJohn Crispin <john@openwrt.org>
Mon, 19 Oct 2015 10:08:01 +0000 (10:08 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 19 Oct 2015 10:08:01 +0000 (10:08 +0000)
adds URL alias support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47206

package/network/services/uhttpd/Makefile
package/network/services/uhttpd/files/uhttpd.init

index a9a535aee8598416607b15dc95c421093c493bf1..253da4492069ed57fb0fb9fbe9997e6d75a564a8 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=uhttpd
-PKG_VERSION:=2015-10-08
+PKG_VERSION:=2015-10-17
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://nbd.name/uhttpd2.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=7ed2edc40dd6d0171266f3bfbc96466e1d25e3cd
+PKG_SOURCE_VERSION:=3614ae6eb7b6101fa5d0f14ff0d3a6eb4970c3da
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
 PKG_LICENSE:=ISC
index a3e09c44e7ee3ad35a9462b070348e46e0ae3b43..fcde52a5640f6a037b49f50a25da01bcd050f561 100755 (executable)
@@ -94,6 +94,11 @@ start_instance()
        append_bool "$cfg" no_dirlists "-D" 0
        append_bool "$cfg" rfc1918_filter "-R" 0
 
+       config_get alias_list "$cfg" alias
+       for alias in $alias_list; do
+                procd_append_param command -y "$alias"
+       done
+
        config_get http "$cfg" listen_http
        for listen in $http; do
                 procd_append_param command -p "$listen"