From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id C43531581FD for ; Fri, 05 Sep 2025 21:57:43 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A9F9C340C53 for ; Fri, 05 Sep 2025 21:57:43 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A90DD110379; Fri, 05 Sep 2025 21:57:42 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9FDC5110379 for ; Fri, 05 Sep 2025 21:57:42 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 51EE7340C53 for ; Fri, 05 Sep 2025 21:57:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0FC83365 for ; Fri, 05 Sep 2025 21:57:40 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1757109426.95aef447e33a45ec5f26ecdd2a48e9eaafdc83cc.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/nextcloud-notify_push/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/nextcloud-notify_push/Manifest www-apps/nextcloud-notify_push/nextcloud-notify_push-1.2.0.ebuild X-VCS-Directories: www-apps/nextcloud-notify_push/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 95aef447e33a45ec5f26ecdd2a48e9eaafdc83cc X-VCS-Branch: master Date: Fri, 05 Sep 2025 21:57:40 +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: 891226c3-8481-49cf-b22a-07b8592b43f1 X-Archives-Hash: d1351e894fe4bc8568e2fbc0a7cc0169 commit: 95aef447e33a45ec5f26ecdd2a48e9eaafdc83cc Author: Anton Fischl fischl-online de> AuthorDate: Fri Sep 5 05:29:26 2025 +0000 Commit: Yixun Lan gentoo org> CommitDate: Fri Sep 5 21:57:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95aef447 www-apps/nextcloud-notify_push: add 1.2.0 Closes: https://bugs.gentoo.org/961532 Signed-off-by: Anton Fischl fischl-online.de> Signed-off-by: Yixun Lan gentoo.org> www-apps/nextcloud-notify_push/Manifest | 2 + .../nextcloud-notify_push-1.2.0.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/www-apps/nextcloud-notify_push/Manifest b/www-apps/nextcloud-notify_push/Manifest index 479af5cd5b90..5d76862577c2 100644 --- a/www-apps/nextcloud-notify_push/Manifest +++ b/www-apps/nextcloud-notify_push/Manifest @@ -1,2 +1,4 @@ DIST nextcloud-notify_push-1.1.0-crates.tar.xz 28244936 BLAKE2B 65370048d18415d3693e69afe488fbc989039c859e646bd582e420f0494a61a49d3c06799e27fa9dc96fa8597475d3669b40e645200da5bd3d150f799c464022 SHA512 24f453f804933258dec01d3099874f7f0a78751b98ff094401e7cc7e1a9edf2b3da22827fde7bcf0aeba63313e6bd417cd8e24aa98f6a9052d2ee665bde173e8 DIST nextcloud-notify_push-1.1.0.tar.gz 131865 BLAKE2B 1cd375dfb0920d2177f011a776bea09a43be057585d622287d142dd380fd8831c42fdcdfacd06bcee6373a58ec4085d370b7c703544865fc357f0da8319897a3 SHA512 83a653c0360094b2c21697066ab1163d6a9de61a76ddccbdedf78b6c0d3a4aead760bd4b52a3de5ffd13b82a49ef484af7e375c648d45cd485d3b0022fb508a9 +DIST nextcloud-notify_push-1.2.0-crates.tar.xz 28112360 BLAKE2B 5f5942e5afcf1e85f2262b79c74e0077ffe9e183b3fb977be02b5328cfc4fa79266825ecd012d8a227c4bec07ab243629748bfa28fe04e21b669ff0c549b7acc SHA512 0434b6ccaedc4c4031bb5f5ab4bdbdc9d2052b868c8221d4d1a0bdcf96a390067f271c20562a6438835fab389594fb1870897bbdb90875bba69e281e4a1caf09 +DIST nextcloud-notify_push-1.2.0.tar.gz 139273 BLAKE2B 870bb1dd8a4d59a60f6b77a15e6b96d4d2b4ff221bfd1cf24f5ee956da68c89c2a21f8f913e8547c0fadd2e4aa6dda09da27affaac52c5192c3ba054b8f58f46 SHA512 bfd060af3b5175bee3e3cb6bf4c7f53db6f22fb96a4445a1aaad3c7724b253db0fbe31988ad263fcba2749fc9ab8b035c6fc7415b43ac69b793f4098a72999c9 diff --git a/www-apps/nextcloud-notify_push/nextcloud-notify_push-1.2.0.ebuild b/www-apps/nextcloud-notify_push/nextcloud-notify_push-1.2.0.ebuild new file mode 100644 index 000000000000..1a874fc719b0 --- /dev/null +++ b/www-apps/nextcloud-notify_push/nextcloud-notify_push-1.2.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.13.2 + +EAPI=8 + +RUST_MIN_VER="1.85.0" +CRATES="" +inherit eapi9-ver cargo systemd + +DESCRIPTION="Push daemon for Nextcloud clients" +HOMEPAGE="https://github.com/nextcloud/notify_push" +SRC_URI="https://github.com/nextcloud/notify_push/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://github.com/antonfischl1980/nextcloud-notify_push/releases/download/v${PV}/nextcloud-notify_push-${PV}-crates.tar.xz" +S=${WORKDIR}/notify_push-${PV} + +LICENSE="AGPL-3" +# Dependent crate licenses +LICENSE+=" Apache-2.0 BSD CDLA-Permissive-2.0 GPL-3 ISC MIT Unicode-3.0 ZLIB" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-db/sqlite:3" +RDEPEND="${DEPEND}" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_prepare() { + export LIBSQLITE3_SYS_USE_PKG_CONFIG=1 + default +} + +src_install() { + cargo_src_install + einstalldocs + + # default name is too generic + mv "${ED}/usr/bin/notify_push" "${ED}/usr/bin/${PN}" || die + + newconfd "${FILESDIR}/${PN}-r1.confd" "${PN}" + newinitd "${FILESDIR}/${PN}-r2.init" "${PN}" + systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service" + systemd_install_serviced "${FILESDIR}/${PN}.service.conf" "${PN}" + + # restrict access because conf.d entry could contain + # database credentials + fperms 0640 "/etc/conf.d/${PN}" +} + +pkg_postinst() { + if ver_replacing -lt "0.6.6"; then + ewarn "You are upgrading to ${PVR}" + ewarn "The systemd unit file for nextcloud-notify_push no longer sources ${EPREFIX}/etc/conf.d/nextcloud-notify_push ." + ewarn "Configuration is still done via ${EPREFIX}/etc/conf.d/nextcloud-notify_push for OpenRC systems" + ewarn "while for systemd systems, a systemd drop-in file located at" + ewarn "${EPREFIX}/etc/systemd/system/nextcloud-notify_push.d/00gentoo.conf" + ewarn "is used for configuration." + fi +}