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 A355F15808B for ; Thu, 24 Mar 2022 18:15:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64762E0814; Thu, 24 Mar 2022 18:15:45 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1091AE07C9 for ; Thu, 24 Mar 2022 18:15:45 +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 CBD413431AF for ; Thu, 24 Mar 2022 18:15:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 35F0C334 for ; Thu, 24 Mar 2022 18:15:42 +0000 (UTC) From: "Marco Leise" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marco Leise" Message-ID: <1648064918.601527242dcc1c78c6ba3fd133cb61ab38c972ba.mleise@gentoo> Subject: [gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/ X-VCS-Repository: repo/user/dlang X-VCS-Files: net-misc/onedrive/Manifest net-misc/onedrive/onedrive-2.4.16.ebuild X-VCS-Directories: net-misc/onedrive/ X-VCS-Committer: mleise X-VCS-Committer-Name: Marco Leise X-VCS-Revision: 601527242dcc1c78c6ba3fd133cb61ab38c972ba X-VCS-Branch: master Date: Thu, 24 Mar 2022 18:15:42 +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: 2fa3626f-c2e6-480c-9a1a-be11d51c6579 X-Archives-Hash: a3ab15b33bda7ecb26a368a566968cba commit: 601527242dcc1c78c6ba3fd133cb61ab38c972ba Author: Niko Böckerman protonmail com> AuthorDate: Thu Mar 17 15:32:15 2022 +0000 Commit: Marco Leise gmx de> CommitDate: Wed Mar 23 19:48:38 2022 +0000 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=60152724 onedrive-2.4.16 Signed-off-by: Niko Böckerman protonmail.com> net-misc/onedrive/Manifest | 1 + net-misc/onedrive/onedrive-2.4.16.ebuild | 64 ++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/net-misc/onedrive/Manifest b/net-misc/onedrive/Manifest index 869711c..85abf8b 100644 --- a/net-misc/onedrive/Manifest +++ b/net-misc/onedrive/Manifest @@ -1,2 +1,3 @@ DIST onedrive-2.4.12.tar.gz 1034187 BLAKE2B 5c9bf0a4c9fbf966762bee68f83af62021910d26052c258d8c805c9628f76d91181a56b2eb32bb1d8ad2d5c449d1bfb848a2b33e73c9b6ab92d0216abea89ff9 SHA512 e870b85716a1d86c4b589daeb790006e8b15fe83064337be73eb985f821a476f172fef4e7372b6f953190243a117fe71c959afae0039ee81b0ad2151317d93d2 DIST onedrive-2.4.13.tar.gz 1036028 BLAKE2B f11d750c3e9b452a997c0aaa260f072b1614fadf6eb50d8b0524752fd8340698fd4fa6b9678a92a95f9237454d40bbfc97f7de04665ceb40ce5e85bbd0aa5047 SHA512 6861c01d996ede667f0cb622038ad714a060cd2bc1c78f650cb6bcc9a671879f0ef675519db83a46668ce41bf7b71ef36157e2a1c7786e7b97d0e9153abf704c +DIST onedrive-2.4.16.tar.gz 1139304 BLAKE2B 403d978d3830ea690faaa59df93d489636f0d4c085169755a50ecb2ec2e84d78d28a8a3eb2fb6fde1a2464726a45cc2bc4b0aa37ef5fab2aa0ac6eca04dd4bd9 SHA512 49100664d57e30c778923dea30afb7842cc978b5407114a39403624f9a4e1fc8b631a3da45f32dea77b4146e1f36e3b48ba72f055a8fb8b3656a455144555fa7 diff --git a/net-misc/onedrive/onedrive-2.4.16.ebuild b/net-misc/onedrive/onedrive-2.4.16.ebuild new file mode 100644 index 0000000..b3fdc55 --- /dev/null +++ b/net-misc/onedrive/onedrive-2.4.16.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Free Client for OneDrive on Linux" +HOMEPAGE="https://abraunegg.github.io/" +LICENSE="GPL-3" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +RDEPEND=" + >=dev-db/sqlite-3.7.15:3 + net-misc/curl + libnotify? ( x11-libs/libnotify ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" +SRC_URI="https://codeload.github.com/abraunegg/onedrive/tar.gz/v${PV} -> ${P}.tar.gz" +DLANG_VERSION_RANGE="2.087-" +DLANG_PACKAGE_TYPE="single" +IUSE="debug libnotify" + +inherit dlang systemd bash-completion-r1 + +d_src_configure() { + # LDC is supported without wrapper + if [[ "${DLANG_VENDOR}" == "LDC" ]]; then + export DC=${DC} + export DCFLAGS=${DCFLAGS} + else + export DC=${DMD} + export DCFLAGS=${DMDFLAGS} + fi + econf --disable-version-check --enable-completions $(use_enable debug) $(use_enable libnotify notifications) \ + --with-zsh-completion-dir=/usr/share/zsh/site-functions \ + --with-bash-completion-dir="$(get_bashcompdir)" \ + --with-fish-completion-dir=/usr/share/fish/completions \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ + --with-systemduserunitdir="$(systemd_get_userunitdir)" +} + +src_install() { + emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install + # log directory + keepdir /var/log/onedrive + fperms 775 /var/log/onedrive + fowners root:users /var/log/onedrive + # init script + dobin contrib/init.d/onedrive_service.sh + newinitd contrib/init.d/onedrive.init onedrive +} + +pkg_postinst() { + elog "OneDrive Free Client needs to be authorized to access your data before the" + elog "first use. To do so, run onedrive in a terminal for the user in question and" + elog "follow the steps on screen." + elog + ewarn "When upgrading from 2.3 you are required you to reauthorise your client." + ewarn "This is due to changing the client identifier to assist with resolving" + ewarn "the correct handling of 429 error responses (activityLimitReached)" +}