notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
Port details
c-lightning Lightning Network implementation in C
0.11.2 net-p2p on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.11.2Version of this port present on the latest quarterly branch.
Maintainer: vd@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-12-31 16:36:41
Last Update: 2023-05-18 16:09:12
Commit Hash: 770e3cc
Also Listed In: finance
License: MIT
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
Expand this list (118 items)
Collapse this list.
  1. /usr/local/share/licenses/c-lightning-0.11.2/catalog.mk
  2. /usr/local/share/licenses/c-lightning-0.11.2/LICENSE
  3. /usr/local/share/licenses/c-lightning-0.11.2/MIT
  4. @sample(c-lightning,c-lightning,0400) etc/lightningd-bitcoin.conf.sample
  5. bin/lightning-cli
  6. bin/lightning-hsmtool
  7. bin/lightningd
  8. libexec/c-lightning/lightning_channeld
  9. libexec/c-lightning/lightning_closingd
  10. libexec/c-lightning/lightning_connectd
  11. libexec/c-lightning/lightning_dualopend
  12. libexec/c-lightning/lightning_gossipd
  13. libexec/c-lightning/lightning_hsmd
  14. libexec/c-lightning/lightning_onchaind
  15. libexec/c-lightning/lightning_openingd
  16. libexec/c-lightning/lightning_websocketd
  17. libexec/c-lightning/plugins/autoclean
  18. libexec/c-lightning/plugins/bcli
  19. libexec/c-lightning/plugins/fetchinvoice
  20. libexec/c-lightning/plugins/funder
  21. libexec/c-lightning/plugins/keysend
  22. libexec/c-lightning/plugins/offers
  23. libexec/c-lightning/plugins/pay
  24. libexec/c-lightning/plugins/spenderp
  25. libexec/c-lightning/plugins/topology
  26. libexec/c-lightning/plugins/txprepare
  27. man/man1/lightning-cli.1.gz
  28. man/man5/lightningd-config.5.gz
  29. man/man7/lightning-addgossip.7.gz
  30. man/man7/lightning-autocleaninvoice.7.gz
  31. man/man7/lightning-check.7.gz
  32. man/man7/lightning-checkmessage.7.gz
  33. man/man7/lightning-close.7.gz
  34. man/man7/lightning-connect.7.gz
  35. man/man7/lightning-createinvoice.7.gz
  36. man/man7/lightning-createonion.7.gz
  37. man/man7/lightning-datastore.7.gz
  38. man/man7/lightning-decode.7.gz
  39. man/man7/lightning-decodepay.7.gz
  40. man/man7/lightning-deldatastore.7.gz
  41. man/man7/lightning-delexpiredinvoice.7.gz
  42. man/man7/lightning-delinvoice.7.gz
  43. man/man7/lightning-delpay.7.gz
  44. man/man7/lightning-disableoffer.7.gz
  45. man/man7/lightning-disconnect.7.gz
  46. man/man7/lightning-feerates.7.gz
  47. man/man7/lightning-fetchinvoice.7.gz
  48. man/man7/lightning-fundchannel.7.gz
  49. man/man7/lightning-fundchannel_cancel.7.gz
  50. man/man7/lightning-fundchannel_complete.7.gz
  51. man/man7/lightning-fundchannel_start.7.gz
  52. man/man7/lightning-funderupdate.7.gz
  53. man/man7/lightning-fundpsbt.7.gz
  54. man/man7/lightning-getinfo.7.gz
  55. man/man7/lightning-getlog.7.gz
  56. man/man7/lightning-getroute.7.gz
  57. man/man7/lightning-getsharedsecret.7.gz
  58. man/man7/lightning-help.7.gz
  59. man/man7/lightning-invoice.7.gz
  60. man/man7/lightning-keysend.7.gz
  61. man/man7/lightning-listchannels.7.gz
  62. man/man7/lightning-listconfigs.7.gz
  63. man/man7/lightning-listdatastore.7.gz
  64. man/man7/lightning-listforwards.7.gz
  65. man/man7/lightning-listfunds.7.gz
  66. man/man7/lightning-listinvoices.7.gz
  67. man/man7/lightning-listnodes.7.gz
  68. man/man7/lightning-listoffers.7.gz
  69. man/man7/lightning-listpays.7.gz
  70. man/man7/lightning-listpeers.7.gz
  71. man/man7/lightning-listsendpays.7.gz
  72. man/man7/lightning-listtransactions.7.gz
  73. man/man7/lightning-multifundchannel.7.gz
  74. man/man7/lightning-multiwithdraw.7.gz
  75. man/man7/lightning-newaddr.7.gz
  76. man/man7/lightning-notifications.7.gz
  77. man/man7/lightning-offer.7.gz
  78. man/man7/lightning-offerout.7.gz
  79. man/man7/lightning-openchannel_abort.7.gz
  80. man/man7/lightning-openchannel_bump.7.gz
  81. man/man7/lightning-openchannel_init.7.gz
  82. man/man7/lightning-openchannel_signed.7.gz
  83. man/man7/lightning-openchannel_update.7.gz
  84. man/man7/lightning-parsefeerate.7.gz
  85. man/man7/lightning-pay.7.gz
  86. man/man7/lightning-ping.7.gz
  87. man/man7/lightning-plugin.7.gz
  88. man/man7/lightning-reserveinputs.7.gz
  89. man/man7/lightning-sendcustommsg.7.gz
  90. man/man7/lightning-sendinvoice.7.gz
  91. man/man7/lightning-sendonion.7.gz
  92. man/man7/lightning-sendonionmessage.7.gz
  93. man/man7/lightning-sendpay.7.gz
  94. man/man7/lightning-sendpsbt.7.gz
  95. man/man7/lightning-setchannel.7.gz
  96. man/man7/lightning-setchannelfee.7.gz
  97. man/man7/lightning-signmessage.7.gz
  98. man/man7/lightning-signpsbt.7.gz
  99. man/man7/lightning-stop.7.gz
  100. man/man7/lightning-txdiscard.7.gz
  101. man/man7/lightning-txprepare.7.gz
  102. man/man7/lightning-txsend.7.gz
  103. man/man7/lightning-unreserveinputs.7.gz
  104. man/man7/lightning-utxopsbt.7.gz
  105. man/man7/lightning-waitanyinvoice.7.gz
  106. man/man7/lightning-waitblockheight.7.gz
  107. man/man7/lightning-waitinvoice.7.gz
  108. man/man7/lightning-waitsendpay.7.gz
  109. man/man7/lightning-withdraw.7.gz
  110. man/man8/lightning-hsmtool.8.gz
  111. man/man8/lightningd.8.gz
  112. share/doc/c-lightning/HACKING.md
  113. share/doc/c-lightning/INSTALL.md
  114. share/doc/c-lightning/LICENSE
  115. share/doc/c-lightning/README.md
  116. @owner
  117. @group
  118. @mode
