NetBSD Problem Report #48311
From www@NetBSD.org Mon Oct 14 19:44:45 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id DB90E7259B
for <gnats-bugs@gnats.NetBSD.org>; Mon, 14 Oct 2013 19:44:45 +0000 (UTC)
Message-Id: <20131014194444.4309F7268B@mollari.NetBSD.org>
Date: Mon, 14 Oct 2013 19:44:44 +0000 (UTC)
From: nils.netbsd@anotherhomepage.org
Reply-To: nils.netbsd@anotherhomepage.org
To: gnats-bugs@NetBSD.org
Subject: update sysutils/logrotate to 3.8.7
X-Send-Pr-Version: www-1.0
>Number: 48311
>Category: pkg
>Synopsis: update sysutils/logrotate to 3.8.7
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Oct 14 19:45:00 +0000 2013
>Closed-Date: Wed Oct 30 20:22:07 +0000 2013
>Last-Modified: Wed Oct 30 20:22:07 +0000 2013
>Originator: Nils Ratusznik
>Release: pkgsrc-2013Q3
>Organization:
>Environment:
NetBSD dev.anotherhomepage.org 6.1.2 NetBSD 6.1.2 (XEN3_DOMU) amd64
>Description:
Pkgsrc version of logrotate is 3.8.5 in 2013Q3 and in current, but upstream is 3.8.7 and fixes a memory corruption.
>How-To-Repeat:
Look in package source. Look at web page. Note version discrepancy.
>Fix:
Patches are made against pkgsrc-2013Q3 :
Patch for Makefile :
--- Makefile 28 Jul 2013 11:21:23 -0000 1.6
+++ Makefile 14 Oct 2013 19:38:29 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.6 2013/07/28 11:21:23 obache Exp $
#
-DISTNAME= logrotate-3.8.5
+DISTNAME= logrotate-3.8.7
CATEGORIES= sysutils
MASTER_SITES= https://fedorahosted.org/releases/l/o/logrotate/
Patch for distinfo :
--- distinfo 28 Jul 2013 11:21:23 -0000 1.6
+++ distinfo 14 Oct 2013 19:40:11 -0000
@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.6 2013/07/28 11:21:23 obache Exp $
-SHA1 (logrotate-3.8.5.tar.gz) = b3bd6eb5f84c243b328252db651e4826fd726b8b
-RMD160 (logrotate-3.8.5.tar.gz) = 759b1806ea08bd2c45bbc175ea1efaca255994b7
-Size (logrotate-3.8.5.tar.gz) = 57818 bytes
+SHA1 (logrotate-3.8.7.tar.gz) = dcf2fd55a8f76c4f7b8a03fc019a8b96f80fe300
+RMD160 (logrotate-3.8.7.tar.gz) = 24e00e1ecccb624f7807f31fba9032553c80a188
+Size (logrotate-3.8.7.tar.gz) = 58898 bytes
SHA1 (patch-examples_logrotate-default) = df9671836392d99f2b31116aee18e51996dee173
SHA1 (patch-examples_logrotate.cron) = 02981cb2b49e3f3f500fcb3db9b5dcb5fe62bddc
SHA1 (patch-logrotate.8) = 0bf7d9cfbc2f5dfff42a82b523926b9c8d0362a0
Changelog :
3.8.6 -> 3.8.7
- Fixed --force/-f option handling together with "size" directive
(3.8.5 regression).
- Use "logrotate_tmp_t" context for SELinux tests and if this context does
not exist, skip SELinux related tests.
3.8.5 -> 3.8.6
- Fixed memory corruption caused by rotation directory which does not
exist with "sharedscripts" together with "prerotate" script.
Other files don't change. The distfile is still https only, so it will need to be copied on ftp.n.o.
>Release-Note:
>Audit-Trail:
From: "Guillaume Lasmayous" <gls@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48311 CVS commit: pkgsrc/sysutils/logrotate
Date: Wed, 30 Oct 2013 20:16:25 +0000
Module Name: pkgsrc
Committed By: gls
Date: Wed Oct 30 20:16:25 UTC 2013
Modified Files:
pkgsrc/sysutils/logrotate: Makefile distinfo
Log Message:
Update sysutils/logrotate to 3.8.7.
Via Nils Ratusznik in PR pkg/48311.
pkgsrc changes:
---------------
FETCH_USING=curl to fetch over https.
Upstream changes:
-----------------
Changelog :
3.8.6 -> 3.8.7
- Fixed --force/-f option handling together with "size" directive
(3.8.5 regression).
- Use "logrotate_tmp_t" context for SELinux tests and if this context does
not exist, skip SELinux related tests.
3.8.5 -> 3.8.6
- Fixed memory corruption caused by rotation directory which does not
exist with "sharedscripts" together with "prerotate" script.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/logrotate/Makefile \
pkgsrc/sysutils/logrotate/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: gls@NetBSD.org
State-Changed-When: Wed, 30 Oct 2013 20:22:07 +0000
State-Changed-Why:
Committed, thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.