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 EEBA8158020 for ; Wed, 12 Oct 2022 14:10:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23391E095F; Wed, 12 Oct 2022 14:10:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 08C35E095F for ; Wed, 12 Oct 2022 14:10:32 +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 34A1F340E3C for ; Wed, 12 Oct 2022 14:10:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8081C523 for ; Wed, 12 Oct 2022 14:10:29 +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: <1665583813.44ece71cd4272d2095f98014af3040c694db565a.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-159.4.5870.ebuild X-VCS-Directories: net-misc/dropbox/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 44ece71cd4272d2095f98014af3040c694db565a X-VCS-Branch: master Date: Wed, 12 Oct 2022 14:10:29 +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: 90dc6358-a6a7-45ed-b635-78c010962167 X-Archives-Hash: 395e4e49ebf88e110d7850b32ca7cb3b commit: 44ece71cd4272d2095f98014af3040c694db565a Author: Ben Kohler gentoo org> AuthorDate: Wed Oct 12 14:10:13 2022 +0000 Commit: Ben Kohler gentoo org> CommitDate: Wed Oct 12 14:10:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44ece71c net-misc/dropbox: add 159.4.5870 Signed-off-by: Ben Kohler gentoo.org> net-misc/dropbox/Manifest | 2 + net-misc/dropbox/dropbox-159.4.5870.ebuild | 110 +++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index 851df15c42c8..7d792842079e 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-157.4.4808.tar.gz 110762632 BLAKE2B cb8044f70f2c655a0ba3fc67f05cb41524331f807d08ff0d52370fb950232ccb72df7029ec84fc18b09e5adc22f82bce2a49f38970a7d1ad9b8bd62defb8ca99 SHA512 6fd109dd306fd446247e7e44daabca3467afbf7ec62a705347ab316aad376f28f653ab3bfb00b37948d9a4a59511efd24b29cda33c5c691eb140778078506737 DIST dropbox-lnx.x86-158.4.4564.tar.gz 111069802 BLAKE2B 22666a1fe191624851a74badf2cd4a227299acb49d1bf9bf207b2342f273612ac846b07b7389eb45a2046632766790e7060f7eb0c7ae11f01a14f2059a2440a8 SHA512 23bedc48f0b6103a16519fd09d9f63b5210d875ff6f1a0f73ec112e06d96f921817d52a6e0090e033756ea38a774d8d8fe0a4e4eb94baae3fdd8d1b23aa833ed +DIST dropbox-lnx.x86-159.4.5870.tar.gz 111245993 BLAKE2B 3d463e9e729d685fa4bad912ae51988a343abcc0c7a01156ce7d305107754465983c443e7b9500afd321a8b802a2e42e4dba410d9b5a9082b492aa9b751d82ab SHA512 db2268235dee7a756c6127051fcd4aaf2b1284eed8469dcd3cea90be97d475403804115f3d22b44cb98845fb7de18db1aa0737425ac5a8cfbe88216f8c431131 DIST dropbox-lnx.x86_64-157.4.4808.tar.gz 112343232 BLAKE2B 21c478f8d4775823893236887ea8bb9a63bd793c56688b3f478c951fcb031efafc2c48747042beaa4898cdcbabd773e0b6faf42fbb7fc91d94a8ea86aa6a3819 SHA512 53a94c60ba2a7a97b02e35ab7bd9a9374763e023220c2f07313f7619eedfa65f4be93e342626e574e9e505b03b11f60dcd6bf27197a6c94231b689e1aa767fdb DIST dropbox-lnx.x86_64-158.4.4564.tar.gz 112619595 BLAKE2B 432083753481e90edc0ecd953c364a5baba65821d329e56a72766f66d7c0f9d198e6181574fb48b6203e91f499b03a1fbc74d4488812a557ad78727e4e444e35 SHA512 ac1663d36a2eec6a9846a7b798f48edd063d5483b8bdc7f5376b7277e6994f36b6c10b92ce3fff61445d58ea7a7a98f254c337c7266bf180c35402a95410e586 +DIST dropbox-lnx.x86_64-159.4.5870.tar.gz 112731678 BLAKE2B e13ae4ab1579ea0fa8f01821d016502ac7934b66dfb85eb207d06866cf3cbcf229bd1559eee284898be2db1df01c643c7c0bc8854c3404a64ab63577542686e0 SHA512 ab82e3c30f7d9ae212bc56c1e3814bfa2d62ea45dff6fb06e9b18cc52ede961acccd23c4836d2ed2f856d89a1dcf5903f23ee769660253022cd8bcc18bc080ed diff --git a/net-misc/dropbox/dropbox-159.4.5870.ebuild b/net-misc/dropbox/dropbox-159.4.5870.ebuild new file mode 100644 index 000000000000..8b2419b74a06 --- /dev/null +++ b/net-misc/dropbox/dropbox-159.4.5870.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" +}