Commit graph

13 commits

Author SHA1 Message Date
Trevor Wennblom
5027dfbde6 logrotate 3.8.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-16 20:10:24 -08:00
Adam Vandenberg
f24ea607c6 logrotate: update patch url 2011-03-20 20:04:28 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Francisco J
8c6774394f logrotate - use HTTP instead of HTTPS for patches
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-01-14 10:34:14 -08:00
Jon Wilkes
63d55dd99f Fix logrotate's path-type options such as olddir.
From http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2008-August/147600.html:

  "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."

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-02 12:34:38 +00:00
Adam Vandenberg
72d8e92378 logrotate - fix patch download 2010-10-02 16:10:24 -07:00
Adam Vandenberg
4c0adbc350 Fix download for logrotate 2010-09-17 17:00:40 -07:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
Max Howell
50760c018f Use new instance var syntax in example formula 2009-09-24 18:49:32 +01:00
Brian Smyth
cff153271f Fix logrotate build.
Make the build independent of POPT_DIR. The makefile will honor it if
it's in the environment, but will use the standard env variables
otherwise.
2009-09-22 08:03:15 -04:00
Max Howell
a0759ae93a Use new depends_on syntax in all formula
Many formula were imported during the development of the dependency branch.
2009-09-21 19:00:13 +01:00
Max Howell
3b4dac6ddd Default to patch level 1
Having gone through our patches it's clear that p1 is more standard.

Also fixed a bug where returning DATA outside of an array would fail to patch.
2009-09-16 17:08:32 +01:00
Brian Smyth
14037f255d Logrotate formula
The logrotate utility is designed to simplify the administration of log files
on a system which generates a lot of log files. Logrotate allows for the
automatic rotation compression, removal and mailing of log files. Logrotate
can be set to handle a log file daily, weekly, monthly or when the log file
gets to a certain size. Normally, logrotate runs as a daily cron job.

The package is not buildable on Darwin without including an additional
header, nor is it installable without teaching the Makefile what INSTALL
is on Darwin.

Signed-off-by: Max Howell <max@methylblue.com>

I made a number of modifications, including comma separating the make call so
that the prefix doesn't need to be escaped if it has spaces in it.

Also setting LDFLAGS to /usr/local/lib is done in brewkit.rb already. The
POPT_DIR var shouldn't be necessary either, but I haven't tested that yet.
2009-09-16 14:49:06 +01:00