Comment 11 for bug 152293

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

cups-pdf (2.4.6-4ubuntu1) hardy; urgency=low

  * Merge from debian unstable, remaining changes:
    - debian/control: "Depends: ghostscript | gs-esp | gs-gpl, libpaper-utils,
      cupsys, cupsys-client", "Suggests: system-config-printer"
    - debian/patches/01_mkdir_as_user.patch: Postpone creation of per-user
      output directory until we setuid()'ed to the user. This both avoids
      nasty mistakes, and also avoids using CAP_DAC_OVERRIDE, so that we
      can tighten cups' apparmor profile.
    - debian/patches/10_auto_assign_ppd.patch: Make the PPD automatically
      assigned to the PDF printer by CUPS/printer setup tools
    - debian/patches/50_default_conf.patch, extra/cups-pdf.conf: Move the
      default configuration changes into a patch 50_default_conf.patch, so
      that the diff.gz is now free of upstream diffs.
    - debian/rules: Enabled the package for applying patches by adding
      "include /usr/share/cdbs/1/rules/simple-patchsys.mk"
    - debian/postinst, debian/prerm: Let PDF print queue being created
      automatically when installing the package and being removed
      automatically when uninstalling the package.
  * debian/postinst, debian/postrm: Restart of CUPS daemon not needed,
    restarting only causes CUPS daemon not listening immediately after
    restart and so the PDF queue not being created. So removed any
    restart of the CUPS daemon from the maintainer script. We only start
    the CUPS daemon if it is not actually running, because we need it
    for having a PDF printer (LP: #152293).
  * debian/postinst: Create CUPS queue by modifying config files in the
    case that the CUPS daemon could not be started or if CUPS is not
    installed.

cups-pdf (2.4.6-4) unstable; urgency=low

  [ Martin Pitt ]
  * debian/postinst: Changed /usr/lib/cups/backend/cups-pdf permissions
    from 4751 (which was still necessary for the non-root CUPS) to 0700
    (in accordance with upstream requirements).
  * debian/postinst: Made /var/spool/cups-pdf/ANONYMOUS sticky, since it
    is world-writeable.

 -- Till Kamppeter <email address hidden> Mon, 19 Nov 2007 15:00:19 +0000