From b7ebc951da8800f711142f69d9d958bde67a112d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Apr 2019 09:54:45 +0100 Subject: gentoo resync : 28.04.2019 --- www-misc/profile-sync-daemon/Manifest | 6 +++- .../files/bad-substitution-fix.patch | 11 +++++++ .../profile-sync-daemon/files/openrc-path.patch | 13 +++++++++ www-misc/profile-sync-daemon/metadata.xml | 9 +++++- .../profile-sync-daemon-5.75.ebuild | 34 ++++++++++++++++++++++ 5 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 www-misc/profile-sync-daemon/files/bad-substitution-fix.patch create mode 100644 www-misc/profile-sync-daemon/files/openrc-path.patch create mode 100644 www-misc/profile-sync-daemon/profile-sync-daemon-5.75.ebuild (limited to 'www-misc/profile-sync-daemon') diff --git a/www-misc/profile-sync-daemon/Manifest b/www-misc/profile-sync-daemon/Manifest index e6dca4331e88..a49897d72947 100644 --- a/www-misc/profile-sync-daemon/Manifest +++ b/www-misc/profile-sync-daemon/Manifest @@ -1,4 +1,8 @@ +AUX bad-substitution-fix.patch 476 BLAKE2B b7ff1d56a41c29a53c3650db1407707b611597a35c7219d74320be278bac01a5a7e0458c10dfc95f728a58d98c520766b4c3bb86a9a726ddd9da95bc7655e719 SHA512 cfb61ab20ee6f19d596366eafd6557bec31a74754ad03b840aa14073af3c66ccd7de187d49107e3c1ad19bd38fabdbf3558703ece43fc6075fbef1c3643d1a21 +AUX openrc-path.patch 554 BLAKE2B 9e43692ed6baabf1001c6423abea72f0265e94326adf4cd10590e27eda0b0a76ca628db88e396e4b6074de27ba71bab033139dd0e4ad13afe654a2f9645b061c SHA512 d64640d443c95bf9a771416f28edabcc63fb0b329b936ac5942734225da80f771b63d1d1b6d03209bbba1b0eece95d84872e182e4d1fb790f3aa965ba44dced9 +DIST profile-sync-daemon-5.75.tar.gz 27829 BLAKE2B b333688af27a7373f72e72a09dd18afc210f2196957a76f6fab59d46ecd4e9b905b833a66bf49001c0be307b05b06320d7ee2b754cee1b6559a113346717b82b SHA512 54c2a6c743bf3a3dd746862f6dc0448c8993c96fe0163f4f89885cee3e4c81ecac46414c0ca57d57ec0e9e6c646f9a39462d5d533a7515a952cc56276509bdc0 DIST profile-sync-daemon-6.31.tar.gz 20490 BLAKE2B 6c65f414230051e71578d1d0d69dd266a6d2b6f741b9c3a0e6b3132945fbe8f98db12544ac145609c82e793e1a8d5e8cef278191e653cb5560c3451d6f158307 SHA512 7e7585e902c2428c28dc980c73ebf77ea7f2b39133a6ad0c82e714c2789811c42785ac5d403f965f1b3de8c685d7cba51810ea99206e2b7351dbd607a2cd0fdb +EBUILD profile-sync-daemon-5.75.ebuild 855 BLAKE2B 98d7311b54443ce829df3afe2ea00da6f9af6b958a6b57a47f606e9eaa1bb95b82b5cca94a90ac617fb49a683efe9900f11732c2608fb466cf2b3289f0a05774 SHA512 1ec236d79c2e1fbce9149544fc9d02848981eb2472b73a497e6b4169637892605a3779b4b72cbfbcfe98a528cd59a0f7784c7702e8fdac97abd509e7c222a449 EBUILD profile-sync-daemon-6.31.ebuild 782 BLAKE2B 9ac819f8a4f964d86bfb11f919c086ba77c6445f4f15ab095b3f2ac58373abf21f9df941ab4418cc928e5f0c601f996575db3a0401776743070d8a3d30187f29 SHA512 ac66b9cdb4d98afbaa3adc012a0acc282f2062ee6146d2cccc74bbb2c350f0650d7b8b34e55f7dbed66b9c4d50de4a53b138c97b210f527ff43d76705a0e9af4 EBUILD profile-sync-daemon-9999.ebuild 414 BLAKE2B 2d75908e1931749dd2c4681076ae33e01e05454a2817903f25ce5ddf591c1f2d28184271036d0d6073268a8e0c7faea5648416b9e594e10ff0f7c6ddd03b8612 SHA512 320f2c02f049c099bac9f319e8725b98b36e597357729e95ef70be6f42ccfef17fae32a7bb55826cf46bc72056b662af7573055dae67d1c725db0d7c020d233b -MISC metadata.xml 260 BLAKE2B 220a2f95bc7bde461342a6a7473f3639cc87564372edede01a4505a0aac38878320bbe26c37201c1c241b3f4e99847779d8e9a5d10a97cb789d7b50dd6b00cb5 SHA512 a5a602103d5329cac407769e8b94240601f1905c81ce7cd1de78f19a304eb97e05f17d838acdd983304306405d0ccaaebf574cd1549cfc2e35b2345629b60087 +MISC metadata.xml 454 BLAKE2B 6869a276397639246163d2a3e503b196390e3c52c00f8545ddd8d16257b93328bf14324b553b42fc17986cb9058ffc41325cf5f5c30da844aea41bac6212501e SHA512 7174ddac618332b4e0904a293c15a4b6ea2beb93e004ecdc454d2927958e2504df0e17069cc5577a8047e072b90bd6aa94af9634cb12ab075a31c9658efb81d6 diff --git a/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch b/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch new file mode 100644 index 000000000000..7551b08157a6 --- /dev/null +++ b/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch @@ -0,0 +1,11 @@ +--- a/common/profile-sync-daemon.in 2015-07-29 16:57:24.000000000 -0400 ++++ b/common/profile-sync-daemon.in 2017-07-25 21:35:59.209639588 -0400 +@@ -581,7 +581,7 @@ + # check that the LAST DIRECTORY in the full path is unique + unique_count=$(echo ${DIRArr[@]##*/} | + sed 's/ /\n/g' | sort -u | wc -l) +- if [[ ${#DIRArr[@]##*/} -eq $unique_count ]]; then ++ if [[ ${#DIRArr[@]} -eq $unique_count ]]; then + # no problems so do nothing + return + else diff --git a/www-misc/profile-sync-daemon/files/openrc-path.patch b/www-misc/profile-sync-daemon/files/openrc-path.patch new file mode 100644 index 000000000000..fc2d51b872d4 --- /dev/null +++ b/www-misc/profile-sync-daemon/files/openrc-path.patch @@ -0,0 +1,13 @@ +--- a/Makefile 2015-07-29 17:57:24.000000000 -0300 ++++ b/Makefile 2017-02-02 15:08:06.720017266 -0300 +@@ -64,8 +64,8 @@ + + install-openrc: + $(Q)echo -e '\033[1;32mInstalling openrc files...\033[0m' +- $(INSTALL_DIR) "$(DESTDIR)$(DOCDIR)" +- $(INSTALL_SCRIPT) init/psd.openrc "$(DESTDIR)$(DOCDIR)/psd.openrc" ++ $(INSTALL_DIR) "$(DESTDIR)$(INITDIR_UPSTART)" ++ $(INSTALL_SCRIPT) init/psd.openrc "$(DESTDIR)$(INITDIR_UPSTART)/psd" + [ -f "$(DESTDIR)$(CONFDIR)/psd.conf" ] || $(INSTALL_DATA) common/psd.conf "$(DESTDIR)$(CONFDIR)/psd.conf" + + install-systemd: diff --git a/www-misc/profile-sync-daemon/metadata.xml b/www-misc/profile-sync-daemon/metadata.xml index 9fad3221afac..aaa0192550e1 100644 --- a/www-misc/profile-sync-daemon/metadata.xml +++ b/www-misc/profile-sync-daemon/metadata.xml @@ -1,7 +1,14 @@ - + + jeffrey@icurse.nl + Jeffrey Lin + + + proxy-maint@gentoo.org + Proxy Maintainers + graysky2/profile-sync-daemon diff --git a/www-misc/profile-sync-daemon/profile-sync-daemon-5.75.ebuild b/www-misc/profile-sync-daemon/profile-sync-daemon-5.75.ebuild new file mode 100644 index 000000000000..11e5f93ac552 --- /dev/null +++ b/www-misc/profile-sync-daemon/profile-sync-daemon-5.75.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Symlinks and syncs browser profile dirs to RAM" +HOMEPAGE="https://wiki.archlinux.org/index.php/Profile-sync-daemon" +SRC_URI="https://github.com/graysky2/profile-sync-daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="systemd" + +RDEPEND=" + app-shells/bash + net-misc/rsync[xattr] + systemd? ( sys-apps/systemd )" + +PATCHES=( + "${FILESDIR}/openrc-path.patch" + "${FILESDIR}/bad-substitution-fix.patch" +) + +src_install() { + emake DESTDIR="${ED}" COMPRESS_MAN=0 \ + "$(usex systemd "install-systemd-all" "install-openrc-all")" + + use systemd || fperms -x /etc/cron.hourly/psd-update +} + +pkg_postinst() { + use systemd || elog "The cronjob is -x by default. You might want to set it +x." +} -- cgit v1.2.3