diff --git a/ilot/listmonk/APKBUILD b/ilot/listmonk/APKBUILD index 7b799f2..2d65fa6 100644 --- a/ilot/listmonk/APKBUILD +++ b/ilot/listmonk/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Antoine Martin (ayakael) # Maintainer: Antoine Martin (ayakael) pkgname=listmonk -pkgver=3.0.0 -pkgrel=2 +pkgver=4.0.1 +pkgrel=0 pkgdesc='Self-hosted newsletter and mailing list manager with a modern dashboard' arch="all" url=https://listmonk.app @@ -10,6 +10,7 @@ license="AGPL3" depends=" libcap-setcap postgresql + postgresql-contrib procps " makedepends="go npm nodejs yarn" @@ -52,6 +53,7 @@ package() { install -Dm644 -t "$pkgdir"/usr/share/webapps/listmonk/ \ schema.sql \ queries.sql \ + permissions.json \ config.toml.sample install -Dm755 listmonk "$pkgdir"/usr/share/webapps/listmonk/ install -Dm644 -t "$pkgdir"/usr/share/webapps/listmonk/frontend/dist/ \ @@ -65,7 +67,7 @@ package() { ln -s /etc/listmonk/config.toml "$pkgdir"/usr/share/webapps/listmonk/config.toml } sha512sums=" -afd0ea1d4d2b2753c3043526590cf09c45a541a2d818f5d1581644ffd10818326fd553a3b04bca59494860a7bb6e96364b08afd33d337a9fc5c71bedd1a5ee6c listmonk-3.0.0.tar.gz +ae5c338b756bb9d84739ab8b04b591e33ee7f6a579725083ec95e2609dbff55adbd1f2a11c0487b971aa030a3a35347cf54966820e1320b4144351935b2497d8 listmonk-4.0.1.tar.gz 939450af4b23708e3d23a5a88fad4c24b957090bdd21351a6dd520959e52e45e5fcac117a3eafa280d9506616dae39ad3943589571f008cac5abe1ffd8062424 listmonk.sh 8e9c0b1f335c295fb741418246eb17c7566e5e4200a284c6483433e8ddbf5250aa692435211cf062ad1dfcdce3fae9148def28f03f2492d33fe5e66cbeebd4bd listmonk.openrc " diff --git a/ilot/listmonk/listmonk.post-install b/ilot/listmonk/listmonk.post-install index fe3cc8d..3e25f91 100644 --- a/ilot/listmonk/listmonk.post-install +++ b/ilot/listmonk/listmonk.post-install @@ -10,6 +10,12 @@ if [ "${0##*.}" = 'post-upgrade' ]; then * * listmonk --upgrade * + * If upgrading from v3.0.0, please first set the following env variables: + * + * export LISTMONK_ADMIN_USER=your-admin-user + * export LISTMONK_ADMIN_PASSWORD=your-admin-password + * listmonk --upgrade + * EOF else cat >&2 <<-EOF