upgpkg: wallabag 2.4.0-1

upstream release
This commit is contained in:
Cedric Girard 2020-12-11 09:53:50 +01:00
parent df7bfda860
commit 5db514a017
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
3 changed files with 17 additions and 16 deletions

View file

@ -1,12 +1,13 @@
pkgbase = wallabag pkgbase = wallabag
pkgdesc = Self hostable application for saving web pages pkgdesc = Self hostable application for saving web pages
pkgver = 2.3.8 pkgver = 2.4.0
pkgrel = 1 pkgrel = 1
url = http://www.wallabag.org/ url = http://www.wallabag.org/
install = wallabag.install install = wallabag.install
arch = any arch = any
license = MIT license = MIT
depends = php>=5.6 makedepends = systemd
depends = php>=7.2
depends = php-gd depends = php-gd
depends = php-tidy depends = php-tidy
depends = pcre depends = pcre
@ -19,8 +20,8 @@ pkgbase = wallabag
backup = usr/share/webapps/wallabag/parameters.yml backup = usr/share/webapps/wallabag/parameters.yml
backup = var/lib/wallabag/data/db/wallabag.sqlite backup = var/lib/wallabag/data/db/wallabag.sqlite
backup = usr/share/webapps/wallabag/data/db/wallabag.sqlite backup = usr/share/webapps/wallabag/data/db/wallabag.sqlite
source = https://static.wallabag.org/releases/wallabag-release-2.3.8.tar.gz source = https://static.wallabag.org/releases/wallabag-release-2.4.0.tar.gz
sha256sums = 58f319ee41828fcc4fd00a14c4ac7c16b2179a47af21e257a15938311d1426eb sha256sums = 11caf6e87661215f8bb898fc61c149d8fd14de3f19928d50be53208cd5516d87
pkgname = wallabag pkgname = wallabag

View file

@ -1,14 +1,16 @@
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co) # Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
# Contributor: Philipp Schmitt (philipp<at>schmitt<dot>co)
pkgname=wallabag pkgname=wallabag
pkgver=2.3.8 pkgver=2.4.0
pkgrel=1 pkgrel=1
pkgdesc='Self hostable application for saving web pages' pkgdesc='Self hostable application for saving web pages'
arch=('any') arch=('any')
url='http://www.wallabag.org/' url='http://www.wallabag.org/'
license=('MIT') license=('MIT')
makedepends=('systemd')
depends=( depends=(
'php>=5.6' 'php>=7.2'
'php-gd' 'php-gd'
'php-tidy' 'php-tidy'
'pcre' 'pcre'
@ -22,7 +24,7 @@ optdepends=(
install="$pkgname.install" install="$pkgname.install"
options=(!strip) options=(!strip)
source=("https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz") source=("https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz")
sha256sums=('58f319ee41828fcc4fd00a14c4ac7c16b2179a47af21e257a15938311d1426eb') sha256sums=('11caf6e87661215f8bb898fc61c149d8fd14de3f19928d50be53208cd5516d87')
backup=("etc/webapps/${pkgname}/parameters.yml" backup=("etc/webapps/${pkgname}/parameters.yml"
"usr/share/webapps/${pkgname}/parameters.yml" "usr/share/webapps/${pkgname}/parameters.yml"
"var/lib/${pkgname}/data/db/wallabag.sqlite" "var/lib/${pkgname}/data/db/wallabag.sqlite"

View file

@ -11,9 +11,6 @@ post_install() {
echo "" echo ""
echo -n "To setup your webserver and enable the needed php extensions, " echo -n "To setup your webserver and enable the needed php extensions, "
echo "please read: https://doc.wallabag.org/en/master/user/installation.html" echo "please read: https://doc.wallabag.org/en/master/user/installation.html"
echo ""
echo -n "If you upgraded from 2.0.x or 2.1.x, you might need to check "
echo "the upgrade guide: https://doc.wallabag.org/en/master/user/upgrade.html"
} }
@ -39,10 +36,11 @@ pre_upgrade() {
post_upgrade() { post_upgrade() {
rm -rf /var/lib/wallabag/var/cache/* rm -rf /var/lib/wallabag/var/cache/*
echo "" echo ""
echo "=====================================================================================" echo "====================================================================================================="
echo " If you upgraded from 2.2.3 to 2.3.X you need to do database " echo " You need to execute any database migration with: "
echo " migrations, check the guide: " echo "cd /usr/share/webapps/wallabag && sudo -u http php bin/console --env=prod doctrine:migrations:migrate"
echo "https://doc.wallabag.org/en/admin/upgrade.html#explanations-about-database-migrations" echo " "
echo "=====================================================================================" echo " Check the release notes for any other step: https://github.com/wallabag/wallabag/releases "
echo "====================================================================================================="
echo "" echo ""
} }