From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E0241582EF for ; Thu, 27 Feb 2025 17:01:27 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 45D0434322A for ; Thu, 27 Feb 2025 17:01:27 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5E73F1102D2; Thu, 27 Feb 2025 17:01:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 4BFFE1102D2 for ; Thu, 27 Feb 2025 17:01:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ECDA3343082 for ; Thu, 27 Feb 2025 17:01:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF5129F9 for ; Thu, 27 Feb 2025 17:01:17 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1740675660.aa2b939a05d4bfc3bd8055136885f0a21dce23ec.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dropbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/dropbox/Manifest net-misc/dropbox/dropbox-218.4.4348.ebuild X-VCS-Directories: net-misc/dropbox/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: aa2b939a05d4bfc3bd8055136885f0a21dce23ec X-VCS-Branch: master Date: Thu, 27 Feb 2025 17:01:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 72203ef6-824d-4677-9d82-a82cdefa8464 X-Archives-Hash: e40a45c83acc56e36d2be38804a677db commit: aa2b939a05d4bfc3bd8055136885f0a21dce23ec Author: Ben Kohler gentoo org> AuthorDate: Thu Feb 27 16:09:48 2025 +0000 Commit: Ben Kohler gentoo org> CommitDate: Thu Feb 27 17:01:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2b939a net-misc/dropbox: add 218.4.4348 Signed-off-by: Ben Kohler gentoo.org> net-misc/dropbox/Manifest | 1 + net-misc/dropbox/dropbox-218.4.4348.ebuild | 109 +++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index 266bfbea10fb..5c9463178100 100644 --- a/net-misc/dropbox/Manifest +++ b/net-misc/dropbox/Manifest @@ -3,3 +3,4 @@ DIST dropbox-lnx.x86_64-214.4.5217.tar.gz 112333087 BLAKE2B e787a4a26e7f5cdf26ae DIST dropbox-lnx.x86_64-215.4.7202.tar.gz 112251332 BLAKE2B 8c9ad1d79e71bc8ad1e2a91453333d5b002196f0a309a7505e4fc0fa82704654f21e5896f1082a1d85acc7ef67c9edbc9c80f6b16d655772f0aafbaa56f5353c SHA512 711327f51d7d6a176607dc7704ca5358885c9546ac476b34d0d1dbe293f50baac139f442dc694a50e842ba08a9312ea81fc73921d7d1dd4bf26407ac5cb06acf DIST dropbox-lnx.x86_64-216.4.4420.tar.gz 111371085 BLAKE2B 2b9bb495576e78fc0265927cc8f43b8e52a14c2c424e32e53fdce001ceaa540fff923ce4cf43f3840ab9b137ea8de0e830b7c036cb776a85d9f3525076ad7475 SHA512 dcc166b70e476e5c0ae5528c096d4a9715a3c22dc298a3787389152acb0f1a0e4abe6102ced8f0013df84e4af87819234a1d8a3c2c4950de1e6f90849faa53fe DIST dropbox-lnx.x86_64-217.4.4417.tar.gz 111286253 BLAKE2B a4f5f5f07dcd48c1bf30814e6a5e2ae47fd812ec81ec569666906ab59e12448cee7ac5f8aafe01c64b8aafb4c5c95234cfde319f08e8cd9f26f74c1f4d4f1dcb SHA512 2628e43bc31c7e4c4cb00071f6dbb4e9d57b3c7e41f0975eeb5c3beedb9b8d5cf4571317f28a09b65bcaaf5942b3a398c9e32c006b188f74a9baa0fa8bfb10a9 +DIST dropbox-lnx.x86_64-218.4.4348.tar.gz 112099176 BLAKE2B 9341a3b2f0d429cefde83324ff9cb8af589a4dad6f7c29eefc04dfeb811e10993eaeb25aed85c6256d4374c88a81d611b72a535e7d62b56d2aac47bd8ebf0017 SHA512 d9fd1c1d8c61d2b0d401ba3b225e715a65e5617da46b80f0ea3896b2a2676f2dd73320cf79bebd0649617db766511fd9b00f81ac977b9114094e52cccc4ee835 diff --git a/net-misc/dropbox/dropbox-218.4.4348.ebuild b/net-misc/dropbox/dropbox-218.4.4348.ebuild new file mode 100644 index 000000000000..afc5b3e0496e --- /dev/null +++ b/net-misc/dropbox/dropbox-218.4.4348.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils systemd xdg + +DESCRIPTION="Dropbox daemon (pretends to be GUI-less)" +HOMEPAGE="https://www.dropbox.com/" +SRC_URI=" + https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz + https://uxwing.com/wp-content/themes/uxwing/download/brands-and-social-media/dropbox-icon.svg +" + +LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox" +SLOT="0" +KEYWORDS="-* ~amd64" +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 + x11-libs/libXext + x11-libs/libXrender + x11-libs/libxcb +" + +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" + + if use X; then + doicon -s 16 -c status "${T}"/status + newicon -s scalable "${DISTDIR}/dropbox-icon.svg" dropbox.svg + fi + + make_desktop_entry "${PN}" "Dropbox" "dropbox" + + 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" +}