Date: Wednesday, October 8, 2014 @ 22:02:35
  Author: andyrtr
Revision: 224122

disable internal cups log file rotation, we want logrotate to rotate the files 
- FS#40443

Modified:
  cups/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-10-08 19:52:58 UTC (rev 224121)
+++ PKGBUILD    2014-10-08 20:02:35 UTC (rev 224122)
@@ -4,7 +4,7 @@
 pkgbase="cups"
 pkgname=('libcups' 'cups')
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.cups.org/";
@@ -63,7 +63,11 @@
 #  patch -Np1 -i ${srcdir}/cups-enum-all.patch
   # FC: Fix printing to some network printers fails - 
https://bugs.archlinux.org/task/37605
 #  patch -Np1 -i ${srcdir}/cups-final-content-type.patch
+
   
+  # set MaxLogSize to 0 to prevent using cups internal log rotation
+  sed -i -e '1iMaxLogSize 0' conf/cupsd.conf.in
+  
   # Rebuild configure script for not zipping man-pages.
   aclocal -I config-scripts
   autoconf -I config-scripts

Reply via email to