diff options
author | Marcel Saegebarth <marc@mos6581.de> | 2014-12-16 20:09:41 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-16 20:09:41 +0700 |
commit | 7f0a7b947ecefd76928b7662ee0d7511d7c8af2b (patch) | |
tree | 6f27e7d61cc7f0b18f5b149e8052a6bf695b7580 /system/profile-sync-daemon | |
parent | 813480aa170ce64f875a7243f398e0df6c28a20f (diff) | |
download | slackbuilds-7f0a7b947ecefd76928b7662ee0d7511d7c8af2b.tar.gz |
system/profile-sync-daemon: Updated for version 5.54.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/profile-sync-daemon')
-rw-r--r-- | system/profile-sync-daemon/profile-sync-daemon.SlackBuild | 5 | ||||
-rw-r--r-- | system/profile-sync-daemon/profile-sync-daemon.info | 6 | ||||
-rw-r--r-- | system/profile-sync-daemon/psd.openrc.patch | 65 | ||||
-rw-r--r-- | system/profile-sync-daemon/rc.psd | 47 |
4 files changed, 52 insertions, 71 deletions
diff --git a/system/profile-sync-daemon/profile-sync-daemon.SlackBuild b/system/profile-sync-daemon/profile-sync-daemon.SlackBuild index 8fe6491ef2..f5db41cad5 100644 --- a/system/profile-sync-daemon/profile-sync-daemon.SlackBuild +++ b/system/profile-sync-daemon/profile-sync-daemon.SlackBuild @@ -24,7 +24,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=profile-sync-daemon -VERSION=${VERSION:-5.52} +VERSION=${VERSION:-5.54} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,13 +50,12 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; sed -i 's#/share##g' Makefile -patch -p1 < $CWD/psd.openrc.patch make make install-bin install-man install-cron DESTDIR=$PKG mv $PKG/etc/cron.hourly/psd-update $PKG/etc/cron.hourly/psd-update.new install -D -m 0644 $TMP/$PRGNAM-$VERSION/common/psd.conf $PKG/etc/psd.conf.new -install -D -m 0644 $TMP/$PRGNAM-$VERSION/init/psd.openrc $PKG/etc/rc.d/rc.psd.new +install -D -m 0644 $CWD/rc.psd $PKG/etc/rc.d/rc.psd.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a GPL-2 INSTALL LICENCE MIT README.md VERSION_4_WARNING $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/profile-sync-daemon/profile-sync-daemon.info b/system/profile-sync-daemon/profile-sync-daemon.info index a753f4fbc4..cf51f2ad1e 100644 --- a/system/profile-sync-daemon/profile-sync-daemon.info +++ b/system/profile-sync-daemon/profile-sync-daemon.info @@ -1,8 +1,8 @@ PRGNAM="profile-sync-daemon" -VERSION="5.52" +VERSION="5.54" HOMEPAGE="https://github.com/graysky2/profile-sync-daemon/" -DOWNLOAD="https://github.com/graysky2/profile-sync-daemon/archive/v5.52.tar.gz" -MD5SUM="be20f5d7068144c214f664e96d1d0e2b" +DOWNLOAD="https://github.com/graysky2/profile-sync-daemon/archive/v5.54.tar.gz" +MD5SUM="8a5758fb3eaafb933f7996d583f90ed5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/system/profile-sync-daemon/psd.openrc.patch b/system/profile-sync-daemon/psd.openrc.patch deleted file mode 100644 index 6c8e83eb32..0000000000 --- a/system/profile-sync-daemon/psd.openrc.patch +++ /dev/null @@ -1,65 +0,0 @@ ---- profile-sync-daemon/init/psd.openrc.orig 2014-11-19 14:35:06.049935645 +0100 -+++ profile-sync-daemon/init/psd.openrc 2014-11-19 14:37:33.235934241 +0100 -@@ -1,29 +1,21 @@ --#!/sbin/runscript -+#!/bin/sh - # Copyright 1999-2014 Gentoo Foundation - # Distributed under the terms of the GNU General Public License v2 -+# Adapted by Marcel Saegebarth for slackbuilds.org for -+# http://slackbuilds.org/result/?search=profile-sync-daemon. - - description="Webbrowser profile syncing" - extra_commands="resync" - description_resync="Manually sync the disk profile with running tmpfs image" - -- --depend() { -- need devfs localmount -- after swapfiles # bug 398431#c8 --} -- - start() { -- ebegin "Starting Profile-Sync-Daemon" -- -+ echo "Starting Profile-Sync-Daemon" - /usr/bin/profile-sync-daemon sync -- eend $? - } - - stop() { -- ebegin "Stopping Profile-Sync-Daemon" -- -+ echo "Stopping Profile-Sync-Daemon" - /usr/bin/profile-sync-daemon unsync -- eend $? - } - - status() { -@@ -31,7 +23,25 @@ - } - - resync() { -- ebegin "Syncing browser profiles in tmpfs to physical disc" -+ echo "Syncing browser profiles in tmpfs to physical disc" - /usr/bin/profile-sync-daemon resync -- eend $? - } -+ -+case "$1" in -+ start) -+ start -+ ;; -+ stop) -+ stop -+ ;; -+ resync) -+ resync -+ ;; -+ -+ status) -+ status -+ ;; -+ *) -+ echo $"Usage: $0 {start|stop|resync|status}" -+ exit 1 -+esac diff --git a/system/profile-sync-daemon/rc.psd b/system/profile-sync-daemon/rc.psd new file mode 100644 index 0000000000..4726a28e44 --- /dev/null +++ b/system/profile-sync-daemon/rc.psd @@ -0,0 +1,47 @@ +#!/bin/sh +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# Adapted by Marcel Saegebarth for slackbuilds.org for +# http://slackbuilds.org/result/?search=profile-sync-daemon. + +description="Webbrowser profile syncing" +extra_commands="resync" +description_resync="Manually sync the disk profile with running tmpfs image" + +start() { + echo "Starting Profile-Sync-Daemon" + /usr/bin/profile-sync-daemon sync +} + +stop() { + echo "Stopping Profile-Sync-Daemon" + /usr/bin/profile-sync-daemon unsync +} + +status() { + /usr/bin/profile-sync-daemon debug +} + +resync() { + echo "Syncing browser profiles in tmpfs to physical disc" + /usr/bin/profile-sync-daemon resync +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + resync) + resync + ;; + + status) + status + ;; + *) + echo $"Usage: $0 {start|stop|resync|status}" + exit 1 +esac |