draft for taler-harness Debian package

This commit is contained in:
Christian Grothoff 2023-02-25 12:25:13 +01:00
parent d8698159e1
commit 143e003991
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
6 changed files with 74 additions and 4 deletions

View File

@ -0,0 +1,8 @@
For the moment, building the Debian package needs
a preliminary manual step to install the taler-harness
Node.JS package. In the future, this will either be invoked
by DH, or added as packaging instructions to Debian.
$ ./configure --prefix=/usr
$ make install
$ dpkg-buildpackage -rfakeroot -b -uc -us

View File

@ -0,0 +1,9 @@
taler-harness (0.9.2) unstable; urgency=low
* Official 0.9.2 release.
-- Christian Grothoff <grothoff@gnu.org> Sat, 25 Feb 2023 12:47:15 -0300
Local variables:
mode: debian-changelog
End:

View File

@ -0,0 +1,16 @@
Source: taler-harness
Section: networking
Priority: optional
Maintainer: Taler Systems SA <deb@taler.net>
Uploaders: Christian Grothoff <grothoff@gnu.org>, Florian Dold <dold@taler.net>
Build-Depends: debhelper-compat (= 12),
Standards-Version: 4.1.0
Vcs-Git: https://git.taler.net/wallet-core.git
Homepage: https://taler.net/
Package: taler-harness
Architecture: all
Depends: nodejs,
${misc:Depends}
Recommends:
Description: Software package to test Taler installations.

View File

@ -0,0 +1,36 @@
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk
TALER_HARNESS_HOME = /usr/share/taler-harness
build: build-arch build-indep
build-arch:
true
build-indep:
true
override_dh_auto_install:
dh_install bin/taler-harness.mjs $(TALER_HARNESS_HOME)/node_modules/taler-harness/bin
dh_install dist/taler-harness-bundled.mjs $(TALER_HARNESS_HOME)/node_modules/taler-harness/dist
dh_install dist/taler-harness-bundled.mjs.map $(TALER_HARNESS_HOME)/node_modules/taler-harness/dist
dh_link $(TALER_HARNESS_HOME)/node_modules/taler-harness/bin/taler-wallet-cli.mjs /usr/bin/taler-harness
override_dh_builddeb:
dh_builddeb -- -Zgzip
binary:
dh $@
binary-arch:
dh $@
binary-indep:
dh $@
clean:
true
# Override this step because it's very slow and likely
# unnecessary for us.
override_dh_strip_nondeterminism:
true
get-orig-source:
uscan --force-download --rename

View File

@ -1,7 +1,8 @@
For the moment, building the debian package needs
a preliminary manual step to compile the taler-wallet-cli
For the moment, building the Debian package needs
a preliminary manual step to install the taler-wallet-cli
Node.JS package. In the future, this will either be invoked
by DH, or added as packaging instructions to Debian.
$ pnpm run compile
$ ./configure --prefix=/usr
$ make install
$ dpkg-buildpackage -rfakeroot -b -uc -us

View File

@ -13,4 +13,4 @@ Architecture: all
Depends: nodejs,
${misc:Depends}
Recommends:
Description: Software package to test Taler installations.
Description: This is a command-line interface version of the GNU Taler wallet.