public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: www-misc/profile-sync-daemon/files/, www-misc/profile-sync-daemon/
@ 2018-09-09 21:46 Patrice Clement
  0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2018-09-09 21:46 UTC (permalink / raw
  To: gentoo-commits

commit:     5fc92f703edc68e638b69c4f8ccedf4c743bf219
Author:     Jeffrey Lin <jeffrey <AT> icurse <DOT> nl>
AuthorDate: Sat Sep  8 04:01:34 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Sep  9 21:46:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc92f70

www-misc/profile-sync-daemon: version bump to 5.75.

Package-Manager: Portage-2.3.49, Repoman-2.3.10
Closes: https://github.com/gentoo/gentoo/pull/9807

 www-misc/profile-sync-daemon/Manifest              |  1 +
 .../files/bad-substitution-fix.patch               | 11 ++++++
 .../profile-sync-daemon/files/openrc-path.patch    | 13 +++++++
 .../profile-sync-daemon-5.75.ebuild                | 41 ++++++++++++++++++++++
 4 files changed, 66 insertions(+)

diff --git a/www-misc/profile-sync-daemon/Manifest b/www-misc/profile-sync-daemon/Manifest
index 48ab55da731..79021215daf 100644
--- a/www-misc/profile-sync-daemon/Manifest
+++ b/www-misc/profile-sync-daemon/Manifest
@@ -1,2 +1,3 @@
 DIST profile-sync-daemon-5.45.1.tar.gz 25543 BLAKE2B e033ae0587c3c5b90442e9ed199b10112019459f6e5f32d8ffb836c1d0ab878d4f535709c76d8a8bf7edde7aca8d1b8d868ad5c472166c7ec22d1da9f0f5591d SHA512 8a61ebfe52031bd59c70416adfd477edc313641cec93a4e96c80f316517cdb53f49840cfd7711ea2f6180ecce8e8e5d45f01d7bd85ba787c3fe288a14426b944
+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

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 00000000000..7551b08157a
--- /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 00000000000..fc2d51b872d
--- /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/profile-sync-daemon-5.75.ebuild b/www-misc/profile-sync-daemon/profile-sync-daemon-5.75.ebuild
new file mode 100644
index 00000000000..70b56370895
--- /dev/null
+++ b/www-misc/profile-sync-daemon/profile-sync-daemon-5.75.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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 zsh-completion"
+
+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}" \
+		install-openrc-all \
+		$(usex systemd "install-systemd" "")
+
+	if ! use zsh-completion; then
+		rm -r "${ED}/usr/share/zsh" || die
+	fi
+
+	fperms -x /etc/cron.hourly/psd-update
+}
+
+pkg_postinst() {
+	elog "The cronjob is -x by default."
+	elog "You might want to set it +x if you don't use"
+	elog "the systemd provided \"psd-resync.timer\"."
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-misc/profile-sync-daemon/files/, www-misc/profile-sync-daemon/
@ 2019-04-07  8:29 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2019-04-07  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     00e32ad6dd819f8e640ca4f45be65a871e997b24
Author:     Jeffrey Lin <jeffrey <AT> icurse <DOT> nl>
AuthorDate: Mon Apr  1 14:05:36 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 08:29:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e32ad6

www-misc/profile-sync-daemon: bring back version 5.75

This commit partially reverts 79f41a54cc55c39e0a4ac9fba8115469f01d262e.
Bug: https://bugs.gentoo.org/678658
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl>
Closes: https://github.com/gentoo/gentoo/pull/11473
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 www-misc/profile-sync-daemon/Manifest              |  1 +
 .../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, 67 insertions(+), 1 deletion(-)

diff --git a/www-misc/profile-sync-daemon/Manifest b/www-misc/profile-sync-daemon/Manifest
index 811617b7ea7..98828ba15cf 100644
--- a/www-misc/profile-sync-daemon/Manifest
+++ b/www-misc/profile-sync-daemon/Manifest
@@ -1 +1,2 @@
+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

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 00000000000..7551b08157a
--- /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 00000000000..fc2d51b872d
--- /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 9fad3221afa..aaa0192550e 100644
--- a/www-misc/profile-sync-daemon/metadata.xml
+++ b/www-misc/profile-sync-daemon/metadata.xml
@@ -1,7 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>jeffrey@icurse.nl</email>
+		<name>Jeffrey Lin</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
 	<upstream>
 		<remote-id type="github">graysky2/profile-sync-daemon</remote-id>
 	</upstream>

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 00000000000..11e5f93ac55
--- /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."
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-07  8:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-07  8:29 [gentoo-commits] repo/gentoo:master commit in: www-misc/profile-sync-daemon/files/, www-misc/profile-sync-daemon/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2018-09-09 21:46 Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox