summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-03-05 08:57:13 -0600
committerBen Kohler <bkohler@gentoo.org>2021-03-05 11:18:53 -0600
commit41b421bb5abe56171e24108274e8618bddc27053 (patch)
tree2a884f46f3ee59f709e7c86550b2b01ebd174c2c /net-misc
parentsys-apps/less: Bump to version 580 (diff)
downloadgentoo-41b421bb5abe56171e24108274e8618bddc27053.tar.gz
gentoo-41b421bb5abe56171e24108274e8618bddc27053.tar.bz2
gentoo-41b421bb5abe56171e24108274e8618bddc27053.zip
net-misc/dropbox: bump to 117.4.378
Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dropbox/Manifest2
-rw-r--r--net-misc/dropbox/dropbox-117.4.378.ebuild102
2 files changed, 104 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index d2fff76b926..c356b136282 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -1,6 +1,8 @@
DIST dropbox-lnx.x86-114.4.426.tar.gz 100421824 BLAKE2B 1070be0d3607c8f3df0277dcae282bce704578d9c02fd191f32503dc1f152e6861b3945d19b186eda23ac8676b8e7da31050bc954a25e1b33fb4a4098d22f48c SHA512 d64ecd9889ab46c50ee6e2d7978afca3fa34fe3093f68ce2b328e488bb536a61a54c9c835be32765200e382dbaab3d8c025cf185998371793fb202c0998ab5f2
DIST dropbox-lnx.x86-115.4.601.tar.gz 100133235 BLAKE2B edb1c89215511e4d36d0c2f1fba3f67e73b022efe7f3ff3cae2a85b089532659d2b0e685be5e017125a44897b487c5308225e44a39ced1dd779e0c212efe523c SHA512 bfd74e43bfeb9b65bf6dd84be7148cbca24ef33f16d24a9456eefc713dd3c6f583c0f4c2bd95b8ef13ec0d6a40b7a6b49e45d9c9179f8ee36326a62500119eb6
DIST dropbox-lnx.x86-116.4.368.tar.gz 97022057 BLAKE2B 919a1fdf1a4eda92ec4e5e1de6789da6a995128339e459794e5a47e24b247338471ebdcfee92afc3a79691d1e092d5934cc83cbb3221a532fd41ad42db171e8d SHA512 d285225c22c0b5fd5e1c2e97467f666c6c1084857e4318589b69fbb3b37ef6a89f8147d5218a7d2ebbc0c4d88a405f10944f50b5a6fcecf64c48368d076d930a
+DIST dropbox-lnx.x86-117.4.378.tar.gz 98240407 BLAKE2B 2a4a1f2967cc3b4fb59461d3ab94a8cb120db5ec3283d4ef0b1b13ad69e903bb87e11dbc72b1d1e2969aded63f03390af0087026864699c679276d195ec6e54f SHA512 261aad190643e02a102b70ce5418cf61f8affcf3607e6b35d91ec5713fb7ee058d2e20390fd6e8c434ae69d6f888ff390b12d2f544aa2b08a7ac98a9c545811d
DIST dropbox-lnx.x86_64-114.4.426.tar.gz 104003045 BLAKE2B f71e9aba191f7258588aeb2cf2459eb0d9311c5c56e711f9b2932b8dfe2070cc0f1a20d3cfc9fc710ad75093e18fa494f9a42a6ff23d3e231e76edd29146612a SHA512 c9d42944e81fdb1ad315c388acdfba4b3da53bf90b6265c8ca030152c39ac0a60e8d064b1c47df7d8ecaca8b0801ad0851a2252d2241580cfc479cbf76e9fc3b
DIST dropbox-lnx.x86_64-115.4.601.tar.gz 103710196 BLAKE2B 9e909052c4b1c66f4c691801322c895471754f9081837fd1da47a19abf5be37f564044ebb6b5a9630b9c72033111b96b4575d1e225095d57fa8ce36fca4e7def SHA512 c13ce9651f8b6020a15548ff7446c7d996f50030aea7f9fa53b8c92c65dda3fac9441147ec1694194dc51f9663b3a2f869705048c65449aca1a502d402f37bf3
DIST dropbox-lnx.x86_64-116.4.368.tar.gz 100422000 BLAKE2B 5d49decf02a36126bc7b3f3d297425623dcef16c53a391bccaaa1767be7cceabb372fd82a22c918e003c08586f197113bbac417c2a13a6dc379210506087e0ad SHA512 6eef4d76b7d2e7ea0f0b2af2ca8d6dde407eb81c08c824578d746aae6beeb7b2e7f0965c672bf943cfb8a977f8f0afb9dd8bcb2628f5a6a130505c6e5c9335cf
+DIST dropbox-lnx.x86_64-117.4.378.tar.gz 101675442 BLAKE2B 42dbb52a4cb1998b1e114e5486acc0a89191c1856f1391c3f19186937faeae12ceec39e5496744f3237e457656f50d4c6af6b4f9ad5b02541e946c96f325ba92 SHA512 876314d7d56692c34c714c7aa8d03d5e9250a5a5bb72c74a16eaee68cf1cf28d4585e4b3ac457dc42d0230d222d62eeeab66672765c182d999f7200a1335a4b7
diff --git a/net-misc/dropbox/dropbox-117.4.378.ebuild b/net-misc/dropbox/dropbox-117.4.378.ebuild
new file mode 100644
index 00000000000..a77b20f7a3b
--- /dev/null
+++ b/net-misc/dropbox/dropbox-117.4.378.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop pax-utils systemd xdg
+
+DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
+HOMEPAGE="https://www.dropbox.com/"
+SRC_URI="
+ amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz )
+ x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz )"
+
+LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+IUSE="selinux X"
+
+RESTRICT="mirror strip"
+
+QA_PREBUILT="opt/.*"
+QA_EXECSTACK="opt/dropbox/dropbox"
+
+BDEPEND="dev-util/patchelf"
+
+# Be sure to have GLIBCXX_3.4.9, #393125
+RDEPEND="
+ X? (
+ x11-themes/hicolor-icon-theme
+ )
+ selinux? ( sec-policy/selinux-dropbox )
+ app-arch/bzip2
+ dev-libs/glib:2
+ dev-libs/libffi-compat:6
+ media-libs/fontconfig
+ media-libs/freetype
+ net-misc/wget
+ sys-libs/zlib
+ sys-libs/ncurses-compat:5
+ virtual/opengl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+"
+
+src_unpack() {
+ unpack ${A}
+ mkdir -p "${S}" || die
+ mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die
+ mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die
+ rmdir "${S}"/dropbox-lnx.*-${PV}/ || die
+ rmdir .dropbox-dist || die
+}
+
+src_prepare() {
+ default
+ # we supply all of these in RDEPEND
+ rm -vf libGL.so.1 libX11* libffi.so.6 || die
+ # some of these do not appear to be used
+ rm -vf libQt5{OpenGL,PrintSupport,Qml,Quick,Sql,WebKit,WebKitWidgets}.so.5 \
+ PyQt5.QtPrintSupport.* PyQt5.QtQml.* PyQt5.QtQuick.* \
+ wmctrl libdrm.so.2 libpopt.so.0 || die
+ if use X ; then
+ mv images/hicolor/16x16/status "${T}" || die
+ else
+ rm -vrf images || die
+ fi
+ patchelf --set-rpath '$ORIGIN' \
+ apex._apex.*.so \
+ nucleus_python.*.so \
+ tprt.*.so \
+ || die
+ pax-mark cm dropbox
+ mv README ACKNOWLEDGEMENTS "${T}" || die
+}
+
+src_install() {
+ local targetdir="/opt/dropbox"
+
+ insinto "${targetdir}"
+ doins -r *
+ fperms a+x "${targetdir}"/{dropbox,dropboxd}
+ dosym "${targetdir}/dropboxd" "/opt/bin/dropbox"
+
+ use X && doicon -s 16 -c status "${T}"/status
+
+ make_desktop_entry "${PN}" "Dropbox" "dropboxstatus-logo"
+
+ newinitd "${FILESDIR}"/dropbox.initd dropbox
+ newconfd "${FILESDIR}"/dropbox.conf dropbox
+ systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service"
+
+ 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"
+}