New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19398 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

logrotate @3.7.1, Revision 1 - enhancment with dateext feature

Reported by: andre.mueller@… Owned by: markd@…
Priority: High Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: logrotate

Description

Hello

The linux counterpart of logrotate features the dateext archive extension naming.

* (from man logrotate : OpenSuSe 10.0)

dateext

Archive old versions of log files adding a daily extension like YYYYMMDD instead of simply adding a number.

*

The dateext feature is very help full in order logs are achived in an "ordered" way.

Thank you very much, with best regards

Change History

comment:1 Changed 4 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to markd@…

comment:2 Changed 4 years ago by anonymous

  • Milestone Port Enhancements deleted

Milestone Port Enhancements deleted

comment:3 Changed 4 years ago by andre.mueller@…

Hello

I "investigated" the dateext feature. The dateext feature is already present also in the Debian distribution and in the 3.7.1 version. The patch for dateext originates from RedHat and is contained in the Debian source as "rh-dateext.patch". Also in the diff file "logrotate_3.7.1-5.diff" fetched by macports the dateext patch is present but it seems that the patch is not applied by macports on build and/or installing phase. Unfortunately I am not able / knowing to less about macports to overwrite locally the Portfile settings in order this patch is applied.

I would be very grateful to the maintainer of this port, to apply the dateext patch as soon as possible, or giving a hint how I can apply the patch by myself on my local copy of logrotate.

Thank you in advances and with best regards,

André

comment:4 Changed 4 years ago by markd@…

  • Status changed from new to closed
  • Resolution set to fixed

Patch rh-dateext applied in r51022.

comment:5 Changed 4 years ago by blb@…

  • Summary changed from ogrotate @3.7.1, Revision 1 - enhancment with dateext feature to logrotate @3.7.1, Revision 1 - enhancment with dateext feature

comment:6 Changed 4 years ago by andre.mueller@…

Hello

Thank you very much for the update!

best regards,

Note: See TracTickets for help on using tickets.