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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 07D4C15800A for ; Thu, 17 Aug 2023 16:39:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2694C2BC013; Thu, 17 Aug 2023 16:39:09 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 088372BC013 for ; Thu, 17 Aug 2023 16:39:08 +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 9C7FB33BF28 for ; Thu, 17 Aug 2023 16:39:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E6758DBC for ; Thu, 17 Aug 2023 16:39:05 +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: <1692290334.bd80b7cedb04edfd4ab61760766d7ecca21924c3.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-180.4.4912.ebuild X-VCS-Directories: net-misc/dropbox/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: bd80b7cedb04edfd4ab61760766d7ecca21924c3 X-VCS-Branch: master Date: Thu, 17 Aug 2023 16:39:05 +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: 85df5e4e-c86f-4cbc-8765-b9c830dc1d7d X-Archives-Hash: 8ec89c54381f0d6b49eda639bf4df62a commit: bd80b7cedb04edfd4ab61760766d7ecca21924c3 Author: Ben Kohler gentoo org> AuthorDate: Thu Aug 17 16:34:12 2023 +0000 Commit: Ben Kohler gentoo org> CommitDate: Thu Aug 17 16:38:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd80b7ce net-misc/dropbox: add 180.4.4912 Signed-off-by: Ben Kohler gentoo.org> net-misc/dropbox/Manifest | 2 + net-misc/dropbox/dropbox-180.4.4912.ebuild | 110 +++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index b02ae9b85325..bce847da712b 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-177.4.5399.tar.gz 111456140 BLAKE2B 0406f2d7b24134c95a21eee79e0912862edd767bb60394bac7cbf56a9ee3e4036e8615462772adfda90a7de802663ccdbb2b7f61628ab4a3ed7eed32fb2dd2f9 SHA512 80c0ac085f3662b05007a50b680259d96c7a0ef10efd29b31d50b7444dadf8a6403c2e5a78454bcdc6a418307b3ebc837c7e1da7348997fbc8f427fed39ce33e DIST dropbox-lnx.x86-178.4.4811.tar.gz 111867240 BLAKE2B 2470124fa11e782553ddd203a3f198e67a714f95b19b3657cd17547b68864caac287f5d1f197ab52be6cc0ff84cc6ba3ae1f7ca816374c489d8acc12d2875229 SHA512 c9ddacd1bce0fc24d56ab497df85969f0a7c793681a3f69ad737339e44bfbf4657b1288117d9c8554903b60b110298bbd47c0ed0142f8a5714bf95f57d9e4fb1 +DIST dropbox-lnx.x86-180.4.4912.tar.gz 112659998 BLAKE2B d55fc37acef65da3edc786930b42b993ba81a03215fd8cf2f4025c697af826d97214605955cebf4cf137660f9c48f2809c8dabad34ae52849f4f05d517ba6c3f SHA512 8b4160af9f6f24bd33dca57e604367f4131dc071044f91ce16d377e7cc7d72857500e212e5873d093477b832b0ce2205508d28e7116359b71f51ab30feffc92d DIST dropbox-lnx.x86_64-177.4.5399.tar.gz 113102362 BLAKE2B a478165bbf5725d38f75252ff4fe8b5dd79551a791cc80529dcc422b03e725bf44bcb8873d9ff96bf928683ea2713d343d8fa70d9137b0fe479a92a9d30f3e7d SHA512 a5be63ac35aaa5837951d4989e0ae643560faafda7a077b303d239b5454b557cfe4bbefa3e9a4c8d3c740710734fb47ef96c64c636ce359af680405acdc13520 DIST dropbox-lnx.x86_64-178.4.4811.tar.gz 113484884 BLAKE2B d55e1d8ed52bdf8fb7d766a05f96bb1087684ca7e91f795bc667949440e2d2ffb61a4974561cdc7b4032492056a9672d89c718d28c772fd70f4e1490eb07f5d6 SHA512 946370139160787f5e7b7e96d5ed546d43501db392e7b43dd25bb6aff1b35f359d8e753da1b23b6e1c9d886043b24a78ccca965e8e8f8cf24805bf6cb3215155 +DIST dropbox-lnx.x86_64-180.4.4912.tar.gz 114173215 BLAKE2B d25e581ee1b134d956efbda366045823259e531db0482aa50fa139b866d1f1a21e9f17e91ea3cf1e1e1fe1e03fdaa4127131731e4654d86c593eafe6f6907b83 SHA512 011cf1c2eb38838cbcca809684334edf3921b3bde865b49fb9b301e09625428b922ec146070ca300a8d0ee5a08a080abfe7139b507bf6bef46bb14b6df347730 diff --git a/net-misc/dropbox/dropbox-180.4.4912.ebuild b/net-misc/dropbox/dropbox-180.4.4912.ebuild new file mode 100644 index 000000000000..e1949fb60f88 --- /dev/null +++ b/net-misc/dropbox/dropbox-180.4.4912.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2023 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" +}