From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B46A115808E for ; Wed, 27 Apr 2022 14:36:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCFD4E0802; Wed, 27 Apr 2022 14:36:24 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 80067E0802 for ; Wed, 27 Apr 2022 14:36:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 4931934157F for ; Wed, 27 Apr 2022 14:36:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 819413B5 for ; Wed, 27 Apr 2022 14:36:21 +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: <1651070166.a2a84a1792d462d7ebbf336516ea7515cd37a830.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-147.4.4800.ebuild X-VCS-Directories: net-misc/dropbox/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: a2a84a1792d462d7ebbf336516ea7515cd37a830 X-VCS-Branch: master Date: Wed, 27 Apr 2022 14:36:21 +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: 60e2f98c-4552-4b3a-af9c-7d6aed8f57e1 X-Archives-Hash: f69de909565afe8608f1052b35d5281e commit: a2a84a1792d462d7ebbf336516ea7515cd37a830 Author: Ben Kohler gentoo org> AuthorDate: Wed Apr 27 14:36:06 2022 +0000 Commit: Ben Kohler gentoo org> CommitDate: Wed Apr 27 14:36:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a84a17 net-misc/dropbox: add 147.4.4800 Signed-off-by: Ben Kohler gentoo.org> net-misc/dropbox/Manifest | 2 + net-misc/dropbox/dropbox-147.4.4800.ebuild | 110 +++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index 05d1ee722e42..21ec151f58d1 100644 --- a/net-misc/dropbox/Manifest +++ b/net-misc/dropbox/Manifest @@ -2,6 +2,8 @@ DIST DropboxGlyph_Blue.svg 605 BLAKE2B 6c488bd261293b22da98035935ddfa9247bedbc6f DIST dropbox-lnx.x86-144.4.4491.tar.gz 102606173 BLAKE2B e662ffac51126b1541a448a32aa4885e4a9a300a48cda79b2cd26e9edcdc53c2cf76dd1e03be4bc7d44d2a7c11e2b7f32d2b89af6ded4c650af8f05ddd865753 SHA512 ed040ddc8883877dd28966691ac068e26cc57a89d9cd9c364b005afb6057c025ec7182f341e1d8c7c2edb1d65ad7ab71a8f39c17e2dcbf73a5af6eba1275986b DIST dropbox-lnx.x86-145.4.4921.tar.gz 102627045 BLAKE2B a048bce81530d3874f4139e6e98e787f4e2242da830b5a5a43e6ec5f5502ad91bd90bfd25d2068895d18487b516cbd1e35c2fc2cfee9a50f15aca20ea48f8f6b SHA512 3bc7059e5387862c9ccc720f620d7aa47b594c78360f7644b5312659056cbca7cd345c0ee784b4de20c2bcd5f47958a64cc0e0eb63200bdfa8b73e6c06156f0a DIST dropbox-lnx.x86-146.4.4836.tar.gz 102846504 BLAKE2B 4f15e811b24a9f4dc64344c68ef8d474afa9d0a0d75aaf17429dec80d6f72e5e77523bb169e01148ee28ee352e68cb497cdcee9381198e299df225cf6bf2d388 SHA512 1f183026fec89d69a739c97aad7c8c94fd4b51fd0db639d883a2ab6866a5b06ed7ec84ff84394bcc03fee44c37409cbbea46e3382c181c3f311d565a94797fb3 +DIST dropbox-lnx.x86-147.4.4800.tar.gz 102214911 BLAKE2B a35086b6787cf442a326d1f6a3e6bd1d453a6d76817ece33f9a43d6d35182b20c343eafded7a6023b37267fc2c3b99896e28f7913ed18f5541fe107b0235cbe9 SHA512 16b40b080ce0b97d0d3da86543a31f07331d27ec42dcf0c06a3632c4e5448ea11f4e2471f3796729de20d13af4bfbc0bf65ae1993eb592f0b170ab44fa441b62 DIST dropbox-lnx.x86_64-144.4.4491.tar.gz 104875474 BLAKE2B 42dd986edcf1ae6b709f0a52872219618d771636dccd6f4d0ff0abd7302c8d9358ed0cc6f6f26fb007633a9696f6119c7aac80f631f6687203cd8ed85760f8e4 SHA512 4bef381d4ab177325cd089a854942814b8a7efd553b4f71980c17ea1312d8e9c9a64662ab6a99626254e50a195c2c66f5fc92f465f12881cbd4e89618e120d89 DIST dropbox-lnx.x86_64-145.4.4921.tar.gz 104888508 BLAKE2B 11a91e4c0da4066e4d18daaf5e066c141bb480811a54e3aab8b7c6ef3a96faaee40d5d7007c871de7cc1bd5f402a03c2586de49a13ff2ce75d5bf1dbf120d1bd SHA512 f3f8805c7f98f5bc0010545be2daa9d8713253a5391494537b5c2a8e010b605f50a32ebf1dff473ce6e8768e5350a8b62310541197de24b44a4c5c2295d43c30 DIST dropbox-lnx.x86_64-146.4.4836.tar.gz 105115149 BLAKE2B dc55f0068d8e98aa806c94fbe3cd21f03a70a4a6bd842ac15acdb4fc9bc6136a663adb1c790bb0ef14724f80076355a9306fac6856fa01e6bc8c165887956d4e SHA512 4e55564295d6770d3bdd731157cede187dcbd54b42436616a024b22b067210f16d2eb280e9b2afd73e00ff13d2b0b2bfd5ad26b6eabf83062d85135107893fd4 +DIST dropbox-lnx.x86_64-147.4.4800.tar.gz 104476319 BLAKE2B 0bb282285df72bed5da4134b22500f0d3ee649d0b7902c3016288914bf331c40e6704fcbde7de21215ca93500f559f32fb503025f2d18832962650ad85ce6e74 SHA512 f54d083d901f0cb2ab53e5fc735f4fd69eb9bce87b5177c2ef9ba54913bab1d286ccd57f7ae13bc09b8dc7482a4209fc9ad792c9f74d550487daee311319c247 diff --git a/net-misc/dropbox/dropbox-147.4.4800.ebuild b/net-misc/dropbox/dropbox-147.4.4800.ebuild new file mode 100644 index 000000000000..0c3e0f739306 --- /dev/null +++ b/net-misc/dropbox/dropbox-147.4.4800.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2022 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 ) + https://www.dropbox.com/sh/42f8d4kq6yt5lte/AAD69lhaw6gy46W8HfQAm0GSa/Glyph/Dropbox/SVG/DropboxGlyph_Blue.svg +" + +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 + 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}/DropboxGlyph_Blue.svg" dropbox.svg + fi + + 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" +}