--- mythtv-status-0.7.3.orig/debian/docs +++ mythtv-status-0.7.3/debian/docs @@ -0,0 +1,2 @@ +README +FAQ --- mythtv-status-0.7.3.orig/debian/rules +++ mythtv-status-0.7.3/debian/rules @@ -0,0 +1,56 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dh_clean + debconf-updatepo + +build: + pod2man bin/mythtv-status > debian/mythtv-status.1 + @touch build-stamp + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +# Build architecture-independent files here. +binary-indep: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install + dh_installdebconf +# Make sure we start after mythtv-backend + dh_installinit -- defaults 51 + dh_installcron + dh_installman debian/mythtv-status.1 + dh_compress + dh_fixperms + dh_perl + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + + +# Build architecture-dependent files here. +binary-arch: install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- mythtv-status-0.7.3.orig/debian/mythtv-status.1 +++ mythtv-status-0.7.3/debian/mythtv-status.1 @@ -0,0 +1,258 @@ +.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sh \" Subsection heading +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.hy 0 +.if n .na +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "MYTHTV-STATUS 1" +.TH MYTHTV-STATUS 1 "2008-04-09" "perl v5.8.8" "User Contributed Perl Documentation" +.SH "NAME" +mythtv\-status \- Display the status of a MythTV backend +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +.Vb 1 +\& mythtv\-status [options] +.Ve +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +This script queries a MythTV backend and reports on the status of it, +any upcoming recordings and any which are happening right now. +.PP +The intention is to warn you if there is a program being recorded or +about to be recorded. +.SH "OPTIONS" +.IX Header "OPTIONS" +.IP "\fB\-c, \-\-colour\fR" 4 +.IX Item "-c, --colour" +Use colour when showing the status of the encoder(s). +.IP "\fB\-d, \-\-description\fR" 4 +.IX Item "-d, --description" +Display the description for the scheduled recordings. +.IP "\fB\-\-disk\-space\-warn\fR" 4 +.IX Item "--disk-space-warn" +The threshold (in percent) of used disk space that we should show +the disk space in red (if using colour) or send an email if we're +in email mode with email only on warnings. +.IP "\fB\-\-encoder\-details\fR" 4 +.IX Item "--encoder-details" +Display the input \s-1ID\s0 and channel name against the recording details. +.IP "\fB\-e, \-\-episode\fR" 4 +.IX Item "-e, --episode" +Display the episode (subtitle) for the scheduled recordings. +.IP "\fB\-\-email
[ \-\-email
...]\fR" 4 +.IX Item "--email
[ --email
...]" +Send the output to the listed email addresses. By default the encoder status, +currently recording shows and time till next recording is surpressed from +the email. +.Sp +To turn the additional blocks on you can use \fB\-\-encoders\fR, \fB\-\-recording\-now\fR +and/or \fB\-\-next\-recording\fR. +.IP "\fB\-\-email\-only\-on\-alert\fR" 4 +.IX Item "--email-only-on-alert" +Only send an email out (if \-\-email is present) if there is an alert +(i.e., schedule conflict or low disk space). +.IP "\fB\-?, \-\-help\fR" 4 +.IX Item "-?, --help" +Display help. +.IP "\fB\-\-file \fR" 4 +.IX Item "--file " +Load \s-1XML\s0 from the file specified instead of querying a MythTV backend. +Handy for debugging things. +.IP "\fB\-\-guide\-data\-warn \fR" 4 +.IX Item "--guide-data-warn " +Warn if the number of days of guide data present is equal to or below +this level. Default is 2 days. +.IP "\fB\-h \s-1HOST\s0, \-\-host=HOST\fR" 4 +.IX Item "-h HOST, --host=HOST" +The host to check, defaults to localhost. +.IP "\fB\-\-nostatus\fR, \fB\-\-noencoders\fR, \fB\-\-norecording\-now\fR, \fB\-\-noscheduled\-recordings\fR, \fB\-\-noschedule\-conflicts\fR, \fB\-\-nonext\-recording\fR, \fB\-\-nototal\-disk\-space\fR, \fB\-\-nodisk\-space\fR, \fB\-\-noguide\-data\fR, \fB\-\-noauto\-expire\fR" 4 +.IX Item "--nostatus, --noencoders, --norecording-now, --noscheduled-recordings, --noschedule-conflicts, --nonext-recording, --nototal-disk-space, --nodisk-space, --noguide-data, --noauto-expire" +Suppress displaying blocks of the output if they would normally be displayed. +.IP "\fB\-p \s-1PORT\s0, \-\-port=PORT\fR" 4 +.IX Item "-p PORT, --port=PORT" +The port to use when connecting to MythTV, defaults to 6544. +.IP "\fB\-\-auto\-expire\fR" 4 +.IX Item "--auto-expire" +Display the shows due to auto expire (output is normally suppressed). +.IP "\fB\-\-auto\-expire\-count\fR" 4 +.IX Item "--auto-expire-count" +How many of the auto expire shows to display, defaults to 10. +.IP "\fB\-\-verbose\fR" 4 +.IX Item "--verbose" +Have slightly more verbose output. This includes any warnings that might +be generated while parsing the \s-1XML\s0. +.IP "\fB\-v, \-\-version\fR" 4 +.IX Item "-v, --version" +Show the version of mythtv-status and then exit. +.SH "OUTPUT" +.IX Header "OUTPUT" +The output of this script is broken up into several chunks they are: +.IP "Status" 4 +.IX Item "Status" +Some general info about the backend, currently just the timestamp of when +this program was run. +.IP "Guide Data" 4 +.IX Item "Guide Data" +The number of days of guide data is present. By default it is only shown +if the number of days is below the warning level. To show it regardless +of the warning level use \-\-guide\-data. +.IP "Encoders" 4 +.IX Item "Encoders" +Each encoder that the backend knows about are listed, with the hostname +they are on, the encoder \s-1ID\s0 (in brackets) and the current status. +.IP "Recording Now" 4 +.IX Item "Recording Now" +Any programs which are being recorded right now. +.IP "Scheduled Recordings" 4 +.IX Item "Scheduled Recordings" +Up to 10 programs which are scheduled to be recorded today and tomorrow. +.IP "Schedule Conflicts" 4 +.IX Item "Schedule Conflicts" +Any upcoming schedule conflicts (not just limited to today or tomorrow). +.IP "Shows due to Auto Expire" 4 +.IX Item "Shows due to Auto Expire" +The shows which will be deleted and the order they'll be deleted if the +auto expirer kicks in. +.IP "Total Disk Space" 4 +.IX Item "Total Disk Space" +The amount of disk space in total, and used by MythTV. +.IP "Next Recording In" 4 +.IX Item "Next Recording In" +If there are no recordings currently happening, then the amount of time until +the next recording is displayed. +.IP "Disk Space" 4 +.IX Item "Disk Space" +Details about each storage group that MythTV knows about. By default this +only shows storage groups that are above the warning level. Use +\&\fB\-\-disk\-space\fR to turn on display of all storage groups. +.SH "AUTHOR" +.IX Header "AUTHOR" +Andrew Ruthven, andrew@etc.gen.nz +.SH "LICENSE" +.IX Header "LICENSE" +Copyright (c) 2007 Andrew Ruthven +This code is hereby licensed for public consumption under the \s-1GNU\s0 \s-1GPL\s0 v2. --- mythtv-status-0.7.3.orig/debian/dirs +++ mythtv-status-0.7.3/debian/dirs @@ -0,0 +1 @@ +usr/bin --- mythtv-status-0.7.3.orig/debian/postinst +++ mythtv-status-0.7.3/debian/postinst @@ -0,0 +1,80 @@ +#!/bin/sh +# postinst script for mythtv-status +# +# see: dh_installdeb(1) + +PACKAGE=mythtv-status + +. /usr/share/debconf/confmodule + +set -e + +case "$1" in + configure|reconfigure) + DEBIANCONFIG=/etc/default/$PACKAGE + + # load current settings, most of which will be overwritten. + [ -f $DEBIANCONFIG ] && . $DEBIANCONFIG + + db_get $PACKAGE/host + HOST="${RET:-localhost}" + + db_get $PACKAGE/enable + RUN="${RET:-true}" + + if [ $RUN = 'true' ] + then + RUN='yes' + fi + + db_get $PACKAGE/email + EMAIL="${RET:-none}" + + EMAIL_ARGS="${EMAIL_ARGS:--email-only-on-alert}" + + cat <<_eof > $DEBIANCONFIG +# $PACKAGE Debian configuration +# +# You can run 'dpkg-reconfigure $PACKAGE' to modify the values in this +# file, if you want. You can also change the values here and changes will +# be preserved. +# +# Do note that only the values are preserved; the rest of the file is +# rewritten. +# + +# RUN: +# Should we actually run and update the MOTD? +RUN=$RUN + +# HOST: +# What host should be check the status on? +HOST=$HOST + +# ARGS: +# Any extra arguments to pass to mythtv-status (i.e., -e and/or -d). +ARGS=$ARGS + +# EMAIL: +# A comma separated list of email address to send status emails to. +# +# Set to none (or leave empty) to disable daily emails. +EMAIL=$EMAIL + +# EMAIL_ARGS: +# Command line arguments that are used when sending the daily email. +EMAIL_ARGS=$EMAIL_ARGS +_eof + + db_stop + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- mythtv-status-0.7.3.orig/debian/watch +++ mythtv-status-0.7.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.etc.gen.nz/projects/mythtv/tarballs/ mythtv-status-([0-9.]+).tar.gz --- mythtv-status-0.7.3.orig/debian/cron.daily +++ mythtv-status-0.7.3/debian/cron.daily @@ -0,0 +1,10 @@ +#!/bin/sh + +. /etc/default/mythtv-status + +if [ "x$EMAIL" = "x" -o "x$EMAIL" = "xnone" ] +then + exit +fi + +/usr/bin/mythtv-status --host $HOST --email $EMAIL $EMAIL_ARGS --- mythtv-status-0.7.3.orig/debian/config +++ mythtv-status-0.7.3/debian/config @@ -0,0 +1,27 @@ +#!/bin/sh + +PACKAGE=mythtv-status + +CONFIGFILE=/etc/default/$PACKAGE +set -e +. /usr/share/debconf/confmodule + +# Load config file, if it exists. +if [ -e $CONFIGFILE ]; then + . $CONFIGFILE || true + + + # Store values from config file into + # debconf db. + + db_set $PACKAGE/enable $RUN + db_set $PACKAGE/host $HOST + db_set $PACKAGE/email $EMAIL + +fi + +# Ask questions. +db_input medium $PACKAGE/host || true +db_input medium $PACKAGE/enable || true +db_input medium $PACKAGE/email || true +db_go --- mythtv-status-0.7.3.orig/debian/cron.d +++ mythtv-status-0.7.3/debian/cron.d @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the mythtv-status package +# +*/10 * * * * root [ -x /etc/init.d/mythtv-status ] && /etc/init.d/mythtv-status reload > /dev/null --- mythtv-status-0.7.3.orig/debian/install +++ mythtv-status-0.7.3/debian/install @@ -0,0 +1 @@ +bin/mythtv-status usr/bin --- mythtv-status-0.7.3.orig/debian/compat +++ mythtv-status-0.7.3/debian/compat @@ -0,0 +1 @@ +6 --- mythtv-status-0.7.3.orig/debian/templates +++ mythtv-status-0.7.3/debian/templates @@ -0,0 +1,27 @@ +Template: mythtv-status/host +Type: string +Default: localhost +_Description: MythTV backend to check: + The MythTV backend to check, you only need to change this if you want to check + a different host. + +Template: mythtv-status/enable +Type: boolean +Default: true +_Description: Update the system MOTD? + Whether the Message of the Day should be updated on system boot and on a + regular basis. + . + To adjust how often the MOTD is updated, edit /etc/cron.d/mythtv-status. + +Template: mythtv-status/email +Type: string +Default: none +_Description: Send email status to: + Status emails can be sent on a daily basis. + . + By default an email is only sent if there are alerts. You must have + the MythTV Perl API installed for conflict alerts to be generated. + . + To disable set the email address to "none". To specify multiple email + addresses, seperate them with a comma. --- mythtv-status-0.7.3.orig/debian/copyright +++ mythtv-status-0.7.3/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Andrew Ruthven on +Sat, 13 Oct 2007 14:23:33 +1300. + +It was downloaded from http://www.etc.gen.nz/projects/mythtv/tarballs/ + +Upstream Author: + + Andrew Ruthven + +Copyright: + + Copyright (C) 2007 Andrew Ruthven + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is (C) 2007, Andrew Ruthven and +is licensed under the GPL, see above. --- mythtv-status-0.7.3.orig/debian/postrm +++ mythtv-status-0.7.3/debian/postrm @@ -0,0 +1,38 @@ +#!/bin/sh +# postrm script for mythtv-status +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|failed-upgrade|abort-install|abort-upgrade|disappear) + if [ -f /var/run/motd.orig ] + then + mv /var/run/motd.orig /var/run/motd + fi + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- mythtv-status-0.7.3.orig/debian/changelog +++ mythtv-status-0.7.3/debian/changelog @@ -0,0 +1,178 @@ +mythtv-status (0.7.3-2ubuntu2) intrepid; urgency=low + + * debian/control: Depend on lsb-base >= 3.2-14, providing status_of_proc(). + * debian/init.d: Add the 'status' action (LP: #251330). + + -- Dustin Kirkland Mon, 06 Oct 2008 15:07:15 -0500 + +mythtv-status (0.7.3-2ubuntu1) intrepid; urgency=low + + * Merge from debian unstable. + + -- Mario Limonciello Tue, 13 May 2008 01:13:18 -0500 + +mythtv-status (0.7.3-2) unstable; urgency=low + + * The cron.daily file should honour the HOST setting in + /etc/default/mythtv-status (Closes: #475106) + * Remove two bogus space charaters in the output from the init.d script. + + -- Andrew Ruthven Wed, 09 Apr 2008 14:29:30 +1200 + +mythtv-status (0.7.3-1ubuntu1) hardy; urgency=low + + * Sync with Debian unstable, maintaining Ubuntu changes (LP#198962) + + -- Francois Marier Sun, 16 Mar 2008 14:19:59 +1300 + +mythtv-status (0.7.3-1) unstable; urgency=low + + * New upstream release. + + -- Andrew Ruthven Tue, 11 Mar 2008 14:19:49 +1300 + +mythtv-status (0.7.2-1) unstable; urgency=low + + * New upstream release. + + -- Andrew Ruthven Fri, 7 Mar 2008 08:31:47 +1300 + +mythtv-status (0.7.1-3) unstable; urgency=low + + * Fix a typo in the init.d output, Stoping should be Stopping. + + -- Andrew Ruthven Fri, 8 Feb 2008 15:36:56 +1300 + +mythtv-status (0.7.1-2) unstable; urgency=low + + * Bump debhelper compatibility to 6 + * Add German translation (Closes: #463429) + * Not uploaded to Debian. + + -- Andrew Ruthven Mon, 4 Feb 2008 10:51:49 +1300 + +mythtv-status (0.7.1-1) unstable; urgency=low + + * New upstream release. + + -- Andrew Ruthven Thu, 24 Jan 2008 08:17:33 +1300 + +mythtv-status (0.7.0-1) unstable; urgency=low + + * New upstream release. + + -- Andrew Ruthven Sun, 20 Jan 2008 10:17:29 +1300 + +mythtv-status (0.6.2-1) unstable; urgency=low + + * New upstream release. + * Update debconf templates to reflect the fact that emails are sent out + for alerts now, not just conflicts (this feature was added in 0.6.0). + + Updated French translation from Franciois Marier. + + Updated Portuguese translation from Américo Monteiro. + + -- Andrew Ruthven Wed, 26 Dec 2007 22:36:45 +1300 + +mythtv-status (0.6.1-1) unstable; urgency=low + + * New upstream release. + + -- Andrew Ruthven Thu, 13 Dec 2007 12:19:14 +1300 + +mythtv-status (0.6.0-1) unstable; urgency=low + + * New upstream release. + * Remove empty usr/sbin from dirs, thanks lintian. + * Move the packaging rules into binary-indep (section 4.9) + * mythtv-perl in debian-multimedia.org has been renamed to libmythtv-perl. + + -- Andrew Ruthven Tue, 12 Dec 2007 06:46:56 +1300 + +mythtv-status (0.5.3-1) unstable; urgency=low + + * New upstream release. + * Bump to Standards-Version 3.7.3. + + -- Andrew Ruthven Thu, 6 Dec 2007 14:55:22 +1300 + +mythtv-status (0.5.2-2) unstable; urgency=low + + * The 3rd party mythtv-backend for Debian uses an init ordering of 24 now + (not 20 as on my system) and in KnoppMyth it uses 50. So change + mythtv-status to use 51. + * Not uploaded to Debian. + + -- Andrew Ruthven Mon, 3 Dec 2007 06:41:22 +1300 + +mythtv-status (0.5.2-1ubuntu1) hardy; urgency=low + + * debian/control: + - We don't have mythtv-perl in Ubuntu, but rather libmyth-perl. + - Also, it should be a dependency. + - Update maintainer. + + -- Mario Limonciello Fri, 15 Feb 2008 22:57:48 -0600 + +mythtv-status (0.5.2-1) unstable; urgency=low + + * New upstream release. + + -- Andrew Ruthven Fri, 30 Nov 2007 09:54:03 +1300 + +mythtv-status (0.5.1-2) unstable; urgency=low + + * Updated Portuguese translation from Miguel Figueiredo (Closes: #451821) + + -- Andrew Ruthven Mon, 26 Nov 2007 12:09:32 +1300 + +mythtv-status (0.5.1-1) unstable; urgency=low + + * New upstream release. + * Make the new debconf questions lintian clean. + * Updated French translation from Francois Marier. + + -- Andrew Ruthven Fri, 23 Nov 2007 11:37:15 +1300 + +mythtv-status (0.5-1) unstable; urgency=low + + * New upstream release. + * Allow defining arguments in /etc/default/mythtv-status for use in the + init.d script. + * Minor cleanups to the init.d script. + * Add Portuguese translation from Américo Monteiro. (Closes: #451821) + + -- Andrew Ruthven Sun, 18 Nov 2007 10:17:09 +1300 + +mythtv-status (0.4-1) unstable; urgency=low + + [ Andrew Ruthven ] + * No longer ship mythtv-update-motd. + * Allow displaying the description and episode title for programs. + * Cleanup the wording of the package descriptions. + + [ Francois Marier ] + * Many fixes to the Debian packaging to make lintian happy. + * Check that script is executable before using it in cron. + * Use po-debconf and add a French translation. + * Upload to unstable (closes: #451442) + + -- Andrew Ruthven Fri, 16 Nov 2007 14:16:15 +1300 + +mythtv-status (0.3-1) unstable; urgency=low + + * Add additional recorder states and display if an encoder is not connected. + + -- Andrew Ruthven Fri, 16 Nov 2007 07:35:47 +1300 + +mythtv-status (0.2-1) unstable; urgency=low + + * Minor changes to documentation. + + -- Andrew Ruthven Wed, 14 Nov 2007 21:50:24 +1300 + +mythtv-status (0.1-1) unstable; urgency=low + + * Initial Release. + + -- Andrew Ruthven Sat, 13 Oct 2007 14:23:33 +1300 + --- mythtv-status-0.7.3.orig/debian/init.d +++ mythtv-status-0.7.3/debian/init.d @@ -0,0 +1,97 @@ +#!/bin/sh +# +# Copyright (c) 2007 Javier Fernandez-Sanguino +# +# This is free software; you may redistribute it and/or modify +# it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, +# or (at your option) any later version. +# +# This is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License with +# the Debian operating system, in /usr/share/common-licenses/GPL; if +# not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# +### BEGIN INIT INFO +# Provides: mythtv-status +# Required-Start: $mythtv-backend +# Required-Stop: +# Should-Start: $named +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Update the MOTD with the MythTV status +# Description: Update the MOTD with the MythTV status +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/bin/mythtv-status # Introduce the server's location here +NAME=mythtv-status # Introduce the short server's name here +DESC="MythTV Status" # Introduce a short description here + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Include defaults if available +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME +fi + +# Use this if you want the user to explicitly set 'RUN' in +# /etc/default/ +if [ "x$RUN" != "xyes" ] ; then + log_failure_msg "$NAME disabled, please adjust the configuration to your needs " + log_failure_msg "and then set RUN to 'yes' in /etc/default/$NAME to enable it." + exit +fi + +set -e + +case "$1" in + start|reload|refresh|restart|force-reload) + log_daemon_msg "Updating $DESC" "$NAME" + [ ! -f /var/run/motd.orig ] && cp /var/run/motd /var/run/motd.orig + + cp /var/run/motd.orig /var/run/motd.new + + if $DAEMON $ARGS -h $HOST >> /var/run/motd.new; then + if mv /var/run/motd.new /var/run/motd; then + touch "/var/run/$NAME" + else + rm -f "/var/run/$NAME" 2>/dev/null || true + fi + else + rm -f "/var/run/$NAME" 2>/dev/null || true + fi + log_end_msg 0 + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + [ -f /var/run/motd.orig ] && cp /var/run/motd.orig /var/run/motd + rm -f "/var/run/$NAME" 2>/dev/null || true + log_end_msg 0 + ;; + status) + if [ -f "/var/run/$NAME" ]; then + log_success_msg "$NAME is running" + exit 0 + else + log_failure_msg "$NAME is not running" + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|reload|refresh|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- mythtv-status-0.7.3.orig/debian/control +++ mythtv-status-0.7.3/debian/control @@ -0,0 +1,21 @@ +Source: mythtv-status +Section: misc +Priority: extra +Maintainer: Ubuntu MythTV Team +XSBC-Original-Maintainer: Andrew Ruthven +Build-Depends: debhelper (>= 6), po-debconf +Standards-Version: 3.7.3 +Homepage: http://www.etc.gen.nz/projects/mythtv/mythtv-status.html +Vcs-Git: http://git.etc.gen.nz/mythtv-status.git +Vcs-Browser: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?p=mythtv-status.git;a=summary + +Package: mythtv-status +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends}, lsb-base (>= 3.2-14), libwww-perl, libxml-libxml-perl, libdate-manip-perl, libmime-perl, libmyth-perl +Description: Show the status of a MythTV backend + Shows the current status of a local or remote MythTV backend and up to + the next 10 recordings for today and tomorrow. + . + Also provides funtionality for updating the MOTD with this information, + this can provide a good heads up on when you should avoid heavy CPU or + I/O work on your MythTV backend. --- mythtv-status-0.7.3.orig/debian/po/templates.pot +++ mythtv-status-0.7.3/debian/po/templates.pot @@ -0,0 +1,80 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: andrew@etc.gen.nz\n" +"POT-Creation-Date: 2007-12-25 13:20+1300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "MythTV backend to check:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"The MythTV backend to check, you only need to change this if you want to " +"check a different host." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Update the system MOTD?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Whether the Message of the Day should be updated on system boot and on a " +"regular basis." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"To adjust how often the MOTD is updated, edit /etc/cron.d/mythtv-status." +msgstr "" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Send email status to:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Status emails can be sent on a daily basis." +msgstr "" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "" +"By default an email is only sent if there are alerts. You must have the " +"MythTV Perl API installed for conflict alerts to be generated." +msgstr "" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "" +"To disable set the email address to \"none\". To specify multiple email " +"addresses, seperate them with a comma." +msgstr "" --- mythtv-status-0.7.3.orig/debian/po/de.po +++ mythtv-status-0.7.3/debian/po/de.po @@ -0,0 +1,89 @@ +# Translation of mythtv-status debconf templates to German +# Copyright (C) Helge Kreutzmann , 2008. +# This file is distributed under the same license as the mythtv-status package. +# +msgid "" +msgstr "" +"Project-Id-Version: mythtv-status 0.6.2-1\n" +"Report-Msgid-Bugs-To: andrew@etc.gen.nz\n" +"POT-Creation-Date: 2007-12-25 13:20+1300\n" +"PO-Revision-Date: 2008-01-27 23:14+0100\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "MythTV backend to check:" +msgstr "Zu prüfendes MythTV-Backend:" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"The MythTV backend to check, you only need to change this if you want to " +"check a different host." +msgstr "" +"Das zu prüfende MythTV-Backend. Sie müssen dies nur ändern, falls Sie einen " +"anderen Rechner prüfen wollen." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Update the system MOTD?" +msgstr "Die MOTD des Systems aktualisieren?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Whether the Message of the Day should be updated on system boot and on a " +"regular basis." +msgstr "" +"Entscheiden Sie, ob die Nachricht des Tages (»Message of the Day«) beim " +"Systemstart und auf regelmäßiger Basis aktualisiert werden soll." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"To adjust how often the MOTD is updated, edit /etc/cron.d/mythtv-status." +msgstr "" +"Bearbeiten Sie die Datei /etc/cron.d/mythtv-status, um einzustellen, wie " +"oft die MOTD aktualisiert werden soll." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Send email status to:" +msgstr "Verschicke E-Mail-Status an:" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Status emails can be sent on a daily basis." +msgstr "Es können tägliche Status-E-Mails versendet werden." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "" +"By default an email is only sent if there are alerts. You must have the " +"MythTV Perl API installed for conflict alerts to be generated." +msgstr "" +"Standardmäßig wird nur bei Störungen eine E-Mail versandt. Damit bei " +"Konflikten Warnungen erzeugt werden, müssen Sie das MythTV-Perl-API " +"installiert haben." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "" +"To disable set the email address to \"none\". To specify multiple email " +"addresses, seperate them with a comma." +msgstr "" +"Zum Deaktivieren setzen Sie die E-Mail-Adresse auf »none«. Mehrere E-Mail-" +"Adressen werden durch Kommata getrennt." --- mythtv-status-0.7.3.orig/debian/po/fr.po +++ mythtv-status-0.7.3/debian/po/fr.po @@ -0,0 +1,90 @@ +# Mythtv-status debconf questions +# Copyright (C) 2007 +# This file is distributed under the same license as the mythtv-status package. +# Francois Marier +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: andrew@etc.gen.nz\n" +"POT-Creation-Date: 2007-12-25 13:20+1300\n" +"PO-Revision-Date: 2007-12-25 13:37-0500\n" +"Last-Translator: Francois Marier \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "MythTV backend to check:" +msgstr "Système MythTV à examiner :" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"The MythTV backend to check, you only need to change this if you want to " +"check a different host." +msgstr "" +"Le système MythTV à examiner. Vous n'avez à changer la valeur par défaut que " +"si vous désirer examiner un autre hôte." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Update the system MOTD?" +msgstr "Mettre à jour le MOTD du système ?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Whether the Message of the Day should be updated on system boot and on a " +"regular basis." +msgstr "" +"Mise à jour du message du jour du système lors du démarrage et sur une base " +"régulière." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"To adjust how often the MOTD is updated, edit /etc/cron.d/mythtv-status." +msgstr "" +"Pour changer la fréquence de mise à jour du message du jour, modifier le " +"fichier /etc/cron.d/mythtv-status." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Send email status to:" +msgstr "Envoyer le status à :" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Status emails can be sent on a daily basis." +msgstr "Un courriel de status peut être envoyé quotidiennement." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "" +"By default an email is only sent if there are alerts. You must have the " +"MythTV Perl API installed for conflict alerts to be generated." +msgstr "" +"Un message n'est envoyé que s'il y a un conflit dans l'horaire. Le module " +"Perl MythTV doit être installé pour utiliser cette fonction." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "" +"To disable set the email address to \"none\". To specify multiple email " +"addresses, seperate them with a comma." +msgstr "" +"Pour désactiver cette fonction, entrez l'adresse \"none\". Pour spécifiez " +"plus d'une adresse, séparez-les par des virgules." --- mythtv-status-0.7.3.orig/debian/po/POTFILES.in +++ mythtv-status-0.7.3/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- mythtv-status-0.7.3.orig/debian/po/pt.po +++ mythtv-status-0.7.3/debian/po/pt.po @@ -0,0 +1,91 @@ +# translation of mythtv-status debconf to Portuguese +# Copyright (C) 2007 Américo Monteiro +# This file is distributed under the same license as the mythtv-status package. +# +# Américo Monteiro , 2007. +msgid "" +msgstr "" +"Project-Id-Version: mythtv-status \n" +"Report-Msgid-Bugs-To: andrew@etc.gen.nz\n" +"POT-Creation-Date: 2007-12-25 13:20+1300\n" +"PO-Revision-Date: 2007-12-25 13:41+0000\n" +"Last-Translator: Américo Monteiro \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "MythTV backend to check:" +msgstr "Backend do MythTV para verificar:" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"The MythTV backend to check, you only need to change this if you want to " +"check a different host." +msgstr "" +"O backend do MythTV para verificar, você apenas precisa alterar isto se " +"desejar verificar uma máquina diferente." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Update the system MOTD?" +msgstr "Actualizar o sistema MOTD?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Whether the Message of the Day should be updated on system boot and on a " +"regular basis." +msgstr "" +"Se a Mensagem do Dia deverá ser actualizada no arranque da máquina e numa " +"base regular." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "To adjust how often the MOTD is updated, edit /etc/cron.d/mythtv-status." +msgstr "" +"Para ajustar a frequência de actualização do MOTD, edite /etc/cron.d/mythtv-" +"status." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Send email status to:" +msgstr "Enviar email de estado para:" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Status emails can be sent on a daily basis." +msgstr "Emails de estado podem ser enviados diariamente." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "" +"By default an email is only sent if there are alerts. You must have the " +"MythTV Perl API installed for conflict alerts to be generated." +msgstr "" +"Por pré-definição, um email é enviado apenas se existir um alerta. Você " +"precisa ter a API MythTV Perl instalada para os alertas de conflito serem " +"gerados." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "" +"To disable set the email address to \"none\". To specify multiple email " +"addresses, seperate them with a comma." +msgstr "" +"Para desactivar regule o endereço de email para \"none\". Para especificar " +"endereços de email múltiplos, separe-os com uma vírgula." +