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'
pkgname=cups
version=1.6.1
revision=2
revision=3
patch_args="-Np1"
depends="libcups>=${version}_${revision} cups-filters bc"
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"
systemd_services="cups.socket on"
conf_files="
/etc/cups/cupsd.conf
/etc/cups/snmp.conf
@ -36,7 +35,6 @@ conf_files="
/etc/cups/classes.conf
/etc/cups/subscriptions.conf
/etc/dbus-1/system.d/cups.conf
/etc/logrotate.d/cups
/etc/pam.d/cups"
pre_configure() {
@ -81,9 +79,8 @@ do_install() {
# fix .desktop file
sed -i 's|^Exec=htmlview http://localhost:631/|Exec=xdg-open http://localhost:631/|g' \
${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.logrotate 644 etc/logrotate.d cups
# Remove files provided by cups-filters.
rm -f ${DESTDIR}/usr/share/cups/banners/*