Collapse this list.
Dependency lines:
  • c-lightning>0:net-p2p/c-lightning
To install the port:
cd /usr/ports/net-p2p/c-lightning/ && make install clean
To add the package, run one of these commands:
  • pkg install net-p2p/c-lightning
  • pkg install c-lightning
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: c-lightning
Flavors: there is no flavor information for this port.
distinfo:

Packages (timestamps in pop-ups are UTC):
c-lightning
ABIlatestquarterly
FreeBSD:11:aarch64pkg-fallout0.8.2.1
FreeBSD:11:amd640.10.10.10.0
FreeBSD:11:armv6pkg-fallout0.8.2.1
FreeBSD:11:i3860.10.10.10.0
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch64pkg-fallout0.11.2
FreeBSD:12:amd640.11.20.11.2
FreeBSD:12:armv6pkg-fallout0.8.2.1
FreeBSD:12:armv7pkg-fallout0.8.2.1
FreeBSD:12:i3860.11.20.11.2
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-fallout0.10.0
FreeBSD:13:aarch640.11.20.11.2
FreeBSD:13:amd640.11.20.11.2
FreeBSD:13:armv60.9.20.11.2
FreeBSD:13:armv70.11.20.11.2
FreeBSD:13:i3860.11.20.11.2
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc640.9.20.11.2
FreeBSD:13:riscv64pkg-fallout0.11.2
FreeBSD:14:aarch640.11.2pkg-fallout
FreeBSD:14:amd640.11.2pkg-fallout
FreeBSD:14:armv60.11.2pkg-fallout
FreeBSD:14:armv70.11.2pkg-fallout
FreeBSD:14:i3860.11.2pkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv640.10.2pkg-fallout
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. py39-mako>=1.0.14 : textproc/py-mako@py39
  3. py39-mrkd>=0.2.0_1 : devel/py-mrkd@py39
  4. msgfmt : devel/gettext-tools
  5. gmake>=4.3 : devel/gmake
  6. python3.9 : lang/python39
  7. autoconf>=2.71 : devel/autoconf
  8. automake>=1.16.5 : devel/automake
  9. libtoolize : devel/libtool
Runtime dependencies:
  1. bitcoin-cli : net-p2p/bitcoin-utils
