--- vdr-addon-epgdata2vdr-0.0.1+svn20100714.orig/debian/postrm +++ vdr-addon-epgdata2vdr-0.0.1+svn20100714/debian/postrm @@ -0,0 +1,43 @@ +#!/bin/sh +# postrm script for vdr-addon-epgdata2vdr +# +# 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) + rm -rf /var/cache/vdr/epgdata2vdr/files + rm -rf /var/cache/vdr/epgimages + rm -rf /var/cache/vdr/epgdata2vdr/include + ;; + + remove|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 --- vdr-addon-epgdata2vdr-0.0.1+svn20100714.orig/debian/dirs +++ vdr-addon-epgdata2vdr-0.0.1+svn20100714/debian/dirs @@ -0,0 +1,3 @@ +var/cache/vdr/epgimages +var/cache/vdr/epgdata2vdr/include +var/cache/vdr/epgdata2vdr/files --- vdr-addon-epgdata2vdr-0.0.1+svn20100714.orig/debian/install +++ vdr-addon-epgdata2vdr-0.0.1+svn20100714/debian/install @@ -0,0 +1,6 @@ +epgdata2vdr usr/bin +epgdata2vdr.conf /etc/vdr +epgdata2vdr_channelmap.conf /var/cache/vdr/epgdata2vdr/include +epgdata2vdr.sh /usr/bin +debian/epgdata2vdr-update /etc/cron.daily +#debian/tmp/usr/share/locale --- vdr-addon-epgdata2vdr-0.0.1+svn20100714.orig/debian/compat +++ vdr-addon-epgdata2vdr-0.0.1+svn20100714/debian/compat @@ -0,0 +1 @@ +7 --- vdr-addon-epgdata2vdr-0.0.1+svn20100714.orig/debian/epgdata2vdr-update +++ vdr-addon-epgdata2vdr-0.0.1+svn20100714/debian/epgdata2vdr-update @@ -0,0 +1,24 @@ +#!/bin/sh + +logger -s "Starting epgdata2vdr" +svdrpsend MESG "Suche EPG per EPGDATA..." + +# Plugin EPGSearch anhalten +svdrpsend plug epgsearch SETS off + +sleep 1 +if [ ! -e /var/log/epg-update ]; then + touch /var/log/epg-update + chown vdr:vdr /var/log/epg-update +fi + +echo -n "`date` " >> /var/log/epg-update +su -c '/usr/bin/epgdata2vdr.sh >> /var/log/epg-update' vdr + +sleep 1 + +# Plugin EPGSearch wieder starten +svdrpsend plug epgsearch SETS on + +svdrpsend MESG "EPG-Suche beendet" +logger -s "EPG Suche beendet" --- vdr-addon-epgdata2vdr-0.0.1+svn20100714.orig/debian/control +++ vdr-addon-epgdata2vdr-0.0.1+svn20100714/debian/control @@ -0,0 +1,14 @@ +Source: vdr-addon-epgdata2vdr +Section: misc +Priority: extra +Maintainer: Steffen Barszus +Build-Depends: cdbs, debhelper (>= 7), gettext, libxml2-dev, libzip-dev, libmagickcore-dev +Standards-Version: 3.8.3 +Homepage: http://svn.origo.ethz.ch/wsvn/vdr-plugin-tvm2vdr/trunk/epgdata2vdr/ + +Package: vdr-addon-epgdata2vdr +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, curl, unzip, vdr (>= 1.7.10) +Description: gets EPG information from epgdata.com + gets EPG information from epgdata.com + --- vdr-addon-epgdata2vdr-0.0.1+svn20100714.orig/debian/changelog +++ vdr-addon-epgdata2vdr-0.0.1+svn20100714/debian/changelog @@ -0,0 +1,8 @@ +vdr-addon-epgdata2vdr (0.0.1+svn20100714-2yavdr1) lucid; urgency=low + + * Initial release (rev. 180) + + + -- Holger Schvestka Wed, 14 Jul 2010 14:56:26 +0100 + + --- vdr-addon-epgdata2vdr-0.0.1+svn20100714.orig/debian/rules +++ vdr-addon-epgdata2vdr-0.0.1+svn20100714/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +#include /usr/share/cdbs/1/rules/dpatch.mk + +common-build-arch:: + $(MAKE) all $(MAKE_OPTIONS) + +cleanbuilddir:: +# $(MAKE) -o .dependencies clean $(MAKE_OPTIONS) + rm -f epgdata2vdr + + --- vdr-addon-epgdata2vdr-0.0.1+svn20100714.orig/debian/postinst +++ vdr-addon-epgdata2vdr-0.0.1+svn20100714/debian/postinst @@ -0,0 +1,44 @@ +#!/bin/sh +# postinst script for vdr-addon-epgdata2vdr +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + chown -R vdr:vdr /var/cache/vdr/epgdata2vdr/include + chown -R vdr:vdr /var/cache/vdr/epgdata2vdr/files + chown -R vdr:vdr /var/cache/vdr/epgimages + chown vdr:vdr /usr/bin/epgdata2vdr.sh + chown vdr:vdr /usr/bin/epgdata2vdr + ;; + + 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 --- vdr-addon-epgdata2vdr-0.0.1+svn20100714.orig/debian/copyright +++ vdr-addon-epgdata2vdr-0.0.1+svn20100714/debian/copyright @@ -0,0 +1,37 @@ +Upstream Homepage: + http://svn.origo.ethz.ch/wsvn/vdr-plugin-tvm2vdr/trunk/epgdata2vdr/ + +Upstream Author(s): + Steffen Barszus + +Debian Maintainer(s): + (C) Holger Schvestka + +Copyright: + (C) Steffen Barszus + +Copyright (Debian packaging): + (C) Holger Schvestka + +License: + This program 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; either version 2 of the License, or + (at your option) any later version. + + This program 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 program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + The complete text of the GNU General Public License can be found + in /usr/share/common-licenses/GPL-2 on most Debian systems. + +License (Debian packaging): + The Debian packaging is licensed under the GPL, version 2 or any + later version, see /usr/share/common-licenses/GPL-2. +