logrotate: add logrotate.d to conffiles definition
authorMatthew Hagan <redacted>
Sat, 18 Dec 2021 20:10:40 +0000 (20:10 +0000)
committerMatthew Hagan <redacted>
Sun, 19 Dec 2021 09:27:26 +0000 (09:27 +0000)
Currently the contents of logrotate.d is not kept across sysupgrades.
Add this directory to the conffiles definition to ensure its content is
maintained.

Bump the release as well.

Signed-off-by: Matthew Hagan <redacted>
utils/logrotate/Makefile

index 1c45b8a7dfe19523c3412668231f33de0f73688b..1abf34c29ebc95e044f2a66e5a899f23b8fd2bfb 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=logrotate
 PKG_VERSION:=3.17.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/logrotate/logrotate/releases/download/$(PKG_VERSION)
@@ -49,6 +49,7 @@ endef
 
 define Package/logrotate/conffiles
 /etc/logrotate.conf
+/etc/logrotate.d
 endef
 
 CONFIGURE_ARGS += \
git clone https://git.99rst.org/PROJECT