r8807 - in /general/nvram-wakeup/trunk/debian: 50_nvram_wakeup changelog compat control install postinst rules source/ source/format vdr-nvram-wakeup.conf

tschmidt at users.alioth.debian.org tschmidt at users.alioth.debian.org
Wed Dec 1 18:53:07 UTC 2010


Author: tschmidt
Date: Wed Dec  1 18:53:04 2010
New Revision: 8807

URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/?sc=1&rev=8807
Log:
* Added grub2 script from A Mennucc (Closes: #568623)
* Switched build-system back to debhelper, removed build-dep cdbs
* Bumped Standards-Version to 3.9.1
* Set compat level to 7
* Set format to 3.0 (quilt)

Added:
    general/nvram-wakeup/trunk/debian/50_nvram_wakeup   (with props)
    general/nvram-wakeup/trunk/debian/postinst
    general/nvram-wakeup/trunk/debian/source/
    general/nvram-wakeup/trunk/debian/source/format
Modified:
    general/nvram-wakeup/trunk/debian/changelog
    general/nvram-wakeup/trunk/debian/compat
    general/nvram-wakeup/trunk/debian/control
    general/nvram-wakeup/trunk/debian/install
    general/nvram-wakeup/trunk/debian/rules
    general/nvram-wakeup/trunk/debian/vdr-nvram-wakeup.conf

Added: general/nvram-wakeup/trunk/debian/50_nvram_wakeup
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/debian/50_nvram_wakeup?rev=8807&op=file
==============================================================================
--- general/nvram-wakeup/trunk/debian/50_nvram_wakeup (added)
+++ general/nvram-wakeup/trunk/debian/50_nvram_wakeup Wed Dec  1 18:53:04 2010
@@ -1,0 +1,18 @@
+#!/bin/sh
+exec tail -n +3 $0
+# This is an utility for the nvram-wakeup package.  nvram-wakeup
+# programs the alarm of the RTC (Real Time Clock, a clock in the
+# motherboard) so that the system will power up at a certain hour.
+# This menu method provides an easy way to halt the system at reboot,
+# once.  This is needed by nvram-wakeup on certain motherboard, where,
+# for the changes to take effect, you need to restart (not halt) the
+# computer and wait until the BIOS runs (don't need to enter the BIOS
+# setup).
+menuentry "Halt once (for setting alarm)" {
+  halt
+}
+if [ ${nvram_halt_once} ] ; then
+  set nvram_halt_once=
+  save_env nvram_halt_once
+  set default="Halt once (for setting alarm)"
+fi

Propchange: general/nvram-wakeup/trunk/debian/50_nvram_wakeup
------------------------------------------------------------------------------
    svn:executable = *

Modified: general/nvram-wakeup/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/debian/changelog?rev=8807&op=diff
==============================================================================
--- general/nvram-wakeup/trunk/debian/changelog (original)
+++ general/nvram-wakeup/trunk/debian/changelog Wed Dec  1 18:53:04 2010
@@ -1,3 +1,13 @@
+nvram-wakeup (1.1-2) UNRELEASED; urgency=low
+
+  * Added grub2 script from A Mennucc (Closes: #568623)
+  * Switched build-system back to debhelper, removed build-dep cdbs
+  * Bumped Standards-Version to 3.9.1
+  * Set compat level to 7
+  * Set format to 3.0 (quilt)
+
+ -- Thomas Schmidt <tschmidt at debian.org>  Wed, 01 Dec 2010 19:39:17 +0100
+
 nvram-wakeup (1.1-1) unstable; urgency=low
 
   * New upstream release (Closes: #484929)

Modified: general/nvram-wakeup/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/debian/compat?rev=8807&op=diff
==============================================================================
--- general/nvram-wakeup/trunk/debian/compat (original)
+++ general/nvram-wakeup/trunk/debian/compat Wed Dec  1 18:53:04 2010
@@ -1,1 +1,1 @@
-5
+7

Modified: general/nvram-wakeup/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/debian/control?rev=8807&op=diff
==============================================================================
--- general/nvram-wakeup/trunk/debian/control (original)
+++ general/nvram-wakeup/trunk/debian/control Wed Dec  1 18:53:04 2010
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>
 Uploaders: Tobias Grimm <etobi at debian.org>, Thomas Schmidt <tschmidt at debian.org>
-Build-Depends: debhelper (>= 5), cdbs
-Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7.0.50)
+Standards-Version: 3.9.1
 Homepage: http://sourceforge.net/projects/nvram-wakeup
 XS-Vcs-Svn: svn://svn.debian.org/pkg-vdr-dvb/general/nvram-wakeup/trunk/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/

Modified: general/nvram-wakeup/trunk/debian/install
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/debian/install?rev=8807&op=diff
==============================================================================
--- general/nvram-wakeup/trunk/debian/install (original)
+++ general/nvram-wakeup/trunk/debian/install Wed Dec  1 18:53:04 2010
@@ -9,3 +9,4 @@
 
 debian/S90.nvram-wakeup      usr/share/vdr/shutdown-hooks/
 debian/vdr-nvram-wakeup.conf etc/vdr/
+debian/50_nvram_wakeup       etc/grub.d/

Added: general/nvram-wakeup/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/debian/postinst?rev=8807&op=file
==============================================================================
--- general/nvram-wakeup/trunk/debian/postinst (added)
+++ general/nvram-wakeup/trunk/debian/postinst Wed Dec  1 18:53:04 2010
@@ -1,0 +1,44 @@
+#!/bin/sh
+# postinst script for nvram-wakeup
+#
+# 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)
+        # set correct permission on grub2-script
+        [ -e /etc/grub.d/50_nvram_wakeup ] && chmod 0655 /etc/grub.d/50_nvram_wakeup
+
+        # call update-grub to add the nvram-wakeup entry to the grub.cfg
+        [ -x /usr/sbin/update-grub ] && update-grub 
+    ;;
+
+    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

Modified: general/nvram-wakeup/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/debian/rules?rev=8807&op=diff
==============================================================================
--- general/nvram-wakeup/trunk/debian/rules (original)
+++ general/nvram-wakeup/trunk/debian/rules Wed Dec  1 18:53:04 2010
@@ -1,15 +1,13 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/makefile.mk
-# include /usr/share/cdbs/1/rules/dpatch.mk
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-DEB_INSTALL_CHANGELOGS_ALL = HISTORY
+%:
+	dh $@
 
-#
-# TODO: This breaks DEB_BUILD_OPTIONS,
-# Better hardcode the essential compiler switches in the upstream source
-# instead of making them overrideable in user overridable variables like
-# CFLAGS!
-#
-DEB_MAKE_INVOKE := $(DEB_MAKE_ENVVARS) make -C $(DEB_BUILDDIR)
+override_dh_auto_install:
+	# do nothing here, rely on dh_install instead
+
+override_dh_installchangelogs:
+	dh_installchangelogs HISTORY

Added: general/nvram-wakeup/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/debian/source/format?rev=8807&op=file
==============================================================================
--- general/nvram-wakeup/trunk/debian/source/format (added)
+++ general/nvram-wakeup/trunk/debian/source/format Wed Dec  1 18:53:04 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)

Modified: general/nvram-wakeup/trunk/debian/vdr-nvram-wakeup.conf
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/debian/vdr-nvram-wakeup.conf?rev=8807&op=diff
==============================================================================
--- general/nvram-wakeup/trunk/debian/vdr-nvram-wakeup.conf (original)
+++ general/nvram-wakeup/trunk/debian/vdr-nvram-wakeup.conf Wed Dec  1 18:53:04 2010
@@ -24,7 +24,11 @@
 # If your mainboard needs to reboot before shutting down, set the command(s) to
 # do this here. i.e.:
 #
-# SPECIALSHUTDOWN="lilo -R PowerOff ; shutdown -r now"
+# for lilo:
+# SPECIALSHUTDOWN="lilo -R PowerOff; reboot"
+#
+# for grub2:
+# SPECIALSHUTDOWN="grub-editenv /boot/grub/grubenv set nvram_halt_once=1; reboot"
 #
 SPECIALSHUTDOWN=""
 




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