summaryrefslogtreecommitdiffstats
path: root/rules/logrotate.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-06-18 14:31:23 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-06-18 14:31:23 +0200
commit878707bd943a04fc8e3a55a151499359e81ce780 (patch)
tree1841969cac654ea210ca65f80b3226b2e881b207 /rules/logrotate.in
parent256957ac85cfedd530f9236d367a403b718f7a67 (diff)
downloadptxdist-878707bd943a04fc8e3a55a151499359e81ce780.tar.gz
ptxdist-878707bd943a04fc8e3a55a151499359e81ce780.tar.xz
logrotate: version bump to 3.9.1
- compile using autotools instead of hand craftet build system - add example config file - add example systemd timer and service Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/logrotate.in')
-rw-r--r--rules/logrotate.in20
1 files changed, 18 insertions, 2 deletions
diff --git a/rules/logrotate.in b/rules/logrotate.in
index 6272bd28c..9d23e18b6 100644
--- a/rules/logrotate.in
+++ b/rules/logrotate.in
@@ -1,8 +1,11 @@
## SECTION=disk_and_file
-config LOGROTATE
+
+menuconfig LOGROTATE
tristate
- prompt "logrotate"
+ prompt "logrotate "
select LIBPOPT
+ select ACL if LOGROTATE_ACL
+ select ACL_SHARED if LOGROTATE_ACL
help
The logrotate utility is designed to simplify the
administration of log files on a system which generates a lot
@@ -11,3 +14,16 @@ config LOGROTATE
be set to handle a log file daily, weekly, monthly or when the
log file gets to a certain size. Normally, logrotate runs as
a daily cron job.
+
+if LOGROTATE
+
+config LOGROTATE_ACL
+ bool "acl support"
+
+config LOGROTATE_SYSTEMD_UNIT
+ bool
+ default y
+ depends on SYSTEMD
+ prompt "install systemd timer/service files"
+
+endif