Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#19398 closed enhancement (fixed)

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 (6)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

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

comment:2 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:3 Changed 15 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 15 years ago by markd@…

Resolution: fixed
Status: newclosed

Patch rh-dateext applied in r51022.

comment:5 Changed 15 years ago by blb@…

Summary: ogrotate @3.7.1, Revision 1 - enhancment with dateext featurelogrotate @3.7.1, Revision 1 - enhancment with dateext feature

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

Hello

Thank you very much for the update!

best regards,

Note: See TracTickets for help on using tickets.