opnsense-ports/sysutils/logrotate/files/patch-config.h
Franco Fichtner 05aec48c70 */*: sync with upstream
Taken from: FreeBSD
2015-05-14 11:16:56 +02:00

16 lines
419 B
C

--- config.h.orig 2015-02-13 06:11:21 UTC
+++ config.h
@@ -23,6 +23,13 @@
#define STATEFILE "/var/log/logrotate.status"
#endif
+#ifdef __FreeBSD__
+ #define DEFAULT_MAIL_COMMAND "/usr/bin/mailx"
+ #define COMPRESS_COMMAND "/usr/bin/gzip"
+ #define UNCOMPRESS_COMMAND "/usr/bin/gunzip"
+ #define STATEFILE "/var/run/logrotate.status"
+#endif
+
/*
* Default settings for Linux - leave these last.
*/