commit:     e8298bc3b32359c645aed5f948e837f3a9b4f479
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 10 14:24:11 2020 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 14:24:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8298bc3

net-misc/dropbox: add information on blocking autoupdate

Closes: https://bugs.gentoo.org/473888
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 net-misc/dropbox/dropbox-104.4.175.ebuild | 8 ++++++++
 net-misc/dropbox/dropbox-105.4.649.ebuild | 8 ++++++++
 net-misc/dropbox/dropbox-105.4.651.ebuild | 8 ++++++++
 3 files changed, 24 insertions(+)

diff --git a/net-misc/dropbox/dropbox-104.4.175.ebuild 
b/net-misc/dropbox/dropbox-104.4.175.ebuild
index 30d998505ce..2408606d15f 100644
--- a/net-misc/dropbox/dropbox-104.4.175.ebuild
+++ b/net-misc/dropbox/dropbox-104.4.175.ebuild
@@ -94,3 +94,11 @@ src_install() {
 
        dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
 }
+
+pkg_postinst() {
+       einfo "Warning: while running, dropbox may attempt to autoupdate itself 
in"
+       einfo " your user's home directory.  To prevent this, run the following 
as"
+       einfo " each user who will run dropbox:"
+       einfo ""
+       einfo "install -dm0 ~/.dropbox-dist"
+}

diff --git a/net-misc/dropbox/dropbox-105.4.649.ebuild 
b/net-misc/dropbox/dropbox-105.4.649.ebuild
index 4530b917859..7286be94a2d 100644
--- a/net-misc/dropbox/dropbox-105.4.649.ebuild
+++ b/net-misc/dropbox/dropbox-105.4.649.ebuild
@@ -92,3 +92,11 @@ src_install() {
 
        dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
 }
+
+pkg_postinst() {
+       einfo "Warning: while running, dropbox may attempt to autoupdate itself 
in"
+       einfo " your user's home directory.  To prevent this, run the following 
as"
+       einfo " each user who will run dropbox:"
+       einfo ""
+       einfo "install -dm0 ~/.dropbox-dist"
+}

diff --git a/net-misc/dropbox/dropbox-105.4.651.ebuild 
b/net-misc/dropbox/dropbox-105.4.651.ebuild
index 4530b917859..7286be94a2d 100644
--- a/net-misc/dropbox/dropbox-105.4.651.ebuild
+++ b/net-misc/dropbox/dropbox-105.4.651.ebuild
@@ -92,3 +92,11 @@ src_install() {
 
        dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
 }
+
+pkg_postinst() {
+       einfo "Warning: while running, dropbox may attempt to autoupdate itself 
in"
+       einfo " your user's home directory.  To prevent this, run the following 
as"
+       einfo " each user who will run dropbox:"
+       einfo ""
+       einfo "install -dm0 ~/.dropbox-dist"
+}

Reply via email to