mirror of
https://github.com/roacn/openwrt-packages.git
synced 2025-01-09 04:18:08 +08:00
29 lines
604 B
Makefile
29 lines
604 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-mosdns
|
|
PKG_VERSION:=1.5.7
|
|
PKG_RELEASE:=1
|
|
|
|
LUCI_TITLE:=LuCI Support for mosdns
|
|
LUCI_PKGARCH:=all
|
|
LUCI_DEPENDS:=+mosdns +jsonfilter +luci-compat +curl +v2ray-geoip +v2ray-geosite +v2dat
|
|
|
|
define Package/$(PKG_NAME)/conffiles
|
|
/etc/config/mosdns
|
|
/etc/mosdns/cache.dump
|
|
/etc/mosdns/config_custom.yaml
|
|
/etc/mosdns/rule
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/postinst
|
|
#!/bin/sh
|
|
[ -n "${IPKG_INSTROOT}" ] || {
|
|
sysctl -p /etc/sysctl.d/20-mosdns-buffer-increase.conf
|
|
exit 0
|
|
}
|
|
endef
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|