[X2go-Commits] cups-x2go.git - build-main (branch) updated: 3.0.0.2-9-g868d3ef

X2go dev team git-admin at x2go.org
Thu Jul 7 02:14:44 CEST 2011


The branch, build-main has been updated
       via  868d3ef21a4cc3338a98a1f85ffd30128693d63d (commit)
       via  ae440a14709c8baee6c4d6c8fd4100ffa7980ff0 (commit)
       via  83960de9a9c0f76d43548f8c9d664e6025756451 (commit)
       via  7aaa08df922ff480d29bc8dcf324fafe2c6e8e46 (commit)
      from  097041182b2b1213733841f268ce533d8563a7ea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 VERSION => VERSION.cups-x2go |    0
 debian/changelog             |    8 +++++++
 debian/control               |    2 +
 debian/cups-x2go.dirs        |    4 ++-
 debian/cups-x2go.install     |    7 +++--
 debian/cups-x2go.postinst    |   43 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 60 insertions(+), 4 deletions(-)
 rename VERSION => VERSION.cups-x2go (100%)
 create mode 100755 debian/cups-x2go.postinst

The diff of changes is:
diff --git a/VERSION b/VERSION.cups-x2go
similarity index 100%
rename from VERSION
rename to VERSION.cups-x2go
diff --git a/debian/changelog b/debian/changelog
index 03414f0..6bfa28b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+cups-x2go (3.0.0.2-0~x2go2) UNRELEASED; urgency=low
+
+  * Add dpkg-statoverride for CUPS backend cups-x2go, file permission 0700
+    on CUPS backend makes CUPS run this backend with root-privileges which
+    is needed for cups-x2go to work.
+
+ -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Thu, 07 Jul 2011 00:05:46 +0200
+
 cups-x2go (3.0.0.2-0~x2go1) unstable; urgency=low
 
   * changing version numbering scheme
diff --git a/debian/control b/debian/control
index f869fef..efc9df0 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Build-Depends:
  debhelper (>= 7)
 Standards-Version: 3.9.1
 Homepage: http://code.x2go.org/releases/cups-x2go
+Vcs-Git: git://code.x2go.org/cups-x2go.git
+Vcs-Browser: http://code.x2go.org/gitweb?p=cups-x2go.git;a=summary
 
 Package: cups-x2go
 Architecture: all
diff --git a/debian/cups-x2go.dirs b/debian/cups-x2go.dirs
index 2e3ec03..9e96874 100644
--- a/debian/cups-x2go.dirs
+++ b/debian/cups-x2go.dirs
@@ -1,3 +1,5 @@
 usr/lib/cups/backend
 usr/share/ppd/cups-x2go
-etc/cups
\ No newline at end of file
+etc/cups
+usr/share/x2go
+usr/share/x2go/versions
\ No newline at end of file
diff --git a/debian/cups-x2go.install b/debian/cups-x2go.install
index 81b7dfc..a4e760b 100644
--- a/debian/cups-x2go.install
+++ b/debian/cups-x2go.install
@@ -1,3 +1,4 @@
-cups-x2go	usr/lib/cups/backend/
-CUPS-X2GO.ppd	usr/share/ppd/cups-x2go/
-cups-x2go.conf  etc/cups/
\ No newline at end of file
+cups-x2go               usr/lib/cups/backend/
+CUPS-X2GO.ppd           usr/share/ppd/cups-x2go/
+cups-x2go.conf          etc/cups/
+VERSION.cups-x2go       usr/share/x2go/versions/
\ No newline at end of file
diff --git a/debian/cups-x2go.postinst b/debian/cups-x2go.postinst
new file mode 100755
index 0000000..2608a7e
--- /dev/null
+++ b/debian/cups-x2go.postinst
@@ -0,0 +1,43 @@
+#!/bin/sh
+# postinst script for cups-x2go
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+
+    dpkg-statoverride --add --update root root 0700 /usr/lib/cups/backend/cups-x2go || true
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+


hooks/post-receive
-- 
cups-x2go.git (CUPS Backend for X2go Printing)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "cups-x2go.git" (CUPS Backend for X2go Printing).




More information about the x2go-commits mailing list