[Lunar-commits] <moonbase> rsyslog: version bumped to 5.8.11 & cleanup BUILD

Michael 'v4hn' Goerner v4hn at lunar-linux.org
Sat May 5 19:04:09 CEST 2012


commit 1591114226be164b2eb1369e5a281fdd40b20769
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date:   Sat May 5 01:18:19 2012 +0200

    rsyslog: version bumped to 5.8.11 & cleanup BUILD
    
    Also fixed a build error with zlib support.
    Strangely enough a -lz was not added in one case if zlib is enabled
---
 utils/rsyslog/BUILD   |   11 +++++++++--
 utils/rsyslog/DETAILS |    6 +++---
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/utils/rsyslog/BUILD b/utils/rsyslog/BUILD
index 8167d67..858e289 100644
--- a/utils/rsyslog/BUILD
+++ b/utils/rsyslog/BUILD
@@ -1,5 +1,8 @@
 (
 
+  #It seems like someone missed -lz here...
+  sedit "s:\(librsyslog_la_LIBADD = \$(DL_LIBS) \$(RT_LIBS)\):\1 \$(ZLIB_LIBS):" runtime/Makefile.in
+
   OPTS+=" --enable-pthreads    \
           --enable-regexp      \
           --enable-largefile   \
@@ -17,8 +20,12 @@
 
   default_build  &&
 
-  [ -f /etc/rsyslog.conf ] || install -m 644 $SOURCE_CACHE/$SOURCE2 /etc/rsyslog.conf  &&
-  [ -f /etc/config.d/rsyslog ] || install -m 644 $SOURCE_CACHE/$SOURCE3 /etc/config.d/rsyslog
+  if [ ! -f /etc/rsyslog.conf ]; then
+     install -m 644 $SOURCE_CACHE/$SOURCE2 /etc/rsyslog.conf
+  fi &&
+  if [ ! -f /etc/config.d/rsyslog ]; then
+     install -m 644 $SOURCE_CACHE/$SOURCE3 /etc/config.d/rsyslog
+  fi &&
 
   mkdir -p /usr/share/doc/rsyslog/scripts/{mysql,pqsql} &&
   install -m 644 plugins/ommysql/createDB.sql /usr/share/doc/rsyslog/scripts/mysql/ &&
diff --git a/utils/rsyslog/DETAILS b/utils/rsyslog/DETAILS
index d9f2550..e4887f1 100644
--- a/utils/rsyslog/DETAILS
+++ b/utils/rsyslog/DETAILS
@@ -1,18 +1,18 @@
           MODULE=rsyslog
-         VERSION=5.8.9
+         VERSION=5.8.11
           SOURCE=$MODULE-$VERSION.tar.gz
          SOURCE2=$MODULE.conf-0.2
          SOURCE3=$MODULE.config.d-0.2
       SOURCE_URL=http://www.rsyslog.com/files/download/$MODULE
      SOURCE2_URL=$PATCH_URL
      SOURCE3_URL=$PATCH_URL
-      SOURCE_VFY=sha1:dea7f1ef466f387e1e5d8aea799329bac90c4916
+      SOURCE_VFY=sha1:eabba672b9cace696207028da703cf073956d505
      SOURCE2_VFY=sha1:340f692141df8915eccd6a47b13554a845690f9b
      SOURCE3_VFY=sha1:219b5ceb8661534dd8064296852df6bd933f2233
         WEB_SITE=http://www.rsyslog.com/
       MAINTAINER=ratler at lunar-linux.org
          ENTERED=20080731
-         UPDATED=20120324
+         UPDATED=20120504
            SHORT="An enhanced multi-threaded syslogd"
 
 cat <<EOF


More information about the Lunar-commits mailing list