From 0cad0430a88a9790163896e44e1c86f5d1bbb553 Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Mon, 20 Jul 2009 20:27:46 +0930
Subject: zoneminder: fix error in logrotate

---
 abs/core-testing/zoneminder/PKGBUILD       |  4 ++--
 abs/core-testing/zoneminder/zmupdate.patch | 12 ++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/abs/core-testing/zoneminder/PKGBUILD b/abs/core-testing/zoneminder/PKGBUILD
index bdd1669..ad7037e 100644
--- a/abs/core-testing/zoneminder/PKGBUILD
+++ b/abs/core-testing/zoneminder/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=zoneminder
 pkgver=1.23.3
-pkgrel=4
+pkgrel=5
 pkgdesc="Capture, analyse, record and monitor video security cameras."
 arch=('i686')
 url="http://www.zoneminder.com"
@@ -31,7 +31,7 @@ noextract=()
 md5sums=('ee803f0f71d6e67adf602c3557fb6bc9'
          'af8631abe20cd7dcab1a023af7d4f3e8'
          '246852035905589617b9e0dc63759d27'
-         '0e91bbfddbed78ffe1c968d11af49ccb'
+         '320dd41725945218de0672f899e1d739'
          '818cec2eba7e1efb3f5c410f6dd8d528'
          'f9720872736f26d17bc49d8725b75ae4'
          'f0c4b80b3c2f1e0fe90d7b52191b7e51'
diff --git a/abs/core-testing/zoneminder/zmupdate.patch b/abs/core-testing/zoneminder/zmupdate.patch
index 2c94d89..913a6ec 100644
--- a/abs/core-testing/zoneminder/zmupdate.patch
+++ b/abs/core-testing/zoneminder/zmupdate.patch
@@ -9,3 +9,15 @@
  
  		print( "Executing '$command'\n" ) if ( DBG_LEVEL > 0 );
  		my $output = qx($command);
+diff -Naru ZoneMinder-1.23.3-orig/scripts/zmlogrotate.conf.in ZoneMinder-1.23.3/scripts/zmlogrotate.conf.in
+--- ZoneMinder-1.23.3-orig/scripts/zmlogrotate.conf.in	2008-02-25 20:19:52.000000000 +1030
++++ ZoneMinder-1.23.3/scripts/zmlogrotate.conf.in	2009-07-20 20:18:16.000000000 +0930
+@@ -7,7 +7,7 @@
+     missingok
+ }
+ 
+-Now the weekly db backup
++# Now the weekly db backup
+ 
+ /var/lib/zm/zm_backup.sql {
+ weekly
-- 
cgit v0.12