From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1437533-garchives=archives.gentoo.org@lists.gentoo.org> 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 10F59158094 for <garchives@archives.gentoo.org>; Mon, 19 Sep 2022 13:17:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 386C8E0826; Mon, 19 Sep 2022 13:17:41 +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 1D665E0826 for <gentoo-commits@lists.gentoo.org>; Mon, 19 Sep 2022 13:17:40 +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 013C0340DB4 for <gentoo-commits@lists.gentoo.org>; Mon, 19 Sep 2022 13:17:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FB905D4 for <gentoo-commits@lists.gentoo.org>; Mon, 19 Sep 2022 13:17:38 +0000 (UTC) From: "Ben Kohler" <bkohler@gentoo.org> 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" <bkohler@gentoo.org> Message-ID: <1663593467.f995f1f832c3cfa39a7e575ac73b675992f3bbe1.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-157.4.4808.ebuild X-VCS-Directories: net-misc/dropbox/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: f995f1f832c3cfa39a7e575ac73b675992f3bbe1 X-VCS-Branch: master Date: Mon, 19 Sep 2022 13:17:38 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1077cae9-20ae-4356-8609-a157c2492146 X-Archives-Hash: 03bee860d526e9fb230be1aebc5629a5 commit: f995f1f832c3cfa39a7e575ac73b675992f3bbe1 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Mon Sep 19 13:17:33 2022 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Mon Sep 19 13:17:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f995f1f8 net-misc/dropbox: add 157.4.4808 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> net-misc/dropbox/Manifest | 2 + net-misc/dropbox/dropbox-157.4.4808.ebuild | 110 +++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index d5d30037f7d2..e62934079f50 100644 --- a/net-misc/dropbox/Manifest +++ b/net-misc/dropbox/Manifest @@ -3,7 +3,9 @@ DIST dropbox-lnx.x86-155.4.5493.tar.gz 110570231 BLAKE2B 6ca25cf885b62d8cec01b88 DIST dropbox-lnx.x86-155.4.5495.tar.gz 110572454 BLAKE2B 88e6bcb42bf21eb72f9d9db2082228d08be2956134091c5eb88eab8a8c9967391cf89e5722435ec91158edfbcfdfed3f8c5329d677eee90caa8f4ce576e197b2 SHA512 0b7bb6cdb0fb60f4ec28779d4e080d73b9a15a79a973c3530d4524f2603785bef4542b48e9ca8302febc97bf777b6ba6722709dff5301d8e18779d3afac3dccf DIST dropbox-lnx.x86-156.4.4908.tar.gz 110729407 BLAKE2B 80d87e531ebe755bb6f9ecd5f5d3e687b032d054136bce1820643dc137f60af0b089bf03f45e3ad1982382d740b3887c06ff0af39440876a8cacc2938be1c103 SHA512 d2066a48b76684feafca28ba290096e7ee4e86e0c1199b8f82fa9af3190825ee3a9842ded695fcb6b6166cecfab257990324dfaf54bcd173fca5173117f7542b DIST dropbox-lnx.x86-157.4.4801.tar.gz 110763794 BLAKE2B a1ea3dbf238ba02b7942fbade9568e27d81691838ed317167e2cb47092e0ab8738d07aec6e2fa5a54f5b5e53cea545b4d522de30e2edfbeb74d21cef1a6b2a66 SHA512 f8582fdaeeac7c303acbaf92a4e7093920f1223dda8ca1002d033fb7096d8a4abe931c5d7b9b8224285481b497c09409ad3d559a3a70c102d10408fac890f610 +DIST dropbox-lnx.x86-157.4.4808.tar.gz 110762632 BLAKE2B cb8044f70f2c655a0ba3fc67f05cb41524331f807d08ff0d52370fb950232ccb72df7029ec84fc18b09e5adc22f82bce2a49f38970a7d1ad9b8bd62defb8ca99 SHA512 6fd109dd306fd446247e7e44daabca3467afbf7ec62a705347ab316aad376f28f653ab3bfb00b37948d9a4a59511efd24b29cda33c5c691eb140778078506737 DIST dropbox-lnx.x86_64-155.4.5493.tar.gz 112165525 BLAKE2B 20688e9a7afc3cf0ffb8bd2184227b46f9303ad74886ea66e8c4c2dafc2d910595163792ca0da409ae16dbca524e3d72f3e11180a2aa70207c3b9ddb5f6fcc29 SHA512 41bc6a2275dee1eb9b5446f2ca6f1270ee521ddc19696cd7f7bc317f952bc96f6afd6dd03c06ded4b9c4971de5aba0633cdcc0c85e0f51edd934eabf58867695 DIST dropbox-lnx.x86_64-155.4.5495.tar.gz 112169870 BLAKE2B a62ef8a7e64d7182b2da9b3198ff1d98e7ed551736bc0992fee142839a5ba918bfa6abbd9745675838ddee57eaf49e513038cc69fff24139f9c659c717a5c1b2 SHA512 70f571b949b588abb63f27334aa719de00502c5ba6e6ab8fdaa09d65355d1c374e673bfbc304f62e7f59fbb67201e24e31d776ee2124997a3c1ada1f5c8e12d5 DIST dropbox-lnx.x86_64-156.4.4908.tar.gz 112305517 BLAKE2B f5c61563c620e15f97408b23acea791c3f34a6e324a93bada471d39ac7ab3b2fbfe3f9125b1a584e1ec3543a36f27e3c15beb2a38f19f9066a16aab85377c178 SHA512 2e7aed5d55d57150aaf5ceb875635516736d96dc1a527638c169ab1f3c637587296e3a0667de5bf12c241eb4d2f78ff903dd100023d560c785881fb26502302d DIST dropbox-lnx.x86_64-157.4.4801.tar.gz 112343678 BLAKE2B a76d2409297bab3df7a3aa9ddffbefd0bf155cb901e0d7f6de6edb3e5c40de63b2667272cc42bc9d81fe1dbb17224422fa7c55235b1a0b9eff815f2aa3ff4a58 SHA512 76e9cca889f744f8dad7aac701789e73fdfa5742faf207c0e6fa1d16fbaf7d16f7fa628e314ad5473658a14d945d3bb4af6037979a6a04f006d29fa569bb9a1c +DIST dropbox-lnx.x86_64-157.4.4808.tar.gz 112343232 BLAKE2B 21c478f8d4775823893236887ea8bb9a63bd793c56688b3f478c951fcb031efafc2c48747042beaa4898cdcbabd773e0b6faf42fbb7fc91d94a8ea86aa6a3819 SHA512 53a94c60ba2a7a97b02e35ab7bd9a9374763e023220c2f07313f7619eedfa65f4be93e342626e574e9e505b03b11f60dcd6bf27197a6c94231b689e1aa767fdb diff --git a/net-misc/dropbox/dropbox-157.4.4808.ebuild b/net-misc/dropbox/dropbox-157.4.4808.ebuild new file mode 100644 index 000000000000..8b2419b74a06 --- /dev/null +++ b/net-misc/dropbox/dropbox-157.4.4808.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" +}