nginx-util: add version to UCI conf template
authorChristian Marangi <[email protected]>
Mon, 15 May 2023 16:44:52 +0000 (18:44 +0200)
committerChristian Marangi <[email protected]>
Sat, 20 May 2023 21:18:00 +0000 (23:18 +0200)
Add versioning to UCI conf template as a commented version.
This permits the introduction of migration script since the template is
saved and restored config restore. The migration script are handled by
nginx init.d script.

Signed-off-by: Christian Marangi <[email protected]>
net/nginx-util/Makefile
net/nginx-util/files/uci.conf.template

index 52cdbb4eac6a1232dd90087d87b2aad1fa51b7fc..ce08d66289d8528713fbb18cb01a2c38b3c5753a 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nginx-util
 PKG_VERSION:=1.6
-PKG_RELEASE:=16
+PKG_RELEASE:=17
 PKG_MAINTAINER:=Peter Stadler <[email protected]>
 
 include $(INCLUDE_DIR)/package.mk
index 406ddb4cc13dea8389b6ef40f43019d1601b2d31..b56b1119eb64baabf9fe15f0eb15da5da3bab4fa 100644 (file)
@@ -1,6 +1,7 @@
 # Consider using UCI or creating files in /etc/nginx/conf.d/ for configuration.
 # Parsing UCI configuration is skipped if uci set nginx.global.uci_enable=false
 # For details see: https://openwrt.org/docs/guide-user/services/webserver/nginx
+# UCI_CONF_VERSION=1.1
 
 worker_processes auto;