]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
cups: Add file for logrotate.
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 30 Dec 2010 13:16:39 +0000 (14:16 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 30 Dec 2010 13:16:39 +0000 (14:16 +0100)
pkgs/core/cups/cups.logrotate [new file with mode: 0644]
pkgs/core/cups/cups.nm

diff --git a/pkgs/core/cups/cups.logrotate b/pkgs/core/cups/cups.logrotate
new file mode 100644 (file)
index 0000000..773c70f
--- /dev/null
@@ -0,0 +1,5 @@
+/var/log/cups/*_log {
+    missingok
+    notifempty
+    sharedscripts
+}
index c042c0277455edee180cfe1703113fd1a7b47ece..689f44c6e75e7a262d639c609aa7efb0c6044d96 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = cups
 PKG_VER        = 1.4.5
-PKG_REL        = 1
+PKG_REL        = 2
 
 PKG_MAINTAINER =
 PKG_GROUP      = Applications/Printing
@@ -73,4 +73,8 @@ define STAGE_INSTALL
 
        -mkdir -pv $(BUILDROOT)/etc/cups
        cp -vf $(DIR_APP)/conf/cupsd.conf $(BUILDROOT)/etc/cups/
+
+       # Logrotate
+       -mkdir -pv $(BUILDROOT)/etc/logrotate.d/
+       cp -vf $(DIR_SOURCE)/cups.logrotate $(BUILDROOT)/etc/logrotate.d/cups 
 endef