- Add PKG_ARCH:=all to all 29 SecuBox packages for architecture independence - Fix secubox-core: remove /var directory creation (conflicts with OpenWRT symlink) - Fix luci-app-secubox: remove PKG_FILE_MODES causing build errors - Refactor luci-app-network-tweaks: migrate files/ to root/ structure - Set correct permissions on fix-permissions.sh (755) Fixes: - secubox-core now builds successfully (no /var conflict) - luci-app-secubox installs without file conflicts - All packages properly marked as architecture-independent 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
31 lines
897 B
Makefile
31 lines
897 B
Makefile
# Copyright (C) 2024 CyberMind.fr
|
|
# Licensed under Apache-2.0
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-network-tweaks
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
PKG_ARCH:=all
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
|
|
|
LUCI_TITLE:=Network Tweaks - Auto Proxy DNS & Hosts
|
|
LUCI_DESCRIPTION:=Automatically generates DNS and hosts entries from enabled vhosts for seamless local domain resolution
|
|
LUCI_DEPENDS:=+luci-base +rpcd +luci-app-vhost-manager +dnsmasq
|
|
LUCI_PKGARCH:=all
|
|
|
|
define Package/$(PKG_NAME)/conffiles
|
|
/etc/config/network_tweaks
|
|
endef
|
|
|
|
# File permissions
|
|
PKG_FILE_MODES:=/usr/libexec/rpcd/luci.network-tweaks:root:root:755 \
|
|
/usr/sbin/network-tweaks-sync:root:root:755 \
|
|
/etc/init.d/network-tweaks:root:root:755 \
|
|
/etc/hotplug.d/iface/99-network-tweaks:root:root:755
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|