lp:ubuntu/gutsy/cups-pdf

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/gutsy/cups-pdf
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Development

Recent revisions

15. By Till Kamppeter

debian/postinst: Before creating a CUPS queue wait 3 seconds to be sure
that the CUPS daemon is listening (LP: #152293).

14. By Till Kamppeter

* debian/patches/50_default_conf.patch: Withdrawn the chnage of the PDF
  destination to ~/Desktop, returned to ~/PDF, also do not let cups-pdf
  label documents with job numbers by default (see LP bugs 134682 and
  134671).
* debian/control: Removed the versioned require on cupsys, as we have
  withdrawn the change of the PDF destination.

13. By Till Kamppeter

* debian/patches/50_default_conf.patch: Use ~/Desktop as default destination
  for the PDF files so that users find them more easily (LP: #134682,
  LP: #134671)
* debian/prerm, debian/postinst: Make any failure of CUPS command line tools
  non-fatal, to not affect the setup of cups-pdf if CUPS crashes immediately
  after being restarted by the cups-pdf setup (LP: #136449, LP: #147974).
* debian/control: Require cupsys 1.3.2-1ubuntu2 or newer, to have
  AppArmor restrictions allowing to write into ~/Desktop.

12. By Martin Pitt

debian/control: Add explicit cupsys-client dependency, since the postinst
needs 'lpadmin' and cupsys itself only recommends -client.
(LP: #134453)

11. By Martin Pitt

debian/postinst: Fix invocation of "lpstat -r" (remove backticks). This
makes the automatic setup of the PDF queue actually work again.

10. By Kees Cook

debian/postinst: force PDF queues on localhost only; systems configured
for remote CUPS servers are not expecting it.

9. By Till Kamppeter

debian/postinst, debian/prerm: Check, create, or remove PDF queues only
if the CUPS daemon is running, otherwise go on silently (LP: #133743).

8. By Till Kamppeter

debian/postinst: Only set up the PDF queue, do not make it the default.
Otherwise the PDF queue would stay the default when the first real printer
is detected after installation and as the installation of the packages
happens before the detection of the printers all systems will have the PDF
queue as default.

7. By Martin Pitt

[ Till Kamppeter ]
* debian/control: Updated dependencies: ghostscript, paperconf.
* debian/postinst, debian/prerm: Create a PDF print queue when installing
  and take it down when uninstalling (LF: #82674)
* debian/patches/10_auto_assign_ppd.patch: Make the PPD automatically
  assigned to the PDF printer by CUPS/printer setup tools
* debian/rules: Enabled the package for applying patches by adding
  "include /usr/share/cdbs/1/rules/simple-patchsys.mk"

[ Martin Pitt ]
* Now that we use simple-patchsys.mk, make a proper patch
  debian/patches/01_mkdir_as_user.patch from the src/cups-pdf.c change in
  the last upload. Also move the default configuration changes into a patch
  50_default_conf.patch, so that the diff.gz is now free of upstream diffs.
* debian/postinst: If paperconf fails, fall back to paper size "a4".

6. By Martin Pitt

* Sync with latest Debian version.
* src/cups-pdf.c: 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/postinst: Change /usr/lib/cups/backend/cups-pdf permissions from
  4751 (which was still necessary for the non-root cups) to 0700 (in
  accordance with upstream's requirements).
* debian/postinst: Make /var/spool/cups-pdf/ANONYMOUS sticky, since it is
  world-writeable.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/karmic/cups-pdf
This branch contains Public information 
Everyone can see this information.

Subscribers