notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
logrotate Daemon to rotate, compress, remove, and mail system log files
3.13.0_1 sysutils on this many watch lists=41 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_1Version 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: 2021-09-10 21:17:50
Commit Hash: 8875967
People watching this port, also watch:: wget, unzip, sudo, gmake, gettext
License: GPLv2
Description:
SVNWeb : git
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_1/catalog.mk
  2. /usr/local/share/licenses/logrotate-3.13.0_1/LICENSE
  3. /usr/local/share/licenses/logrotate-3.13.0_1/GPLv2
  4. sbin/logrotate
  5. @sample etc/logrotate.conf.sample
  6. share/examples/logrotate/syslog.sample
  7. man/man5/logrotate.conf.5.gz
  8. 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
PKGNAME: logrotate
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
logrotate
ABIlatestquarterly
FreeBSD:11:aarch643.13.0_13.13.0_1
FreeBSD:11:amd643.13.0_13.13.0_1
FreeBSD:11:armv63.9.23.13.0_1
FreeBSD:11:i3863.13.0_13.13.0_1
FreeBSD:11:mips--
FreeBSD:11:mips643.9.23.13.0_1
FreeBSD:12:aarch643.13.0_13.13.0_1
FreeBSD:12:amd643.13.0_13.13.0_1
FreeBSD:12:armv63.13.0_13.13.0_1
FreeBSD:12:armv73.13.0_13.13.0_1
FreeBSD:12:i3863.13.0_13.13.0_1
FreeBSD:12:mips--
FreeBSD:12:mips643.13.0_13.13.0_1
FreeBSD:12:powerpc64-3.13.0_1
FreeBSD:13:aarch643.13.0_13.13.0_1
FreeBSD:13:amd643.13.0_13.13.0_1
FreeBSD:13:armv63.13.0_13.13.0_1
FreeBSD:13:armv73.13.0_13.13.0_1
FreeBSD:13:i3863.13.0_13.13.0_1
FreeBSD:13:mips--
FreeBSD:13:mips643.13.0_13.13.0_1
FreeBSD:13:powerpc643.13.0_13.13.0_1
FreeBSD:14:aarch643.13.0_1-
FreeBSD:14:amd643.13.0_1-
FreeBSD:14:armv63.13.0_1-
FreeBSD:14:armv73.13.0_1-
FreeBSD:14:i3863.13.0_1-
FreeBSD:14:mips--
FreeBSD:14:mips643.13.0_1-
FreeBSD:14:powerpc643.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.69 : devel/autoconf
  3. automake>=1.16.1 : devel/automake
Library dependencies:
  1. libpopt.so : devel/popt
This port is required by:
for Run
  1. net/onedrive

Configuration Options:
Options name:

USES:

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: 47

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
10 Sep 2021 21:17:50
 files touched by this commit commit hash:8875967a402a5cea0f104a79b01f087bee9b3ec8  3.13.0_1
Bernhard Froehlich (decke) search for other commits by this committer
sysutils/logrotate: Add CPE information

Approved by:	portmgr (blanket)
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  3.13.0_1
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
04 Sep 2020 04:03:18
Original commit files touched by this commit Revision:547508  3.13.0_1
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
20 Dec 2017 02:31:40
Original commit files touched by this commit Revision:456774  3.13.0_1
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)
17 Oct 2017 08:21:17
Original commit files touched by this commit Revision:452271  3.13.0
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
01 Apr 2016 14:25:18
Original commit files touched by this commit Revision:412349  3.9.2
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
30 Jan 2016 07:00:11
Original commit files touched by this commit Revision:407515  3.9.2
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)
29 Jun 2015 01:01:40
Original commit files touched by this commit Revision:390877  3.8.9_1
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)
14 May 2015 07:51:09
Original commit files touched by this commit Revision:386301  3.8.9
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)
06 Jan 2015 10:25:13
Original commit files touched by this commit Revision:376419  3.8.8
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)
22 Nov 2014 09:13:36
Original commit files touched by this commit Revision:373038  3.8.7
antoine search for other commits by this committer
Cleanup plist
10 Jan 2014 23:04:07
Original commit files touched by this commit Revision:339389  3.8.7
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]
20 Sep 2013 23:06:00
Original commit files touched by this commit Revision:327772  3.8.5
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils)
13 Jun 2013 16:28:49
Original commit files touched by this commit Revision:320818  3.8.5
culot search for other commits by this committer
- Update to 3.8.5

