taldir

Directory service to resolve wallet mailboxes by messenger addresses
Log | Files | Refs | Submodules | README | LICENSE

commit 2e130a43d9c77f029a761d47769101d824ca073c
parent 8d5674aa5af25e520a3451aa74c6a63748780357
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Fri, 25 Apr 2025 20:16:31 +0200

add debian packaging metadata

Diffstat:
MMakefile.in | 1+
Mbootstrap | 7+++++++
Adebian/changelog | 5+++++
Adebian/compat | 1+
Adebian/control | 12++++++++++++
Adebian/rules | 22++++++++++++++++++++++
6 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/Makefile.in b/Makefile.in @@ -14,6 +14,7 @@ conf: sed taldir.conf.in install: server cli + mkdir -p ${DESTDIR}${bindir} install ./taldir-server ${DESTDIR}${bindir} install ./taldir-cli ${DESTDIR}${bindir} mkdir -p ${DESTDIR}${datadir}/taldir diff --git a/bootstrap b/bootstrap @@ -1,5 +1,12 @@ #!/bin/sh +# This is more portable than `which' but comes with +# the caveat of not(?) properly working on busybox's ash: +existence() +{ + type "$1" >/dev/null 2>&1 +} + if ! existence go; then echo "Go binary not in $PATH!" exit 1 diff --git a/debian/changelog b/debian/changelog @@ -0,0 +1,5 @@ +taler-directory (1.0-0) UNRELEASED; urgency=medium + + * Initial release + + -- Martin Schanzenbach <schanzen@gnunet.org> Fri, 25 Apr 2025 22:27:05 +0200 diff --git a/debian/compat b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control @@ -0,0 +1,12 @@ +Source: taler-directory +Maintainer: Martin Schanzenbach <schanzen@gnunet.org> +Build-Depends: + golang (>=1.19) + +Package: taler-directory +Architecture: any +Description: A directory service that facilitates looking up aliases for GNU Taler Wallets +Depends: + postgresql (>=14) + + diff --git a/debian/rules b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +DISTRIBUTION = $(shell lsb_release -sr) +VERSION = 1.0.0 +PACKAGEVERSION = $(VERSION)-0~$(DISTRIBUTION)0 +URL = http://www.taler.net/files/$(TARBALL) + +%: + dh $@ + +override_dh_auto_clean: +override_dh_auto_test: +#override_dh_auto_build: +#override_dh_auto_install: +# wget -N --progress=dot:mega $(URL) +# tar --strip-components=1 -xf $(TARBALL) +# ./configure --prefix=/usr +# make +# make install DESTDIR=debian/memcached +# +#override_dh_gencontrol: +# dh_gencontrol -- -v$(PACKAGEVERSION)