1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/sysutils/logrotate/files/patch-config.h
Guido Falsi 3517ec8213 - Update to 3.8.9
- Add LICENSE
- Use @sample in plist
- While here, regenerate patches to silence portlint warnings

PR:		196668
Submitted by:	jyoung15 at gmail.com
Approved by:	Balazs Nagy <js at iksz.hu> (maintainer)
2015-05-14 07:51:09 +00:00

17 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.
*/