























Not sure if this is overstepping, but I'd be happy to help co-maintain this to keep the version number current.
TL;DR; maintainer bumping version is dangerous
(1/2) If you use an AUR helper, you get automatic updates whenever the maintainer pushes, before you have the chance to backup. This introduces possible data loss according to the docs[1].
(2/2) If you do not use AUR helper, you can always bump it yourself.
[1] https://docs.firefly-iii.org/how-to/firefly-iii/upgrade/self-managed/
$ git diff
diff --git a/PKGBUILD b/PKGBUILD
index cdf2c39..1eff615 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Simon Doppler (dopsi) <dop.simon@gmail.com>
pkgname=firefly-iii
-pkgver=6.1.18
+pkgver=6.1.19
pkgrel=1
pkgdesc='PHP personal finances manager'
arch=('any')
@@ -11,7 +11,7 @@ url="https://github.com/${pkgname}/${pkgname}"
license=('AGPL-3.0-only')
depends=('php-intl')
source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/FireflyIII-v${pkgver}.tar.gz")
-sha256sums=('29bb1521807980c56e839b1560a600dbd66a7a658c4780e05c6dab8573cdd3d0')
+sha256sums=('1fff6981f0c0978ee1edd1812810ee57b55f161c0aa685f9f15e17bcba57c22f')
backup=("etc/webapps/$pkgname/config.env")
Below I am sharing the modified PKGBUILD file to keep the latest version up to date. You just need to change the version number in the 'pkgver' variable.
pkgname=firefly-iii
pkgver=6.1.19
pkgrel=1
pkgdesc='PHP personal finances manager'
arch=('any')
url="https://github.com/${pkgname}/${pkgname}"
license=('AGPL-3.0-only')
depends=('php-intl')
source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/FireflyIII-v${pkgver}.tar.gz")
sha256sums=('SKIP')
backup=("etc/webapps/$pkgname/config.env")
package() {
cd "$srcdir"
install -d "$pkgdir/usr/share/webapps/$pkgname" "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/etc/webapps/$pkgname"
cp -rv * "$pkgdir/usr/share/webapps/$pkgname"
install -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
cp -v .env.example "$pkgdir/etc/webapps/$pkgname/config.env"
ln -s "/etc/webapps/$pkgname/config.env" "$pkgdir/usr/share/webapps/$pkgname/.env"
rm -rf "$pkgdir/usr/share/webapps/$pkgname/bootstrap/cache"
install -o http -g http -d "$pkgdir/var/cache/$pkgname"
ln -s "/var/cache/$pkgname" "$pkgdir/usr/share/webapps/$pkgname/bootstrap/cache"
mkdir -p "$pkgdir/var/lib"
mv "$pkgdir/usr/share/webapps/$pkgname/storage" "$pkgdir/var/lib/firefly-iii"
chown -R http:http "$pkgdir/var/lib/firefly-iii"
chmod 775 "$pkgdir/var/lib/firefly-iii"
ln -s "/var/lib/firefly-iii" "$pkgdir/usr/share/webapps/$pkgname/storage"
}
Any chance we could get an updated package? The latest release (6.1.18) has some notable security fixes
I fixed it. If anyone else runs into this error, in /usr/share/webapps/firefly-iii run composer update
Weird. I must be missing some kind of dependency or something. Thanks for updating the package. I'll keep digging around. Hopefully I'll figure out what is going on
I have upgraded the package to the latest build instructions but haven't seen the error you encountered and the firefly-iii is running for me (also on php 8.3.4)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@CountMurphy You are not. I have disowned this package as I don't have the time to maintain it. I have also disowned the firefly-iii-data-importer package if you are also using that.