pkgsrc-wip/logrotate/patches/patch-ac
URA Hiroshi 3c5973d300 Initial import of logrotate, version 3.7:
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.
2004-04-07 15:41:28 +00:00

18 lines
509 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2004/04/07 15:41:29 ura Exp $
--- config.h.orig Thu Aug 7 20:13:14 2003
+++ config.h Tue Mar 30 17:01:41 2004
@@ -16,6 +16,13 @@
#define STATEFILE "/var/log/logrotate.status"
#endif
+#ifdef __NetBSD__
+ #define DEFAULT_MAIL_COMMAND "/usr/bin/mail -s"
+ #define COMPRESS_COMMAND "/usr/bin/gzip"
+ #define UNCOMPRESS_COMMAND "/usr/bin/gunzip"
+ #define STATEFILE "/var/log/logrotate.status"
+#endif
+
/*
* Default settings for Linux - leave these last.
*/