notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
logrotate Daemon to rotate, compress, remove, and mail system log files
3.13.0_2 sysutils on this many watch lists=44 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.13.0_2Version of this port present on the latest quarterly branch.
Maintainer: js@iksz.hu search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (12 items)
Collapse this list.
  1. /usr/local/share/licenses/logrotate-3.13.0_2/catalog.mk
  2. /usr/local/share/licenses/logrotate-3.13.0_2/LICENSE
  3. /usr/local/share/licenses/logrotate-3.13.0_2/GPLv2
  4. sbin/logrotate
  5. @sample etc/logrotate.conf.sample
  6. share/examples/logrotate/syslog.sample
  7. share/man/man5/logrotate.conf.5.gz
  8. share/man/man8/logrotate.8.gz
  9. @dir etc/logrotate.d
  10. @owner
  11. @group
  12. @mode
Collapse this list.
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):
logrotate
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.13.0_23.13.0_23.13.0_13.13.0_23.13.0_2-3.13.0_1-
FreeBSD:13:quarterly3.13.0_23.13.0_23.13.0_13.13.0_23.13.0_23.13.0_13.13.0_13.13.0_1
FreeBSD:14:latest3.13.0_23.13.0_23.13.0_13.13.0_23.13.0_23.13.0_1-3.13.0_1
FreeBSD:14:quarterly3.13.0_23.13.0_2-3.13.0_23.13.0_23.13.0_13.13.0_13.13.0_1
FreeBSD:15:latest3.13.0_23.13.0_2n/a3.13.0_2n/a3.13.0_13.13.0_13.13.0_1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
  2. autoconf>=2.71 : devel/autoconf
  3. automake>=1.16.5 : devel/automake
Library dependencies:
  1. libpopt.so : devel/popt
This port is required by:
for Run
  1. 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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/logrotate/logrotate/tar.gz/3.13.0?dummy=/
Collapse this list.

Number of commits found: 49

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.13.0_2
26 Feb 2024 06:01:44
commit hash: 8aff86aa4441e8752421cfd4279f2fd62292d762commit hash: 8aff86aa4441e8752421cfd4279f2fd62292d762commit hash: 8aff86aa4441e8752421cfd4279f2fd62292d762commit hash: 8aff86aa4441e8752421cfd4279f2fd62292d762 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
sysutils/logrotate: Moved man to share/man

Approved by:    portmgr (blanket)
3.13.0_1
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
3.13.0_1
10 Sep 2021 21:17:50
commit hash: 8875967a402a5cea0f104a79b01f087bee9b3ec8commit hash: 8875967a402a5cea0f104a79b01f087bee9b3ec8commit hash: 8875967a402a5cea0f104a79b01f087bee9b3ec8commit hash: 8875967a402a5cea0f104a79b01f087bee9b3ec8 files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
sysutils/logrotate: Add CPE information

Approved by:	portmgr (blanket)
3.13.0_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.13.0_1
04 Sep 2020 04:03:18
Revision:547508Original commit files touched by this commit
danfe search for other commits by this committer
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
Revision:456774Original commit files touched by this commit
swills search for other commits by this committer
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
Revision:452271Original commit files touched by this commit
pizzamig search for other commits by this committer
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
Revision:412349Original commit files touched by this commit
mat search for other commits by this committer
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
Revision:407515Original commit files touched by this commit
pi search for other commits by this committer
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
Revision:390877Original commit files touched by this commit
pgollucci search for other commits by this committer
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
Revision:386301Original commit files touched by this commit
madpilot search for other commits by this committer
- 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
Revision:376419Original commit files touched by this commit
pi search for other commits by this committer
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
Revision:373038Original commit files touched by this commit
antoine search for other commits by this committer
Cleanup plist
3.8.7
10 Jan 2014 23:04:07
Revision:339389Original commit files touched by this commit
madpilot search for other commits by this committer
- 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
Revision:327772Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils)
3.8.5
13 Jun 2013 16:28:49
Revision:320818Original commit files touched by this commit
culot search for other commits by this committer
- 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
Revision:317601Original commit files touched by this commit
culot search for other commits by this committer
- 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
Revision:309102Original commit files touched by this commit
wxs search for other commits by this committer
Update to 3.8.3.

PR:		ports/173496
Submitted by:	wxs@
Approved by:	maintainer timeout
3.7.9
03 Aug 2012 15:54:36
Original commit files touched by this commit
cs search for other commits by this committer
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
Original commit files touched by this commit
beech search for other commits by this committer
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
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
3.7.9
29 Dec 2010 20:04:42
Original commit files touched by this commit
pgollucci search for other commits by this committer
- 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
Original commit files touched by this commit
pav search for other commits by this committer
- Fix build: this port relies on CPP being gmake's default value

