Skip to content

Commit

Permalink
Update LND to 0.18.1
Browse files Browse the repository at this point in the history
The new version of LND also supports generating manpages. We add a
quick-and-dirty way to do that. It doesn't support cross compilation but
we don't do that now anyway. It could be relatively easily added by
downloading the HOST archive and using that to generate.
  • Loading branch information
Kixunil committed Jul 4, 2024
1 parent 11fc3a7 commit b90a38c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build_rules/lnd.pin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9ac3607b2421de4939e41b87e640a7f65682333813f2cd7c6e6168c89d905b69 lnd-linux-amd64-v0.17.0-beta.tar.gz
468ee28efa13d844b6937a4dc3907d1d58ae93b7ae6dd8c54460cab76dc15c35 lnd-linux-amd64-v0.18.1-beta.tar.gz
2 changes: 2 additions & 0 deletions build_rules/lnd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ shasums:
url: https://github.com/lightningnetwork/lnd/releases/download/v$(LND_VERSION)-beta/manifest-v$(LND_VERSION)-beta.txt
detached_sig: https://github.com/lightningnetwork/lnd/releases/download/v$(LND_VERSION)-beta/manifest-guggero-v$(LND_VERSION)-beta.sig

run: ./lncli generatemanpage

build_system: none
3 changes: 3 additions & 0 deletions buildsystems/none/debian-makefile-template
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ install:
mkdir -p $(DESTDIR){{{copy_all}}}
cp -at $(DESTDIR){{{copy_all}}} $(filter-out debian Dockerfile% %.Dockerfile docker README.md .% LICENSE% CONTRIBUTING% docs {{copy_exclude_files}}, $(wildcard *))
{{/copy_all}}
{{#run}}
{{{run}}}
{{/run}}
1 change: 1 addition & 0 deletions pkg_specs/lncli.sps
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ architecture = "any"
summary = "Lightnning Network Daemon CLI"
suggests = ["lnd-system-mainnet | lnd-system-regtest"]
add_files = ["lncli /usr/lib/lncli"]
add_manpages = ["lncli.1"]
import_files = [["../lnd/xlncli", "/usr/share/lncli/xlncli"]]
long_doc = """lncli is a tool used for managing lnd from the command line. This package
also contains a wrapper used to connect to the system-wide LND by default.
Expand Down
6 changes: 6 additions & 0 deletions pkg_specs/lnd.changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
lnd (0.18.1-1) buster; urgency=medium

* Updated upstream version
* Added man pages

-- Martin Habovstiak <[email protected]> Thu, 04 Jul 2024 18:10:12 +0000
lnd (0.17.0-1) buster; urgency=medium

* Updated upstream version
Expand Down
1 change: 1 addition & 0 deletions pkg_specs/lnd.sps
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ summary = "Lightnning Network Daemon"
recommends = ["bitcoin-mainnet | bitcoin-regtest, lnd-system-mainnet | bitcoin-regtest, lnd-system-regtest | bitcoin-mainnet, lnd-system-both | lnd-system-mainnet | lnd-system-regtest"]
suggests = ["lncli"]
add_files = ["lnd /usr/bin"]
add_manpages = ["lnd.1"]
import_files = [
["../lnd/bash_lib.sh", "/usr/share/lnd/lib/bash.sh"],
["../lnd/get_external_addr.sh", "/usr/share/lnd/get_external_addr.sh"]
Expand Down

0 comments on commit b90a38c

Please sign in to comment.