Browse Source

logrotate: add logrotate.d to conffiles definition

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 <mnhagan88@gmail.com>
lilik-openwrt-22.03
Matthew Hagan 3 years ago
parent
commit
437bbb35a2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/logrotate/Makefile

+ 2
- 1
utils/logrotate/Makefile View File

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


Loading…
Cancel
Save