1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/sysutils/logrotate/files/patch-config.h
Pav Lucistnik 76b68a5d73 - Update to 3.7.9
PR:		ports/148849
Submitted by:	Balazs Nagy <js@iksz.hu> (maintainer)
2010-08-26 09:20:52 +00:00

19 lines
460 B
C

diff --git a/config.h b/config.h
index ae7f308..7c0a2b3 100644
--- a/config.h
+++ b/config.h
@@ -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/run/logrotate.status"
+#endif
+
/*
* Default settings for Linux - leave these last.
*/