apfree-wifidog: Update to 7.10.2082
authorDengfeng Liu <liudf0716@gmail.com>
Sat, 26 Oct 2024 12:53:03 +0000 (20:53 +0800)
committerTianling Shen <cnsztl@gmail.com>
Fri, 1 Nov 2024 08:53:41 +0000 (16:53 +0800)
Update Makefile to include dependencies: conntrack and libmosquitto.

Conntrack: Added to resolve a bug in Apfree-Wifidog that caused long-lived user connections to persist after logout.
Libmosquitto: Integrated as a preparatory measure for future support of the MQTT protocol; implementation is still in progress.
For detailed information, please refer to the release notes:
https://github.com/liudf0716/apfree-wifidog/releases/tag/7.10.2082.

Additionally, a new /etc/wifidogx directory has been created to store the local authentication portal page for users uploading their own portal pages.

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
net/apfree-wifidog/Makefile

index 2c18005eafe42aa164e0dc04851bcd2aa4fcc19c..41d60950cfee008fbd06977df8302effb0c180eb 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=apfree-wifidog
-PKG_VERSION:=7.08.2035
+PKG_VERSION:=7.10.2082
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/liudf0716/$(PKG_NAME)/tar.gz/$(PKG_VERSION)?
-PKG_HASH:=b7977be1b498c58643c32365d278bdc2e9bbc8f8b50b7189a59992efadb062c7
+PKG_HASH:=2b7b22221852732f2511e991bef5d135132a8cc50f3d612eaee77d74c51bc501
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 
 PKG_MAINTAINER:=Dengfeng Liu <liudf0716@gmail.com>
@@ -27,7 +27,7 @@ define Package/apfree-wifidog
   SUBMENU:=Captive Portals
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+zlib +libjson-c +libevent2 +libevent2-openssl +libuci +openssl-util +libnetfilter-queue
+  DEPENDS:=+zlib +libjson-c +libevent2 +libevent2-openssl +libuci +openssl-util +libnetfilter-queue +conntrack +libmosquitto
   TITLE:=Apfree's wireless captive portal solution
   URL:=https://github.com/liudf0716/apfree_wifidog
 endef
@@ -60,6 +60,7 @@ define Package/apfree-wifidog/install
        $(INSTALL_BIN) ./files/wifidogx.init $(1)/etc/init.d/wifidogx
        $(INSTALL_DIR) $(1)/etc/config
        $(CP) ./files/wifidogx.conf $(1)/etc/config/wifidogx
+       $(INSTALL_DIR) $(1)/etc/wifidogx
 endef
 
 $(eval $(call BuildPackage,apfree-wifidog))