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 B12E9158094 for ; Thu, 4 Aug 2022 12:36:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2AB9E098A; Thu, 4 Aug 2022 12:36:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B0B6AE098A for ; Thu, 4 Aug 2022 12:36:33 +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 8B73733E622 for ; Thu, 4 Aug 2022 12:36:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3BDD55A for ; Thu, 4 Aug 2022 12:36:30 +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: <1659616585.47cdce464e34d27c67d6d8b482c725e30d7c4135.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-154.4.5363.ebuild X-VCS-Directories: net-misc/dropbox/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 47cdce464e34d27c67d6d8b482c725e30d7c4135 X-VCS-Branch: master Date: Thu, 4 Aug 2022 12:36:30 +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: 2c6d31fd-8364-474a-89e4-831832a163ad X-Archives-Hash: bc591cadeee0396b7a0c79e33a951c3c commit: 47cdce464e34d27c67d6d8b482c725e30d7c4135 Author: Ben Kohler gentoo org> AuthorDate: Thu Aug 4 12:35:02 2022 +0000 Commit: Ben Kohler gentoo org> CommitDate: Thu Aug 4 12:36:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47cdce46 net-misc/dropbox: add 154.4.5363 Signed-off-by: Ben Kohler gentoo.org> net-misc/dropbox/Manifest | 2 + net-misc/dropbox/dropbox-154.4.5363.ebuild | 110 +++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index 1e0e3c5d7716..ed4c7e718bf8 100644 --- a/net-misc/dropbox/Manifest +++ b/net-misc/dropbox/Manifest @@ -1,5 +1,7 @@ DIST DropboxGlyph_Blue.svg 605 BLAKE2B 6c488bd261293b22da98035935ddfa9247bedbc6f4da2f9fc2470af802c1f4f597ac88b01b5bef9e77e1e717267f633d6a04af2ccfd3c5f9dbff22fbceaf9a91 SHA512 9202344b904dcd7955e5a355dadf537d1544140d74f8a33bdc40e18e36661e3a474d11cf17613eaebf4e76c170d8413d99abdedfb8635784bcd6892b4b259712 DIST dropbox-lnx.x86-152.4.4880.tar.gz 104241545 BLAKE2B 9564ce288aaec193142b203edd703498f72c7c21cff33a0b3a3b6450fe45d03cec375017e3805d84b604431ae427b63ddec605aba6fd64e3d1a6cc8516f35a5a SHA512 db305c224d29eb5c053bc535ab7f20ca43cfc85bd73972feae38ab4a7b0f1261c1e6a0b18840a4ebff7ce75119a02f78114a1b12a7115ccea6958702e331ab76 DIST dropbox-lnx.x86-153.4.3932.tar.gz 104494686 BLAKE2B 5b6b0619c38d4c1ee802b531bdbc07471f0dc0dedb14f17e76743c691ad547bd5305f414acce4611cc58157f3c6754d5f1528b6b464973f14dbd7da04d171eb1 SHA512 560cd1ea7c2b62aff35962dac0f536fa524b28cbf215c09c011e274a2de72e603a956e663bfdfabb2471625b60cb9cc5651fcfd94ffe8ef3d809db49c81c50a6 +DIST dropbox-lnx.x86-154.4.5363.tar.gz 109668134 BLAKE2B 633f03d4bef7aa5ba739f347b8b22a60290b84442378b0aa590e4b8e8a89589b3d5bfc8bacb252dfe3a5c6b5d8165fd5590f77ac84633195f785d43f6f12f5a6 SHA512 dbc3fac256a2dcc33d1400c56df3825a05b122684afa393d050771361ba60460db3cd4cea4f2dbaf80aaebfb802beae761c3c3527eaa5305c4906b7adf46f089 DIST dropbox-lnx.x86_64-152.4.4880.tar.gz 106098480 BLAKE2B ac28503b6e5e41521466658704ba7d69f8e9786dc366fbe93b0f69de869c5272ce6202c6bc5a8b757796c3d11537363dc47cf8d5b18edaf4ad94ab2d8f68ca1c SHA512 5f4f8c377f046bf35fac4c386528f487d5996a55d84b1e0ed018bacf1e5c20844cb8626e87a41925da7f423c9118dc9f606085103270162ae5bd237f868fde80 DIST dropbox-lnx.x86_64-153.4.3932.tar.gz 106353970 BLAKE2B eea6685eeefc7a532ac5697e32ca9ce9017872e4fbf928f6a24137160767e1315eb999deba6fdf0c7b3ae4df31aa827ad890a072bef79ce45c4bb50af9e624af SHA512 64d97316d3094341f2b661123c5bb4e42ea12a1270c9672fb29f8e365f27d40982878ac8b3a851fb65b604d5ddfeca3ec1a7f3c56299e6a46e7dd70f6bf656d5 +DIST dropbox-lnx.x86_64-154.4.5363.tar.gz 111278830 BLAKE2B a7866826cd09aca55d5d30c769124e9e588ad49f8134f873504bd360d5a9fe73993ffb3b7507ce147a1ee45e8990c52de918fca22c89353c6b095513ecd8e216 SHA512 654b4b553f0fb6d040e492bef9763dbbbc4ecd0d903b0a136709072c72d361f98f0f734c5922a3ed274f592ae7e1c4420c28118fe419544b9193e3864a015fc9 diff --git a/net-misc/dropbox/dropbox-154.4.5363.ebuild b/net-misc/dropbox/dropbox-154.4.5363.ebuild new file mode 100644 index 000000000000..0c3e0f739306 --- /dev/null +++ b/net-misc/dropbox/dropbox-154.4.5363.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" +}