forked from Lainports/freebsd-ports
- 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 lines
543 B
C
17 lines
543 B
C
diff -ruN logrotate-3.7-orig/config.h logrotate-3.7/config.h
|
|
--- logrotate-3.7-orig/config.h Mon Sep 22 21:11:12 2003
|
|
+++ logrotate-3.7.1/config.h Mon May 24 08:05:29 2004
|
|
@@ -16,6 +16,13 @@
|
|
#define STATEFILE "/var/log/logrotate.status"
|
|
#endif
|
|
|
|
+#ifdef __FreeBSD__
|
|
+ #define DEFAULT_MAIL_COMMAND "/usr/bin/mailx -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.
|
|
*/
|