diff -Nru nvram-wakeup-1.1/debian/50_nvram_wakeup nvram-wakeup-1.1/debian/50_nvram_wakeup --- nvram-wakeup-1.1/debian/50_nvram_wakeup 1970-01-01 00:00:00.000000000 +0000 +++ nvram-wakeup-1.1/debian/50_nvram_wakeup 2015-10-20 22:16:54.000000000 +0000 @@ -0,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 diff -Nru nvram-wakeup-1.1/debian/changelog nvram-wakeup-1.1/debian/changelog --- nvram-wakeup-1.1/debian/changelog 2015-10-24 03:22:04.000000000 +0000 +++ nvram-wakeup-1.1/debian/changelog 2015-10-20 22:16:54.000000000 +0000 @@ -1,3 +1,30 @@ +nvram-wakeup (1.1-4) unstable; urgency=medium + + * Install grub2 script only as an example (Closes: #801582) + + -- Tobias Grimm Wed, 21 Oct 2015 00:16:51 +0200 + +nvram-wakeup (1.1-3) unstable; urgency=medium + + * Standards-Version: 3.9.6 + * Fixed Vcs-Git to use anonscm link + * Remove build time macros to get reproducible build + + -- Tobias Grimm Sun, 11 Oct 2015 11:44:25 +0200 + +nvram-wakeup (1.1-2) unstable; urgency=low + + [ Thomas Schmidt ] + * Added grub2 script from A Mennucc (Closes: #568623) + * Switched build-system back to debhelper, removed build-dep cdbs + * Set format to 3.0 (quilt) + + [ Tobias Grimm ] + * Standards-Version: 3.9.4 + * Use debhelper 9 + + -- Tobias Grimm Thu, 28 Mar 2013 18:55:26 +0100 + nvram-wakeup (1.1-1) unstable; urgency=low * New upstream release (Closes: #484929) diff -Nru nvram-wakeup-1.1/debian/compat nvram-wakeup-1.1/debian/compat --- nvram-wakeup-1.1/debian/compat 2015-10-24 03:22:04.000000000 +0000 +++ nvram-wakeup-1.1/debian/compat 2015-10-20 22:16:54.000000000 +0000 @@ -1 +1 @@ -5 +9 diff -Nru nvram-wakeup-1.1/debian/control nvram-wakeup-1.1/debian/control --- nvram-wakeup-1.1/debian/control 2015-10-24 03:22:04.000000000 +0000 +++ nvram-wakeup-1.1/debian/control 2015-10-20 22:16:54.000000000 +0000 @@ -3,18 +3,18 @@ Priority: optional Maintainer: Debian VDR Team Uploaders: Tobias Grimm , Thomas Schmidt -Build-Depends: debhelper (>= 5), cdbs -Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.6 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/ +Vcs-Git: git://anonscm.debian.org/pkg-vdr-dvb/nvram-wakeup.git +Vcs-Browser: http://git.debian.org/?p=pkg-vdr-dvb/nvram-wakeup.git Package: nvram-wakeup Architecture: i386 amd64 Depends: ${shlibs:Depends}, ${misc:Depends} -Description: A tool to read/write the WakeUp time from/to the BIOS - nvram-wakeup can read and write the wake up time in the BIOS - (via /dev/nvram on recent 2.4.x kernels or direct I/O port access). +Description: Read/write the WakeUp time from/to the BIOS + nvram-wakeup can read and write the wake up time in the BIOS + (via /dev/nvram on recent 2.4.x kernels or direct I/O port access). On this wake up time the computer will be powered on automatically from the soft-off state. For the video disc recorder VDR, nvram-wakeup installs a hook script, that allows VDR to set a wake up time, when it powers down. diff -Nru nvram-wakeup-1.1/debian/copyright nvram-wakeup-1.1/debian/copyright --- nvram-wakeup-1.1/debian/copyright 2015-10-24 03:22:04.000000000 +0000 +++ nvram-wakeup-1.1/debian/copyright 2015-10-20 22:16:54.000000000 +0000 @@ -15,7 +15,7 @@ (C) 2004 - 2010 Tobias Grimm Copyright (Debian packaging): - (C) 2003 - 2010 Tobias Grimm, Thomas Schmidt + (C) 2003 - 2013 Tobias Grimm, Thomas Schmidt License: This program is free software; you can redistribute it and/or modify diff -Nru nvram-wakeup-1.1/debian/examples nvram-wakeup-1.1/debian/examples --- nvram-wakeup-1.1/debian/examples 2015-10-24 03:22:04.000000000 +0000 +++ nvram-wakeup-1.1/debian/examples 2015-10-20 22:16:54.000000000 +0000 @@ -2,3 +2,4 @@ set_timer.8 VDR/vdrshutdown nvram-wakeup.conf +debian/50_nvram_wakeup diff -Nru nvram-wakeup-1.1/debian/NEWS nvram-wakeup-1.1/debian/NEWS --- nvram-wakeup-1.1/debian/NEWS 2015-10-24 03:22:04.000000000 +0000 +++ nvram-wakeup-1.1/debian/NEWS 2015-10-20 22:16:54.000000000 +0000 @@ -1,7 +1,7 @@ nvram-wakeup (0.97-15) unstable; urgency=medium Due to conflicting names, /usr/sbin/time isn't installed anymore. - The functionallity of this tool can be replaced by using date: + The functionality of this tool can be replaced by using date: date -d "1970-01-01 1089365289 sec UTC" date -u -d "1970-01-01 1089365289 sec UTC" diff -Nru nvram-wakeup-1.1/debian/patches/remove-date-time-macros.patch nvram-wakeup-1.1/debian/patches/remove-date-time-macros.patch --- nvram-wakeup-1.1/debian/patches/remove-date-time-macros.patch 1970-01-01 00:00:00.000000000 +0000 +++ nvram-wakeup-1.1/debian/patches/remove-date-time-macros.patch 2015-10-20 22:16:54.000000000 +0000 @@ -0,0 +1,18 @@ +Description: Remove date and time macros + Removes build-date and build-time macros to enable reproducible build +Author: Tobias Grimm +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ + +Index: nvram-wakeup/nvram-wakeup.c +=================================================================== +--- nvram-wakeup.orig/nvram-wakeup.c 2015-10-11 11:39:45.765080411 +0200 ++++ nvram-wakeup/nvram-wakeup.c 2015-10-11 11:40:13.177012687 +0200 +@@ -978,7 +978,6 @@ + nvprintf(LOG_DEBUG, "Printing debug messages enbled.\n"); + for(i=0; CVS_ALL[i]; i++) + nvprintf(LOG_DEBUG, "%s\n", CVS_ALL[i]); +- nvprintf(LOG_DEBUG, "Built at: " __DATE__ " " __TIME__ "\n"); + + break; + case 'A': diff -Nru nvram-wakeup-1.1/debian/patches/series nvram-wakeup-1.1/debian/patches/series --- nvram-wakeup-1.1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ nvram-wakeup-1.1/debian/patches/series 2015-10-20 22:16:54.000000000 +0000 @@ -0,0 +1 @@ +remove-date-time-macros.patch diff -Nru nvram-wakeup-1.1/debian/rules nvram-wakeup-1.1/debian/rules --- nvram-wakeup-1.1/debian/rules 2015-10-24 03:22:04.000000000 +0000 +++ nvram-wakeup-1.1/debian/rules 2015-10-20 22:16:54.000000000 +0000 @@ -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) \ No newline at end of file +override_dh_auto_install: + # do nothing here, rely on dh_install instead + +override_dh_installchangelogs: + dh_installchangelogs HISTORY diff -Nru nvram-wakeup-1.1/debian/source/format nvram-wakeup-1.1/debian/source/format --- nvram-wakeup-1.1/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ nvram-wakeup-1.1/debian/source/format 2015-10-20 22:16:54.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru nvram-wakeup-1.1/debian/vdr-nvram-wakeup.conf nvram-wakeup-1.1/debian/vdr-nvram-wakeup.conf --- nvram-wakeup-1.1/debian/vdr-nvram-wakeup.conf 2015-10-24 03:22:04.000000000 +0000 +++ nvram-wakeup-1.1/debian/vdr-nvram-wakeup.conf 2015-10-20 22:16:54.000000000 +0000 @@ -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=""