Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: cups-pk-helper

cups-pk-helper (0.2.6-1ubuntu3) cosmic; urgency=medium * debian/cups-pk-helper.postinst: Do not add cups-pk-helper group, make cups-pk-helper user member of lpadmin group instead (LP: #934291). -- Till Kamppeter <till.kamppeter@gmail.com> Wed, 6 Jun 2018 15:20:58 +0200 cups-pk-helper (0.2.6-1ubuntu2) cosmic; urgency=medium [ Shem Pasamba ] * debian/patches/Use_cups-pk-helper_in_org.opensuse.CupsPkHelper.Mechanism.conf.patch - Use cups-pk-helper in org.opensuse.CupsPkHelper.Mechanis.conf instead of root * debian/patches/run_as_cups-pk-helper.patch - Make the cups-pk-helper run as cups-pk-helper passing cups-pk-helper as user too. (LP: #934291) * debian/cups-pk-helper.postinst: - Add cups-pk-helper group and user. * debian/cups-pk-helper.postrm: - Remove cups-pk-helper user and group. * Added --with-daemon-user [ Till Kamppeter ] * Use cups-pk-helper as system user. -- Till Kamppeter <till.kamppeter@gmail.com> Fri, 4 May 2018 17:37:58 +0200 cups-pk-helper (0.2.6-1ubuntu1) yakkety; urgency=medium * Resynchronize on Debiann remaining changes - Build with pie. - Bump the standards version. * Building with dh-autoreconf is included in Debian now -- Sebastien Bacher <seb128@ubuntu.com> Wed, 10 Aug 2016 18:03:01 +0200

Modifications :
  1. Download patch debian/patches/run_as_cups-pk-helper.patch
  2. Download patch debian/cups-pk-helper.postinst

    --- 0.2.6-1/debian/cups-pk-helper.postinst 1970-01-01 00:00:00.000000000 +0000 +++ 0.2.6-1ubuntu3/debian/cups-pk-helper.postinst 2018-06-06 13:20:58.000000000 +0000 @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + if ! getent group lpadmin > /dev/null; then + addgroup --quiet --system lpadmin + fi + + adduser --system --no-create-home --quiet --gecos "user for cups-pk-helper service" \ + --ingroup lpadmin cups-pk-helper + ;; +esac + +#DEBHELPER# + +exit 0
  3. Download patch debian/rules

    --- 0.2.6-1/debian/rules 2016-07-21 10:17:03.000000000 +0000 +++ 0.2.6-1ubuntu3/debian/rules 2018-05-04 15:37:58.000000000 +0000 @@ -9,9 +9,10 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export DEB_BUILD_MAINT_OPTIONS := hardening=+pie,+bindnow %: dh $@ --with autoreconf override_dh_auto_configure: - dh_auto_configure -- --enable-compile-warnings=yes + dh_auto_configure -- --enable-compile-warnings=yes --with-daemon-user=cups-pk-helper
  4. Download patch debian/control

    --- 0.2.6-1/debian/control 2016-07-21 09:12:12.000000000 +0000 +++ 0.2.6-1ubuntu3/debian/control 2016-08-10 16:05:43.000000000 +0000 @@ -1,7 +1,8 @@ Source: cups-pk-helper Section: gnome Priority: extra -Maintainer: Guido Günther <agx@sigxcpu.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Guido Günther <agx@sigxcpu.org> Build-Depends: debhelper (>= 7.0.50~), autotools-dev, dh-autoreconf, @@ -10,7 +11,7 @@ Build-Depends: debhelper (>= 7.0.50~), libglib2.0-dev (>= 2.29.8), libpolkit-gobject-1-dev, libcups2-dev -Standards-Version: 3.9.0 +Standards-Version: 3.9.8 Homepage: http://www.freedesktop.org/wiki/Software/cups-pk-helper Vcs-Git: git://anonscm.debian.org/users/agx/cups-pk-helper.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/agx/cups-pk-helper.git
  5. Download patch debian/patches/Use_cups-pk-helper_in_org.opensuse.CupsPkHelper.Mechanism.conf.patch

    --- 0.2.6-1/debian/patches/Use_cups-pk-helper_in_org.opensuse.CupsPkHelper.Mechanism.conf.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.2.6-1ubuntu3/debian/patches/Use_cups-pk-helper_in_org.opensuse.CupsPkHelper.Mechanism.conf.patch 2018-05-04 15:37:58.000000000 +0000 @@ -0,0 +1,31 @@ +Description: Use cups-pk-helper in *Mechanism.conf + . + cups-pk-helper (0.2.6-1ubuntu4~artful1) artful; urgency=medium + . + * Try: prevent delete of other's jobs +Author: Shem Pasamba <shemgp@gmail.com> + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: <vendor|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: https://bugs.debian.org/<bugnumber> +Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: 2017-12-20 + +--- cups-pk-helper-0.2.6.orig/src/org.opensuse.CupsPkHelper.Mechanism.conf ++++ cups-pk-helper-0.2.6/src/org.opensuse.CupsPkHelper.Mechanism.conf +@@ -6,7 +6,7 @@ + <busconfig> + + <!-- Only root can own the service --> +- <policy user="root"> ++ <policy user="cups-pk-helper"> + <allow own="org.opensuse.CupsPkHelper.Mechanism"/> + </policy> +
  6. Download patch debian/cups-pk-helper.postrm

    --- 0.2.6-1/debian/cups-pk-helper.postrm 1970-01-01 00:00:00.000000000 +0000 +++ 0.2.6-1ubuntu3/debian/cups-pk-helper.postrm 2018-05-04 15:37:58.000000000 +0000 @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in + purge) + deluser cups-pk-helper + ;; +esac + +#DEBHELPER# + +exit 0
  7. Download patch debian/patches/series

    --- 0.2.6-1/debian/patches/series 2016-07-21 09:49:51.000000000 +0000 +++ 0.2.6-1ubuntu3/debian/patches/series 2018-05-04 15:37:58.000000000 +0000 @@ -4,3 +4,5 @@ Use-AX_COMPILER_FLAGS-instead-of-GNOME_C Don-t-compare-signed-and-unsigned-int.patch Add-default-statements-to-silence-compiler-warnings.patch Don-t-use-g_type_init-on-recent-glib.patch +run_as_cups-pk-helper.patch +Use_cups-pk-helper_in_org.opensuse.CupsPkHelper.Mechanism.conf.patch
  1. cups-pk-helper