Merge pull request #294 from mwarning/update-nodogsplash

nodogsplash: update to version 1.0.2
This commit is contained in:
Moritz Warning 2017-05-16 22:20:49 +02:00 committed by GitHub
commit 5ab3806949
3 changed files with 4 additions and 49 deletions

View file

@ -1,6 +1,4 @@
#
# Copyright (C) 2013-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
@ -9,13 +7,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nodogsplash
PKG_FIXUP:=autoreconf
PKG_VERSION:=1.0.1
PKG_RELEASE:=2
PKG_VERSION:=1.0.2
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=git://github.com/nodogsplash/nodogsplash.git
PKG_SOURCE_VERSION:=485d6dba05cce7a4ed87c28beaaf1199c0f832cf
PKG_SOURCE_VERSION:=9ef7d5fc16351585baf65877776d19cf85bf3031
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
PKG_LICENSE:=GPL-2.0+

View file

@ -13,7 +13,7 @@ config nodogsplash
option network 'lan'
option gatewayname 'OpenWrt Nodogsplash'
option maxclients '250'
option idletimeout '1200'
option clientidletimeout '1200'
# Your router may have several interfaces, and you
# probably want to keep them private from the network/gatewayinterface.

View file

@ -1,43 +0,0 @@
--- a/src/client_list.c
+++ b/src/client_list.c
@@ -36,7 +36,7 @@
#include <pthread.h>
#include <sys/wait.h>
#include <sys/types.h>
-#include <sys/unistd.h>
+#include <unistd.h>
#include <string.h>
--- a/src/firewall.c
+++ b/src/firewall.c
@@ -37,7 +37,7 @@
#include <pthread.h>
#include <sys/wait.h>
#include <sys/types.h>
-#include <sys/unistd.h>
+#include <unistd.h>
#include <string.h>
--- a/src/util.c
+++ b/src/util.c
@@ -38,7 +38,7 @@
#include <pthread.h>
#include <sys/wait.h>
#include <sys/types.h>
-#include <sys/unistd.h>
+#include <unistd.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
--- a/libhttpd/protocol.c
+++ b/libhttpd/protocol.c
@@ -25,6 +25,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
+#include <fcntl.h>
#if defined(_WIN32)
#else