From e5f3298db37333ec5dafef8c8e313ffed6e18400 Mon Sep 17 00:00:00 2001 From: abveritas Date: Sun, 17 Oct 2010 20:28:54 +0000 Subject: [PATCH] Adding ddclient 3.8.0, version up bibletime-kde4 to 2.7.3, clementine to 0.5.3, tellico to 2.3 --- bibletime-kde4/PKGBUILD | 6 +++--- clementine/PKGBUILD | 6 +++--- ddclient/ChangeLog | 22 +++++++++++++++++++++ ddclient/PKGBUILD | 40 +++++++++++++++++++++++++++++++++++++++ ddclient/ddclient.conf.d | 2 ++ ddclient/ddclient.install | 37 ++++++++++++++++++++++++++++++++++++ ddclient/ddclient.rc | 37 ++++++++++++++++++++++++++++++++++++ tellico/PKGBUILD | 4 ++-- 8 files changed, 146 insertions(+), 8 deletions(-) create mode 100644 ddclient/ChangeLog create mode 100644 ddclient/PKGBUILD create mode 100644 ddclient/ddclient.conf.d create mode 100644 ddclient/ddclient.install create mode 100644 ddclient/ddclient.rc diff --git a/bibletime-kde4/PKGBUILD b/bibletime-kde4/PKGBUILD index 5b1bf2692..1b5e64f23 100755 --- a/bibletime-kde4/PKGBUILD +++ b/bibletime-kde4/PKGBUILD @@ -2,7 +2,7 @@ pkgname=bibletime-kde4 origname=bibletime -pkgver=2.7 +pkgver=2.7.3 pkgrel=1 pkgdesc="Bible software that uses the Sword Engine for KDE4" arch=('i686' 'x86_64') @@ -10,7 +10,7 @@ url=("http://www.blog.bibletime.info") license=('GPL2') depends=('qt>=4.5' 'sword' 'openssl') makedepends=('cmake' 'boost') -source=(http://downloads.sourceforge.net/bibletime/bibletime-$pkgver.tar.gz) +source=(http://downloads.sourceforge.net/bibletime/bibletime-$pkgver.tar.bz2) build() { cd $srcdir/bibletime-$pkgver @@ -20,4 +20,4 @@ build() { make DESTDIR="${pkgdir}" install || return 1 } -md5sums=('ae22d2ac1d86588b5583d169100e9a71') +md5sums=('34a1356f315e9d4b49a8f7a2cecd1053') diff --git a/clementine/PKGBUILD b/clementine/PKGBUILD index c60e18121..cab424741 100644 --- a/clementine/PKGBUILD +++ b/clementine/PKGBUILD @@ -5,8 +5,8 @@ # maintainer (x86_64): Manuel Tortosa pkgname=clementine -pkgver=0.5.1 -pkgrel=2 +pkgver=0.5.3 +pkgrel=1 pkgdesc="A modern music player and library organiser and a port of Amarok 1.4, with some features rewritten to take advantage of Qt4. " url="http://www.clementine-player.org/" license="GPL" @@ -19,7 +19,7 @@ optdepends=( 'gstreamer0.10-ugly-plugins: damn if you really need those' ) source=(http://clementine-player.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) -md5sums=('4a18e971a1a7a98b8c7516c8e1c597e9') +md5sums=('3411a0e31bdab7a6693048e934996f40') install=(clementine.install) build() { diff --git a/ddclient/ChangeLog b/ddclient/ChangeLog new file mode 100644 index 000000000..4520b69fe --- /dev/null +++ b/ddclient/ChangeLog @@ -0,0 +1,22 @@ +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/ddclient/PKGBUILD b/ddclient/PKGBUILD new file mode 100644 index 000000000..6db3012c2 --- /dev/null +++ b/ddclient/PKGBUILD @@ -0,0 +1,40 @@ +# +# Apps Packages for Chakra, part of chakra-project.org +# +# maintainer (x86_64): Giuseppe calĂ  + + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf + +pkgname=ddclient +pkgver=3.8.0 +pkgrel=2 +pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services." +arch=('any') +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/$pkgname/$pkgname-$pkgver.tar.bz2 ddclient.rc ddclient.conf.d) +md5sums=('6cac7a5eb1da781bfd4d98cef0b21f8e' + '7035bf8132f3517a59167f61ee5e8b90' + 'b8f39c82827776da948b76ef83544d33') + +build() { + cd ${srcdir}/ddclient-${pkgver} + + # 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 ${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 +} diff --git a/ddclient/ddclient.conf.d b/ddclient/ddclient.conf.d new file mode 100644 index 000000000..8b754a3c2 --- /dev/null +++ b/ddclient/ddclient.conf.d @@ -0,0 +1,2 @@ +# Parameters passed to ddclient +EXTRA_ARGS="-daemon 300" diff --git a/ddclient/ddclient.install b/ddclient/ddclient.install new file mode 100644 index 000000000..55b0e1b6a --- /dev/null +++ b/ddclient/ddclient.install @@ -0,0 +1,37 @@ +# arg 1: the new package version +post_install() { +cat << EOM + +If you want to use ddclient with dhcpcd, cron or pppd, +see /etc/ddclient/samples for further instructions. + +If you have ddclient in the DAEMONS array of /etc/rc.conf: +- Change /etc/conf.d/ddclient according to your needs. +- This setting OVERRIDES any setting in + /etc/ddclient/ddclient.conf + +EOM +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + +if [ -f /etc/ddclient/ddclient.cache ]; then + echo -n "Moving ddclient.cache from /etc/ddclient/ to /var/cache/ddclient/." + mv /etc/ddclient/ddclient.cache /var/cache/ddclient/ + echo " (done)" +fi + +if [ "$(vercmp $2 3.7.3-2)" -lt 0 ]; then +cat << EOM + +If you have ddclient in the DAEMONS array of /etc/rc.conf: +- Change /etc/conf.d/ddclient according to your needs. +- This setting OVERRIDES any setting in + /etc/ddclient/ddclient.conf + +EOM +fi + +} diff --git a/ddclient/ddclient.rc b/ddclient/ddclient.rc new file mode 100644 index 000000000..a9093f74e --- /dev/null +++ b/ddclient/ddclient.rc @@ -0,0 +1,37 @@ +#!/bin/bash + +[ -f /etc/conf.d/ddclient ] && . /etc/conf.d/ddclient + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/ddclient` +case "$1" in + start) + stat_busy "Starting ddclient" + [ -z "$PID" ] && /usr/sbin/ddclient ${EXTRA_ARGS} + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon ddclient + stat_done + fi + ;; + stop) + stat_busy "Stopping ddclient" + [ -n "$PID" ] && kill -15 $PID >/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 diff --git a/tellico/PKGBUILD b/tellico/PKGBUILD index 2a6b12027..489f2dbec 100644 --- a/tellico/PKGBUILD +++ b/tellico/PKGBUILD @@ -5,7 +5,7 @@ # maintainer (x86_64): Manuel Tortosa pkgname=tellico -pkgver=2.2 +pkgver=2.3 pkgrel=1 pkgdesc="A collection manager for KDE" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ depends=('kdebase-workspace' 'yaz' 'exempi' 'kdegraphics-common' 'taglib' makedepends=('automoc4' 'cmake') install=${pkgname}.install source=(http://tellico-project.org/files/$pkgname-$pkgver.tar.bz2) -md5sums=('204cc66527f0ba8f8bda48b1f21a3dcd') +md5sums=('54936f0b34f612a428d68d5276d6f478') build() { cd ${srcdir}