commit:     0067af82ae7d156257fe53750f3a40aad97244d6
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 15 08:25:44 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 08:25:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0067af82

www-apps/nextcloud-notify_push: add 1.0.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 www-apps/nextcloud-notify_push/Manifest            |  2 +
 .../nextcloud-notify_push-1.0.0.ebuild             | 61 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/www-apps/nextcloud-notify_push/Manifest 
b/www-apps/nextcloud-notify_push/Manifest
index 0c8e4c3408ee..e5ad7cec6234 100644
--- a/www-apps/nextcloud-notify_push/Manifest
+++ b/www-apps/nextcloud-notify_push/Manifest
@@ -143,8 +143,10 @@ DIST mio-1.0.1.crate 102654 BLAKE2B 
85e2fccd36ad7b9a986d308a5911c7209246d7fe035d
 DIST multer-2.1.0.crate 23976 BLAKE2B 
3124a7858a70ebd00cae02c5863ad631eeb4243e848001a097ac81166360d6eff64533ff109722eb6fa2fd2f4e9d3dfa677fa78e2990943932a1e58408411c8c
 SHA512 
6824de499cc180dadf6e7535aef39e2b92921b6bac135b5849129e72ec1ed2a85bd56a08a849b7c3718f35365d3fc7489f579487cd4a141cf839e6491242b4e9
 DIST nextcloud-config-parser-0.11.0.crate 23801 BLAKE2B 
4f46bc85e03133d24355e0fa2f9dad2f1ff1603f7896b929775ce23932daff8fb576d24f590b00a5ba635e949d71c0f6d60e5cd9251702b5a4c9d1b02661569d
 SHA512 
597bd657d7cf62d31f949258be40050713d236ec898df0883b8041c77b26f2cb5c888cc4478758d8df1824a459e5ab094802b942d8506a28377d29cf11acf5e9
 DIST nextcloud-notify_push-0.7.0.tar.gz 131618 BLAKE2B 
6b0caca464d9c2ea1ebe22eea7d123fbae6c49f355982bdd61a39f1e669c113afbf7ba4c9e963d562a0e43387d6f2edf290b1fd6a7490d901311165361cc5845
 SHA512 
71814339d75a35184a39769f2e5e1235c0eb65b85639d0384c040b2986887d21ae6f7c535a68764bb1e8794e25275d0b226ed875533aeaba7809d4741615b96d
+DIST nextcloud-notify_push-1.0.0.tar.gz 128094 BLAKE2B 
5f8cb3bff1bf70b0cdea869ff23d1fae2b4323005a9fc4145cca57b9b97f848ebc4543971c3bedf6b6d86dd049808b8e634560610b932b6faffcc24af102757d
 SHA512 
04f6ac2067c5842549f4941085702f3748c39f1b0900096b22197521040704e0bfa936d904ff2b604fa6f4bfc24de96bacbb41adf7ea5d6c8c2863677e66883a
 DIST nextcloud_appinfo-0.6.0.crate 15344 BLAKE2B 
ce1b16bf6de31346f51a6e507a091689c410e118b5d44520ba184f998e38d217a93ffc27910db5de3bcbdf2a82c7929f17184fe4792a10bf454ddfff61109684
 SHA512 
36c28a0f2932d0abd6e7a4aed65943c09d2741bb315d3e0375f38918e5ef604cdaa17855026cf93e9cfb6cdf03018f75d363d58cb47e7189f309c45fb5140867
 DIST nom-7.1.3.crate 117570 BLAKE2B 
5643b67990b7305e101b16b8cd27c447e162a7adc6d0dfac00920b0cb50fea98c9d4edca63c34f6845cba05f8d0acb407cf3045cf64a4cb28e53c8b6bc9090cf
 SHA512 
1ffce08dde299bc0e0367ad59c7b6a83e23decfa11115ee076ab91ec53cdd9ef37e4c2103c96eff23a7b6b8b5c3f67c83ce1917928c7d4c6462083bdfa0c9cad
+DIST notify_push-v1.0.0-crates.tar.xz 28413540 BLAKE2B 
a2c4aa65540a37e96401c8f77ce7cb68a8757d3ca511bb8995fb5b27f2164cdac2664a48a8ea00b59f0e53db4acfc3a253fc0dfda368619d4aaac51db5cbcd11
 SHA512 
430cf7eb6e64e2970780b10550cd6bac300d206e4387a6ad42b319cfadbfd493f1f99f5ffa0655333fbb58ced799372a311f1039cc3f6dca594d3a1b39814517
 DIST nu-ansi-term-0.50.1.crate 28536 BLAKE2B 
fc259654aca2119c1d913e101b0fe7a561b44ba4a6145d309bec23d82ba5e4db916852acafecb727efc92b5dea1641304b26c383ac07a8796e296bb179eaa669
 SHA512 
c29735a5e1562776251dbd7337a3e4b68eeb299e86c534feab6478512ca5e167b42ebd32c6c461b71187cd375b8a2f587feb962f1501a656543f1429731a95a2
 DIST num-bigint-0.4.6.crate 102801 BLAKE2B 
0460e7dfdbd44b6c68fc8ead6bff4353e549127158dab8bb5d217ee33104fe9ad5f58b63a01d56fffa8d7c4df1a87dcf5b536e436a0ef98dc4418a4690c4cc15
 SHA512 
19d14a7755de2b559026547d9e3e1775e636781bdfdd418f2e1d962c51411a0973a46d84d0356e30c0f708a7c7b2097926611960043f71391919cab1aeb6aa04
 DIST num-bigint-dig-0.8.4.crate 123825 BLAKE2B 
9710266116ea15d0e56792b7c8e217931765dcf2377bc05f23bd386625087eb6a7d7aca7b8f0beeb78ace9f280895565a6de3b14ffda7721e35c741ff64b71c0
 SHA512 
88ea682c5aabc61c0cab9234e31a2dccdb5458d3bc018e1f9ccbbf0a9f09ed0053341e93bc53f65b5bee55bafe71d50bbcd48fd085ac723ef4662e15664925b8

diff --git a/www-apps/nextcloud-notify_push/nextcloud-notify_push-1.0.0.ebuild 
b/www-apps/nextcloud-notify_push/nextcloud-notify_push-1.0.0.ebuild
new file mode 100644
index 000000000000..dccd42451fb7
--- /dev/null
+++ b/www-apps/nextcloud-notify_push/nextcloud-notify_push-1.0.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.2
+
+EAPI=8
+
+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/gentoo-crate-dist/notify_push/releases/download/v${PV}/notify_push-v${PV}-crates.tar.xz";
+S=${WORKDIR}/notify_push-${PV}
+
+LICENSE="AGPL-3"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD GPL-3 ISC MIT MPL-2.0 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
+}

Reply via email to