Library dependencies:
  1. libgmp.so : math/gmp
  2. libsodium.so : security/libsodium
  3. libsqlite3.so : databases/sqlite3
  4. libintl.so : devel/gettext-runtime
There are no ports dependent upon this port

Configuration Options:
Options name:
USES:
pkg-message:
For install:
WWW: https://github.com/ElementsProject/lightning
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/ElementsProject/lightning/tar.gz/v0.11.2?dummy=/
Collapse this list.

Number of commits found: 22

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.11.2
18 May 2023 16:09:12
commit hash:770e3ccb0b23726fc71131a744c4cc7471fb75a6commit hash:770e3ccb0b23726fc71131a744c4cc7471fb75a6commit hash:770e3ccb0b23726fc71131a744c4cc7471fb75a6commit hash:770e3ccb0b23726fc71131a744c4cc7471fb75a6 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
net-p2p/c-lightning: Unbreak on llvm15

Approved by:	portmgr (blanket)
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.11.2
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.11.2
20 Jul 2022 14:22:43
commit hash:ef8eaee7579a2e6598077d27c62d8a7af4434276commit hash:ef8eaee7579a2e6598077d27c62d8a7af4434276commit hash:ef8eaee7579a2e6598077d27c62d8a7af4434276commit hash:ef8eaee7579a2e6598077d27c62d8a7af4434276 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
net-p2p: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Attila Nagy <bra@fsn.hu>
  *  Chad J. Milios <milios@ccsys.com>
  *  Damian Gerow <dgerow@afflictions.org>
  *  Daniel Morante <daniel@morante.net>
  *  Dave Cottlehuber <dch@skunkwerks.at>
  *  Dereckson <dereckson@gmail.com>
  *  Devin Teske <dteske@FreeBSD.org>
  *  Dmitriy Limonov
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.11.2
29 Jun 2022 08:45:51
commit hash:aa6c6f7b5d606fc8f8ef1d84e36532985e1de5d6commit hash:aa6c6f7b5d606fc8f8ef1d84e36532985e1de5d6commit hash:aa6c6f7b5d606fc8f8ef1d84e36532985e1de5d6commit hash:aa6c6f7b5d606fc8f8ef1d84e36532985e1de5d6 files touched by this commit
Vasil Dimov (vd) search for other commits by this committer
net-p2p/c-lightning: Upgrade from 0.11.1 to 0.11.2
0.11.1
16 Jun 2022 07:10:22
commit hash:9cd2d4b7888fc264132f304349a1169a76c06f92commit hash:9cd2d4b7888fc264132f304349a1169a76c06f92commit hash:9cd2d4b7888fc264132f304349a1169a76c06f92commit hash:9cd2d4b7888fc264132f304349a1169a76c06f92 files touched by this commit
Vasil Dimov (vd) search for other commits by this committer
net-p2p/c-lightning: Upgrade from 0.10.2 to 0.11.1
0.10.2
22 Nov 2021 11:52:08
commit hash:1ec29872bf758e541e7932b6c449d1a88b59b594commit hash:1ec29872bf758e541e7932b6c449d1a88b59b594commit hash:1ec29872bf758e541e7932b6c449d1a88b59b594commit hash:1ec29872bf758e541e7932b6c449d1a88b59b594 files touched by this commit
Vasil Dimov (vd) search for other commits by this committer
net-p2p/c-lightning: Upgrade from 0.10.1 to 0.10.2
0.10.1
23 Oct 2021 18:52:50
commit hash:ef9af3997eacb3ab8598ee1534b4377499aad60bcommit hash:ef9af3997eacb3ab8598ee1534b4377499aad60bcommit hash:ef9af3997eacb3ab8598ee1534b4377499aad60bcommit hash:ef9af3997eacb3ab8598ee1534b4377499aad60b files touched by this commit
Stefan Eßer (se) search for other commits by this committer
net-p2p/c-lightning: Add CPE information

