Port details |
- logrotate Daemon to rotate, compress, remove, and mail system log files
- 3.13.0_2 sysutils =44 3.13.0_2Version of this port present on the latest quarterly branch.
- Maintainer: js@iksz.hu
- Port Added: unknown
- Last Update: 2024-02-26 06:01:44
- Commit Hash: 8aff86a
- People watching this port, also watch:: wget, unzip, sudo, gmake, pcre
- License: GPLv2
- WWW:
- https://github.com/logrotate/logrotate/
- Description:
- Daemon to rotate, compress, remove and mail system log files.
I try to make it work just like /usr/sbin/newsyslog.
With logrotate, you can mail syslog and execute command
before or after logrotate.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- logrotate>0:sysutils/logrotate
- To install the port:
- cd /usr/ports/sysutils/logrotate/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/logrotate
- pkg install logrotate
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: logrotate
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1508013010
SHA256 (logrotate-logrotate-3.13.0_GH0.tar.gz) = fb1ff8502e7ae4aedaa3d0da8d3740a6a0f44b72e34666af724e9094b166c942
SIZE (logrotate-logrotate-3.13.0_GH0.tar.gz) = 82436
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- autoconf>=2.71 : devel/autoconf
- automake>=1.16.5 : devel/automake
- Library dependencies:
-
- libpopt.so : devel/popt
- This port is required by:
- for Run
-
- net/onedrive
Configuration Options:
- No options to configure
- Options name:
- sysutils_logrotate
- USES:
- autoreconf cpe gmake localbase
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.13.0_2 26 Feb 2024 06:01:44 |
Muhammad Moinur Rahman (bofh) |
sysutils/logrotate: Moved man to share/man
Approved by: portmgr (blanket) |
3.13.0_1 20 Jul 2022 14:23:05 |
Tobias C. Berner (tcberner) |
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
3.13.0_1 10 Sep 2021 21:17:50 |
Bernhard Froehlich (decke) |
sysutils/logrotate: Add CPE information
Approved by: portmgr (blanket) |
3.13.0_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
3.13.0_1 04 Sep 2020 04:03:18 |
danfe |
Ensure that there is only one variable definition per each object, as
the C (and C++) standards mandated for years and compilers started to
enforce as of recently (Clang 11, GCC 10).
Reported by: pkg-fallout |
3.13.0_1 20 Dec 2017 02:31:40 |
swills |
sysutils/logrotate: fix paths after upate to 3.13.0
While here add USES=localbase and unmute post-install tasks
PR: 223227
Submitted by: a.ulasov@gmail.com (inspired by)
Approved by: js@iksz.hu (maintainer) |
3.13.0 17 Oct 2017 08:21:17 |
pizzamig |
sysutils/logrotate: Update to 3.13.0
PR: 223017
Submitted by: js@iksz.hu (maintainer)
Approved by: olivier (mentor)
Differential Revision: https://reviews.freebsd.org/D12687 |
3.9.2 01 Apr 2016 14:25:18 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
3.9.2 30 Jan 2016 07:00:11 |
pi |
sysutils/logrotate: 3.8.9 -> 3.9.2
Changes:
- Upstream moved to GitHub: https://github.com/logrotate/logrotate.
- Add support for %M, %S and %V in "dateext" directive.
- Fix bad filename in subject of email when "compress" and "maillast" is used.
- Allow rotating files created before 1996.
- Fix compilation errors on NetBSD caused by "array subscript has
type 'char' in config.c".
- Fix matching subdirectories on BSD systems for patterns like
"*/log" in situation where logrotate tried to match "foo/log" even
when "foo" has not been a directory.
- Fix logging dates in debug messages.
- Remove state file entries for logs which do not exist and have
not been rotated for more than a year.
- Fix poor performance with big state file.
- Support logging to syslog by using '-l syslog'.
- Allow running test-suite using dash.
PR: 205716
Submitted by: douglas@douglasthrift.net
Approved by: js@iksz.hu (maintainer) |
3.8.9_1 29 Jun 2015 01:01:40 |
pgollucci |
sysutils/logrotate: missing logrotate.d directory
- bump PORTREVISION for plist change
PR: 200202
Submitted by: feld@FreeBSD.org
Approved by: maintainer timeout (js@iksz.hu ; 44 days) |
3.8.9 14 May 2015 07:51:09 |
madpilot |
- Update to 3.8.9
- Add LICENSE
- Use @sample in plist
- While here, regenerate patches to silence portlint warnings
PR: 196668
Submitted by: jyoung15 at gmail.com
Approved by: Balazs Nagy <js at iksz.hu> (maintainer) |
3.8.8 06 Jan 2015 10:25:13 |
pi |
sysutils/logrotate: 3.8.7 -> 3.8.8, fix mail sending
- Add support for building using autotools/automake.
Using "./autogen.sh", "./configure" and "make" is now preferred way
how to build logrotate.
Old Makefile remains available, but it is deprecated and will be removed
in the future. Please report any problem related to new build system.
- Add support for systems which do not support fork (use vfork instead)
and madvise.
- Fix bug when wrong log file has been removed in case of dateext and
dateformat %d-%m-%Y.
- Do not expect that the name of root account is 'root'.
- Do not stop rotation with an error when olddir and log file
are on different devices and copy or copytruncate is used.
- Return an error code when parent directory of log does not exist,
"su" directive is not used, logrotate is running as root and missingok
is not specified. [vcizek]
- Prepend error printed by compression program with the log name even when
the compression program exits with zero exit code.
PR: 195184
Submitted by: rand@meridian-enviro.com
Approved by: maintainer (timeout) |
3.8.7 22 Nov 2014 09:13:36 |
antoine |
Cleanup plist |
3.8.7 10 Jan 2014 23:04:07 |
madpilot |
- Update to 3.8.7 [1]
While here [2]:
- Use new LIB_DEPENDS format
- Convert to USES=gmake
- Convert to staging
- Fix configuration file handling
PR: ports/185615 [1]
Submitted by: Balazs Nagy <js@iksz.hu> (maintainer)
Approved by: implicit portmgr@ blanket approval [2] |
3.8.5 20 Sep 2013 23:06:00 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils) |
3.8.5 13 Jun 2013 16:28:49 |
culot |
- Update to 3.8.5
PR: ports/179524
Submitted by: Balazs Nagy <js@iksz.hu> (maintainer) |
3.8.4 07 May 2013 12:33:25 |
culot |
- Update to 3.8.4
- Trim Makefile's header
PR: ports/178264
Submitted by: Anton Yuzhaninov <ayuzhaninov@openstat.ru>
Approved by: Balazs Nagy <js@iksz.hu> (maintainer) |
3.8.3 17 Dec 2012 15:22:56 |
wxs |
Update to 3.8.3.
PR: ports/173496
Submitted by: wxs@
Approved by: maintainer timeout |
3.7.9 03 Aug 2012 15:54:36 |
cs |
Fix typos and make small modifications in COMMENT (according to Porter's
Handbook)
Approved by: portmgr@ (implicit) |
3.7.9 23 Aug 2011 09:10:46 |
beech |
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) |
3.7.9 19 Mar 2011 12:38:54 |
miwi |
- Get Rid MD5 support |
3.7.9 29 Dec 2010 20:04:42 |
pgollucci |
- DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.
PR: ports/153292
Submitted by: myself (pgollucci)
Tested by: -exp run by pav
Approved by: portmgr (pav) |
3.7.9 08 Nov 2010 15:08:43 |
pav |
- Fix build: this port relies on CPP being gmake's default value
Reported by: pointyhat |
3.7.9 26 Aug 2010 09:20:53 |
pav |
- Update to 3.7.9
PR: ports/148849
Submitted by: Balazs Nagy <js@iksz.hu> (maintainer) |
3.7.7_1 15 Aug 2008 19:19:35 |
miwi |
- Olddir options fix
logrotate's path-type options (eg. compress, olddir,
just to name a few) fail because FreeBSD's libc
implements mbtrowc(3) differently, and returns -2 on
empty string. Linux version, however, returns 0.
A simple zero-length check added to path check function,
which hides this.
PR: 126337
Submitted by: Balazs NAGY <js@iksz.hu> (maintainer) |
3.7.7 24 Jun 2008 20:19:15 |
jadawin |
- Update to 3.7.7
- Update MASTER_SITE
- Remove some patches
PR: ports/124889
Submitted by: Balazs Nagy <js iksz.hu> (maintainer)
Approved by: mentor (implicit) |
3.7.1_1 06 Jun 2008 14:03:26 |
edwin |
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav) |
3.7.1 29 Jul 2007 15:25:25 |
rafan |
- Update to 3.7.1 with Debian patch 3
- Fix path in config.h (/var/lib -> /var/log) to match our hier
- Include dateext patch. This is obtained from Fedora CVS:
http://www.redhat.com/archives/fedora-cvs-commits/2005-June/msg00761.html
PR: ports/114523
Submitted by: Tom Mueko <tmueko at kommunity.net>
Approved by: Balazs Nagy <js at iksz.hu> (maintaineR) |
3.7_5 17 Feb 2007 20:56:56 |
gabor |
- Install the sample file to EXAMPLESDIR
- Bump PORTREVISION
PR: ports/108466
Submitted by: Ian Tegebo <yontege@rescomp.berkeley.edu>
Approved by: Balazs Nagy <js@iksz.hu> (maintainer),
erwin (mentor, implicit) |
3.7_4 24 Jan 2006 01:06:45 |
edwin |
SHA256ify
Approved by: krion@ |
3.7_4 13 Jul 2005 14:17:38 |
pav |
- Update to debian patch 5
PR: ports/83337
Submitted by: Bal?zs Nagy <js@iksz.hu> (maintainer) |
3.7_3 20 Oct 2004 15:08:32 |
skv |
Apply latest patch (logrotate_3.7-2.diff)
Approved by: maintainer |
3.7_2 16 Jun 2004 19:37:24 |
pav |
- Fix bug: prerotate and postrotate scripts don't get the logfile name to be
rotated
- Raise portrevision
PR: ports/67978
Submitted by: Bal?zs Nagy <js@iksz.hu> (maintainer) |
3.7_1 24 May 2004 09:41:48 |
krion |
- Update to version 3.7
PR: ports/67113
Submitted by: maintainer |
3.6.5 08 May 2004 14:34:55 |
thierry |
Fix gzip and gunzip locations, and fix /var/lib/logrotate.status.
PR: ports/64373
Submitted by: Kenneth Vestergaard Schmidt <kvs@pil.dk>
Approved by: maintainer. |
3.6.5 31 Mar 2004 03:12:58 |
trevor |
SIZEify (maintainer timeout) |
3.6.5 28 Feb 2004 22:12:40 |
pav |
- Update to 3.6.5
PR: ports/62926
Submitted by: Balazs Nagy <js@iksz.hu> (maintainer) |
3.5.2_1 13 Feb 2004 15:43:44 |
krion |
- Assign maintainership to submitter
PR: 62685
Submitted by: Bal?zs Nagy <js@iksz.hu>
Approved by: Y. Cheng <ycheng@slat.org> |
3.5.2_1 04 Feb 2004 05:10:27 |
marcus |
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 1) |
3.5.2 30 Jul 2003 09:41:58 |
krion |
Fix build on -current
PR: 54613
Submitted by: krion
Approved by: fjoe (mentor) (implicit)
Maintainer timeout: one week |
3.5.2 02 Apr 2003 11:29:25 |
edwin |
change BUILD_DEPENDS to EXTRACT_DEPENDS for sysutils/logrotate
PR: ports/49105
Submitted by: Erwin Lansing <erwin@lansing.dk> |
3.5.2 21 Feb 2003 13:28:59 |
knu |
De-pkg-comment. |
3.5.2 28 Jul 2002 05:54:05 |
pat |
Update MASTER_SITES to use MASTER_SITE_REDHAT_LINUX
PR: ports/41048
Submitted by: maintainer |
23 Sep 2001 20:50:43 |
dwcjr |
Remove ftp.freesoftware.com from MASTER_SITES of ports since it no longer
exists. |
05 May 2001 23:47:59 |
nakai |
Update MASTER_SITES |
20 Mar 2001 20:28:14 |
obrien |
`rpm' and `rpm2cpio' have been repocopied from "misc" to "archivers". |
25 Jan 2001 14:38:32 |
sf |
update to 3.5.2. |
13 Oct 2000 21:28:34 |
ade |
Support PREFIX properly Support install macros Update WWW: line of pkg-descr
|
08 Oct 2000 07:23:57 |
asami |
Convert category sysutils to new layout. |