Reported by:    pointyhat
3.7.9
26 Aug 2010 09:20:53
Original commit files touched by this commit
pav search for other commits by this committer
- 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
Original commit files touched by this commit
miwi search for other commits by this committer
- 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
Original commit files touched by this commit
jadawin search for other commits by this committer
- 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
Original commit files touched by this commit
edwin search for other commits by this committer
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
Original commit files touched by this commit
rafan search for other commits by this committer
- 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
Original commit files touched by this commit
gabor search for other commits by this committer
- 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
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
3.7_4
13 Jul 2005 14:17:38
Original commit files touched by this commit
pav search for other commits by this committer
- 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
Original commit files touched by this commit
skv search for other commits by this committer
Apply latest patch (logrotate_3.7-2.diff)

Approved by:    maintainer
3.7_2
16 Jun 2004 19:37:24
Original commit Encoding Errors (not all of the commit message was ASCII) files touched by this commit
pav search for other commits by this committer
- 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
Original commit files touched by this commit
krion search for other commits by this committer
- Update to version 3.7

PR:             ports/67113
Submitted by:   maintainer
3.6.5
08 May 2004 14:34:55
Original commit files touched by this commit
thierry search for other commits by this committer
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
Original commit files touched by this commit
trevor search for other commits by this committer
SIZEify (maintainer timeout)
3.6.5
28 Feb 2004 22:12:40
Original commit files touched by this commit
pav search for other commits by this committer
- 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
Original commit Encoding Errors (not all of the commit message was ASCII) files touched by this commit
krion search for other commits by this committer
- 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
Original commit files touched by this commit
marcus search for other commits by this committer
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
3.5.2
30 Jul 2003 09:41:58
Original commit files touched by this commit
krion search for other commits by this committer
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
Original commit files touched by this commit
edwin search for other commits by this committer
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
Original commit files touched by this commit
knu search for other commits by this committer
De-pkg-comment.
3.5.2
28 Jul 2002 05:54:05
Original commit files touched by this commit
pat search for other commits by this committer
Update MASTER_SITES to use MASTER_SITE_REDHAT_LINUX

PR:             ports/41048
Submitted by:   maintainer
23 Sep 2001 20:50:43
commit hash: fp1.19069@dev.null.freshports.orgcommit hash: fp1.19069@dev.null.freshports.orgcommit hash: fp1.19069@dev.null.freshports.orgcommit hash: fp1.19069@dev.null.freshports.org files touched by this commit
dwcjr search for other commits by this committer
Remove ftp.freesoftware.com from MASTER_SITES of ports since it no longer
exists.    
05 May 2001 23:47:59
commit hash: fp1.13438@dev.null.freshports.orgcommit hash: fp1.13438@dev.null.freshports.orgcommit hash: fp1.13438@dev.null.freshports.orgcommit hash: fp1.13438@dev.null.freshports.org files touched by this commit
nakai search for other commits by this committer
Update MASTER_SITES    
20 Mar 2001 20:28:14
commit hash: fp1.11342@dev.null.freshports.orgcommit hash: fp1.11342@dev.null.freshports.orgcommit hash: fp1.11342@dev.null.freshports.orgcommit hash: fp1.11342@dev.null.freshports.org files touched by this commit
obrien search for other commits by this committer
`rpm' and `rpm2cpio' have been repocopied from "misc" to "archivers".    
25 Jan 2001 14:38:32
commit hash: fp1.8838@dev.null.freshports.orgcommit hash: fp1.8838@dev.null.freshports.orgcommit hash: fp1.8838@dev.null.freshports.orgcommit hash: fp1.8838@dev.null.freshports.org files touched by this commit
sf search for other commits by this committer
update to 3.5.2.    
13 Oct 2000 21:28:34
commit hash: fp1.5059@dev.null.freshports.orgcommit hash: fp1.5059@dev.null.freshports.orgcommit hash: fp1.5059@dev.null.freshports.orgcommit hash: fp1.5059@dev.null.freshports.org files touched by this commit
ade search for other commits by this committer
Support PREFIX properly   Support install macros   Update WWW: line of pkg-descr
   
08 Oct 2000 07:23:57
commit hash: fp1.4823@dev.null.freshports.orgcommit hash: fp1.4823@dev.null.freshports.orgcommit hash: fp1.4823@dev.null.freshports.orgcommit hash: fp1.4823@dev.null.freshports.org files touched by this commit
asami search for other commits by this committer
Convert category sysutils to new layout.  

Number of commits found: 49