-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
diff --git i/Makefile w/Makefile | ||
index 5a42fb6..e53f4f7 100644 | ||
--- i/Makefile | ||
+++ w/Makefile | ||
@@ -86,6 +86,22 @@ ifneq ($(POPT_DIR),) | ||
LOADLIBES += -L$(POPT_DIR) | ||
endif | ||
|
||
+ifneq ($(COMPRESS_COMMAND),) | ||
+ CFLAGS += -DCOMPRESS_COMMAND=\"$(COMPRESS_COMMAND)\" | ||
+endif | ||
+ | ||
+ifneq ($(COMPRESS_EXT),) | ||
+ CFLAGS += -DCOMPRESS_EXT=\"$(COMPRESS_EXT)\" | ||
+endif | ||
+ | ||
+ifneq ($(UNCOMPRESS_COMMAND),) | ||
+ CFLAGS += -DUNCOMPRESS_COMMAND=\"$(UNCOMPRESS_COMMAND)\" | ||
+endif | ||
+ | ||
+ifneq ($(DEFAULT_MAIL_COMMAND),) | ||
+ CFLAGS += -DDEFAULT_MAIL_COMMAND=\"$(DEFAULT_MAIL_COMMAND)\" | ||
+endif | ||
+ | ||
ifneq ($(STATEFILE),) | ||
CFLAGS += -DSTATEFILE=\"$(STATEFILE)\" | ||
endif | ||
diff --git i/examples/logrotate-default w/examples/logrotate-default | ||
index 56e9103..c61a33a 100644 | ||
--- i/examples/logrotate-default | ||
+++ w/examples/logrotate-default | ||
@@ -14,22 +14,7 @@ dateext | ||
# uncomment this if you want your log files compressed | ||
#compress | ||
|
||
-# RPM packages drop log rotation information into this directory | ||
+# Homebrew packages drop log rotation information into this directory | ||
include /etc/logrotate.d | ||
|
||
-# no packages own wtmp and btmp -- we'll rotate them here | ||
-/var/log/wtmp { | ||
- monthly | ||
- create 0664 root utmp | ||
- minsize 1M | ||
- rotate 1 | ||
-} | ||
- | ||
-/var/log/btmp { | ||
- missingok | ||
- monthly | ||
- create 0600 root utmp | ||
- rotate 1 | ||
-} | ||
- | ||
# system-specific logs may be also be configured here. |