Date: Tue, 27 Mar 2007 11:14:52 GMT From: Artis Caune<Artis.Caune@latnet.lv> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/110918: [PATCH] print/cups-base: create etc/cups and fix pkg-plist Message-ID: <200703271114.l2RBEqSu034472@www.freebsd.org> Resent-Message-ID: <200703271120.l2RBK4Xo069456@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110918 >Category: ports >Synopsis: [PATCH] print/cups-base: create etc/cups and fix pkg-plist >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 27 11:20:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Artis Caune >Release: 6.2 >Organization: >Environment: >Description: mkdir: /usr/local/etc/cups: No such file or directory mkdir: /usr/local/etc/cups: No such file or directory pkg_delete: file '/usr/local/share/cups/profiles' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/share/cups/profiles' pkg_delete: file '/usr/local/libexec/cups/driver' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/libexec/cups/driver' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) >How-To-Repeat: >Fix: Patch attached with submission follows: --- pkg-plist.orig Mon Mar 26 13:06:11 2007 +++ pkg-plist Tue Mar 27 14:05:23 2007 @@ -4,7 +4,7 @@ @exec chown root:cups /var/cache/cups @exec mkdir -p /var/log/cups || true @exec chown cups:daemon /var/log/cups -@exec mkdir %D/etc/cups/ppd || true +@exec mkdir -p %D/etc/cups/ppd || true @exec mkdir %D/etc/cups/interfaces || true @unexec rm -rf /var/spool/cups 2>/dev/null || true @unexec rm -rf /var/cache/cups 2>/dev/null || true @@ -1357,7 +1357,7 @@ @dirrm %%DATADIR%%/templates/pl @dirrm %%DATADIR%%/templates/sv @dirrm %%DATADIR%%/templates -@exec mkdir -p %D%%DATADIR%%/profiles +@exec mkdir -p %D/%%DATADIR%%/profiles @dirrm %%DATADIR%%/profiles @dirrmtry %%DATADIR%%/model @dirrm %%DATADIR%%/fonts @@ -1369,7 +1369,7 @@ @dirrm libexec/cups/notifier @dirrm libexec/cups/monitor @dirrmtry libexec/cups/filter -@exec mkdir -p %Dlibexec/cups/driver +@exec mkdir -p %D/libexec/cups/driver @dirrm libexec/cups/driver @dirrm libexec/cups/daemon @dirrm libexec/cups/cgi-bin >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703271114.l2RBEqSu034472>