exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 4b4b0b9c48cb501e0afbe2e940135675f5d615a6
parent efafdf44d91779d89ebd86c3d0454493bc2603f4
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Tue,  5 Dec 2023 22:45:43 +0900

-fix /etc/taler/taler.conf permissions in debian package, bump required GNUnet version

Diffstat:
Mdebian/control | 4++--
Adebian/libtalerexchange.postinst | 28++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control @@ -10,7 +10,7 @@ Build-Depends: gcc-12, debhelper-compat (= 12), gettext, - libgnunet-dev (>=0.20), + libgnunet-dev (>=0.21), libcurl4-gnutls-dev (>=7.35.0) | libcurl4-openssl-dev (>= 7.35.0), libgcrypt20-dev (>=1.8), libgnutls28-dev (>=3.2.12), @@ -146,7 +146,7 @@ Section: libdevel Architecture: any Depends: libtalerexchange (= ${binary:Version}), - libgnunet-dev (>=0.20), + libgnunet-dev (>=0.21), libgcrypt20-dev (>=1.8), libmicrohttpd-dev (>=0.9.71), ${misc:Depends}, diff --git a/debian/libtalerexchange.postinst b/debian/libtalerexchange.postinst @@ -0,0 +1,28 @@ +#!/bin/bash + +set -e + +. /usr/share/debconf/confmodule + +case "${1}" in +configure) + + if ! dpkg-statoverride --list /etc/taler/taler.conf >/dev/null 2>&1; then + dpkg-statoverride --add --update \ + root root 644 \ + /etc/taler/taler.conf + fi + + ;; + +abort-upgrade | abort-remove | abort-deconfigure) ;; + +*) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0