From d797e2d212c049ee342da788171813e2f0fe4586 Mon Sep 17 00:00:00 2001 From: Roshless Date: Sat, 20 Jan 2018 13:48:54 +0100 Subject: [PATCH 1/3] update to 2.3.1 --- PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index d601238..4ee6776 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,14 @@ # Maintainer: Philipp Schmitt (philippschmittco) pkgname=wallabag -pkgver=2.2.3 +pkgver=2.3.1 pkgrel=1 pkgdesc='Self hostable application for saving web pages' arch=('any') url='http://www.wallabag.org/' license=('MIT') depends=( - 'php>=5.5' + 'php>=5.6' 'php-gd' 'php-tidy' 'pcre' @@ -22,7 +22,7 @@ optdepends=( install="$pkgname.install" options=(!strip) source=("https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz") -sha256sums=('13fe5cb7cfc741abee08312f0055e9549e60590daff2fac41be5266f7956d857') +sha256sums=('c459de5b6752e94ccd4165c75ec11ad3ce7f1cb73c2f2f2f53e89568599467e2') backup=("etc/webapps/${pkgname}/parameters.yml" "usr/share/webapps/${pkgname}/parameters.yml" "var/lib/${pkgname}/data/db/wallabag.sqlite" From 2ddf40f387bc5c6b6f6637d1579776ef6b626a42 Mon Sep 17 00:00:00 2001 From: Roshless Date: Sat, 20 Jan 2018 13:52:45 +0100 Subject: [PATCH 2/3] change in folder --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 4ee6776..cee29f7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -31,7 +31,7 @@ backup=("etc/webapps/${pkgname}/parameters.yml" package() { cd "${pkgdir}" mkdir -p usr/share/webapps - mv "${srcdir}/release-${pkgver}" usr/share/webapps/${pkgname} + mv "${srcdir}/${pkgver}" usr/share/webapps/${pkgname} WALLABAG_CONF_DIR="${pkgdir}/usr/share/webapps/${pkgname}/app/config" From 8a91dc77600a1b8a264f679b835ed5953e24603b Mon Sep 17 00:00:00 2001 From: Roshless Date: Sat, 20 Jan 2018 14:29:18 +0100 Subject: [PATCH 3/3] srcinfo update and note about migrations --- .SRCINFO | 8 ++++---- wallabag.install | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 3fa8e27..d7e556e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,12 +1,12 @@ pkgbase = wallabag pkgdesc = Self hostable application for saving web pages - pkgver = 2.2.3 + pkgver = 2.3.1 pkgrel = 1 url = http://www.wallabag.org/ install = wallabag.install arch = any license = MIT - depends = php>=5.5 + depends = php>=5.6 depends = php-gd depends = php-tidy depends = pcre @@ -19,8 +19,8 @@ pkgbase = wallabag backup = usr/share/webapps/wallabag/parameters.yml backup = var/lib/wallabag/data/db/wallabag.sqlite backup = usr/share/webapps/wallabag/data/db/wallabag.sqlite - source = https://static.wallabag.org/releases/wallabag-release-2.2.3.tar.gz - sha256sums = 13fe5cb7cfc741abee08312f0055e9549e60590daff2fac41be5266f7956d857 + source = https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz + sha256sums = c459de5b6752e94ccd4165c75ec11ad3ce7f1cb73c2f2f2f53e89568599467e2 pkgname = wallabag diff --git a/wallabag.install b/wallabag.install index efdd2cd..3c068a1 100644 --- a/wallabag.install +++ b/wallabag.install @@ -38,4 +38,11 @@ pre_upgrade() { post_upgrade() { rm -rf /var/lib/wallabag/var/cache/* + echo "" + echo "=====================================================================================" + echo " If you upgraded from 2.2.3 to 2.3.X you need to do database " + echo " migrations, check the guide: " + echo "https://doc.wallabag.org/en/admin/upgrade.html#explanations-about-database-migrations" + echo "=====================================================================================" + echo "" }