From: Huangbin Zhan Date: Sun, 24 Oct 2021 10:33:35 +0000 (+0800) Subject: nginx-util: add conffiles X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c1f4273501779e67ef88c7cbf0bbfcd24df16bc1;p=openwrt-packages.git nginx-util: add conffiles Add /etc/config/nginx, restrict_locally, uci.conf.template as conffile Signed-off-by: Huangbin Zhan --- diff --git a/net/nginx-util/Makefile b/net/nginx-util/Makefile index b1d9c5e6f..f5bb54d11 100644 --- a/net/nginx-util/Makefile +++ b/net/nginx-util/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nginx-util PKG_VERSION:=1.6 -PKG_RELEASE:=1 +PKG_RELEASE:=$(AUTORELEASE) PKG_MAINTAINER:=Peter Stadler include $(INCLUDE_DIR)/package.mk @@ -115,6 +115,16 @@ endef Package/nginx-ssl-util-nopcre/prerm = $(Package/nginx-ssl-util/prerm) +define Package/nginx-ssl-util/conffiles +/etc/config/nginx +/etc/nginx/restrict_locally +/etc/nginx/uci.conf.template +endef + + +Package/nginx-ssl-util-nopcre/conffiles = $(Package/nginx-ssl-util/conffiles) + + $(eval $(call BuildPackage,nginx-ssl-util)) $(eval $(call BuildPackage,nginx-ssl-util-nopcre))