Port details |
- c-lightning Lightning Network implementation in C
- 24.11.1 net-p2p =2 24.08Version of this port present on the latest quarterly branch.
- Maintainer: vd@FreeBSD.org
- Port Added: 2019-12-31 16:36:41
- Last Update: 2024-12-19 14:17:01
- Commit Hash: f290545
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: finance
- License: MIT
- WWW:
- https://github.com/ElementsProject/lightning
- Description:
- c-lightning is a lighweight, highly customizable and standard compliant
implementation of the Lightning Network protocol.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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:
- TIMESTAMP = 1734614611
SHA256 (ElementsProject-lightning-v24.11.1_GH0.tar.gz) = a1547eaace167d3a390cade96d5721aa207884e903f90b33bedf4e6993b37781
SIZE (ElementsProject-lightning-v24.11.1_GH0.tar.gz) = 14357219
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- bash : shells/bash
- gsed : textproc/gsed
- lowdown : textproc/lowdown
- jq : textproc/jq
- py311-mako>=1.0.14 : textproc/py-mako@py311
- py311-mrkd>=0.2.0_1 : devel/py-mrkd@py311
- msgfmt : devel/gettext-tools
- gmake>=4.4.1 : devel/gmake
- python3.11 : lang/python311
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- libtoolize : devel/libtool
- Runtime dependencies:
-
- bitcoin-cli : net-p2p/bitcoin-utils
- Library dependencies:
-
- libsodium.so : security/libsodium
- libsqlite3.so : databases/sqlite3
- This port is required by:
- for Run
-
- net-p2p/clboss
Configuration Options:
- ===> The following configuration options are available for c-lightning-24.11.1:
CLNRESTDEPS=off: Install and depend on packages required by the clnrest plugin
COMPATIBILITY=on: Compatibility mode, good to disable to see if your software breaks
DEBUG=off: Extra debug checks in the build, good for testing
WSSPROXYDEPS=off: Install and depend on packages required by the wss-proxy plugin
====> Options available for the multi STORAGE: you have to choose at least one of them
POSTGRESQL=off: Use PostgreSQL for storage
SQLITE=on: Use SQLite for storage
====> Options available for the radio TESTING: you can only select none or one of them
ASAN=off: Compile with address-sanitizer
VALGRIND=off: Run tests with Valgrind
===> Use 'make config' to modify these settings
- Options name:
- net-p2p_c-lightning
- USES:
- autoreconf:build compiler:c11 cpe gettext-tools:build gmake libtool shebangfix sqlite:3 python:build
- pkg-message:
- For install:
- To configure lightningd system-wide and to start it at boot time:
Copy /usr/local/etc/lightningd-bitcoin.conf.sample
to - /usr/local/etc/lightningd-bitcoin.conf and edit according to your setup.
See "lightningd --help" for more information.
Add lightningd_enable="YES" to /usr/local/etc/rc.conf.d/lightningd.
See rc.conf(5) and /usr/local/etc/rc.d/lightningd for more information.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
24.11.1 19 Dec 2024 14:17:01 |
Vasil Dimov (vd) |
net-p2p/c-lightning: upgrade from 24.08.2 to 24.11.1 |
24.08.2 08 Nov 2024 10:23:21 |
Vasil Dimov (vd) |
net-p2p/c-lightning: upgrade from 24.08.1 to 24.08.2 |
24.08.1 02 Oct 2024 07:48:50 |
Vasil Dimov (vd) |
net-p2p/c-lightning: upgrade from 24.08 to 24.08.1 |
24.08 01 Oct 2024 18:56:20 |
Rene Ladan (rene) |
all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X
Reviewed by: many
Differential Revision: https://reviews.freebsd.org/D46601 |
24.08 03 Sep 2024 11:34:01 |
Vasil Dimov (vd) |
net-p2p/c-lightning: upgrade from 24.05 to 24.08 |
24.05 11 Jun 2024 17:16:08 |
Vasil Dimov (vd) |
net-p2p/c-lightning: upgrade from 24.02.2 to 24.05 |
24.02.2_1 20 May 2024 10:33:03 |
Vsevolod Stakhov (vsevolod) |
security/libsodium: update to 1.0.19, bump dependent ports
PR: 278259
Reported by: Andrey Korobkov <alster-vinterdalen.se> |
24.02.2 21 Apr 2024 10:22:04 |
Vasil Dimov (vd) |
net-p2p/c-lightning: upgrade from 24.02 to 24.02.2 |
24.02_1 24 Mar 2024 10:50:39 |
Nuno Teixeira (eduardo) |
net-p2p/c-lightning: Move man pages to share/man
Approved by: portmgr (blanket) |
24.02 28 Feb 2024 10:46:12 |
Vasil Dimov (vd) |
net-p2p/c-lightning: upgrade from 23.11.2 to 24.02 |
23.11.2_1 16 Feb 2024 09:25:52 |
Vasil Dimov (vd) |
net-p2p/c-lightning: hook dependencies for the clnrest plugin
The clnrest plugin is already installed but it depends on a bunch of
Python packages. Add an option to net-p2p/c-lightning to install and
depend on those packages.
Further, 3 of those packages were not in the FreeBSD ports. Add them:
* net-p2p/pyln-bolt7 Lightning Network BOLT7 implementation
* net-p2p/pyln-client Python client library for lightningd (net-p2p/c-lightning)
* net-p2p/pyln-proto Lightning Network protocol implementation
To enable the plugin, add
clnrest-port=
clnrest-protocol=
clnrest-host=
to /usr/local/etc/lightningd-bitcoin.conf, see
https://docs.corelightning.org/docs/rest
Differential Revision: https://reviews.freebsd.org/D43863 |
23.11.2 13 Feb 2024 11:32:26 |
Vasil Dimov (vd) |
net-p2p/c-lightning: unbreak (fixed in 23.11.2) and make build verbose
Suggested by: danfe@ |
23.11.2 12 Feb 2024 08:45:19 |
Vasil Dimov (vd) |
net-p2p/c-lightning: upgrade from 23.11 to 23.11.2 |
23.11 11 Feb 2024 11:48:47 |
Piotr Kubaj (pkubaj) |
net-p2p/c-lightning: mark BROKEN on powerpc
Same issue as i386. |
23.11 04 Dec 2023 10:20:07 |
Vasil Dimov (vd) |
net-p2p/c-lightning: mark as broken on i386
Does not compile due to Werror and an unsigned vs signed mismatch. |
23.11 30 Nov 2023 09:08:02 |
Vasil Dimov (vd) |
net-p2p/c-lightning: Upgrade from 23.08.1 to 23.11 |
23.08.1 03 Oct 2023 11:11:38 |
Vasil Dimov (vd) |
net-p2p/c-lightning: Upgrade from 23.08 to 23.08.1 |
23.08 29 Aug 2023 11:08:29 |
Vasil Dimov (vd) |
net-p2p/c-lightning: Upgrade from 23.05.2 to 23.08 |
23.05.2 25 Jul 2023 07:58:23 |
Vasil Dimov (vd) |
net-p2p/c-lightning: fix architecture name: arm64 is aarch64 |
23.05.2 18 Jul 2023 12:11:42 |
Vasil Dimov (vd) |
net-p2p/c-lightning: attempt to unbreak on arm64
Since arm64 uses two's complement (char)0xff is the same as -1.
Changing to use the latter should silence this compiler error:
ccan/ccan/base64/base64.c:34:10: error: result of comparison of constant 255
with expression of type 'int8_t' (aka 'signed char') is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
if (ret == (char)0xff) {
~~~ ^ ~~~~~~~~~~ |
23.05.2 29 Jun 2023 16:30:00 |
Vasil Dimov (vd) |
net-p2p/c-lightning: Upgrade from 23.05.1 to 23.05.2 |
23.05.1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
23.05.1 23 Jun 2023 10:02:02 |
Vasil Dimov (vd) |
net-p2p/c-lightning: Upgrade from 0.11.2 to 23.05.1 |
0.11.2 18 May 2023 16:09:12 |
Muhammad Moinur Rahman (bofh) |
net-p2p/c-lightning: Unbreak on llvm15
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
0.11.2 20 Jul 2022 14:22:43 |
Tobias C. Berner (tcberner) |
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 ) |
0.11.2 29 Jun 2022 08:45:51 |
Vasil Dimov (vd) |
net-p2p/c-lightning: Upgrade from 0.11.1 to 0.11.2 |
0.11.1 16 Jun 2022 07:10:22 |
Vasil Dimov (vd) |
net-p2p/c-lightning: Upgrade from 0.10.2 to 0.11.1 |
0.10.2 22 Nov 2021 11:52:08 |
Vasil Dimov (vd) |
net-p2p/c-lightning: Upgrade from 0.10.1 to 0.10.2 |
0.10.1 23 Oct 2021 18:52:50 |
Stefan Eßer (se) |
net-p2p/c-lightning: Add CPE information
Approved by: portmgr (blanket) |
0.10.1 10 Aug 2021 11:27:15 |
Vasil Dimov (vd) |
net-p2p/c-lightning: Upgrade from 0.10.0 to 0.10.1 |
0.10.0 06 Apr 2021 15:08:23 |
Vasil Dimov (vd) |
net-p2p/c-lightning: Upgrade from 0.9.3 to 0.10.0 |
0.9.3 06 Apr 2021 14:31:13 |
Mathieu Arnold (mat) |
all: Remove all other $FreeBSD keywords. |
0.9.3 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.9.3 10 Mar 2021 10:29:14 |
vd |
net-p2p/c-lightning: Upgrade from 0.9.3 to 0.9.3 |
0.9.2 14 Dec 2020 10:12:07 |
vd |
net-p2p/c-lightning: Upgrade from 0.9.1 to 0.9.2 |
0.9.1 05 Oct 2020 14:54:24 |
vd |
net-p2p/c-lightning: Upgrade from 0.8.2.1 to 0.9.1 |
0.8.2.1 25 Jun 2020 14:11:41 |
vd |
net-p2p/c-lightning: fix compilation on i386 |
0.8.2.1 25 May 2020 13:17:47 |
vd |
net-p2p/c-lightning: Upgrade from 0.8.1 to 0.8.2.1 |
0.8.1_1 17 Mar 2020 17:23:45 |
vd |
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 |
vd |
net-p2p/c-lightning: Upgrade from 0.8.0 to 0.8.1 |
0.8.0_1 21 Jan 2020 10:48:59 |
pkubaj |
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 |
vd |
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 |
vd |
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 |