NetBSD Problem Report #47800

From www@NetBSD.org  Tue May  7 09:49:36 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 66BA163F5C8
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  7 May 2013 09:49:36 +0000 (UTC)
Message-Id: <20130507094935.70BE563F5C8@www.NetBSD.org>
Date: Tue,  7 May 2013 09:49:35 +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.4
X-Send-Pr-Version: www-1.0

>Number:         47800
>Category:       pkg
>Synopsis:       update sysutils/logrotate to 3.8.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue May 07 09:50:00 +0000 2013
>Closed-Date:    Tue May 07 20:47:48 +0000 2013
>Last-Modified:  Tue May 07 20:50:07 +0000 2013
>Originator:     Nils Ratusznik
>Release:        NetBSD-6.0
>Organization:
>Environment:
>Description:
Pkgsrc version of logrotate is 3.8.3 in 2013Q1 and in current.
>How-To-Repeat:
Look in package source. Look at web page. Note version discrepancy.
>Fix:
Patches are made against 2013Q1 :
Patch for Makefile (GENTOO and FREEBSD mirrors don't have the updated version, so I changed the fetch method using the official website and curl):
--- ../../sysutils/logrotate/Makefile   2013-04-11 13:36:33.000000000 +0200
+++ Makefile    2013-05-07 11:33:39.000000000 +0200
@@ -1,10 +1,10 @@
 # $NetBSD: Makefile,v 1.4 2013/03/07 12:58:11 obache Exp $
 #

-DISTNAME=              logrotate-3.8.3
+DISTNAME=              logrotate-3.8.4
 CATEGORIES=            sysutils
-MASTER_SITES=          ${MASTER_SITE_GENTOO:=distfiles/}
-MASTER_SITES+=         ${MASTER_SITE_FREEBSD:=distfiles/}
+MASTER_SITES=  https://fedorahosted.org/releases/l/o/logrotate/
+FETCH_USING=   curl

 MAINTAINER=            pkgsrc-users@NetBSD.org
 HOMEPAGE=              https://fedorahosted.org/logrotate/

Patch for distinfo :
--- ../../sysutils/logrotate/distinfo   2013-04-11 13:36:33.000000000 +0200
+++ distinfo    2013-05-07 11:33:52.000000000 +0200
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.4 2013/03/07 12:58:11 obache Exp $

-SHA1 (logrotate-3.8.3.tar.gz) = 19d70e2cfb97c1cee32e0d709da990856311022a
-RMD160 (logrotate-3.8.3.tar.gz) = b8f8fe3a86b019b9bd42eab7124f4f08c06ce0a6
-Size (logrotate-3.8.3.tar.gz) = 52210 bytes
+SHA1 (logrotate-3.8.4.tar.gz) = 81d9aeefa6b1c77fe4917a87d9b771a60ff6b920
+RMD160 (logrotate-3.8.4.tar.gz) = 576ff6e1b05a54da14d208abe697b27c754cf881
+Size (logrotate-3.8.4.tar.gz) = 55610 bytes
 SHA1 (patch-examples_logrotate-default) = df9671836392d99f2b31116aee18e51996dee173
 SHA1 (patch-examples_logrotate.cron) = 02981cb2b49e3f3f500fcb3db9b5dcb5fe62bddc
 SHA1 (patch-logrotate.8) = 7f6ff0fe636e15a2b2f03438fbaa012aa1a1eba0


DESCR, MESSAGE, PLIST and the patches directory don't change.

>Release-Note:

>Audit-Trail:
From: Nils Ratusznik <nils.ratusznik@anotherhomepage.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/47800: update sysutils/logrotate to 3.8.4
Date: Tue, 7 May 2013 11:53:06 +0200 (CEST)

 Here is the changelog : 
 3.8.3 -> 3.8.4
 	- Added --version command line option
 	- Disable ACL tests if logrotate is not compiled WITH_ACL support or if 
 	  ACLs are not supported by the system running tests
 	- Disable SELinux tests if logrotate is not compiled WITH_SELINUX support
 	  or if SELinux is not supported by the system running tests
 	- Fixed bug which prevented skipping particular log file config
 	  if the config contained errors.
 	- Fixed skipping of configs containing firstaction/lastaction scripts
 	  with '}' character in case of error before these scripts.
 	- Support also 'K' unit for *size directives.
 	- Added preremove option to let admin to do something with the old logs
 	  before they are removed by logrotate.
 	- Fixed possible loop in tabooext parsing.
 	- Move code to set SELinux context before compressLogFile calls to create
 	  compressed log files with the proper context.
 	- Call prerotate/postrotate script only for really rotated files in
 	  nosharedscripts mode (as stated in man page).

State-Changed-From-To: open->closed
State-Changed-By: gls@NetBSD.org
State-Changed-When: Tue, 07 May 2013 20:47:48 +0000
State-Changed-Why:
Committed, thanks!


From: "Guillaume Lasmayous" <gls@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47800 CVS commit: pkgsrc/sysutils/logrotate
Date: Tue, 7 May 2013 20:30:22 +0000

 Module Name:	pkgsrc
 Committed By:	gls
 Date:		Tue May  7 20:30:22 UTC 2013

 Modified Files:
 	pkgsrc/sysutils/logrotate: Makefile distinfo

 Log Message:
 Update sysutils/logrotate to 3.8.4.
 From Nils Ratusznik per PR pkg/47800

 pkgsrc changes:
 ---------------
 Update MASTER_SITES. Now requires curl to fetch on https mirror.

 Upstream changes:
 -----------------

  3.8.3 -> 3.8.4
 - Added --version command line option
 - Disable ACL tests if logrotate is not compiled WITH_ACL support or if
   ACLs are not supported by the system running tests
 - Disable SELinux tests if logrotate is not compiled WITH_SELINUX support
   or if SELinux is not supported by the system running tests
 - Fixed bug which prevented skipping particular log file config
   if the config contained errors.
 - Fixed skipping of configs containing firstaction/lastaction scripts
   with '}' character in case of error before these scripts.
 - Support also 'K' unit for *size directives.
 - Added preremove option to let admin to do something with the old logs
   before they are removed by logrotate.
 - Fixed possible loop in tabooext parsing.
 - Move code to set SELinux context before compressLogFile calls to create
   compressed log files with the proper context.
 - Call prerotate/postrotate script only for really rotated files in
   nosharedscripts mode (as stated in man page).


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 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.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.