Browse Source

nginx-util: add conffiles

Add /etc/config/nginx, restrict_locally, uci.conf.template
 as conffile

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
lilik-openwrt-22.03
Huangbin Zhan 3 years ago
committed by Rosen Penev
parent
commit
c1f4273501
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      net/nginx-util/Makefile

+ 11
- 1
net/nginx-util/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nginx-util PKG_NAME:=nginx-util
PKG_VERSION:=1.6 PKG_VERSION:=1.6
PKG_RELEASE:=1
PKG_RELEASE:=$(AUTORELEASE)
PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at> PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -115,6 +115,16 @@ endef
Package/nginx-ssl-util-nopcre/prerm = $(Package/nginx-ssl-util/prerm) 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))
$(eval $(call BuildPackage,nginx-ssl-util-nopcre)) $(eval $(call BuildPackage,nginx-ssl-util-nopcre))


Loading…
Cancel
Save