summaryrefslogtreecommitdiff
path: root/core/logrotate/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-28 23:14:35 +0000
committerroot <root@rshg054.dnsready.net>2011-08-28 23:14:35 +0000
commit57fc7b041fcd8bc73a40cd31d3b80bed779e79fe (patch)
tree63093bd8fb4def305b25e47e4b42dcf50e1c8b45 /core/logrotate/PKGBUILD
parenta4c358009dd89183b4124505c694ea7f5fcdbeec (diff)
Sun Aug 28 23:14:35 UTC 2011
Diffstat (limited to 'core/logrotate/PKGBUILD')
-rw-r--r--core/logrotate/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/core/logrotate/PKGBUILD b/core/logrotate/PKGBUILD
index 95a0681bd..901a55b64 100644
--- a/core/logrotate/PKGBUILD
+++ b/core/logrotate/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 130804 2011-07-08 03:53:21Z eric $
+# $Id: PKGBUILD 136351 2011-08-27 04:08:31Z allan $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=logrotate
pkgver=3.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="Rotates system logs automatically"
arch=('i686' 'x86_64')
url="https://fedorahosted.org/logrotate/"
@@ -13,15 +13,19 @@ groups=('base')
depends=('popt' 'cron' 'gzip')
backup=('etc/logrotate.conf')
source=(https://fedorahosted.org/releases/l/o/logrotate/logrotate-${pkgver}.tar.gz
+ logrotate-3.8.0-noasprintf.patch
logrotate.conf
logrotate.cron.daily)
md5sums=('590f77c13077a4c384dbec7ca9c5f242'
+ '624801859beb9abe7958b6392c854d72'
'462a5f364717461537eb2ae6394ad23e'
'8e23d5d4cc29b1e055b24df87e355cdc')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
-
+
+ patch -Np1 -i "$srcdir"/logrotate-3.8.0-noasprintf.patch
+
sed -i 's|#define DEFAULT_MAIL_COMMAND .*|#define DEFAULT_MAIL_COMMAND "/usr/bin/mail"|'\
config.h
sed -i "s|CFLAGS = -Wall|CFLAGS = -Wall $CFLAGS|" Makefile