Commit Graph
20 Commits
Author SHA1 Message Date
Mike McQuaid 3bffe5629c Remove unnecessary/unused UserName plist keys.
Fixes #18293.
2013-04-06 16:19:39 +01:00
Luke Petre f73d9422c4 logrotate: use HOMEBREW var
Closes #16886.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-04 08:54:44 -08:00
Luke Petre 91944032fd logrotate: add plist and proper config file
Closes #16884.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-04 06:55:32 -08:00
Adam Vandenberg 3833fba1ba logrotate 3.8.3 2012-12-14 12:41:56 -08:00
Adam Vandenberg 0396354ae6 logrotate: use OS X appropriate gzip/gunzip paths
Closes #14446.
2012-12-14 12:41:06 -08:00
Max Edmands 3ffbd258c0 logrotate 3.8.2
Closes #15992.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-11 22:35:11 -08:00
Mike McQuaid 3c5ca25cad Batch convert MD5 formula to SHA1.
Closes #14653.
2012-09-03 11:36:42 -07:00
Trevor Wennblom 49a7e3c967 logrotate 3.8.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-16 20:10:24 -08:00
Adam Vandenberg 5875ac0078 logrotate: update patch url 2011-03-20 20:04:28 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Francisco J 149edec29a 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 9f7c7c0558 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 f74f4235ae logrotate - fix patch download 2010-10-02 16:10:24 -07:00
Adam Vandenberg a4a1ff875a Fix download for logrotate 2010-09-17 17:00:40 -07:00
Max Howell a82e823935 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 8d405a04bf Use new instance var syntax in example formula 2009-09-24 18:49:32 +01:00
Brian Smyth feb69f8f53 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 6a6e571929 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 4fe374dafd 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 4cce63175a 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