r4540 - vdr/vdr-plugin-dvd/trunk/debian

Tobias Grimm tiber-guest at alioth.debian.org
Fri May 4 21:40:15 UTC 2007


Author: tiber-guest
Date: 2007-05-04 21:40:15 +0000 (Fri, 04 May 2007)
New Revision: 4540

Added:
   vdr/vdr-plugin-dvd/trunk/debian/postrm
   vdr/vdr-plugin-dvd/trunk/debian/vdr-plugin-dvd.groups
Modified:
   vdr/vdr-plugin-dvd/trunk/debian/changelog
   vdr/vdr-plugin-dvd/trunk/debian/control
   vdr/vdr-plugin-dvd/trunk/debian/install
   vdr/vdr-plugin-dvd/trunk/debian/postinst
Log:
* NOT RELEASED YET
* The package now adds / removes vdr to the group cdrom, using the
  new vdr-groups.sh script in vdr 1.4.6-2

Modified: vdr/vdr-plugin-dvd/trunk/debian/changelog
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/changelog	2007-05-04 21:38:33 UTC (rev 4539)
+++ vdr/vdr-plugin-dvd/trunk/debian/changelog	2007-05-04 21:40:15 UTC (rev 4540)
@@ -1,3 +1,11 @@
+vdr-plugin-dvd (0.3.6~b03-7) unreleased; urgency=low
+
+  * NOT RELEASED YET
+  * The package now adds / removes vdr to the group cdrom, using the
+    new vdr-groups.sh script in vdr 1.4.6-2
+
+ -- Tobias Grimm <tg at e-tobi.net>  Fri,  4 May 2007 23:37:40 +0200
+
 vdr-plugin-dvd (0.3.6~b03-6) experimental; urgency=low
 
   * Release for vdrdevel 1.5.2

Modified: vdr/vdr-plugin-dvd/trunk/debian/control
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/control	2007-05-04 21:38:33 UTC (rev 4539)
+++ vdr/vdr-plugin-dvd/trunk/debian/control	2007-05-04 21:40:15 UTC (rev 4540)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>
 Uploaders: Thomas Schmidt <tschmidt at debian.org>, Tobias Grimm <tg at e-tobi.net>, Thomas Günther <tom at toms-cafe.de>
-Build-Depends: debhelper (>> 4.1.16), liba52-0.7.4-dev, vdr-dev (>= 1.4.5-1), libdvdnav-dev (>=0.1.9), dpatch (>= 2.0.9)
+Build-Depends: debhelper (>> 4.1.16), liba52-0.7.4-dev, vdr-dev (>= 1.4.6-2), libdvdnav-dev (>=0.1.9), dpatch (>= 2.0.9)
 Standards-Version: 3.7.2
 
 Package: vdr-plugin-dvd

Modified: vdr/vdr-plugin-dvd/trunk/debian/install
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/install	2007-05-04 21:38:33 UTC (rev 4539)
+++ vdr/vdr-plugin-dvd/trunk/debian/install	2007-05-04 21:40:15 UTC (rev 4540)
@@ -1,2 +1,3 @@
 libvdr-dvd.so.*                 usr/lib/vdr/plugins/
 debian/plugin.dvd.conf          etc/vdr/plugins/
+debian/vdr-plugin-dvd.groups    etc/vdr/groups.d/

Modified: vdr/vdr-plugin-dvd/trunk/debian/postinst
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/postinst	2007-05-04 21:38:33 UTC (rev 4539)
+++ vdr/vdr-plugin-dvd/trunk/debian/postinst	2007-05-04 21:40:15 UTC (rev 4540)
@@ -13,6 +13,9 @@
         if [ ! -L /var/cache/vdr/dvd ] ; then
             ln -s /dev/dvd /var/cache/vdr/dvd || true
         fi
+
+        # Make vdr a member of the groups required by the plugin
+        /bin/sh /usr/share/vdr/vdr-groups.sh --add vdr-plugin-dvd
     ;;
     abort-upgrade|abort-remove|abort-deconfigure)
     ;;

Added: vdr/vdr-plugin-dvd/trunk/debian/postrm
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/postrm	2007-05-04 21:38:33 UTC (rev 4539)
+++ vdr/vdr-plugin-dvd/trunk/debian/postrm	2007-05-04 21:40:15 UTC (rev 4540)
@@ -0,0 +1,40 @@
+#! /bin/sh
+# postrm script for vdr-plugin-dvd
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove)
+        # remove vdr from the groups required by this plugin, if no other
+        # packages needs vdr to be a member in these groups
+        /bin/sh /usr/share/vdr/vdr-groups.sh --remove vdr-plugin-dvd
+    ;;
+    purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+    *)
+        echo "postrm 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

Added: vdr/vdr-plugin-dvd/trunk/debian/vdr-plugin-dvd.groups
===================================================================
--- vdr/vdr-plugin-dvd/trunk/debian/vdr-plugin-dvd.groups	2007-05-04 21:38:33 UTC (rev 4539)
+++ vdr/vdr-plugin-dvd/trunk/debian/vdr-plugin-dvd.groups	2007-05-04 21:40:15 UTC (rev 4540)
@@ -0,0 +1,6 @@
+#
+# The DVD plugin requires vdr to be a member of the group 'cdrom' in order to
+# get access to the DVD drive.
+#
+
+cdrom




More information about the pkg-vdr-dvb-changes mailing list