PR:		ports/179524
Submitted by: 	Balazs Nagy <js@iksz.hu> (maintainer)
07 May 2013 12:33:25
Original commit files touched by this commit Revision:317601  3.8.4
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)
17 Dec 2012 15:22:56
Original commit files touched by this commit Revision:309102  3.8.3
wxs search for other commits by this committer
Update to 3.8.3.

PR:		ports/173496
Submitted by:	wxs@
Approved by:	maintainer timeout
03 Aug 2012 15:54:36
Original commit files touched by this commit   3.7.9
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)
23 Aug 2011 09:10:46
Original commit files touched by this commit   3.7.9
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)
19 Mar 2011 12:38:54
Original commit files touched by this commit   3.7.9
miwi search for other commits by this committer
- Get Rid MD5 support
29 Dec 2010 20:04:42
Original commit files touched by this commit   3.7.9
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)
08 Nov 2010 15:08:43
Original commit files touched by this commit   3.7.9
pav search for other commits by this committer
- Fix build: this port relies on CPP being gmake's default value

Reported by:    pointyhat
26 Aug 2010 09:20:53
Original commit files touched by this commit   3.7.9
pav search for other commits by this committer
- Update to 3.7.9

PR:             ports/148849
Submitted by:   Balazs Nagy <js@iksz.hu> (maintainer)
15 Aug 2008 19:19:35
Original commit files touched by this commit   3.7.7_1
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)
24 Jun 2008 20:19:15
Original commit files touched by this commit   3.7.7
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)
06 Jun 2008 14:03:26
Original commit files touched by this commit   3.7.1_1
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)
29 Jul 2007 15:25:25
Original commit files touched by this commit   3.7.1
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)
17 Feb 2007 20:56:56
Original commit files touched by this commit   3.7_5
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)
24 Jan 2006 01:06:45
Original commit files touched by this commit   3.7_4
edwin search for other commits by this committer
SHA256ify

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

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

PR:             ports/67113
Submitted by:   maintainer
08 May 2004 14:34:55
Original commit files touched by this commit   3.6.5
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.
31 Mar 2004 03:12:58
Original commit files touched by this commit   3.6.5
trevor search for other commits by this committer
SIZEify (maintainer timeout)
28 Feb 2004 22:12:40
Original commit files touched by this commit   3.6.5
pav search for other commits by this committer
- Update to 3.6.5

PR:             ports/62926
Submitted by:   Balazs Nagy <js@iksz.hu> (maintainer)
13 Feb 2004 15:43:44
Original commit Encoding Errors (not all of the commit message was ASCII) files touched by this commit   3.5.2_1
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>
04 Feb 2004 05:10:27
Original commit files touched by this commit   3.5.2_1
marcus search for other commits by this committer
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
30 Jul 2003 09:41:58
Original commit files touched by this commit   3.5.2
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
02 Apr 2003 11:29:25
Original commit files touched by this commit   3.5.2
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>
21 Feb 2003 13:28:59
Original commit files touched by this commit   3.5.2
knu search for other commits by this committer
De-pkg-comment.
28 Jul 2002 05:54:05
Original commit files touched by this commit   3.5.2
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
 files touched by this commit commit hash:fp1.19069@dev.null.freshports.org
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
 files touched by this commit commit hash:fp1.13438@dev.null.freshports.org
nakai search for other commits by this committer
Update MASTER_SITES    
20 Mar 2001 20:28:14
 files touched by this commit commit hash:fp1.11342@dev.null.freshports.org
obrien search for other commits by this committer
`rpm' and `rpm2cpio' have been repocopied from "misc" to "archivers".    
25 Jan 2001 14:38:32
 files touched by this commit commit hash:fp1.8838@dev.null.freshports.org
sf search for other commits by this committer
update to 3.5.2.    
13 Oct 2000 21:28:34
 files touched by this commit commit hash:fp1.5059@dev.null.freshports.org
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
 files touched by this commit commit hash:fp1.4823@dev.null.freshports.org
asami search for other commits by this committer
Convert category sysutils to new layout.  

Number of commits found: 47