[arch-commits] Commit in mailman3/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Nov 1 15:15:59 UTC 2020
Date: Sunday, November 1, 2020 @ 15:15:59
Author: dvzrv
Revision: 738886
upgpkg: mailman3 3.3.1-3: Rebuild to fix schema.cfg.
Add lynx to optdepends as it is required for the default HTML to plaintext conversion.
Set the default var_dir in schema.cfg to the non-volatile /var/lib/mailman directory.
Modified:
mailman3/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-01 14:56:00 UTC (rev 738885)
+++ PKGBUILD 2020-11-01 15:15:59 UTC (rev 738886)
@@ -3,7 +3,7 @@
_name=mailman
pkgname=mailman3
pkgver=3.3.1
-pkgrel=2
+pkgrel=3
pkgdesc="The GNU mailing list manager"
arch=('any')
url="https://www.list.org/"
@@ -18,8 +18,9 @@
checkdepends=('python-coverage' 'python-diff-cover' 'python-flufl.testing'
'python-psycopg2' 'python-pymysql' 'python-pytest')
optdepends=('hyperkitty: for local archive and list interaction'
+ 'lynx: for the default HTML to plaintext conversion'
+ 'mailman3-hyperkitty: for archiving mails with an instance of hyperkitty'
'postorius: for local configuration interaction'
- 'mailman3-hyperkitty: for archiving mails with an instance of hyperkitty'
'python-mailmanclient: for programmatically interfacing the mailman REST API locally'
'python-psycopg2: for PostgreSQL support'
'python-pymysql: for MySQL support'
@@ -53,8 +54,11 @@
prepare() {
mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
cd "$pkgname-$pkgver"
- # making sure, mailman runs in a FHS compliant way
+ # make sure that mailman runs in a FHS compliant way
echo -e "[mailman]\nlayout: fhs" >> "${_name}.cfg"
+ # set /var/lib/mailman instead of /var/tmp/mailman as default var_dir:
+ sed -e 's|/var/tmp/mailman|/var/lib/mailman|g' \
+ -i src/${_name}/config/schema.cfg
}
build() {
More information about the arch-commits
mailing list