Bug 160009

Summary: sysutils/logrotate changes to logrotate.conf.sample
Product: Ports & Packages Reporter: Henrik Larsson <freepbx>
Component: Individual Port(s)Assignee: Beech Rintoul <beech>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
logrotate.conf.sample.diff none

Description Henrik Larsson 2011-08-22 20:10:11 UTC
The supplied sample configuration file, contains deprecated configuration parameters.

Running "logrotate -d" on the sample configuration file produces the following:
--cut--
/usr/local/etc/logrotate.conf.sample: 9: the errors directive is deprecated and no longer used.
error: /usr/local/etc/logrotate.conf.sample:9 unexpected text
--cut--

Fix: 

The following lines should be removed from "logrotate.conf.sample":
--cut--
# send errors to root
errors root
--cut-
How-To-Repeat: - Install sysutils/logrotate port
- Execute "logrotate -d /usr/local/etc/logrotate.conf
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-08-22 20:10:18 UTC
Maintainer of sysutils/logrotate,

Please note that PR ports/160009 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/160009

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2011-08-22 20:10:21 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 js 2011-08-22 21:04:27 UTC
True. I approve the change.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2011-08-22 22:43:49 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 5 freebsd 2011-08-22 23:39:22 UTC
Diff for "files/logrotate.conf.sample".
Comment 6 Beech Rintoul freebsd_committer freebsd_triage 2011-08-23 09:45:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

I'll take it
Comment 7 dfilter service freebsd_committer freebsd_triage 2011-08-23 10:11:04 UTC
beech       2011-08-23 09:10:46 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/logrotate/files logrotate.conf.sample 
  Log:
  Remove deprecated lines from "logrotate.conf.sample"
  
  PR:             ports/160009
  Submitted by:   Henrik Larsson <freepbx@spambox.dk>
  Approved by:    Balazs Nagy <js@iksz.hu> (maintainer)
  
  Revision  Changes    Path
  1.2       +0 -3      ports/sysutils/logrotate/files/logrotate.conf.sample
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 8 Beech Rintoul freebsd_committer freebsd_triage 2011-08-23 10:11:24 UTC
State Changed
From-To: open->closed

Committed, Thanks!