[Lunar-commits] <moonbase> logrotate: gcc 4.6 fix
Stefan Wold
ratler at lunar-linux.org
Wed Nov 9 10:58:19 CET 2011
commit 5995eae051a15e6cc784003f3cd550f93c5d54a8
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Wed Nov 9 10:58:19 2011 +0100
logrotate: gcc 4.6 fix
---
utils/logrotate/BUILD | 2 ++
utils/logrotate/DETAILS | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/utils/logrotate/BUILD b/utils/logrotate/BUILD
index e7de972..50d8499 100644
--- a/utils/logrotate/BUILD
+++ b/utils/logrotate/BUILD
@@ -3,6 +3,8 @@
# Logrotate craps out without this
unset CPP
+ patch_it $SOURCE2 1 &&
+
# A few fixes for logrotate.conf
sedit 's:^dateext:#&:;s:^#compress:compress:;/^compress/acompresscmd /usr/bin/bzip2' examples/logrotate-default &&
sedit '/^compresscmd/acompressext .bz2' examples/logrotate-default &&
diff --git a/utils/logrotate/DETAILS b/utils/logrotate/DETAILS
index 571b496..52cfeeb 100644
--- a/utils/logrotate/DETAILS
+++ b/utils/logrotate/DETAILS
@@ -1,8 +1,11 @@
MODULE=logrotate
VERSION=3.8.1
SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE2=logrotate-3.8.1-noasprintf.patch
SOURCE_URL=https://fedorahosted.org/releases/l/o/logrotate
+ SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha1:1df36cee76a9c4c7438f35ca3599a7bdd68a09b5
+ SOURCE2_VFY=sha1:f93fa2833b9926ef12dcfd1c24aeb09499491c8b
ENTERED=20021231
UPDATED=20110930
SHORT="Automatic rotation, compression and removal of log files"
More information about the Lunar-commits
mailing list