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 B5D6D158020 for ; Tue, 8 Nov 2022 13:14:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 973ABE0901; Tue, 8 Nov 2022 13:14:01 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 759CBE0901 for ; Tue, 8 Nov 2022 13:14:01 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 80771340F66 for ; Tue, 8 Nov 2022 13:13:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 135266D2 for ; Tue, 8 Nov 2022 13:13:58 +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: <1667913230.4ec67e990f87dd4eed792308a377bfd3b0eddc82.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-160.4.4703.ebuild X-VCS-Directories: net-misc/dropbox/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 4ec67e990f87dd4eed792308a377bfd3b0eddc82 X-VCS-Branch: master Date: Tue, 8 Nov 2022 13:13:58 +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: a44826f0-d13b-4da3-983a-a54a416bc0e2 X-Archives-Hash: 2e8a38dc3a88f65a5ae4f048e0f09b4e commit: 4ec67e990f87dd4eed792308a377bfd3b0eddc82 Author: Ben Kohler gentoo org> AuthorDate: Tue Nov 8 13:13:29 2022 +0000 Commit: Ben Kohler gentoo org> CommitDate: Tue Nov 8 13:13:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ec67e99 net-misc/dropbox: add 160.4.4703 Signed-off-by: Ben Kohler gentoo.org> net-misc/dropbox/Manifest | 2 + net-misc/dropbox/dropbox-160.4.4703.ebuild | 110 +++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index b624c463e6e7..d77693ef0ad6 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-159.4.5870.tar.gz 111245993 BLAKE2B 3d463e9e729d685fa4bad912ae51988a343abcc0c7a01156ce7d305107754465983c443e7b9500afd321a8b802a2e42e4dba410d9b5a9082b492aa9b751d82ab SHA512 db2268235dee7a756c6127051fcd4aaf2b1284eed8469dcd3cea90be97d475403804115f3d22b44cb98845fb7de18db1aa0737425ac5a8cfbe88216f8c431131 DIST dropbox-lnx.x86-160.4.4696.tar.gz 112260937 BLAKE2B 316c8a66f911bb7498e041866d31f73f977a6d66ac7ff8f311bfc076b0b4b8262fcbfa19f65acfd7f8651b74aaa58bd52afa38169bcb919d94f00be6539306fa SHA512 8f11a9c1586a794737d9fff9b458988c5eb2ea1c97b9f314ca7e7e0c1cdcea57e57ed23af4a3da923a725494ab5885c354a5a46400579def96a86d99370d29cb +DIST dropbox-lnx.x86-160.4.4703.tar.gz 112263612 BLAKE2B 8dcd3b202e75010d802317ee4f9a84ff6608466f27e09d5c63eabc41da5fff2421d340a4effad887d447b259643af5dfbc70b6d5847b28ba88b7447fb1b14af1 SHA512 a510578acee99eb9ecddad01a1da05b0b2820903b9015062201cd0a982dd7dd7590dde3783bc6430b860f817863052dffe15b10dd71a020461e42112d8f43f41 DIST dropbox-lnx.x86_64-159.4.5870.tar.gz 112731678 BLAKE2B e13ae4ab1579ea0fa8f01821d016502ac7934b66dfb85eb207d06866cf3cbcf229bd1559eee284898be2db1df01c643c7c0bc8854c3404a64ab63577542686e0 SHA512 ab82e3c30f7d9ae212bc56c1e3814bfa2d62ea45dff6fb06e9b18cc52ede961acccd23c4836d2ed2f856d89a1dcf5903f23ee769660253022cd8bcc18bc080ed DIST dropbox-lnx.x86_64-160.4.4696.tar.gz 113731395 BLAKE2B 6cef84e8321428c02d38c557da375c5fcea680cf59452c9c9af66910d362a3001c3d5c34a1ceec79865967ed207eadb350fa0e3d29af0959cb69253d7fbb777a SHA512 70818ca01042951b7a5908c06b2187aa961c616898d507b2a60ce926cf235f6f6b93cd7d1c1f5ad37c589ff0d164c1d8b1db72a2b8732c4c9050d32d0a4e83b9 +DIST dropbox-lnx.x86_64-160.4.4703.tar.gz 113729733 BLAKE2B bcec2fb5777025e31f1f52f7c9313675eddd6e4d4a47df0da735dd2a48e016d9d588a7ec299d3d6c1a2e26fe3e0ade20dc99c29c38f42a0a5c0b3529e83c1e2f SHA512 b70afe7890f9f8b7be67d77a1ebb344e7ef9f6227d7b41419ccbe98f8ae36c37b01f3bcf047f79c16504218cdf220ebd0caa409f19f8611a96ab228d883d2c20 diff --git a/net-misc/dropbox/dropbox-160.4.4703.ebuild b/net-misc/dropbox/dropbox-160.4.4703.ebuild new file mode 100644 index 000000000000..8b2419b74a06 --- /dev/null +++ b/net-misc/dropbox/dropbox-160.4.4703.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" "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" +}