summaryrefslogtreecommitdiff
path: root/sysutils/logrotate/files/patch-config.h
blob: bca6ddbeb6d1834a6f1ca8427e1ac2ffac489973 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.
  */