mirror of
https://github.com/1andrevich/homeproxy-hiddify.git
synced 2026-12-02 16:12:15 +00:00
Add postinst hook in Makefile to reload rpcd after package install. Add new UI translation entries (status.js) to templates and fa_IR, ru, zh_Hans PO files for core/package management and status messages. Fix core_mgmt.uc output by printing the result directly (remove json() wrapper). Grant rpcd ACL exec permission for /usr/bin/ucode to allow invoking ucode from the service.
37 lines
937 B
Makefile
37 lines
937 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2022-2023 ImmortalWrt.org
|
|
# Copyright (C) 2024-2026 1andrevich <1andrevich.recede274@passmail.net>
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
LUCI_TITLE:=LuCI support for homeproxy (hiddify-core edition)
|
|
LUCI_PKGARCH:=all
|
|
LUCI_DEPENDS:= \
|
|
+firewall4 \
|
|
+ucode-mod-digest
|
|
|
|
PKG_NAME:=luci-app-homeproxy-hiddify
|
|
PKG_VERSION:=1
|
|
PKG_RELEASE:=1
|
|
PKG_MAINTAINER:=1andrevich <1andrevich.recede274@passmail.net>
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
define Package/luci-app-homeproxy-hiddify/conffiles
|
|
/etc/config/homeproxy
|
|
/etc/homeproxy/certs/
|
|
/etc/homeproxy/ruleset/
|
|
/etc/homeproxy/resources/direct_list.txt
|
|
/etc/homeproxy/resources/proxy_list.txt
|
|
endef
|
|
|
|
define Package/luci-app-homeproxy-hiddify/postinst
|
|
#!/bin/sh
|
|
[ -n "$$IPKG_INSTROOT" ] || kill -HUP $$(pidof rpcd) 2>/dev/null
|
|
exit 0
|
|
endef
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|