summaryrefslogtreecommitdiff
path: root/core/logrotate
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-20 02:04:03 -0800
committerroot <root@rshg054.dnsready.net>2012-11-20 02:04:03 -0800
commit0a05643b928d724c048e4306955642d91f24d33c (patch)
tree0a11cb4c40549d5a7359a86fccf6e05f65c52128 /core/logrotate
parent705d29694fd61c47a57ccec531e73d87a2960021 (diff)
Tue Nov 20 02:04:03 PST 2012
Diffstat (limited to 'core/logrotate')
-rw-r--r--core/logrotate/PKGBUILD7
-rw-r--r--core/logrotate/logrotate.conf9
2 files changed, 12 insertions, 4 deletions
diff --git a/core/logrotate/PKGBUILD b/core/logrotate/PKGBUILD
index c33ea55e4..821ecfa71 100644
--- a/core/logrotate/PKGBUILD
+++ b/core/logrotate/PKGBUILD
@@ -1,15 +1,16 @@
-# $Id: PKGBUILD 165168 2012-08-11 22:51:08Z pierre $
+# $Id: PKGBUILD 171604 2012-11-20 02:56:24Z allan $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=logrotate
pkgver=3.8.2
-pkgrel=1
+pkgrel=2
pkgdesc="Rotates system logs automatically"
arch=('i686' 'x86_64')
url="https://fedorahosted.org/logrotate/"
license=('GPL')
groups=('base')
depends=('popt' 'cron' 'gzip')
+optdepends=('cron: scheduled log rotation')
backup=('etc/logrotate.conf')
source=("https://fedorahosted.org/releases/l/o/logrotate/logrotate-${pkgver}.tar.gz"
'noasprintf.patch'
@@ -19,7 +20,7 @@ source=("https://fedorahosted.org/releases/l/o/logrotate/logrotate-${pkgver}.tar
md5sums=('ddd4dcf28c38b3ac6bc6ff4e0148308a'
'cd76976b5ce37d328b452c806b55a015'
'e76526bcd6fc33c9d921e1cb1eff1ffb'
- '462a5f364717461537eb2ae6394ad23e'
+ '86209d257c8b8bc0ae34d6f6ef057c0f'
'aa8ac8283908b6114483a293adcb650f')
build() {
diff --git a/core/logrotate/logrotate.conf b/core/logrotate/logrotate.conf
index 88b4935cd..9c1927fec 100644
--- a/core/logrotate/logrotate.conf
+++ b/core/logrotate/logrotate.conf
@@ -25,7 +25,14 @@ include /etc/logrotate.d
/var/log/wtmp {
monthly
- create 0664 root root
+ create 0664 root utmp
+ minsize 1M
rotate 1
}
+/var/log/btmp {
+ missingok
+ monthly
+ create 0600 root utmp
+ rotate 1
+}