cups: get rid of logrotate files.

This commit is contained in:
Juan RP 2012-11-16 00:23:04 +01:00
parent bc99a46999
commit 14a8b6d5c1
2 changed files with 2 additions and 10 deletions

View File

@ -1,5 +0,0 @@
/var/log/cups/*_log {
missingok
notifempty
sharedscripts
}

View File

@ -1,7 +1,7 @@
# Template file for 'cups' # Template file for 'cups'
pkgname=cups pkgname=cups
version=1.6.1 version=1.6.1
revision=2 revision=3
patch_args="-Np1" patch_args="-Np1"
depends="libcups>=${version}_${revision} cups-filters bc" depends="libcups>=${version}_${revision} cups-filters bc"
makedepends="automake perl pkg-config acl-devel jpeg-devel libpng-devel>=1.5.10 tiff-devel makedepends="automake perl pkg-config acl-devel jpeg-devel libpng-devel>=1.5.10 tiff-devel
@ -28,7 +28,6 @@ make_dirs="
subpackages="libcups cups-devel" subpackages="libcups cups-devel"
systemd_services="cups.socket on" systemd_services="cups.socket on"
conf_files=" conf_files="
/etc/cups/cupsd.conf /etc/cups/cupsd.conf
/etc/cups/snmp.conf /etc/cups/snmp.conf
@ -36,7 +35,6 @@ conf_files="
/etc/cups/classes.conf /etc/cups/classes.conf
/etc/cups/subscriptions.conf /etc/cups/subscriptions.conf
/etc/dbus-1/system.d/cups.conf /etc/dbus-1/system.d/cups.conf
/etc/logrotate.d/cups
/etc/pam.d/cups" /etc/pam.d/cups"
pre_configure() { pre_configure() {
@ -81,9 +79,8 @@ do_install() {
# fix .desktop file # fix .desktop file
sed -i 's|^Exec=htmlview http://localhost:631/|Exec=xdg-open http://localhost:631/|g' \ sed -i 's|^Exec=htmlview http://localhost:631/|Exec=xdg-open http://localhost:631/|g' \
${DESTDIR}/usr/share/applications/cups.desktop ${DESTDIR}/usr/share/applications/cups.desktop
# Install pam and logrotate files. # Install pam file
vinstall ${FILESDIR}/cups.pam 644 etc/pam.d cups vinstall ${FILESDIR}/cups.pam 644 etc/pam.d cups
vinstall ${FILESDIR}/cups.logrotate 644 etc/logrotate.d cups
# Remove files provided by cups-filters. # Remove files provided by cups-filters.
rm -f ${DESTDIR}/usr/share/cups/banners/* rm -f ${DESTDIR}/usr/share/cups/banners/*