From 80bb0db05b990d80bef0a97de1b6eb4b8c933a7b Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Thu, 8 Oct 2009 20:50:46 -0700 Subject: deb2targz:initial inclusion. --- abs/extra-testing/deb2targz/PKGBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 abs/extra-testing/deb2targz/PKGBUILD diff --git a/abs/extra-testing/deb2targz/PKGBUILD b/abs/extra-testing/deb2targz/PKGBUILD new file mode 100644 index 0000000..adf074d --- /dev/null +++ b/abs/extra-testing/deb2targz/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Douglas Soares de Andrade +# Contributor: Jason Erik Jackson + +pkgname=deb2targz +pkgver=1 +pkgrel=2 +pkgdesc="Converts .deb archives to tar.gz" +arch=('i686' 'x86_64') +url="http://www.miketaylor.org.uk/tech/deb/" +depends=("perl") +source=("http://www.miketaylor.org.uk/tech/deb/$pkgname") + +md5sums=('5b944785778d023a43e33af53bea2056') + +build() { + mkdir -p $startdir/pkg/usr/bin + install -m755 $startdir/src/$pkgname $startdir/pkg/usr/bin +} + + -- cgit v0.12 From 6f77b2304f40e88ce9cc0b65d09424bcfc1a4039 Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Thu, 8 Oct 2009 20:51:01 -0700 Subject: hulu desktop:initial inclusion --- abs/extra-testing/huludesktop/PKGBUILD | 21 ++++++++++++++++++ abs/extra-testing/huludesktop/huludesktop | 25 ++++++++++++++++++++++ abs/extra-testing/huludesktop/huludesktop.install | 26 +++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 abs/extra-testing/huludesktop/PKGBUILD create mode 100644 abs/extra-testing/huludesktop/huludesktop create mode 100644 abs/extra-testing/huludesktop/huludesktop.install diff --git a/abs/extra-testing/huludesktop/PKGBUILD b/abs/extra-testing/huludesktop/PKGBUILD new file mode 100644 index 0000000..9380c99 --- /dev/null +++ b/abs/extra-testing/huludesktop/PKGBUILD @@ -0,0 +1,21 @@ +pkgname=huludesktop +pkgver=0.1 +pkgrel=4 +pkgdesc="Hulu Desktop for Linux" +arch=(i686) +url="http://www.hulu.com/labs/hulu-desktop-linux" +license=('unknown') +makedepends=('deb2targz') +depends=('glib2' 'gtk2' 'lirc' 'flashplugin') +install=huludesktop.install +options=('') +source=('http://download.hulu.com/huludesktop_i386.deb' 'huludesktop') +md5sums=('ee339181b7fb206e2ca2795d46213529') + +build() { + cd $startdir/src + deb2targz huludesktop_i386.deb + tar -xzvf huludesktop_i386.tar.gz -C $pkgdir + mkdir -p $pkgdir/home/mythtv + cp huludesktop $pkgdir/home/mythtv/.huludesktop +} diff --git a/abs/extra-testing/huludesktop/huludesktop b/abs/extra-testing/huludesktop/huludesktop new file mode 100644 index 0000000..eb872ca --- /dev/null +++ b/abs/extra-testing/huludesktop/huludesktop @@ -0,0 +1,25 @@ +[display] +fullscreen = TRUE +width = 1024 +height = 576 +pos_x = 201 +pos_y = 179 + +[remote] +lirc_device = /dev/lircd +lirc_remote_identifier = mceusb +lirc_release_suffix = _UP +lirc_repeat_threshold = 10 +button_name_up = Up +button_name_down = Down +button_name_left = Left +button_name_right = Right +button_name_select = OK +button_name_menu = Home + +[flash] +flash_location = /usr/lib/mozilla/plugins/libflashplayer.so + +[version] +latest = (null) +eula_version = 1 diff --git a/abs/extra-testing/huludesktop/huludesktop.install b/abs/extra-testing/huludesktop/huludesktop.install new file mode 100644 index 0000000..271c5a1 --- /dev/null +++ b/abs/extra-testing/huludesktop/huludesktop.install @@ -0,0 +1,26 @@ +# arg 1: the new package version +post_install() { + mv /usr/share/mythtv/is.xml /tmp + grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp + echo "" >> /tmp/is.xml.tmp + echo " " >> /tmp/is.xml.tmp + echo "" >> /tmp/is.xml.tmp + echo "" >> /tmp/is.xml.tmp + echo "" >> /tmp/is.xml.tmp + mv /tmp/is.xml.tmp /usr/share/mythtv/is.xml +} +# arg 1: the new package version +# arg 2: the old package version +post_remove() { + rm -fr /usr/share/mythtv/appletrailer.xml + mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp + sed -e '/\#Hulu/,/\#Hulu/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml +} + +op=$1 +shift +$op $* -- cgit v0.12 From 78b6fbe8af13daca517897458d659fbfa9399e6a Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Thu, 8 Oct 2009 23:28:25 -0700 Subject: huludesktop:modified .huludesktop so users see the hulu EULA on first runt. --- abs/extra-testing/huludesktop/PKGBUILD | 2 +- abs/extra-testing/huludesktop/huludesktop | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/abs/extra-testing/huludesktop/PKGBUILD b/abs/extra-testing/huludesktop/PKGBUILD index 9380c99..b215d19 100644 --- a/abs/extra-testing/huludesktop/PKGBUILD +++ b/abs/extra-testing/huludesktop/PKGBUILD @@ -1,6 +1,6 @@ pkgname=huludesktop pkgver=0.1 -pkgrel=4 +pkgrel=5 pkgdesc="Hulu Desktop for Linux" arch=(i686) url="http://www.hulu.com/labs/hulu-desktop-linux" diff --git a/abs/extra-testing/huludesktop/huludesktop b/abs/extra-testing/huludesktop/huludesktop index eb872ca..c3ae870 100644 --- a/abs/extra-testing/huludesktop/huludesktop +++ b/abs/extra-testing/huludesktop/huludesktop @@ -22,4 +22,4 @@ flash_location = /usr/lib/mozilla/plugins/libflashplayer.so [version] latest = (null) -eula_version = 1 +eula_version = 0 -- cgit v0.12 From bd25e500073a8f8090509223e1e004e0d98f0a33 Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Sat, 10 Oct 2009 12:17:15 -0700 Subject: linhes-scripts:Added script for Hulu Desktop integration. --- abs/core-testing/linhes-scripts/PKGBUILD | 5 +- abs/core-testing/linhes-scripts/install_hulu.sh | 66 +++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 abs/core-testing/linhes-scripts/install_hulu.sh diff --git a/abs/core-testing/linhes-scripts/PKGBUILD b/abs/core-testing/linhes-scripts/PKGBUILD index 4b3244f..f84a5d2 100644 --- a/abs/core-testing/linhes-scripts/PKGBUILD +++ b/abs/core-testing/linhes-scripts/PKGBUILD @@ -3,7 +3,7 @@ pkgname=linhes-scripts pkgver=1 -pkgrel=35 +pkgrel=36 pkgdesc="Various scripts that help to make LinHES, LinHES." arch=('i686' 'x86_64') license=('GPL2') @@ -32,12 +32,13 @@ run-limit-mythcommflag linhes_update.sh linhes_update2.sh linhes_update3.sh +install_hulu.sh ) build() { cd $startdir/src mkdir -p $startdir/pkg/usr/LH/bin - install -D -m755 myt* 770* idle.sh imp* shoo* *commflag*sh mplayer* vdpau* screen* linhes_* $startdir/pkg/usr/LH/bin + install -D -m755 myt* 770* idle.sh imp* shoo* *commflag*sh mplayer* vdpau* screen* linhes_* install_hulu.sh $startdir/pkg/usr/LH/bin mkdir -p $startdir/pkg/etc/sv/pause-mythcommflag/supervise cp run-pause-mythcommflag $startdir/pkg/etc/sv/pause-mythcommflag/run mkdir -p $startdir/pkg/etc/sv/limit-mythcommflag/supervise diff --git a/abs/core-testing/linhes-scripts/install_hulu.sh b/abs/core-testing/linhes-scripts/install_hulu.sh new file mode 100644 index 0000000..f07a358 --- /dev/null +++ b/abs/core-testing/linhes-scripts/install_hulu.sh @@ -0,0 +1,66 @@ +#!/bin/bash +#install_hulu.sh +if [ -e /tmp/huludesktop_i386.deb ] +then +cd /tmp +deb2targz huludesktop_i386.deb +tar -xzvf huludesktop_i386.tar.gz -C / +else +echo "Cannot find huludesktop_i386.deb." +echo "Please download it from http://www.hulu.com/labs/hulu-desktop-linux" +echo "Then copy (or move) it to /tmp" +exit +fi +if grep -q Hulu /usr/share/mythtv/is.xml +then +echo "Hulu Desktop exist in Online Streams!" +else + mv /usr/share/mythtv/is.xml /tmp + grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp + echo "" >> /tmp/is.xml.tmp + echo " " >> /tmp/is.xml.tmp + echo "" >> /tmp/is.xml.tmp + echo "" >> /tmp/is.xml.tmp + echo "" >> /tmp/is.xml.tmp + mv /tmp/is.xml.tmp /usr/share/mythtv/is.xml +echo "Hulu Desktop has been added to Online Streams!" +fi +if [ -e /home/mythtv/.huludesktop ] +then +echo "Found existing Hulu configuration file." +else +cat >> /home/mythtv/.huludesktop << EOF +[display] +fullscreen = TRUE +width = 1024 +height = 576 +pos_x = 201 +pos_y = 179 + +[remote] +lirc_device = /dev/lircd +lirc_remote_identifier = mceusb +lirc_release_suffix = _UP +lirc_repeat_threshold = 10 +button_name_up = Up +button_name_down = Down +button_name_left = Left +button_name_right = Right +button_name_select = OK +button_name_menu = Home + +[flash] +flash_location = /usr/lib/mozilla/plugins/libflashplayer.so + +[version] +latest = (null) +eula_version = 0 +EOF +chown mythtv.mythtv /home/mythtv/.huludesktop +fi +echo "Integration of Hulu Desktop is now complete!" +echo "Thanks for using LinHES!" -- cgit v0.12 From db443a6be77b48a658ee48613f88bdf3ca31e6d7 Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Tue, 13 Oct 2009 20:49:35 -0700 Subject: runit-scripts:lircd support for -r needed by huludesktop. --- abs/core-testing/runit-scripts/PKGBUILD | 2 +- .../runit-scripts/runitscripts/services/lircd/run | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD index 1615994..14297fd 100755 --- a/abs/core-testing/runit-scripts/PKGBUILD +++ b/abs/core-testing/runit-scripts/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit-scripts pkgver=1.8.0 -pkgrel=95 +pkgrel=96 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" diff --git a/abs/core-testing/runit-scripts/runitscripts/services/lircd/run b/abs/core-testing/runit-scripts/runitscripts/services/lircd/run index 0a398ac..9498f02 100755 --- a/abs/core-testing/runit-scripts/runitscripts/services/lircd/run +++ b/abs/core-testing/runit-scripts/runitscripts/services/lircd/run @@ -82,14 +82,14 @@ else if [ x$HostBlasterType = xCommandIR -o x$ReceiverType = xCommandIR ] then - CMD="/usr/sbin/lircd -n --driver=commandir" + CMD="/usr/sbin/lircd -r -n --driver=commandir" printhl " Using commandir" $CMD >>$LOG 2>>$LOG #echo $CMD elif [ x$HostBlasterType = xiguanaIR-usb -o x$ReceiverType = xiguanaIR-usb ] then sv start igdaemon - CMD="/usr/sbin/lircd -n --driver=iguanaIR" + CMD="/usr/sbin/lircd -r -n --driver=iguanaIR" printhl " Using iguanaIR usb" #echo $CMD $CMD >>$LOG 2>>$LOG @@ -98,7 +98,7 @@ else for i in `seq 1 $num_lirc` do - CMD="/usr/sbin/lircd -d /dev/lirc$i --output=/dev/lircd$i --pidfile=/var/run/lircd$i.pid --listen=876$i" + CMD="/usr/sbin/lircd -r -d /dev/lirc$i --output=/dev/lircd$i --pidfile=/var/run/lircd$i.pid --listen=876$i" printhl " Device $i" #echo $CMD $CMD >>$LOG 2>>$LOG @@ -109,9 +109,9 @@ else then if [ x$Remotetype = "xdvico" ] then - LCMD="/usr/sbin/lircd -n -d /dev/usb/dvicoIR --driver=dvico --output /dev/lircd" + LCMD="/usr/sbin/lircd -r -n -d /dev/usb/dvicoIR --driver=dvico --output /dev/lircd" else - LCMD="/usr/sbin/lircd -n -d /dev/input/irremote --driver=devinput --output /dev/lircd" + LCMD="/usr/sbin/lircd -r -n -d /dev/input/irremote --driver=devinput --output /dev/lircd" fi if [ $num_lirc -lt 0 ] @@ -127,10 +127,10 @@ else $CMD >> $LOG LASTCMD="--connect=localhost:876$i $LASTCMD " printhl " Device Dvico" - /usr/sbin/lircd -n -d /dev/lirc0 --output /dev/lircd $LASTCMD >>$LOG 2>>$LOG + /usr/sbin/lircd -r -n -d /dev/lirc0 --output /dev/lircd $LASTCMD >>$LOG 2>>$LOG fi else - LCMD="/usr/sbin/lircd -n -d /dev/lirc0 --output /dev/lircd $LASTCMD" + LCMD="/usr/sbin/lircd -r -n -d /dev/lirc0 --output /dev/lircd $LASTCMD" #echo $LCMD exec $LCMD >>$LOG 2>>$LOG fi -- cgit v0.12 From 87dd0b533932d59b939d37235c834632486e50c8 Mon Sep 17 00:00:00 2001 From: Nathan Harris Date: Fri, 16 Oct 2009 16:51:58 -0400 Subject: mythtv-svn: Bumped to 0.22-fixes svn 22494 --- abs/core-testing/mythtv/trunk/morethemes/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mp_all.sh | 2 +- abs/core-testing/mythtv/trunk/mytharchive/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mythbrowser/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mythflix/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mythgallery/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mythgame/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mythmovies/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mythnews/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/myththemes/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mythtv/PKGBUILD | 5 +- .../mythtv/trunk/mythtv/menu-xml/HOST_SETTINGS.xml | 115 +++++++++++---------- .../mythtv/trunk/mythtv/menu-xml/library.xml.patch | 10 +- .../mythtv/trunk/mythtv/menu-xml/linhes.xml | 71 +++++++------ .../trunk/mythtv/menu-xml/mainmenu.xml.patch | 12 +-- .../mythtv/trunk/mythtv/menu-xml/mythbackup.xml | 2 +- .../mythtv/trunk/mythtv/menu-xml/mythrestore.xml | 2 +- .../mythtv/trunk/mythtv/menu-xml/update.xml | 20 ++++ .../mythtv/trunk/mythtv/menu-xml/update2.xml | 26 +++++ abs/core-testing/mythtv/trunk/mythvideo/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mythweather/PKGBUILD | 5 +- abs/core-testing/mythtv/trunk/mythweb/PKGBUILD | 5 +- .../mythtv/trunk/mythzoneminder/PKGBUILD | 5 +- 24 files changed, 203 insertions(+), 132 deletions(-) create mode 100644 abs/core-testing/mythtv/trunk/mythtv/menu-xml/update.xml create mode 100644 abs/core-testing/mythtv/trunk/mythtv/menu-xml/update2.xml diff --git a/abs/core-testing/mythtv/trunk/morethemes/PKGBUILD b/abs/core-testing/mythtv/trunk/morethemes/PKGBUILD index d3aad58..16f50ec 100644 --- a/abs/core-testing/mythtv/trunk/morethemes/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/morethemes/PKGBUILD @@ -1,5 +1,5 @@ pkgname=morethemes-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Additional themes for MythTV" url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/themes +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/themes +#_svntrunk=http://cvs.mythtv.org/svn/trunk/themes _svnmod=themes diff --git a/abs/core-testing/mythtv/trunk/mp_all.sh b/abs/core-testing/mythtv/trunk/mp_all.sh index f9593ff..c778047 100755 --- a/abs/core-testing/mythtv/trunk/mp_all.sh +++ b/abs/core-testing/mythtv/trunk/mp_all.sh @@ -1,5 +1,5 @@ #!/bin/sh -pkgver=21495 +pkgver=22494 pkgrel=1 # NOTE: Make sure to build and install mythtv first BEFORE building anything else diff --git a/abs/core-testing/mythtv/trunk/mytharchive/PKGBUILD b/abs/core-testing/mythtv/trunk/mytharchive/PKGBUILD index 75779a1..9efb01f 100644 --- a/abs/core-testing/mythtv/trunk/mytharchive/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mytharchive/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mytharchive-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows." url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins diff --git a/abs/core-testing/mythtv/trunk/mythbrowser/PKGBUILD b/abs/core-testing/mythtv/trunk/mythbrowser/PKGBUILD index 7495407..31872d3 100644 --- a/abs/core-testing/mythtv/trunk/mythbrowser/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythbrowser/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythbrowser-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Mini web browser for MythTV" url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins diff --git a/abs/core-testing/mythtv/trunk/mythflix/PKGBUILD b/abs/core-testing/mythtv/trunk/mythflix/PKGBUILD index e4ffbbf..9ebc985 100644 --- a/abs/core-testing/mythtv/trunk/mythflix/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythflix/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythflix-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Netflix access plugin for MythTV" url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins diff --git a/abs/core-testing/mythtv/trunk/mythgallery/PKGBUILD b/abs/core-testing/mythtv/trunk/mythgallery/PKGBUILD index 7480178..c00fd81 100644 --- a/abs/core-testing/mythtv/trunk/mythgallery/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythgallery/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythgallery-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Image gallery plugin for MythTV" url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins diff --git a/abs/core-testing/mythtv/trunk/mythgame/PKGBUILD b/abs/core-testing/mythtv/trunk/mythgame/PKGBUILD index 8f2e582..be1226b 100644 --- a/abs/core-testing/mythtv/trunk/mythgame/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythgame/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythgame-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Emulation plugin for MythTV" url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins diff --git a/abs/core-testing/mythtv/trunk/mythmovies/PKGBUILD b/abs/core-testing/mythtv/trunk/mythmovies/PKGBUILD index aca7c73..a794e3d 100644 --- a/abs/core-testing/mythtv/trunk/mythmovies/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythmovies/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythmovies-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Displays information about movies playing in the area." url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins diff --git a/abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD b/abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD index df6d23d..4c0b5b7 100644 --- a/abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythmusic-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Music playing plugin for MythTV" url="http://www.mythtv.org" @@ -14,7 +14,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins diff --git a/abs/core-testing/mythtv/trunk/mythnews/PKGBUILD b/abs/core-testing/mythtv/trunk/mythnews/PKGBUILD index b411e08..19f9430 100644 --- a/abs/core-testing/mythtv/trunk/mythnews/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythnews/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythnews-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="News checking plugin for MythTV" url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins diff --git a/abs/core-testing/mythtv/trunk/myththemes/PKGBUILD b/abs/core-testing/mythtv/trunk/myththemes/PKGBUILD index 5d300e5..2dacdb2 100755 --- a/abs/core-testing/mythtv/trunk/myththemes/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/myththemes/PKGBUILD @@ -1,5 +1,5 @@ pkgname=myththemes-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Themes for MythTV" url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/myththemes +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/myththemes +#_svntrunk=http://cvs.mythtv.org/svn/trunk/myththemes _svnmod=myththemes diff --git a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD index db119bd..d984ae4 100755 --- a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythtv-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="A personal video recorder for Linux" url="http://www.mythtv.org" @@ -22,7 +22,8 @@ source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfron arch=('i686' 'x86_64') #md5sums=() -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythtv +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythtv +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythtv _svnmod=mythtv build() { diff --git a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/HOST_SETTINGS.xml b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/HOST_SETTINGS.xml index f257920..ac52497 100644 --- a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/HOST_SETTINGS.xml +++ b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/HOST_SETTINGS.xml @@ -1,87 +1,94 @@ - + - - - - - - + + - + - + - + + + + - - - diff --git a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/library.xml.patch b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/library.xml.patch index 14cb5f9..81ea604 100644 --- a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/library.xml.patch +++ b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/library.xml.patch @@ -1,9 +1,9 @@ ---- library.xml.orig 2009-03-23 18:43:18.000000000 +0000 -+++ library.xml 2009-03-23 19:52:30.000000000 +0000 -@@ -126,8 +126,7 @@ - Play Online Streams - נגן מדיה מכוונת +--- library.xml.orig 2009-10-16 12:45:44.000000000 +0000 ++++ library.xml 2009-10-16 17:21:44.000000000 +0000 +@@ -123,8 +123,7 @@ + Online folyam lejátszása + - PLUGIN mythstream - mythstream + MENU is.xml diff --git a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/linhes.xml b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/linhes.xml index 8bc929f..ebc848b 100644 --- a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/linhes.xml +++ b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/linhes.xml @@ -1,36 +1,35 @@ - + - - + + + + diff --git a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/mainmenu.xml.patch b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/mainmenu.xml.patch index 0ec8143..ed5dc72 100644 --- a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/mainmenu.xml.patch +++ b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/mainmenu.xml.patch @@ -1,14 +1,12 @@ ---- mainmenu.xml.orig 2009-03-23 18:43:18.000000000 +0000 -+++ mainmenu.xml 2009-03-23 19:47:20.000000000 +0000 -@@ -163,35 +163,9 @@ +--- mainmenu.xml.orig 2009-10-16 12:45:44.000000000 +0000 ++++ mainmenu.xml 2009-10-16 14:30:57.000000000 +0000 +@@ -157,33 +157,9 @@ diff --git a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/mythrestore.xml b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/mythrestore.xml index 05cb0a7..8f5c285 100644 --- a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/mythrestore.xml +++ b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/mythrestore.xml @@ -15,6 +15,6 @@ diff --git a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/update.xml b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/update.xml new file mode 100644 index 0000000..5b28833 --- /dev/null +++ b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/update.xml @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/abs/core-testing/mythtv/trunk/mythtv/menu-xml/update2.xml b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/update2.xml new file mode 100644 index 0000000..2ab82ea --- /dev/null +++ b/abs/core-testing/mythtv/trunk/mythtv/menu-xml/update2.xml @@ -0,0 +1,26 @@ + + + + + + + + + + diff --git a/abs/core-testing/mythtv/trunk/mythvideo/PKGBUILD b/abs/core-testing/mythtv/trunk/mythvideo/PKGBUILD index 797b641..9581d9a 100644 --- a/abs/core-testing/mythtv/trunk/mythvideo/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythvideo/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythvideo-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Video playback and browsing plugin for MythTV" url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins diff --git a/abs/core-testing/mythtv/trunk/mythweather/PKGBUILD b/abs/core-testing/mythtv/trunk/mythweather/PKGBUILD index 0655236..4340ee7 100644 --- a/abs/core-testing/mythtv/trunk/mythweather/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythweather/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythweather-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Weather checking plugin for MythTV" url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins diff --git a/abs/core-testing/mythtv/trunk/mythweb/PKGBUILD b/abs/core-testing/mythtv/trunk/mythweb/PKGBUILD index 8f472b7..94662e2 100644 --- a/abs/core-testing/mythtv/trunk/mythweb/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythweb/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythweb-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Web interface for MythTV's backend" url="http://www.mythtv.org" @@ -13,7 +13,8 @@ install=mythweb.install patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins DOCROOT=/data/srv/httpd/htdocs/mythweb diff --git a/abs/core-testing/mythtv/trunk/mythzoneminder/PKGBUILD b/abs/core-testing/mythtv/trunk/mythzoneminder/PKGBUILD index 7ace30f..decdad3 100644 --- a/abs/core-testing/mythtv/trunk/mythzoneminder/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythzoneminder/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythzoneminder-svn -pkgver=21495 +pkgver=22494 pkgrel=1 pkgdesc="Integrates ZoneMinder into MythTV" url="http://www.mythtv.org" @@ -12,7 +12,8 @@ groups=('mythtv-extras-svn') patches=() source=(`echo ${patches[@]:0}`) -_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +#_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins _svnmod=mythplugins -- cgit v0.12 From e7669898217ae0c57b2798568964e1bb0a71813c Mon Sep 17 00:00:00 2001 From: Greg Frost Date: Sun, 18 Oct 2009 17:40:15 +1030 Subject: firefox: fix dialog error about configuration --- abs/extra-testing/community/firefox/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/abs/extra-testing/community/firefox/PKGBUILD b/abs/extra-testing/community/firefox/PKGBUILD index 191c913..17a70b3 100644 --- a/abs/extra-testing/community/firefox/PKGBUILD +++ b/abs/extra-testing/community/firefox/PKGBUILD @@ -3,12 +3,12 @@ pkgname=firefox pkgver=3.5.1 -pkgrel=3 +pkgrel=4 _xulver=1.9.1.1 pkgdesc="Standalone web browser from mozilla.org" arch=(i686 x86_64) license=('MPL' 'GPL' 'LGPL') -depends=("xulrunner>=${_xulver}" 'desktop-file-utils' "nspr>=4.8") +depends=("xulrunner>=${_xulver}" 'desktop-file-utils' "nspr>=4.8" gconf) makedepends=('zip' 'pkgconfig' 'diffutils' 'libgnomeui>=2.24.1' 'python') replaces=('firefox3') install=firefox.install @@ -70,6 +70,7 @@ build() { mv ${pkgdir}/usr/bin/firefox ${pkgdir}/usr/bin/firefox.bin echo "#!/bin/bash +/usr/lib/GConf/gconfd-2 & export LD_PRELOAD=/usr/lib/libGL.so.1 /usr/bin/firefox.bin" > ${pkgdir}/usr/bin/firefox chmod 755 ${pkgdir}/usr/bin/firefox -- cgit v0.12 From 20616ca0aa00413e85752835e721950254463450 Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Sun, 18 Oct 2009 21:34:09 -0700 Subject: mupen64plus:initial inclusion, N64 emulator. --- abs/extra-testing/mupen64plus-svn/PKGBUILD | 71 ++++++++++++++++++++++ .../mupen64plus-svn/fix-gcc4.4-const-char.patch | 22 +++++++ abs/extra-testing/mupen64plus-svn/install.patch | 13 ++++ 3 files changed, 106 insertions(+) create mode 100644 abs/extra-testing/mupen64plus-svn/PKGBUILD create mode 100644 abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch create mode 100644 abs/extra-testing/mupen64plus-svn/install.patch diff --git a/abs/extra-testing/mupen64plus-svn/PKGBUILD b/abs/extra-testing/mupen64plus-svn/PKGBUILD new file mode 100644 index 0000000..5df794d --- /dev/null +++ b/abs/extra-testing/mupen64plus-svn/PKGBUILD @@ -0,0 +1,71 @@ +#!!! Due to a limitation in pacman's SVN package handling, +# this package requires out-of-the-ordinary building. pacman checks +# the SVN repo for new revisions before scanning the PKGBUILD. +#!!! So, when you run makepkg, if it asks you for a password for 'mupen64', +# give it 'Dyson5632-kart' without the quotes. If it asks for a password +# for _your_ username, hit Enter to make it ask for a new username, tell it +# 'mupen64' without the quotes, and then give it the password above. When +# it asks you to save the password unencrypted, you can say yes, because +# it's just a read-only access login :P Once you do that, you shouldn't +# need to do the above anymore. + +# Maintainer: Devin Cofer +# Contributor: Rudy Matela +# Contributor: Allan McRae +# Contributor: Zephyr + +pkgname=mupen64plus-svn +pkgver=1416 +pkgrel=1 +pkgdesc="Nintendo64 emulator, SVN version" +arch=('i686' 'x86_64') +url="http://code.google.com/p/mupen64plus/" +license=('GPL2') + +makedepends=('subversion' 'pkgconfig' 'libsamplerate' 'yasm' 'mesa') +depends=('gtk2' 'sdl_ttf') +optdepends=('libsamplerate: Higher quality audio') +conflicts=('mupen64plus') +provides=('mupen64plus') +source=('install.patch' + 'fix-gcc4.4-const-char.patch') +md5sums=('f6a3bc6e59d4f2af9db1b3fce257eb43' + '7bb0182949bf043847ad7ff66097e66f') + +_svnuser=mupen64 +_svnpass=Dyson5632-kart +_svntrunk=svn://$_svnuser:$_svnpass@fascination.homelinux.net:7684/mupen64plus/trunk +_svnmod=mupen64plus + +build() { + if [ -d $_svnmod/.svn ]; then + (cd $_svnmod &&\ + svn up --config-dir . -r $pkgver \ + --non-interactive --username $_svnuser --password $_svnpass) + else + svn co $_svntrunk --config-dir . -r $pkgver $_svnmod \ + --non-interactive --username $_svnuser --password $_svnpass + fi + msg "SVN checkout done or server timeout" + + cp -r $_svnmod $_svnmod-build + patch -d $_svnmod-build < install.patch || return 1 +# patch -p0 -d $_svnmod-build < fix-gcc4.4-const-char.patch || return 1 + cd $_svnmod-build + + make PREFIX="/usr" LIRC=1 all || return 1 + make PREFIX="$pkgdir/usr" install || return 1 + + ##### Qt 4 GUI build ##### + #==> Currently broken + #make PREFIX="/usr" GUI=QT4 all || return 1 + #install -m755 mupen64plus "$pkgdir/usr/bin/mupen64plus-qt" + # + #cd "$pkgdir/usr/share/applications" + #cp mupen64plus.desktop mupen64plus-qt.desktop + #sed -i "s#Name=Mupen64Plus#Name=Mupen64Plus (Qt)#" mupen64plus-qt.desktop || return 1 + #sed -i "s#Exec=mupen64plus#Exec=mupen64plus-qt#" mupen64plus-qt.desktop || return 1 + ##### End Qt 4 GUI build ##### + + rm -r "$srcdir/$_svnmod-build" +} diff --git a/abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch b/abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch new file mode 100644 index 0000000..fd1495d --- /dev/null +++ b/abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch @@ -0,0 +1,22 @@ +--- glide64/Combine.old.cpp 2009-06-19 17:59:20.191723065 -0400 ++++ glide64/Combine.cpp 2009-06-19 18:43:46.955453868 -0400 +@@ -11873,7 +11873,7 @@ + LOG ("InitCombine() "); + memset(&cmb, 0, sizeof(cmb)); + const char *extensions = grGetString (GR_EXTENSION); +- if (char * extstr = strstr(extensions, "COMBINE")) { ++ if (const char * extstr = strstr(extensions, "COMBINE")) { + if (!strncmp(extstr, "COMBINE", 7)) { + LOG ("extensions "); + cmb.grColorCombineExt = (GRCOLORCOMBINEEXT) grGetProcAddress("grColorCombineExt"); +--- glide64/Main.old.cpp 2009-06-19 18:47:04.238930057 -0400 ++++ glide64/Main.cpp 2009-06-19 18:47:18.018772876 -0400 +@@ -784,7 +784,7 @@ + printf("bebefore2\n"); + if (settings.fb_hires) + { +- if (char * extstr = strstr(extensions, "TEXTUREBUFFER")) ++ if (const char * extstr = strstr(extensions, "TEXTUREBUFFER")) + { + if (!strncmp(extstr, "TEXTUREBUFFER", 13)) + { diff --git a/abs/extra-testing/mupen64plus-svn/install.patch b/abs/extra-testing/mupen64plus-svn/install.patch new file mode 100644 index 0000000..5e41460 --- /dev/null +++ b/abs/extra-testing/mupen64plus-svn/install.patch @@ -0,0 +1,13 @@ +Index: install.sh +=================================================================== +--- install.sh (revision 1295) ++++ install.sh (working copy) +@@ -90,7 +90,7 @@ + if [ -f mupen64plus.desktop ] + then + $INSTALL -d -v "${APPLICATIONSDIR}" +- $INSTALL -m 0644 mupen64plus.desktop "${APPLICATIONSDIR}" ++ $INSTALL -m 0644 mupen64plus.desktop "${APPLICATIONSDIR}/mupen64plus.desktop" + fi + if [ "x$(ls plugins/)" != "x" ] + then -- cgit v0.12 From 5f0964a527a32478649ab13006c56dcfe9a67b2c Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Sun, 18 Oct 2009 22:45:47 -0700 Subject: linhes-scripts:modified install_hulu.sh to add path to xscreensaver. --- abs/core-testing/linhes-scripts/PKGBUILD | 2 +- abs/core-testing/linhes-scripts/install_hulu.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/abs/core-testing/linhes-scripts/PKGBUILD b/abs/core-testing/linhes-scripts/PKGBUILD index f84a5d2..086e08a 100644 --- a/abs/core-testing/linhes-scripts/PKGBUILD +++ b/abs/core-testing/linhes-scripts/PKGBUILD @@ -3,7 +3,7 @@ pkgname=linhes-scripts pkgver=1 -pkgrel=36 +pkgrel=38 pkgdesc="Various scripts that help to make LinHES, LinHES." arch=('i686' 'x86_64') license=('GPL2') diff --git a/abs/core-testing/linhes-scripts/install_hulu.sh b/abs/core-testing/linhes-scripts/install_hulu.sh index f07a358..28e855c 100644 --- a/abs/core-testing/linhes-scripts/install_hulu.sh +++ b/abs/core-testing/linhes-scripts/install_hulu.sh @@ -56,6 +56,10 @@ button_name_menu = Home [flash] flash_location = /usr/lib/mozilla/plugins/libflashplayer.so +[screensaver] +suspend_script = /usr/bin/xscreensaver-command -deactivate +resume_script = /usr/bin/xscreensaver-command -activate + [version] latest = (null) eula_version = 0 -- cgit v0.12 From 601cb5987fe81d489ba4c1bafd96be123f3e7053 Mon Sep 17 00:00:00 2001 From: Greg Frost Date: Mon, 19 Oct 2009 23:11:34 +1030 Subject: ddclient LinHES-config runit-scripts: add dyndns support --- abs/core-testing/LinHES-config/PKGBUILD | 3 +- abs/core-testing/LinHES-config/mv_ddns.py | 25 ++++ abs/core-testing/LinHES-config/systemconfig.py | 3 +- abs/core-testing/runit-scripts/PKGBUILD | 2 +- .../runitscripts/services/ddclient/run | 8 + abs/extra-testing/ddclient/ChangeLog | 22 --- abs/extra-testing/ddclient/PKGBUILD | 30 ++-- .../ddclient/ddclient-foreground.patch | 47 ++++++ abs/extra-testing/ddclient/ddclient.conf.d | 2 - .../ddclient/ddclient.conf.dynamic.dyndns.sample | 162 +++++++++++++++++++++ abs/extra-testing/ddclient/ddclient.install | 41 ------ abs/extra-testing/ddclient/ddclient.rc | 37 ----- 12 files changed, 261 insertions(+), 121 deletions(-) create mode 100755 abs/core-testing/LinHES-config/mv_ddns.py create mode 100755 abs/core-testing/runit-scripts/runitscripts/services/ddclient/run delete mode 100644 abs/extra-testing/ddclient/ChangeLog create mode 100644 abs/extra-testing/ddclient/ddclient-foreground.patch delete mode 100644 abs/extra-testing/ddclient/ddclient.conf.d create mode 100644 abs/extra-testing/ddclient/ddclient.conf.dynamic.dyndns.sample delete mode 100644 abs/extra-testing/ddclient/ddclient.install delete mode 100644 abs/extra-testing/ddclient/ddclient.rc diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD index 1e61fdf..cb8f8f3 100644 --- a/abs/core-testing/LinHES-config/PKGBUILD +++ b/abs/core-testing/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=2.1 -pkgrel=1 +pkgrel=2 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev ) pkgdesc="Install and configure your system" depends=(bc libstatgrab mysql-python expect curl dnsutils parted @@ -33,6 +33,7 @@ source=(mv_install.py README mv_advanced.py mv_common.py + mv_ddns.py mv_ir.py mv_misc.py mv_network.py diff --git a/abs/core-testing/LinHES-config/mv_ddns.py b/abs/core-testing/LinHES-config/mv_ddns.py new file mode 100755 index 0000000..8c05fbe --- /dev/null +++ b/abs/core-testing/LinHES-config/mv_ddns.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +import logging, mv_common +import os, re + +config_file = "mv_config" + +def setup_ddns(systemconfig): + logging.info("____Start of setup_ddns____") + + if systemconfig["DDnsEnable"] == "1": + logging.debug(" Enabling DDNS") + mv_common.cp_and_log("/etc/ddclient/ddclient.conf.dynamic.dyndns.sample", + "/etc/ddclient/ddclient.conf") + cmd = ''' sed -i -e "s/your-dynamic-dyndns-login/%s/g" /etc/ddclient/ddclient.conf''' %(systemconfig["DDnslogin"]) + mv_common.runcmd(cmd) + cmd = ''' sed -i -e "s/your-dynamic-dyndns-password/%s/g" /etc/ddclient/ddclient.conf''' %(systemconfig["DDnspassword"]) + mv_common.runcmd(cmd) + cmd = ''' sed -i -e "s/your-dynamic-dyndns-host/%s/g" /etc/ddclient/ddclient.conf''' %(systemconfig["DDnshostname"]) + mv_common.runcmd(cmd) + mv_common.add_service("ddclient") + else: + logging.debug(" Disabling DDNS") + mv_common.remove_service("ddclient") + + logging.info("__End of ddns\n") diff --git a/abs/core-testing/LinHES-config/systemconfig.py b/abs/core-testing/LinHES-config/systemconfig.py index c559e09..28e2e7a 100755 --- a/abs/core-testing/LinHES-config/systemconfig.py +++ b/abs/core-testing/LinHES-config/systemconfig.py @@ -147,7 +147,8 @@ def main(argv): mv_webuser.setup_web_auth(systemconfig["UseMythWEB_auth"]) if cmdmodule["ddns"]: - print " LOOK FOR DDNS" + import mv_ddns + mv_ddns.setup_ddns(systemconfig) if cmdmodule["screensaver"]: import mv_screensaver diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD index 14297fd..3407502 100755 --- a/abs/core-testing/runit-scripts/PKGBUILD +++ b/abs/core-testing/runit-scripts/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit-scripts pkgver=1.8.0 -pkgrel=96 +pkgrel=97 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" diff --git a/abs/core-testing/runit-scripts/runitscripts/services/ddclient/run b/abs/core-testing/runit-scripts/runitscripts/services/ddclient/run new file mode 100755 index 0000000..c5488f6 --- /dev/null +++ b/abs/core-testing/runit-scripts/runitscripts/services/ddclient/run @@ -0,0 +1,8 @@ +#!/bin/sh +export TERM=linux +. /etc/rc.conf +. /etc/rc.d/functions +stat_runit "Starting ddclient" + + +exec /usr/sbin/ddclient -foreground &> /var/log/ddclient.log diff --git a/abs/extra-testing/ddclient/ChangeLog b/abs/extra-testing/ddclient/ChangeLog deleted file mode 100644 index 4520b69..0000000 --- a/abs/extra-testing/ddclient/ChangeLog +++ /dev/null @@ -1,22 +0,0 @@ -2008-08-07 Abhishek Dasgupta - - * ddclient 3.7.3-2 - * added /etc/conf.d/ddclient for modifying - daemon poll frequency. This overrides the - setting specified in /etc/ddclient/ddclient.conf - when ddclient is called as an rc script. - -2007-08-08 Alessio 'mOLOk' Bolognino - - * ddclient-3.7.3-1 - * version bump - * GPL -> GPL2 - * shortened pkgdesc - -2007-07-02 tardo - - * Built for x86_64 - -2007-06-29 Georg Grabler (STiAT) - - * Version Bump to 3.7.2 diff --git a/abs/extra-testing/ddclient/PKGBUILD b/abs/extra-testing/ddclient/PKGBUILD index 121d2c5..f283cb9 100644 --- a/abs/extra-testing/ddclient/PKGBUILD +++ b/abs/extra-testing/ddclient/PKGBUILD @@ -3,33 +3,31 @@ # Contributor: David Rosenstrauch pkgname=ddclient -pkgver=3.7.3 -pkgrel=2 +pkgver=3.8.0 +pkgrel=1 pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services." arch=('i686' 'x86_64') url="http://ddclient.sourceforge.net/" license=('GPL2') depends=('perl' 'perl-io-socket-ssl') -backup=('etc/ddclient/ddclient.conf' 'etc/conf.d/ddclient') -install=ddclient.install -source=(http://downloads.sourceforge.net/sourceforge/ddclient/ddclient-$pkgver.tar.bz2 ddclient.rc ddclient.conf.d) +backup=('etc/ddclient.conf') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 + ddclient.conf.dynamic.dyndns.sample + ddclient-foreground.patch) build() { - cd ${srcdir}/ddclient-${pkgver} + cd ${srcdir}/$pkgname-${pkgver} + patch < ${srcdir}/ddclient-foreground.patch # core files install -D -m755 ddclient ${pkgdir}/usr/sbin/ddclient - install -D -m755 ${srcdir}/ddclient.rc ${pkgdir}/etc/rc.d/ddclient - install -D -m600 sample-etc_ddclient.conf ${pkgdir}/etc/ddclient/ddclient.conf - install -D -m644 ${srcdir}/ddclient.conf.d ${pkgdir}/etc/conf.d/ddclient + install -D -m600 sample-etc_ddclient.conf ${pkgdir}/etc/ddclient/ddclient.conf.sample + install -D -m600 ${srcdir}/ddclient.conf.dynamic.dyndns.sample ${pkgdir}/etc/ddclient/ install -d ${pkgdir}/var/cache/ddclient # additional instructions, sample configs - install -D -m644 README ${pkgdir}/etc/ddclient/samples/README - install -D -m644 sample-etc_cron.d_ddclient ${pkgdir}/etc/ddclient/samples/sample-etc_cron.d_ddclient - install -D -m644 sample-etc_dhcpc_dhcpcd-eth0.exe ${pkgdir}/etc/ddclient/samples/sample-etc_dhcpc_dhcpcd-eth0.exe - install -D -m644 sample-etc_ppp_ip-up.local ${pkgdir}/etc/ddclient/samples/sample-etc_ppp_ip-up.local + install -D -m644 README ${pkgdir}/etc/ddclient/README } -md5sums=('f6a55bc68cf73ffe7e80d2fa5cd44f85' - '7035bf8132f3517a59167f61ee5e8b90' - 'b8f39c82827776da948b76ef83544d33') +md5sums=('6cac7a5eb1da781bfd4d98cef0b21f8e' + '4194825b9b4a7fcc1c57c2f5a4f6162b' + 'd8ffc95f98f9afcb4a06a1e192220e35') diff --git a/abs/extra-testing/ddclient/ddclient-foreground.patch b/abs/extra-testing/ddclient/ddclient-foreground.patch new file mode 100644 index 0000000..a814ede --- /dev/null +++ b/abs/extra-testing/ddclient/ddclient-foreground.patch @@ -0,0 +1,47 @@ +--- ../ddclient-orig/ddclient 2009-10-19 22:45:15.000000000 +1030 ++++ ddclient 2009-10-19 22:50:11.000000000 +1030 +@@ -307,6 +307,7 @@ + my %variables = ( + 'global-defaults' => { + 'daemon' => setv(T_DELAY, 0, 0, 1, 0, interval('60s')), ++ 'foreground' => setv(T_BOOL, 0, 0, 1, 0, undef), + 'file' => setv(T_FILE, 0, 0, 1, "$etc$program.conf", undef), + 'cache' => setv(T_FILE, 0, 0, 1, "$cachedir$program.cache", undef), + 'pid' => setv(T_FILE, 0, 0, 1, "", undef), +@@ -535,6 +536,7 @@ + "usage: ${program} [options]", + "options are:", + [ "daemon", "=s", "-daemon delay : run as a daemon, specify delay as an interval." ], ++ [ "foreground", "!", "-foreground : do not fork" ], + [ "proxy", "=s", "-proxy host : use 'host' as the HTTP proxy" ], + [ "server", "=s", "-server host : update DNS information on 'host'" ], + [ "protocol", "=s", "-protocol type : update protocol used" ], +@@ -623,7 +625,10 @@ + $SIG{'HUP'} = sub { $caught_hup = 1; }; + $SIG{'TERM'} = sub { $caught_term = 1; }; + $SIG{'KILL'} = sub { $caught_kill = 1; }; +-if (opt('daemon') && !opt('force')) { ++# don't fork() if foreground or force is on ++if (opt('foreground') || opt('force')) { ++ ; ++} elsif (opt('daemon')) { + $SIG{'CHLD'} = 'IGNORE'; + my $pid = fork; + if ($pid < 0) { +@@ -633,12 +638,15 @@ + exit 0; + } + $SIG{'CHLD'} = 'DEFAULT'; +- $opt{'syslog'} = 1; + open(STDOUT, ">/dev/null"); + open(STDERR, ">/dev/null"); + open(STDIN, "/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon ddclient - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -- cgit v0.12 From ad0b065725b57ac975faf368aa538232f5bfea79 Mon Sep 17 00:00:00 2001 From: Greg Frost Date: Mon, 19 Oct 2009 23:24:10 +1030 Subject: LinHES-config: use pacman to install ddclient when DDNS is selected --- abs/core-testing/LinHES-config/PKGBUILD | 2 +- abs/core-testing/LinHES-config/mv_ddns.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD index cb8f8f3..591d042 100644 --- a/abs/core-testing/LinHES-config/PKGBUILD +++ b/abs/core-testing/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=2.1 -pkgrel=2 +pkgrel=3 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev ) pkgdesc="Install and configure your system" depends=(bc libstatgrab mysql-python expect curl dnsutils parted diff --git a/abs/core-testing/LinHES-config/mv_ddns.py b/abs/core-testing/LinHES-config/mv_ddns.py index 8c05fbe..e43a7ce 100755 --- a/abs/core-testing/LinHES-config/mv_ddns.py +++ b/abs/core-testing/LinHES-config/mv_ddns.py @@ -9,6 +9,8 @@ def setup_ddns(systemconfig): if systemconfig["DDnsEnable"] == "1": logging.debug(" Enabling DDNS") + cmd = ''' pacman --noconfirm -Sf ddclient ''' + mv_common.runcmd(cmd) mv_common.cp_and_log("/etc/ddclient/ddclient.conf.dynamic.dyndns.sample", "/etc/ddclient/ddclient.conf") cmd = ''' sed -i -e "s/your-dynamic-dyndns-login/%s/g" /etc/ddclient/ddclient.conf''' %(systemconfig["DDnslogin"]) -- cgit v0.12 From f5340fccf64557f145441c673b7fa823710167b6 Mon Sep 17 00:00:00 2001 From: Greg Frost Date: Mon, 19 Oct 2009 23:40:22 +1030 Subject: LinHES-config: bump --- abs/core-testing/LinHES-config/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD index 591d042..3b622fb 100644 --- a/abs/core-testing/LinHES-config/PKGBUILD +++ b/abs/core-testing/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=2.1 -pkgrel=3 +pkgrel=4 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev ) pkgdesc="Install and configure your system" depends=(bc libstatgrab mysql-python expect curl dnsutils parted -- cgit v0.12 From 3b0242f860b4efa19fd91a6bd1e3127fd4b8aa9f Mon Sep 17 00:00:00 2001 From: Greg Frost Date: Mon, 19 Oct 2009 23:49:09 +1030 Subject: LinHES-config: install mv_ddns.py --- abs/core-testing/LinHES-config/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD index 3b622fb..a336bfd 100644 --- a/abs/core-testing/LinHES-config/PKGBUILD +++ b/abs/core-testing/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=2.1 -pkgrel=4 +pkgrel=6 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev ) pkgdesc="Install and configure your system" depends=(bc libstatgrab mysql-python expect curl dnsutils parted @@ -77,6 +77,7 @@ build() { install -m 0755 mv_install.py $MVDIR/bin/mv_install.py install -m 0755 mv_advanced.py $MVDIR/bin/ install -m 0755 mv_common.py $MVDIR/bin/ + install -m 0755 mv_ddns.py $MVDIR/bin/ install -m 0755 mv_ir.py $MVDIR/bin/ install -m 0755 mv_misc.py $MVDIR/bin/ install -m 0755 mv_network.py $MVDIR/bin/ -- cgit v0.12