[arch-commits] Commit in kresus/trunk (PKGBUILD config.ini)
Bruno Pagani
archange at archlinux.org
Thu May 13 07:13:53 UTC 2021
Date: Thursday, May 13, 2021 @ 07:13:53
Author: archange
Revision: 932922
upgpkg: kresus 0.17.2-1
Modified:
kresus/trunk/PKGBUILD
kresus/trunk/config.ini
------------+
PKGBUILD | 22 ++++++-------------
config.ini | 68 ++++++++++++++++++++++++++++++++---------------------------
2 files changed, 45 insertions(+), 45 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-13 07:05:51 UTC (rev 932921)
+++ PKGBUILD 2021-05-13 07:13:53 UTC (rev 932922)
@@ -1,7 +1,7 @@
# Maintainer: Bruno Pagani <archange at archlinux.org>
pkgname=kresus
-pkgver=0.16.0
+pkgver=0.17.2
pkgrel=1
pkgdesc="Self-hosted personal finance manager"
arch=(x86_64)
@@ -8,7 +8,7 @@
url="https://kresus.org"
license=(MIT)
backup=('etc/webapps/kresus/config.ini')
-depends=(python nodejs-lts-erbium weboob)
+depends=(python nodejs-lts-fermium woob)
makedepends=(yarn npm libpng)
optdepends=('python-pdfminer: La Banque Postale support')
source=(https://framagit.org/kresusapp/kresus/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2
@@ -16,8 +16,8 @@
${pkgname}.service
${pkgname}.sysusers
${pkgname}.tmpfiles)
-sha256sums=('cf1757f317f1cc3cb659af0a76ed5ff2e0b00b9af19e7e30bec6518466ab6e97'
- '7f86ff72e3002c2906c45e762e073642b8405046f6af1dd049ad73860c7fd042'
+sha256sums=('57f6405358221e322b96df61259abb10cece91ba7e8ee3c27677fb37e08d946c'
+ '2a1de56c469b9a8e899614e6cb6ff8d6f205b5df8d30141230f1d0bc2bf15f40'
'cbbfcfc7714fa4c714e956fffa203511c47dde67e06dee9d87f8ff44ac3c708b'
'd9d30f5470c7165e4917487b69d7ab82e463da4e1355056e1035ee501d3f1adc'
'ba8ad7d9eb5d2b47fde5f6a3ab98596e5c679141b78d76d54b44830604b67632')
@@ -38,18 +38,12 @@
DESTDIR="${pkgdir}" npm -g install kresus
# Remove useless stuff
- rm -rf "${pkgdir}"/usr/lib/node_modules/kresus/node_modules/leveldown/prebuilds/{{android,linux}-arm{,64},{darwin,win32}-x64}
- rm -r "${pkgdir}"/usr/lib/node_modules/kresus/support/
- find "${pkgdir}"/usr/lib/node_modules/kresus/ -type d -name 'test*' -exec rm -rf {} \+
- find "${pkgdir}"/usr/lib/node_modules/kresus/ -type f \( -name '*\.md' -o -name 'LICENSE*' -o -name '\.*' \) -delete
+ rm -r "${pkgdir}"/usr/lib/node_modules/kresus/support
+ find "${pkgdir}"/usr/lib/node_modules/kresus/ -type d \( -name 'test*' -o -name '.github' \) -exec rm -rf {} \+
+ find "${pkgdir}"/usr/lib/node_modules/kresus/ -type f \( -name '*\.md' -o -name 'LICENSE*' -o -name 'license' -o -name '\.*' \) -delete
- # Compile sqlite support
- #DESTDIR="${pkgdir}" npm -g install sqlite3
- #find "${pkgdir}"/usr/lib/node_modules/sqlite3/ -type d -name 'test*' -exec rm -rf {} \+
- #find "${pkgdir}"/usr/lib/node_modules/sqlite3/ -type f \( -name '*\.md' -o -name 'LICENSE*' -o -name '\.*' \) -delete
-
# Fix npm crazyness
- chmod -R go-w "${pkgdir}"/usr
+ #chmod -R go-w "${pkgdir}"/usr
chown -R root:root "${pkgdir}"/usr
install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
Modified: config.ini
===================================================================
--- config.ini 2021-05-13 07:05:51 UTC (rev 932921)
+++ config.ini 2021-05-13 07:13:53 UTC (rev 932922)
@@ -1,13 +1,12 @@
-; Hi there! This is the configuration file for
-; Kresus. Please make sure to read all the options before setting up
-; Kresus for the first time.
-;
+; Hi there! This is the configuration file for Kresus. Please make sure to read
+; all the options before setting up Kresus for the first time.
+;
[kresus]
; This is where Kresus stores additional data, as the latest bank
; scrapping modules. It should be writeable by the user which launches
; the Kresus executable.
-; Can be removed; defaults to "HOME_DIR/.kresus".
+; Can be removed; defaults to HOME_DIR/.kresus.
; Overriden by the KRESUS_DIR environment variable, if it's set.
; Example:
; datadir=/home/ben/.kresus
@@ -26,7 +25,7 @@
; This is the port that Kresus will run on. It is recommended not
; to expose it on port 80 directly but to use a reverse-proxy
; configuration like Nginx, Caddy or Apache.
-; Can be removed; defaults to "9876".
+; Can be removed; defaults to 9876.
; Overriden by the PORT environment variable, if it's set.
; Example:
; port=9876
@@ -33,7 +32,7 @@
port=
; The host on which the Kresus server will listen to.
-; Can be removed; defaults to "127.0.0.1".
+; Can be removed; defaults to 127.0.0.1.
; Overriden by the HOST environment variable, if it's set.
; Example:
; host=127.0.0.1
@@ -41,7 +40,7 @@
; The executable version of Python that is going to get used when
; interacting with Python scripts. This can be python or python3.
-; Can be removed; defaults to "python3".
+; Can be removed; defaults to python3.
; Overriden by the KRESUS_PYTHON_EXEC environment variable, if it's set.
; Example:
; python_exec=python3
@@ -68,12 +67,12 @@
; Set this to true if you want to use this instance only in demo
; mode, and to never allow users to link their personal accounts.
-;
+;
; WARNING! Switching this on and off may trigger data loss. Note that it
; is still possible to try Kresus in demo mode, even if this is not set
; to true. Setting this to true will *force* demo mode, and prevent users
; from leaving this mode.
-; Can be removed; defaults to "false".
+; Can be removed; defaults to false.
; Overriden by the KRESUS_FORCE_DEMO_MODE environment variable, if it's set.
; Example:
; force_demo_mode=true
@@ -86,23 +85,23 @@
; auth=foo:bar
auth=
-[weboob]
+[woob]
-; The directory in which Weboob core is stored. If empty, indicates
-; that weboob is already in the PYTHON_PATH (e.g. installed at the global
+; The directory in which Woob core is stored. If empty, indicates
+; that woob is already in the PYTHON_PATH (e.g. installed at the global
; level)
-; Overriden by the KRESUS_WEBOOB_DIR environment variable, if it's set.
+; Overriden by the KRESUS_WOOB_DIR environment variable, if it's set.
; Example:
-; srcdir=/home/ben/code/weboob
+; srcdir=/home/ben/code/woob
srcdir=
-; Path to a file containing a valid Weboob's source list directory.
+; Path to a file containing a valid Woob's source list directory.
; If empty (the default), indicates that Kresus will generate its own
; source list file and will store it in
-; KRESUS_DIR/weboob-data/sources.list.
-; Overriden by the KRESUS_WEBOOB_SOURCES_LIST environment variable, if it's set.
+; KRESUS_DIR/woob-data/sources.list.
+; Overriden by the KRESUS_WOOB_SOURCES_LIST environment variable, if it's set.
; Example:
-; sources_list=/home/ben/code/weboob/sources.list
+; sources_list=/home/ben/code/woob/sources.list
sources_list=
[email]
@@ -110,10 +109,10 @@
; The transport method you want to use. Can be either:
; * "sendmail": relies on sendmail executable to be available on your
; system and only sendmail-specific parameters are used,
-;
+;
; * "smtp": you should provide proper SMTP credentials to use, in the
; dedicated configuration entries.
-;
+;
; If empty, no emails will be sent by Kresus.
; Overriden by the KRESUS_EMAIL_TRANSPORT environment variable, if it's set.
; Example:
@@ -165,7 +164,7 @@
; If set to true, will force using a TLS connection. By default,
; emails are sent with STARTTLS, i.e. using TLS if available.
-; Can be removed; defaults to "false".
+; Can be removed; defaults to false.
; Overriden by the KRESUS_EMAIL_FORCE_TLS environment variable, if it's set.
; Example:
; force_tls=false
@@ -172,7 +171,7 @@
force_tls=
; If set to false, will allow self-signed TLS certificates.
-; Can be removed; defaults to "true".
+; Can be removed; defaults to true.
; Overriden by the KRESUS_EMAIL_REJECT_UNAUTHORIZED_TLS environment variable, if it's set.
; Example:
; reject_unauthorized_tls=true
@@ -203,9 +202,9 @@
; Database type supported by Kresus, to choose among:
; - postgres
; - sqlite
-;
+;
; It must be set by the user. PostgreSQL is recommended and strongly supported; your experience with other databases might vary.
-;
+;
; Note using sqlite is *strongly discouraged* because it can't properly handle certain kinds of database migrations. It is only intended for development purposes.
; Overriden by the KRESUS_DB_TYPE environment variable, if it's set.
; Example:
@@ -213,11 +212,11 @@
type=
; Logging level for the SQL queries. Possible values are:
-;
+;
; - all: will log every SQL query, including queries causing errors.
; - error (default value): will only log SQL queries resulting in errors. This is useful for debugging purposes.
; - none: nothing will be logged.
-; Can be removed; defaults to "error".
+; Can be removed; defaults to error.
; Overriden by the KRESUS_DB_LOG environment variable, if it's set.
; Example:
; log=error
@@ -231,16 +230,23 @@
; sqlite_path=/tmp/dev.sqlite
sqlite_path=
-; Host address of the database server. Required for postgres.
+; Path to a directory containing a Unix socket to connect to the
+; database, or host address of the database server. Required for postgres.
+;
+; If using a Unix socket, the socket file's name will be inferred from the
+; standard postgres name and the port number.
+; Can be removed; defaults to localhost for postgres.
; Overriden by the KRESUS_DB_HOST environment variable, if it's set.
; Example:
; host=localhost
host=
-; Port of the database server. Required for postgres.
+; Port of the database server. Required for postgres, even when
+; using a Unix socket (the port is used to compute the socket's file name).
+; Can be removed; defaults to 5432 for postgres.
; Overriden by the KRESUS_DB_PORT environment variable, if it's set.
; Example:
-; port=5432 # postgres
+; port=5432
port=
; Username to connect to the database server. Required for postgres.
@@ -256,7 +262,7 @@
password=
; Database name to use. Required for postgres.
-; Can be removed; defaults to "kresus".
+; Can be removed; defaults to kresus.
; Overriden by the KRESUS_DB_NAME environment variable, if it's set.
; Example:
; name=kresus
More information about the arch-commits
mailing list