[arch-commits] Commit in kresus/repos/community-x86_64 (10 files)

Bruno Pagani archange at archlinux.org
Mon Aug 26 21:39:33 UTC 2019


    Date: Monday, August 26, 2019 @ 21:39:32
  Author: archange
Revision: 502318

archrelease: copy trunk to community-x86_64

Added:
  kresus/repos/community-x86_64/PKGBUILD
    (from rev 502317, kresus/trunk/PKGBUILD)
  kresus/repos/community-x86_64/config.ini
    (from rev 502317, kresus/trunk/config.ini)
  kresus/repos/community-x86_64/kresus.service
    (from rev 502317, kresus/trunk/kresus.service)
  kresus/repos/community-x86_64/kresus.sysusers
    (from rev 502317, kresus/trunk/kresus.sysusers)
  kresus/repos/community-x86_64/kresus.tmpfiles
    (from rev 502317, kresus/trunk/kresus.tmpfiles)
Deleted:
  kresus/repos/community-x86_64/PKGBUILD
  kresus/repos/community-x86_64/config.ini
  kresus/repos/community-x86_64/kresus.service
  kresus/repos/community-x86_64/kresus.sysusers
  kresus/repos/community-x86_64/kresus.tmpfiles

-----------------+
 PKGBUILD        |   90 +++++++--------
 config.ini      |  318 +++++++++++++++++++++++++++---------------------------
 kresus.service  |   64 +++++-----
 kresus.sysusers |    2 
 kresus.tmpfiles |    4 
 5 files changed, 240 insertions(+), 238 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-26 21:38:53 UTC (rev 502317)
