mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
www-apps/nextcloud-notify_push: drop 1.0.0
Closes: https://github.com/gentoo/gentoo/pull/43087 Signed-off-by: Anton Fischl <github@fischl-online.de> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
parent
79ff6b4bea
commit
e037d9b730
@ -1,4 +1,2 @@
|
||||
DIST nextcloud-notify_push-1.0.0.tar.gz 128094 BLAKE2B 5f8cb3bff1bf70b0cdea869ff23d1fae2b4323005a9fc4145cca57b9b97f848ebc4543971c3bedf6b6d86dd049808b8e634560610b932b6faffcc24af102757d SHA512 04f6ac2067c5842549f4941085702f3748c39f1b0900096b22197521040704e0bfa936d904ff2b604fa6f4bfc24de96bacbb41adf7ea5d6c8c2863677e66883a
|
||||
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 notify_push-v1.0.0-crates.tar.xz 28413540 BLAKE2B a2c4aa65540a37e96401c8f77ce7cb68a8757d3ca511bb8995fb5b27f2164cdac2664a48a8ea00b59f0e53db4acfc3a253fc0dfda368619d4aaac51db5cbcd11 SHA512 430cf7eb6e64e2970780b10550cd6bac300d206e4387a6ad42b319cfadbfd493f1f99f5ffa0655333fbb58ced799372a311f1039cc3f6dca594d3a1b39814517
|
||||
|
||||
@ -1,61 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user