Approved by:    portmgr (blanket)
0.10.1
10 Aug 2021 11:27:15
commit hash:98c51cbc68919501fbde84d72591e760c956d379commit hash:98c51cbc68919501fbde84d72591e760c956d379commit hash:98c51cbc68919501fbde84d72591e760c956d379commit hash:98c51cbc68919501fbde84d72591e760c956d379 files touched by this commit
Vasil Dimov (vd) search for other commits by this committer
net-p2p/c-lightning: Upgrade from 0.10.0 to 0.10.1
0.10.0
06 Apr 2021 15:08:23
commit hash:79edb892714316024e1869f51ea2d67942743141commit hash:79edb892714316024e1869f51ea2d67942743141commit hash:79edb892714316024e1869f51ea2d67942743141commit hash:79edb892714316024e1869f51ea2d67942743141 files touched by this commit
Vasil Dimov (vd) search for other commits by this committer
net-p2p/c-lightning: Upgrade from 0.9.3 to 0.10.0
0.9.3
06 Apr 2021 14:31:13
commit hash:135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash:135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash:135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash:135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
0.9.3
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.9.3
10 Mar 2021 10:29:14
Revision:567992Original commit files touched by this commit
vd search for other commits by this committer
net-p2p/c-lightning: Upgrade from 0.9.3 to 0.9.3
0.9.2
14 Dec 2020 10:12:07
Revision:558090Original commit files touched by this commit
vd search for other commits by this committer
net-p2p/c-lightning: Upgrade from 0.9.1 to 0.9.2
0.9.1
05 Oct 2020 14:54:24
Revision:551498Original commit files touched by this commit
vd search for other commits by this committer
net-p2p/c-lightning: Upgrade from 0.8.2.1 to 0.9.1
0.8.2.1
25 Jun 2020 14:11:41
Revision:540394Original commit files touched by this commit
vd search for other commits by this committer
net-p2p/c-lightning: fix compilation on i386
0.8.2.1
25 May 2020 13:17:47
Revision:536467Original commit files touched by this commit
vd search for other commits by this committer
net-p2p/c-lightning: Upgrade from 0.8.1 to 0.8.2.1
0.8.1_1
17 Mar 2020 17:23:45
Revision:528588Original commit files touched by this commit
vd search for other commits by this committer
net-p2p/c-lightning: fix on head and wait bitcoind

* Fix compilation on FreeBSD 13-CURRENT

* Instruct rc(8) to start lightningd after bitcoind, if the latter is to be
  started on this host.

* Wait for bitcoind RPC to be available before starting lightningd because:
  - even though bitcoind would start and its rc script exit, it will not serve
    RPC requests immediately
  - lightningd would not start if bitcoind RPC is not available
0.8.1
18 Feb 2020 13:33:13
Revision:526457Original commit files touched by this commit
vd search for other commits by this committer
net-p2p/c-lightning: Upgrade from 0.8.0 to 0.8.1
0.8.0_1
21 Jan 2020 10:48:59
Revision:523712Original commit files touched by this commit
pkubaj search for other commits by this committer
net-p2p/c-lightning: fix build on GCC architectures

Needs C11 compiler:
cc1: error: unrecognized command line option "-std=gnu11"

Needs include sys/types.h in fdpass.c:
ccan/ccan/fdpass/fdpass.c: In function 'fdpass_send':
ccan/ccan/fdpass/fdpass.c:16:12: error: 'register_t' undeclared (first use in
this function)
   16 |   char buf[CMSG_SPACE(sizeof(fd))];
      |            ^~~~~~~~~~

PR:		243481
Approved by:	vd (maintainer)
MFH:		2020Q1 (fix build blanket)
0.8.0_1
07 Jan 2020 11:12:17
Revision:522323Original commit files touched by this commit
vd search for other commits by this committer
net-p2p/c-lightning: fix bitcoin-cli exec setup

lightningd does execute bitcoin-cli internally during runtime.

Fix two problems with that:

* The bitcoin-cli executable is usually located in
  /usr/local/bin/bitcoin-cli but service(8) would remove /usr/local/bin
  from PATH before executing our rc script /usr/local/etc/rc.d/lightningd
  and so the lightningd daemon would inherit a PATH that does not contain
  bitcoin-cli. To fix this give the full path to bitcoin-cli to lightningd.

* bitcoin-cli(1) tries to create its datadir when it starts if it does not
  exist. By default that is ${HOME}/.bitcoin. service(8) would set HOME=/
  and if / is mounted read-only, then this creation would fail. Because we
  don't want this directory created (it is not necessary and remains empty)
  tell lightningd to execute
  bitcoin-cli --datadir=/some/directory/that/already/exists.

Also, append ${lightningd_extra_args} to the lightingd arguments. This was
forgotten in the initial commit and setting lightningd_extra_args would have
had no effect.

Reported by:	https://github.com/bitcoin-software
0.8.0
31 Dec 2019 16:36:34
Revision:521643Original commit files touched by this commit
vd search for other commits by this committer
net-p2p/c-lightning: Add a new port - Lightning Network implementation in C

A lighweight, highly customizable and standard compliant
implementation of the Lightning Network protocol.

https://github.com/ElementsProject/lightning

Number of commits found: 22