+++ PKGBUILD	2019-08-26 21:39:32 UTC (rev 502318)
@@ -1,44 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=kresus
-pkgver=0.14.0
-pkgrel=1
-pkgdesc="Self-hosted personal finance manager"
-arch=('x86_64')
-url="https://kresus.org"
-license=('MIT')
-backup=('etc/webapps/kresus/config.ini')
-depends=('nodejs' 'weboob-headless')
-makedepends=('yarn' 'npm' 'libpng' 'python2')
-optdepends=('python2-pdfminer: For IBAN extraction from PDF RIB')
-source=("https://framagit.org/kresusapp/kresus/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
-        'config.ini'
-        "${pkgname}.service"
-        "${pkgname}.sysusers"
-        "${pkgname}.tmpfiles")
-sha256sums=('741a996db2b121e360c0dcf72633d56d010fca22dbf230a99a8be91be3a642bc'
-            'e9ea978f2edb56651471fcfb7689318dbeba737e2bf3f9847536526ca698a9e3'
-            '3d4b07c2c029be80597e84d9fbbf67c479c6231347b83cf429af4441ec5a491e'
-            'd9d30f5470c7165e4917487b69d7ab82e463da4e1355056e1035ee501d3f1adc'
-            'ba8ad7d9eb5d2b47fde5f6a3ab98596e5c679141b78d76d54b44830604b67632')
-
-build() {
-    cd ${pkgname}-${pkgver}
-    npm install && npm run build:prod
-}
-
-package() {
-    cd ${pkgname}-${pkgver}
-    make DESTDIR="${pkgdir}" install
-    # Fix python2 name
-    sed -i 's:#!/usr/bin/env python:#!/usr/bin/env python2:' "${pkgdir}"/usr/lib/node_modules/kresus/build/server/weboob/main.py
-    # Fix npm crazyness
-    chmod -R go-w "${pkgdir}"/usr
-    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-
-    cd ..
-    install -Dm600 config.ini -t "${pkgdir}"/etc/webapps/kresus/
-    install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
-    install -Dm644 ${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
-    install -Dm644 ${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
-}

Copied: kresus/repos/community-x86_64/PKGBUILD (from rev 502317, kresus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-26 21:39:32 UTC (rev 502318)
@@ -0,0 +1,46 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=kresus
+pkgver=0.14.0
+pkgrel=2
+pkgdesc="Self-hosted personal finance manager"
+arch=(x86_64)
+url="https://kresus.org"
+license=(MIT)
+backup=('etc/webapps/kresus/config.ini')
+depends=(nodejs-lts-dubnium weboob-headless)
+makedepends=(yarn npm libpng python2)
+optdepends=('python-pdfminer: For IBAN extraction from PDF RIB')
+source=("https://framagit.org/kresusapp/kresus/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
+        'config.ini'
+        "${pkgname}.service"
+        "${pkgname}.sysusers"
+        "${pkgname}.tmpfiles")
+sha256sums=('741a996db2b121e360c0dcf72633d56d010fca22dbf230a99a8be91be3a642bc'
+            'e9ea978f2edb56651471fcfb7689318dbeba737e2bf3f9847536526ca698a9e3'
+            '3d4b07c2c029be80597e84d9fbbf67c479c6231347b83cf429af4441ec5a491e'
+            'd9d30f5470c7165e4917487b69d7ab82e463da4e1355056e1035ee501d3f1adc'
+            'ba8ad7d9eb5d2b47fde5f6a3ab98596e5c679141b78d76d54b44830604b67632')
+
+build() {
+    cd ${pkgname}-${pkgver}
+    npm install && npm run build:prod
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+
+    make DESTDIR="${pkgdir}" install
+
+    # Fix npm crazyness
+    chmod -R go-w "${pkgdir}"/usr
+    chown -R root:root "${pkgdir}"/usr
+
+    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+
+    cd ..
+    install -Dm600 config.ini -t "${pkgdir}"/etc/webapps/kresus/
+    install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
+    install -Dm644 ${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
+    install -Dm644 ${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
+}

Deleted: config.ini
===================================================================
--- config.ini	2019-08-26 21:38:53 UTC (rev 502317)
+++ config.ini	2019-08-26 21:39:32 UTC (rev 502318)
@@ -1,159 +0,0 @@
-; 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".
-; Overriden by the KRESUS_DIR environment variable, if it's set.
-; Example:
-; datadir=/home/ben/.kresus
-datadir=/var/lib/kresus
-
-; 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".
-; Overriden by the PORT environment variable, if it's set.
-; Example:
-; port=9876
-port=9876
-
-; The host on which the Kresus server will listen to.
-; 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
-host=127.0.0.1
-
-; The executable version of Python that is going to get used when
-; interacting with Python scripts. This can be python, python2 or
-; python3.
-; Can be removed; defaults to "python2".
-; Overriden by the KRESUS_PYTHON_EXEC environment variable, if it's set.
-; Example:
-; python_exec=python2
-python_exec=
-
-; The directory prefix in the URL, if Kresus is to be served from a
-; subdirectory. For instance, if your website is hosted at example.com
-; and the url prefix is "money", then Kresus will be reachable at
-; example.com/money. By default, it's '', meaning that Kresus has its own
-; subdomain.
-; Can be removed; defaults to "".
-; Overriden by the KRESUS_URL_PREFIX environment variable, if it's set.
-; Example:
-; url_prefix=/money
-url_prefix=
-
-; A salt value used in encryption algorithms (used for instance to
-; encrypt/decrypt exports). It should be a random string value with
-; at least 16 characters if you decide to provide it.
-; Overriden by the KRESUS_SALT environment variable, if it's set.
-; Example:
-; salt=gj4J89fkjf4h29aDi0f{}fu4389sejk`9osk`
-salt=
-
-[weboob]
-
-; 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
-; level)
-; Overriden by the KRESUS_WEBOOB_DIR environment variable, if it's set.
-; Example:
-; srcdir=/home/ben/code/weboob
-srcdir=
-
-; Path to a file containing a valid Weboob's source list directory.
-; If empty (the default), indicates that Kresus will generate its own
-; source list file and will store it in
-; DATA_DIR/weboob-data/sources.list.
-; Overriden by the KRESUS_WEBOOB_SOURCES_LIST environment variable, if it's set.
-; Example:
-; sources_list=/home/ben/code/weboob/sources.list
-sources_list=
-
-[email]
-
-; 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:
-; transport=smtp
-transport=
-
-; The path to the sendmail executable to use. If empty, indicates
-; that the default sendmail executable will be used.
-; Overriden by the KRESUS_EMAIL_SENDMAIL_BIN environment variable, if it's set.
-; Example:
-; sendmail_bin=/usr/bin/sendmail
-sendmail_bin=
-
-; The email address from which email alerts will be sent. Make sure
-; that your domain DNS is correctly configured and that you've done
-; what's needed to prevent email alerts from landing in the spam folder.
-; Overriden by the KRESUS_EMAIL_FROM environment variable, if it's set.
-; Example:
-; from=kresus at domain.tld
-from=
-
-; The network address (ipv4, ipv6 or FQDN) of the SMTP server.
-; Overriden by the KRESUS_EMAIL_HOST environment variable, if it's set.
-; Example:
-; host=mail.domain.tld
-host=
-
-; The port to which the SMTP server listens. Default values tend to
-; be: 25 (server to server), or 587 (clients to server), or 465
-; (nonstandard).
-; Overriden by the KRESUS_EMAIL_PORT environment variable, if it's set.
-; Example:
-; port=465
-port=
-
-; The username used during authentication to the SMTP server. If
-; empty, indicates an anonymous connection will be used.
-; Overriden by the KRESUS_EMAIL_USER environment variable, if it's set.
-; Example:
-; user=login
-user=
-
-; The password used during authentication to the SMTP server. If
-; empty, indicates no password will be used.
-; Overriden by the KRESUS_EMAIL_PASSWORD environment variable, if it's set.
-; Example:
-; password=hunter2
-password=
-
-; 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".
-; Overriden by the KRESUS_EMAIL_FORCE_TLS environment variable, if it's set.
-; Example:
-; force_tls=false
-force_tls=
-
-; If set to false, will allow self-signed TLS certificates.
-; 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
-reject_unauthorized_tls=
-
-[logs]
-
-; The path to the log file to use. If empty, defaults to kresus.log
-; in datadir.
-; Overriden by the KRESUS_LOG_FILE environment variable, if it's set.
-; Example:
-; log_file=/var/log/kresus.log
-log_file=

Copied: kresus/repos/community-x86_64/config.ini (from rev 502317, kresus/trunk/config.ini)
===================================================================
--- config.ini	                        (rev 0)
+++ config.ini	2019-08-26 21:39:32 UTC (rev 502318)
@@ -0,0 +1,159 @@
+; 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".
+; Overriden by the KRESUS_DIR environment variable, if it's set.
+; Example:
+; datadir=/home/ben/.kresus
+datadir=/var/lib/kresus
+
+; 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".
+; Overriden by the PORT environment variable, if it's set.
+; Example:
+; port=9876
+port=9876
+
+; The host on which the Kresus server will listen to.
+; 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
+host=127.0.0.1
+
+; The executable version of Python that is going to get used when
+; interacting with Python scripts. This can be python, python2 or
+; python3.
+; Can be removed; defaults to "python2".
+; Overriden by the KRESUS_PYTHON_EXEC environment variable, if it's set.
+; Example:
+; python_exec=python2
+python_exec=
+
+; The directory prefix in the URL, if Kresus is to be served from a
+; subdirectory. For instance, if your website is hosted at example.com
+; and the url prefix is "money", then Kresus will be reachable at
+; example.com/money. By default, it's '', meaning that Kresus has its own
+; subdomain.
+; Can be removed; defaults to "".
+; Overriden by the KRESUS_URL_PREFIX environment variable, if it's set.
+; Example:
+; url_prefix=/money
+url_prefix=
+
+; A salt value used in encryption algorithms (used for instance to
+; encrypt/decrypt exports). It should be a random string value with
+; at least 16 characters if you decide to provide it.
+; Overriden by the KRESUS_SALT environment variable, if it's set.
+; Example:
+; salt=gj4J89fkjf4h29aDi0f{}fu4389sejk`9osk`
+salt=
+
+[weboob]
+
+; 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
+; level)
+; Overriden by the KRESUS_WEBOOB_DIR environment variable, if it's set.
+; Example:
+; srcdir=/home/ben/code/weboob
+srcdir=
+
+; Path to a file containing a valid Weboob's source list directory.
+; If empty (the default), indicates that Kresus will generate its own
+; source list file and will store it in
+; DATA_DIR/weboob-data/sources.list.
+; Overriden by the KRESUS_WEBOOB_SOURCES_LIST environment variable, if it's set.
+; Example:
+; sources_list=/home/ben/code/weboob/sources.list
+sources_list=
+
+[email]
+
+; 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:
+; transport=smtp
+transport=
+
+; The path to the sendmail executable to use. If empty, indicates
+; that the default sendmail executable will be used.
+; Overriden by the KRESUS_EMAIL_SENDMAIL_BIN environment variable, if it's set.
+; Example:
+; sendmail_bin=/usr/bin/sendmail
+sendmail_bin=
+
+; The email address from which email alerts will be sent. Make sure
+; that your domain DNS is correctly configured and that you've done
+; what's needed to prevent email alerts from landing in the spam folder.
+; Overriden by the KRESUS_EMAIL_FROM environment variable, if it's set.
+; Example:
+; from=kresus at domain.tld
+from=
+
+; The network address (ipv4, ipv6 or FQDN) of the SMTP server.
+; Overriden by the KRESUS_EMAIL_HOST environment variable, if it's set.
+; Example:
+; host=mail.domain.tld
+host=
+
+; The port to which the SMTP server listens. Default values tend to
+; be: 25 (server to server), or 587 (clients to server), or 465
+; (nonstandard).
+; Overriden by the KRESUS_EMAIL_PORT environment variable, if it's set.
+; Example:
+; port=465
+port=
+
+; The username used during authentication to the SMTP server. If
+; empty, indicates an anonymous connection will be used.
+; Overriden by the KRESUS_EMAIL_USER environment variable, if it's set.
+; Example:
+; user=login
+user=
+
+; The password used during authentication to the SMTP server. If
+; empty, indicates no password will be used.
+; Overriden by the KRESUS_EMAIL_PASSWORD environment variable, if it's set.
+; Example:
+; password=hunter2
+password=
+
+; 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".
+; Overriden by the KRESUS_EMAIL_FORCE_TLS environment variable, if it's set.
+; Example:
+; force_tls=false
+force_tls=
+
+; If set to false, will allow self-signed TLS certificates.
+; 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
+reject_unauthorized_tls=
+
+[logs]
+
+; The path to the log file to use. If empty, defaults to kresus.log
+; in datadir.
+; Overriden by the KRESUS_LOG_FILE environment variable, if it's set.
+; Example:
+; log_file=/var/log/kresus.log
+log_file=

Deleted: kresus.service
===================================================================
--- kresus.service	2019-08-26 21:38:53 UTC (rev 502317)
+++ kresus.service	2019-08-26 21:39:32 UTC (rev 502318)
@@ -1,32 +0,0 @@
-[Unit]
-Description=Kresus service
-After=network.target
-
-[Service]
-User=kresus
-Group=kresus
-Type=simple
-WorkingDirectory=~
-StateDirectory=kresus
-Environment=NODE_ENV=production
-ExecStart=/usr/bin/kresus -c /etc/webapps/kresus/config.ini
-Restart=always
-CapabilityBoundingSet=
-NoNewPrivileges=true
-#SecureBits=noroot-locked
-PrivateUsers=true
-PrivateDevices=true
-PrivateTmp=true
-ProtectHome=true
-ProtectSystem=strict
-ProtectControlGroups=yes
-ProtectKernelTunables=true
-ProtectKernelModules=yes
-LockPersonality=true
-#MemoryDenyWriteExecute=true
-RestrictRealtime=true
-SystemCallArchitectures=native
-SystemCallFilter=@system-service
-
-[Install]
-WantedBy=multi-user.target

Copied: kresus/repos/community-x86_64/kresus.service (from rev 502317, kresus/trunk/kresus.service)
===================================================================
--- kresus.service	                        (rev 0)
+++ kresus.service	2019-08-26 21:39:32 UTC (rev 502318)
@@ -0,0 +1,32 @@
+[Unit]
+Description=Kresus service
+After=network.target
+
+[Service]
+User=kresus
+Group=kresus
+Type=simple
+WorkingDirectory=~
+StateDirectory=kresus
+Environment=NODE_ENV=production
+ExecStart=/usr/bin/kresus -c /etc/webapps/kresus/config.ini
+Restart=always
+CapabilityBoundingSet=
+NoNewPrivileges=true
+#SecureBits=noroot-locked
+PrivateUsers=true
+PrivateDevices=true
+PrivateTmp=true
+ProtectHome=true
+ProtectSystem=strict
+ProtectControlGroups=yes
+ProtectKernelTunables=true
+ProtectKernelModules=yes
+LockPersonality=true
+#MemoryDenyWriteExecute=true
+RestrictRealtime=true
+SystemCallArchitectures=native
+SystemCallFilter=@system-service
+
+[Install]
+WantedBy=multi-user.target

Deleted: kresus.sysusers
===================================================================
--- kresus.sysusers	2019-08-26 21:38:53 UTC (rev 502317)
+++ kresus.sysusers	2019-08-26 21:39:32 UTC (rev 502318)
@@ -1 +0,0 @@
-u kresus - "Kresus" /var/lib/kresus

Copied: kresus/repos/community-x86_64/kresus.sysusers (from rev 502317, kresus/trunk/kresus.sysusers)
===================================================================
--- kresus.sysusers	                        (rev 0)
+++ kresus.sysusers	2019-08-26 21:39:32 UTC (rev 502318)
@@ -0,0 +1 @@
+u kresus - "Kresus" /var/lib/kresus

Deleted: kresus.tmpfiles
===================================================================
--- kresus.tmpfiles	2019-08-26 21:38:53 UTC (rev 502317)
+++ kresus.tmpfiles	2019-08-26 21:39:32 UTC (rev 502318)
@@ -1,2 +0,0 @@
-d /var/lib/kresus 0750 kresus kresus
-z /etc/webapps/kresus/config.ini 0600 kresus kresus

Copied: kresus/repos/community-x86_64/kresus.tmpfiles (from rev 502317, kresus/trunk/kresus.tmpfiles)
===================================================================
--- kresus.tmpfiles	                        (rev 0)
+++ kresus.tmpfiles	2019-08-26 21:39:32 UTC (rev 502318)
@@ -0,0 +1,2 @@
+d /var/lib/kresus 0750 kresus kresus
+z /etc/webapps/kresus/config.ini 0600 kresus kresus



More information about the arch-commits mailing list