mirror of
				https://github.com/kenzok8/openwrt-packages.git
				synced 2025-10-30 07:50:37 +08:00 
			
		
		
		
	update 2025-10-24 02:27:04
This commit is contained in:
		| @ -6,12 +6,12 @@ | ||||
| include $(TOPDIR)/rules.mk | ||||
|  | ||||
| PKG_NAME:=adguardhome | ||||
| PKG_VERSION:=0.107.67 | ||||
| PKG_VERSION:=0.107.68 | ||||
| PKG_RELEASE:=1 | ||||
|  | ||||
| PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||||
| PKG_SOURCE_URL:=https://codeload.github.com/AdguardTeam/AdGuardHome/tar.gz/v$(PKG_VERSION)? | ||||
| PKG_HASH:=0d74004fd17c8f185174fa09deb130ad48e2f46e946eb9fa8c66ce186d2af9cf | ||||
| PKG_HASH:=349eaf6d91d70d6769486abe9f4ce5b3703c10a9090d140a67fa2297c3abb757 | ||||
| PKG_BUILD_DIR:=$(BUILD_DIR)/AdGuardHome-$(PKG_VERSION) | ||||
|  | ||||
| PKG_LICENSE:=GPL-3.0-only | ||||
| @ -58,7 +58,7 @@ define Download/adguardhome-frontend | ||||
| 	URL:=https://github.com/AdguardTeam/AdGuardHome/releases/download/v$(PKG_VERSION)/ | ||||
| 	URL_FILE:=AdGuardHome_frontend.tar.gz | ||||
| 	FILE:=$(FRONTEND_FILE) | ||||
|     HASH:=8709396e05f812f3e2085a64074384b6363fe1871b9bbb7e8f9886c1aa64b579 | ||||
|     HASH:=978e6a2c8ab268a64006133d8082ab332bf42d5c4575125630410e4e7e03e98e | ||||
| endef | ||||
|  | ||||
| define Build/Prepare | ||||
|  | ||||
| @ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk | ||||
|  | ||||
| PKG_NAME:=luci-app-lucky | ||||
| PKG_VERSION:=3.0.1 | ||||
| PKG_RELEASE:=12 | ||||
| PKG_RELEASE:=13 | ||||
|  | ||||
| LUCI_TITLE:=LuCI Support for Dynamic lucky Client | ||||
| LUCI_DEPENDS:=+lucky | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| /*   Copyright (C) 2021-2025 sirpdboy herboy2008@gmail.com https://github.com/sirpdboy/luci-app-lucky */ | ||||
| //   Copyright (C) 2021-2025 sirpdboy herboy2008@gmail.com https://github.com/sirpdboy/luci-app-lucky  | ||||
|  | ||||
| 'use strict'; | ||||
| 'require form'; | ||||
|  | ||||
| @ -2,7 +2,7 @@ msgid "" | ||||
| msgstr "Content-Type: text/plain; charset=UTF-8" | ||||
|  | ||||
| msgid "Lucky Configuration" | ||||
| msgstr "Lucky参数配置" | ||||
| msgstr "Lucky配置" | ||||
|  | ||||
| msgid "Lucky" | ||||
| msgstr "Lucky大吉" | ||||
|  | ||||
| @ -41,13 +41,21 @@ start_instance() { | ||||
|     enabled=$(uci -q get $CONF.$CONF.enabled ) || enabled="0" | ||||
|     logger=$(uci -q get $CONF.$CONF.logger ) || logger="1" | ||||
|     port=$(uci -q get $CONF.$CONF.port ) || port="16601" | ||||
|     SafeURL=$(uci -q get $CONF.$CONF.safe ) || SafeURL="" | ||||
|     SafeURL=$(uci -q get $CONF.$CONF.safe ) || SafeURL=" " | ||||
|     delay=$(uci -q get $CONF.$CONF.delay ) || delay="5" | ||||
|     SafeURL="${SafeURL##*( )}" | ||||
|     SafeURL="${SafeURL%%*( )}" | ||||
|      | ||||
|     init_confdir | ||||
|     [  x$enabled = x1 ] || return 1 | ||||
|     [ $(awk -F. '{print $1}' /proc/uptime) -lt "120" ] && sleep $delay | ||||
|     [ $(awk -F. '{print $1}' /proc/uptime) -lt "120" ] && sleep $delay  | ||||
|     $(which lucky) -setconf -key AdminWebListenPort -value $port -cd $CONFDIR | ||||
|     $(which lucky) -setconf -key SafeURL -value $SafeURL -cd $CONFDIR | ||||
|     if [ -z "$SafeURL" ] ; then | ||||
|         $(which lucky) -rCancelSafeURL | ||||
|     else | ||||
|         $(which lucky) -setconf -key SafeURL -value "$SafeURL" -cd $CONFDIR | ||||
|     fi | ||||
|      | ||||
|     procd_open_instance | ||||
|     procd_set_param command $PROG  | ||||
|     procd_append_param command -cd $CONFDIR | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 actions-user
					actions-user