diff options
author | graysky | 2015-08-30 13:50:50 -0400 |
---|---|---|
committer | graysky | 2015-08-30 13:50:50 -0400 |
commit | 890c444d55a8b455158d385af870275e051cbb49 (patch) | |
tree | a2e583a8360bd0d799119ae900c7fdab294fd470 | |
parent | fc09ad80486b244f36dd2bd126f384a93ba30e62 (diff) | |
download | aur-890c444d55a8b455158d385af870275e051cbb49.tar.gz |
Update to 6.00pre.r0.g515a1a5.unstable-1
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | psd.install | 35 |
3 files changed, 23 insertions, 27 deletions
@@ -1,13 +1,15 @@ pkgbase = profile-sync-daemon-git pkgdesc = Syncs browser profiles to tmpfs. Unstable git version! - pkgver = 5.68.r3.gd8188fc.unstable + pkgver = 6.00pre.r0.g515a1a5.unstable pkgrel = 1 url = https://github.com/graysky2/profile-sync-daemon install = psd.install arch = any license = MIT + makedepends = git depends = procps-ng depends = rsync + depends = systemd provides = profile-sync-daemon conflicts = firefox-sync conflicts = goanysync @@ -2,13 +2,14 @@ pkgname='profile-sync-daemon-git' _pkgname='profile-sync-daemon' -pkgver=5.68.r3.gd8188fc.unstable +pkgver=6.00pre.r0.g515a1a5.unstable pkgrel=1 pkgdesc='Syncs browser profiles to tmpfs. Unstable git version!' arch=('any') url='https://github.com/graysky2/profile-sync-daemon' license=('MIT') -depends=('procps-ng' 'rsync') +depends=('procps-ng' 'rsync' 'systemd') +makedepends=('git') conflicts=('firefox-sync' 'goanysync' 'go-anysync-git' 'iceweasel-sync' 'tmpfs-store' 'tmpfs-sync' 'user-profile-sync-daemon' 'profile-sync-daemon') provides=('profile-sync-daemon') @@ -36,10 +37,6 @@ build() { package() { cd "$_pkgname" - - # note if you want to use openrc rather than systemd, change the below make - # target to 'install-openrc-all' before building and be sure that you read - # the INSTALL document provided in the source tarball! - make DESTDIR="$pkgdir" install-systemd-all + make DESTDIR="$pkgdir" install install -Dm644 MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/psd.install b/psd.install index b9cbd46dbb74..8360e262349c 100644 --- a/psd.install +++ b/psd.install @@ -1,24 +1,21 @@ -DAEMON_FILE="/run/psd" - post_install() { echo '--> WARNING! DEVELOPMENT VERSION!' + echo '--> ALWAYS backup your profile data before using utils like psd!' echo - echo '--> Define which users will make use of the sync in /etc/psd.conf' - echo '--> Read the manpage before use or see the wiki page' - echo '--> https://wiki.archlinux.org/index.php/Profile-sync-daemon' + echo ' SPECIAL UPGRADE INSTRUCTIONS YOU MUST FOLLOW:' echo - echo '--> ALWAYS backup your profile data before using utils like psd!' -} - - -pre_remove() { - if [ -e $DAEMON_FILE ]; then - if ! systemd-notify --booted; then # not using systemd - echo '--> Automatically stopping psd to rotate profiles back out of tmpfs.' - /etc/rc.d/psd stop - else - echo '--> Automatically stopping psd to rotate profiles back out of tmpfs.' - /usr/bin/systemctl stop psd.service - fi - fi + echo '1) If you are running psd version 5.x YOU MUST STOP IT BEFORE CONTINUING.' + echo + echo '2) If any browsers are running, exit them now.' + echo + echo '3) The new psd.conf resides in $HOME/.psd/psd.conf' + echo ' and it will be created for you on first use.' + echo + echo '4) Starting with version 6 of psd, there will be no /etc/psd.conf' + echo ' nor will you use systemd in system mode to call the service.' + echo ' Each user shall run his/her own USER psd.service to use' + echo ' like this: systemctl --user start psd.service' + echo + echo '5) Users wanting to use overlayfs mode MUST have sudo access to' + echo ' both mount and umount or psd will exit informing you of this.' } |