r5466 - in /vdr/vdr-plugin-softdevice/trunk/debian: changelog postinst prerm vdr-plugin-softdevice.groups

tschmidt at users.alioth.debian.org tschmidt at users.alioth.debian.org
Fri Oct 5 19:10:18 UTC 2007


Author: tschmidt
Date: Fri Oct  5 19:10:18 2007
New Revision: 5466

URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/?sc=1&rev=5466
Log:
* Add user vdr to the group audio with the vdr-groups-script
* Build-Depend on vdr-dev (>=1.4.7-1) for vdr-groups.sh

Added:
    vdr/vdr-plugin-softdevice/trunk/debian/postinst
    vdr/vdr-plugin-softdevice/trunk/debian/prerm
    vdr/vdr-plugin-softdevice/trunk/debian/vdr-plugin-softdevice.groups
Modified:
    vdr/vdr-plugin-softdevice/trunk/debian/changelog

Modified: vdr/vdr-plugin-softdevice/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-softdevice/trunk/debian/changelog?rev=5466&op=diff
==============================================================================
--- vdr/vdr-plugin-softdevice/trunk/debian/changelog (original)
+++ vdr/vdr-plugin-softdevice/trunk/debian/changelog Fri Oct  5 19:10:18 2007
@@ -1,3 +1,10 @@
+vdr-plugin-softdevice (0.4.0+cvs20070830-2) UNRELEASED; urgency=low
+
+  * Add user vdr to the group audio with the vdr-groups-script
+  * Build-Depend on vdr-dev (>=1.4.7-1) for vdr-groups.sh
+
+ -- Thomas Schmidt <tschmidt at debian.org>  Fri, 05 Oct 2007 21:05:35 +0200
+
 vdr-plugin-softdevice (0.4.0+cvs20070830-1) unstable; urgency=low
 
   * New upstream cvs release

Added: vdr/vdr-plugin-softdevice/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-softdevice/trunk/debian/postinst?rev=5466&op=file
==============================================================================
--- vdr/vdr-plugin-softdevice/trunk/debian/postinst (added)
+++ vdr/vdr-plugin-softdevice/trunk/debian/postinst Fri Oct  5 19:10:18 2007
@@ -1,0 +1,28 @@
+#! /bin/sh
+# postinst script for vdr-plugin-softdevice
+#
+# see: dh_installdeb(1)
+
+set -e
+
+#
+# main()
+#
+case "$1" in
+    configure)
+        # Make vdr a member of the groups required by the plugin
+        /bin/sh /usr/lib/vdr/vdr-groups.sh --add vdr-plugin-softdevice
+    ;;
+    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

Added: vdr/vdr-plugin-softdevice/trunk/debian/prerm
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-softdevice/trunk/debian/prerm?rev=5466&op=file
==============================================================================
--- vdr/vdr-plugin-softdevice/trunk/debian/prerm (added)
+++ vdr/vdr-plugin-softdevice/trunk/debian/prerm Fri Oct  5 19:10:18 2007
@@ -1,0 +1,43 @@
+#! /bin/sh
+# prerm script for vdr-plugin-softdevice
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <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 need vdr to be a member in these groups
+        /bin/sh /usr/lib/vdr/vdr-groups.sh --remove vdr-plugin-softdevice
+    ;;
+    upgrade|deconfigure)
+    ;;
+    failed-upgrade)
+    ;;
+    *)
+        echo "prerm 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-softdevice/trunk/debian/vdr-plugin-softdevice.groups
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-softdevice/trunk/debian/vdr-plugin-softdevice.groups?rev=5466&op=file
==============================================================================
--- vdr/vdr-plugin-softdevice/trunk/debian/vdr-plugin-softdevice.groups (added)
+++ vdr/vdr-plugin-softdevice/trunk/debian/vdr-plugin-softdevice.groups Fri Oct  5 19:10:18 2007
@@ -1,0 +1,6 @@
+#
+# The softdevice plugin requires vdr to be a member of the group 'audio' in order to
+# get access to soundcard.
+#
+
+audio




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