logrotate: Update to version 3.19.0

Message ID 20220510103127.5336-1-adolf.belka@ipfire.org
State Superseded
Headers
Series logrotate: Update to version 3.19.0 |

Commit Message

Adolf Belka May 10, 2022, 10:31 a.m. UTC
  - Update from version 3.18.0 to 3.19.0
- Update of rootfile not required
- Removed ./autogen.sh as configure file has been available in the source tarball since
   version 3.12.3 and has not needed to be generated by autogen.sh
- Changelog
   ## [3.19.0] - 2022-01-07
	  - continue on `EINTR` in `compressLogFile()` (#430)
	  - enforce stricter parsing of configuration files (#427, #431)
	  - avoid confusing error message in debug mode (#426)
	  - fix `full_write()` on incomplete write (#415)
	  - do not use `alloca()` any more (#412)
	  - do not rotate hard links unless `allowhardlink` is used (#407)
	  - change directory after dropping privileges (#397)
	  - add defence in depth when dropping privileges (#400)
	  - remove invalid configuration on error (#408)
	  - do not open symbolic link log files by accident (#399)
	  - do not write state if state file is `/dev/null` (#395)
   ## [3.18.1] - 2021-05-21
	  - fix memory leaks on error-handling paths (#383, #387)
	  - make `renamecopy` and `copytruncate` override each other (#386)
	  - improve error handling in the parser of configuration files (#383)
	  - improve user experience for non-privileged users of logrotate (#372)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/logrotate | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
  

Patch

diff --git a/lfs/logrotate b/lfs/logrotate
index 90fdd1cfa..6516b1df5 100644
--- a/lfs/logrotate
+++ b/lfs/logrotate
@@ -24,10 +24,10 @@ 
 
 include Config
 
-VER        = 3.18.0
+VER        = 3.19.0
 
 THISAPP    = logrotate-$(VER)
-DL_FILE    = logrotate-$(VER).tar.gz
+DL_FILE    = logrotate-$(VER).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -42,7 +42,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 4e78e980f2cc8e4b208c5d64df7ba173b59dbb1913a37f28e867dae71e56d50567c8614c7b9cfc04f6dee7888518b50d302f4935a248428c567d7e42a8dcbaf9
+$(DL_FILE)_BLAKE2 = bb19690ca092905e527f6a0a7915373a65b29d3b50d97456ed31aa9b5b5698b3ae266c8e247a167198dcd8891a7e330f4913dfefa3563e5b2de7a6e0d067a6c3
 
 install : $(TARGET)
 
@@ -71,9 +71,8 @@  $(subst %,%_BLAKE2,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
-	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 
-	cd $(DIR_APP) && ./autogen.sh
 	cd $(DIR_APP) && ./configure --prefix=/usr
 
 	cd $(DIR_APP) && make $(MAKETUNING)