From patchwork Tue May 10 10:31:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 5605 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4KyDqB2hv9z3x1v for ; Tue, 10 May 2022 10:31:34 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4KyDq95msGz45R; Tue, 10 May 2022 10:31:33 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4KyDq95RsZz2yqB; Tue, 10 May 2022 10:31:33 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4KyDq81S8bz2xK6 for ; Tue, 10 May 2022 10:31:32 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4KyDq771Lzz45R; Tue, 10 May 2022 10:31:31 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1652178692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sPWZPKdfc6oQrxW+RuNTna1C9nbwqnzEBCeqNXNYIrA=; b=ljBs8cICVnF5JXmIgCMUlprRHHOWw9oEgywk/rNpknhorm8YjEJS+QVVUS6qmcXugMS381 utgN/Md86jL3Y4Dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1652178692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sPWZPKdfc6oQrxW+RuNTna1C9nbwqnzEBCeqNXNYIrA=; b=l7HYOTu5TIvS75LWxckJSc+gkWKcUQwqMqM/USHkhuKrEViwmnuEv/jZdRDXUSwhD8wRP8 p/TpWx4bMq+MbpX+lNtRTua2NocFJ7kkZpvPphFeN2jwEg3rUV9A9mcgKRTeGSjOVHb80f 9lc42kfY+H2Xw/HXMHUMEglA5UU6NvJ8H2KamZYqL7hP4OtVDNfxFBquJ8pwRq/Y09GxdB wOySMxcquhvpO0hSeyUa+g0OMpjezpfmNmwy5mQNYWRATsTxvSs9JZR31bWQF8432NmoVc FLGZiGVmHLUZcF6XFChwjLiH1OzwD5ACr+Do4fcDpQAZ2wClVstEluI9gz+BtQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] logrotate: Update to version 3.19.0 Date: Tue, 10 May 2022 12:31:27 +0200 Message-Id: <20220510103127.5336-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - 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 --- lfs/logrotate | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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)