taler-rust

GNU Taler code in Rust. Largely core banking integrations.
Log | Files | Refs | Submodules | README | LICENSE

commit a4850c9615ca021e1992aaff7955dfbc544ae5ea
parent 8d324855c5196858bfab1d1109be96df88f372d7
Author: Antoine A <>
Date:   Fri, 12 Dec 2025 15:59:42 +0100

magnet-bank: improve deb

Diffstat:
MMakefile | 10++--------
Mcontrib/taler-magnet-bank-dbconfig | 2+-
Mdebian/etc/taler-magnet-bank/secrets/magnet-bank-worker.secret.conf | 4++++
Mdebian/etc/taler-magnet-bank/taler-magnet-bank.conf | 13++++++++++++-
4 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile @@ -24,17 +24,11 @@ install-nobuild-files: install -m 644 -D -t $(man_dir)/man1 doc/prebuilt/man/taler-magnet-bank.1 install -m 644 -D -t $(man_dir)/man5 doc/prebuilt/man/taler-magnet-bank.conf.5 -.PHONY: install-nobuild-binaries -install-nobuild-binaries: +.PHONY: install +install: build install-nobuild-files install -D -t $(bin_dir) contrib/taler-magnet-bank-dbconfig install -D -t $(bin_dir) target/release/taler-magnet-bank -.PHONY: install-nobuild -install-nobuild: install-nobuild-files install-nobuild-binaries - -.PHONY: install -install: build install-nobuild - .PHONY: check check: install-nobuild-files cargo test diff --git a/contrib/taler-magnet-bank-dbconfig b/contrib/taler-magnet-bank-dbconfig @@ -141,7 +141,7 @@ if [ 0 = "$SKIP_INIT" ] || [ 1 = "$FORCE_PERMS" ]; then fi if ! sudo -i -u postgres psql "$DBNAME" <<-EOF GRANT ALL ON SCHEMA magnet_bank TO "$DBGROUP"; - GRANT SELECT ON ALL TABLES IN SCHEMA magnet_bank TO "$DBGROUP"; + GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA magnet_bank TO "$DBGROUP"; EOF then exit_fail "Failed to grant access to '$DBGROUP'." diff --git a/debian/etc/taler-magnet-bank/secrets/magnet-bank-worker.secret.conf b/debian/etc/taler-magnet-bank/secrets/magnet-bank-worker.secret.conf @@ -1,3 +1,7 @@ [magnet-bank-worker] + +# Your Magnet Bank API unique identifier CONSUMER_KEY = + +# Your Magnet Bank API confidential key CONSUMER_SECRET = diff --git a/debian/etc/taler-magnet-bank/taler-magnet-bank.conf b/debian/etc/taler-magnet-bank/taler-magnet-bank.conf @@ -9,7 +9,7 @@ # and should not be edited by humans. Comments in this file # are not preserved. # - conf.d/ contains configuration files for -# Taler components, which can be read by all +# Taler Magnet Bank Adapter components, which can be read by all # users of the system and are included by the main # configuration. # - secrets/ contains configuration snippets @@ -19,15 +19,26 @@ # can read it. All files in it should end with # ".secret.conf". +[magnet-bank] + +# IBAN of the Magnet Bank account to sync +IBAN = + +# Legal entity that is associated with the Magnet Bank account +NAME = + + # Inline configurations from all Taler Magnet Bank Adapter components. @inline-matching@ conf.d/*.conf # Overrides from tools that help with configuration. @inline@ overrides.conf + [paths] # Paths for the system-wide installation of the Taler Magnet Bank Adapter. Do not remove # or change these unless you are very sure of what you are doing. MAGNET_BANK_HOME = /var/lib/taler-magnet-bank/ +