From: Stefan Schantl Date: Thu, 30 Dec 2010 13:16:39 +0000 (+0100) Subject: cups: Add file for logrotate. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7be6fddba61c8bd63457bfc6f32500b7f11b5fa8;p=ipfire-3.x.git cups: Add file for logrotate. --- diff --git a/pkgs/core/cups/cups.logrotate b/pkgs/core/cups/cups.logrotate new file mode 100644 index 000000000..773c70fd2 --- /dev/null +++ b/pkgs/core/cups/cups.logrotate @@ -0,0 +1,5 @@ +/var/log/cups/*_log { + missingok + notifempty + sharedscripts +} diff --git a/pkgs/core/cups/cups.nm b/pkgs/core/cups/cups.nm index c042c0277..689f44c6e 100644 --- a/pkgs/core/cups/cups.nm +++ b/pkgs/core/cups/cups.nm @@ -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