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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A1C4A1581F0 for ; Sat, 25 Jan 2025 22:41:22 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 8DCA2343464 for ; Sat, 25 Jan 2025 22:41:22 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 908651103C3; Sat, 25 Jan 2025 22:41:21 +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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 827191103C3 for ; Sat, 25 Jan 2025 22:41:21 +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 2B7E7343464 for ; Sat, 25 Jan 2025 22:41:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60B3BEE8 for ; Sat, 25 Jan 2025 22:41:19 +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: <1737844872.898699eba8e91ddec6e30a2a7c4edc1e04a4e862.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-216.4.4420.ebuild X-VCS-Directories: net-misc/dropbox/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 898699eba8e91ddec6e30a2a7c4edc1e04a4e862 X-VCS-Branch: master Date: Sat, 25 Jan 2025 22:41:19 +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: 1edb19ed-ffaf-4d4c-8f5b-c7a91b304dd8 X-Archives-Hash: bc1a6a1c04c5b6db02b7936171504b34 commit: 898699eba8e91ddec6e30a2a7c4edc1e04a4e862 Author: Ben Kohler gentoo org> AuthorDate: Sat Jan 25 22:40:52 2025 +0000 Commit: Ben Kohler gentoo org> CommitDate: Sat Jan 25 22:41:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=898699eb net-misc/dropbox: add 216.4.4420 Signed-off-by: Ben Kohler gentoo.org> net-misc/dropbox/Manifest | 1 + net-misc/dropbox/dropbox-216.4.4420.ebuild | 109 +++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index f5744007495f..1e27bf51eec2 100644 --- a/net-misc/dropbox/Manifest +++ b/net-misc/dropbox/Manifest @@ -1,3 +1,4 @@ DIST dropbox-icon.svg 574 BLAKE2B a73a0906b5b03dc3214010736164fcdbceb6d91463ed95133b5117277cd635c8a77ec3e7ca8338538e5a6a2c4a23f3ef0186184bc1dc770b3c7f3a219f00faa6 SHA512 cd7ad8fea652f0713a00e7fbd88d6c22949dde216040f2ba7c903db70cb6c5c9ec85202831c0863c3bb2cf339b4ea0c6731d7b2d56750b63a4f36160815e4346 DIST dropbox-lnx.x86_64-214.4.5217.tar.gz 112333087 BLAKE2B e787a4a26e7f5cdf26aea10d1d13799751231534a94893e39a2537a1bb85c64dba4b5ace222885c5b754bf7a27c49c5b0433551854b3395e5b67cf00300a79db SHA512 0cd69a509909592073e00a784e71a4a38c15441b8ca9a39167e5701a08c3d8d7f1e7bdec90b4211dc6ab0ca79f35f77f2a9f734a1c23bff63b81068b51cce163 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 diff --git a/net-misc/dropbox/dropbox-216.4.4420.ebuild b/net-misc/dropbox/dropbox-216.4.4420.ebuild new file mode 100644 index 000000000000..afc5b3e0496e --- /dev/null +++ b/net-misc/dropbox/dropbox-216.4.4420.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" +}