BSD Ports

net-p2p/c-lightning 26.06.9_1 FreeBSD

Lightning Network implementation in C

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
MIT
Categories
net-p2p, finance
Package size
47084.6 KiB, 290346.0 KiB installed

Description

c-lightning is a lighweight, highly customizable and standard compliant implementation of the Lightning Network protocol.

In the other systems

SystemPortVersion
FreeBSDnet-p2p/c-lightning26.06.9_1
HardenedBSDnet-p2p/c-lightning26.06.8
GhostBSDnet-p2p/c-lightning26.06.7

Install

Binary package:

pkg install c-lightning

From the ports tree:

cd /usr/ports/net-p2p/c-lightning/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	c-lightning>0:net-p2p/c-lightning

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest26.06.926.06.9_10.11.225.02.2_226.06.9_1
FreeBSD:14:quarterly26.06.826.06.8n/a25.02.2_126.06.8
FreeBSD:15:latest26.06.9_126.06.9_1n/a25.02.2_225.02.2_2
FreeBSD:15:quarterly26.06.826.06.8n/an/an/a
FreeBSD:16:latest26.06.826.06.9_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 5

Library 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 44
Run dependencies 8
Required by 1

Configuration

Options name: net-p2p_c-lightning

OptionDefaultDescription
ASANoffCompile with address-sanitizer
COMPATIBILITYonCompatibility mode, good to disable to see if your software breaks
DEBUGoffExtra debug checks in the build, good for testing
POSTGRESQLoffUse PostgreSQL for storage
RUSTonInstall cln-grpc and clnrest plugins (Rust dependent)
SQLITEonUse SQLite for storage
VALGRINDoffRun tests with Valgrind
USES
autoreconf:build compiler:c11 cpe gettext-tools:build gmake libtool python:build shebangfix
Service scripts
lightningd

Message after installing

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.

If you run lightningd inside a jail, the jail must have allow.mlock
enabled. lightning_hsmd locks hsm_secret into RAM to keep the private key
out of swap; mlock(2) is denied in a jail without allow.mlock, and hsmd
aborts with a bare "FATAL SIGNAL 6" and no diagnostic.

For a jail managed by jail.conf(5), add to the jail's section:

    allow.mlock = 1;

Then restart the jail and confirm with "jls -nj <jailname>", which should
list allow.mlock rather than allow.nomlock.

Files

Manual pages 207
  • lightning-addgossip(7)
  • lightning-addpsbtoutput(7)
  • lightning-askrene-age(7)
  • lightning-askrene-bias-channel(7)
  • lightning-askrene-bias-node(7)
  • lightning-askrene-create-channel(7)
  • lightning-askrene-create-layer(7)
  • lightning-askrene-disable-node(7)
  • lightning-askrene-inform-channel(7)
  • lightning-askrene-listlayers(7)
  • lightning-askrene-listreservations(7)
  • lightning-askrene-remove-layer(7)
  • lightning-askrene-reserve(7)
  • lightning-askrene-unreserve(7)
  • lightning-askrene-update-channel(7)
  • lightning-autoclean-once(7)
  • lightning-autoclean-status(7)
  • lightning-batching(7)
  • lightning-bkpr-channelsapy(7)
  • lightning-bkpr-dumpincomecsv(7)
  • lightning-bkpr-editdescriptionbyoutpoint(7)
  • lightning-bkpr-editdescriptionbypaymentid(7)
  • lightning-bkpr-inspect(7)
  • lightning-bkpr-listaccountevents(7)
  • lightning-bkpr-listbalances(7)
  • lightning-bkpr-listincome(7)
  • lightning-bkpr-report(7)
  • lightning-blacklistrune(7)
  • lightning-cancelrecurringinvoice(7)
  • lightning-check(7)
  • lightning-checkmessage(7)
  • lightning-checkrune(7)
  • lightning-cli(1)
  • lightning-clnrest-register-path(7)
  • lightning-close(7)
  • lightning-commando(7)
  • lightning-connect(7)
  • lightning-createinvoice(7)
  • lightning-createonion(7)
  • lightning-createproof(7)
  • lightning-createrune(7)
  • lightning-currencyconvert(7)
  • lightning-currencyrate(7)
  • lightning-datastore(7)
  • lightning-datastoreusage(7)
  • lightning-decode(7)
  • lightning-deldatastore(7)
  • lightning-delforward(7)
  • lightning-delinvoice(7)
  • lightning-delnetworkevent(7)
  • lightning-delpay(7)
  • lightning-deprecations(7)
  • lightning-dev-forget-channel(7)
  • lightning-dev-splice(7)
  • lightning-disableinvoicerequest(7)
  • lightning-disableoffer(7)
  • lightning-disconnect(7)
  • lightning-downgrade(8)
  • lightning-emergencyrecover(7)
  • lightning-enableoffer(7)
  • lightning-exposesecret(7)
  • lightning-feerates(7)
  • lightning-fetchbip353(7)
  • lightning-fetchinvoice(7)
  • lightning-fundchannel(7)
  • lightning-fundchannel_cancel(7)
  • lightning-fundchannel_complete(7)
  • lightning-fundchannel_start(7)
  • lightning-funderupdate(7)
  • lightning-fundpsbt(7)
  • lightning-getemergencyrecoverdata(7)
  • lightning-getinfo(7)
  • lightning-getlog(7)
  • lightning-getroute(7)
  • lightning-getroutes(7)
  • lightning-graceful(7)
  • lightning-help(7)
  • lightning-hook-commitment_revocation(7)
  • lightning-hook-custommsg(7)
  • lightning-hook-db_write(7)
  • lightning-hook-htlc_accepted(7)
  • lightning-hook-invoice_payment(7)
  • lightning-hook-onion_message_recv(7)
  • lightning-hook-onion_message_recv_secret(7)
  • lightning-hook-openchannel(7)
  • lightning-hook-openchannel2(7)
  • lightning-hook-openchannel2_changed(7)
  • lightning-hook-openchannel2_sign(7)
  • lightning-hook-peer_connected(7)
  • lightning-hook-rbf_channel(7)
  • lightning-hook-recover(7)
  • lightning-hook-rpc_command(7)
  • lightning-hsmtool(8)
  • lightning-injectonionmessage(7)
  • lightning-injectpaymentonion(7)
  • lightning-invoice(7)
  • lightning-invoicerequest(7)
  • lightning-keysend(7)
  • lightning-listaddresses(7)
  • lightning-listchainmoves(7)
  • lightning-listchannelmoves(7)
  • lightning-listchannels(7)
  • lightning-listclosedchannels(7)
  • lightning-listconfigs(7)
  • lightning-listcurrencyrates(7)
  • lightning-listdatastore(7)
  • lightning-listforwards(7)
  • lightning-listfunds(7)
  • lightning-listhtlcs(7)
  • lightning-listinvoicerequests(7)
  • lightning-listinvoices(7)
  • lightning-listnetworkevents(7)
  • lightning-listnodes(7)
  • lightning-listoffers(7)
  • lightning-listpays(7)
  • lightning-listpeerchannels(7)
  • lightning-listpeers(7)
  • lightning-listsendpays(7)
  • lightning-listsqlschemas(7)
  • lightning-listtransactions(7)
  • lightning-makesecret(7)
  • lightning-multifundchannel(7)
  • lightning-multiwithdraw(7)
  • lightning-newaddr(7)
  • lightning-notification-balance_snapshot(7)
  • lightning-notification-block_added(7)
  • lightning-notification-channel_open_failed(7)
  • lightning-notification-channel_opened(7)
  • lightning-notification-channel_state_changed(7)
  • lightning-notification-coin_movement(7)
  • lightning-notification-connect(7)
  • lightning-notification-custommsg(7)
  • lightning-notification-deprecated_oneshot(7)
  • lightning-notification-disconnect(7)
  • lightning-notification-forward_event(7)
  • lightning-notification-invoice_creation(7)
  • lightning-notification-invoice_payment(7)
  • lightning-notification-log(7)
  • lightning-notification-onionmessage_forward_fail(7)
  • lightning-notification-openchannel_peer_sigs(7)
  • lightning-notification-plugin_started(7)
  • lightning-notification-plugin_stopped(7)
  • lightning-notification-sendpay_failure(7)
  • lightning-notification-sendpay_success(7)
  • lightning-notification-shutdown(7)
  • lightning-notification-warning(7)
  • lightning-notification-xpay_pay_part_end(7)
  • lightning-notification-xpay_pay_part_start(7)
  • lightning-notifications(7)
  • lightning-offer(7)
  • lightning-openchannel_abort(7)
  • lightning-openchannel_bump(7)
  • lightning-openchannel_init(7)
  • lightning-openchannel_signed(7)
  • lightning-openchannel_update(7)
  • lightning-parsefeerate(7)
  • lightning-pay(7)
  • lightning-ping(7)
  • lightning-plugin(7)
  • lightning-preapproveinvoice(7)
  • lightning-preapprovekeysend(7)
  • lightning-reckless(1)
  • lightning-reckless(7)
  • lightning-recover(7)
  • lightning-recoverchannel(7)
  • lightning-renepay(7)
  • lightning-renepaystatus(7)
  • lightning-reserveinputs(7)
  • lightning-sendamount(7)
  • lightning-sendcustommsg(7)
  • lightning-sendinvoice(7)
  • lightning-sendonion(7)
  • lightning-sendpay(7)
  • lightning-sendpsbt(7)
  • lightning-setchannel(7)
  • lightning-setconfig(7)
  • lightning-setpsbtversion(7)
  • lightning-showrunes(7)
  • lightning-signinvoice(7)
  • lightning-signmessage(7)
  • lightning-signmessagewithkey(7)
  • lightning-signpsbt(7)
  • lightning-splice_init(7)
  • lightning-splice_signed(7)
  • lightning-splice_update(7)
  • lightning-splicein(7)
  • lightning-spliceout(7)
  • lightning-sql(7)
  • lightning-staticbackup(7)
  • lightning-stop(7)
  • lightning-txdiscard(7)
  • lightning-txprepare(7)
  • lightning-txsend(7)
  • lightning-unreserveinputs(7)
  • lightning-upgradewallet(7)
  • lightning-utxopsbt(7)
  • lightning-wait(7)
  • lightning-waitanyinvoice(7)
  • lightning-waitblockheight(7)
  • lightning-waitinvoice(7)
  • lightning-waitsendpay(7)
  • lightning-withdraw(7)
  • lightning-xkeysend(7)
  • lightning-xpay(7)
  • lightningd(8)
  • lightningd-config(5)
  • lightningd-rpc(7)
pkg-plist 251
  • @sample(,,0400) etc/lightningd-bitcoin.conf.sample
  • libexec/c-lightning/plugins/cln-bip353
  • libexec/c-lightning/plugins/cln-bwatch
  • libexec/c-lightning/plugins/cln-currencyrate
  • libexec/c-lightning/plugins/cln-grpc
  • libexec/c-lightning/plugins/cln-lsps-client
  • libexec/c-lightning/plugins/cln-lsps-service
  • libexec/c-lightning/plugins/clnrest
  • libexec/c-lightning/plugins/wss-proxy
  • bin/lightning-cli
  • bin/lightning-hsmtool
  • bin/lightningd
  • bin/reckless
  • libexec/c-lightning/lightning_channeld
  • libexec/c-lightning/lightning_closingd
  • libexec/c-lightning/lightning_connectd
  • libexec/c-lightning/lightning_dualopend
  • libexec/c-lightning/lightning_gossip_compactd
  • libexec/c-lightning/lightning_gossipd
  • libexec/c-lightning/lightning_hsmd
  • libexec/c-lightning/lightning_onchaind
  • libexec/c-lightning/lightning_openingd
  • libexec/c-lightning/lightning_websocketd
  • libexec/c-lightning/plugins/autoclean
  • libexec/c-lightning/plugins/bcli
  • libexec/c-lightning/plugins/bookkeeper
  • libexec/c-lightning/plugins/chanbackup
  • libexec/c-lightning/plugins/cln-askrene
  • libexec/c-lightning/plugins/cln-renepay
  • libexec/c-lightning/plugins/cln-xpay
  • libexec/c-lightning/plugins/commando
  • libexec/c-lightning/plugins/exposesecret
  • libexec/c-lightning/plugins/funder
  • libexec/c-lightning/plugins/keysend
  • libexec/c-lightning/plugins/offers
  • libexec/c-lightning/plugins/pay
  • libexec/c-lightning/plugins/recklessrpc
  • libexec/c-lightning/plugins/recover
  • libexec/c-lightning/plugins/spenderp
  • libexec/c-lightning/plugins/sql
  • libexec/c-lightning/plugins/topology
  • libexec/c-lightning/plugins/txprepare
  • share/doc/c-lightning/LICENSE
  • share/doc/c-lightning/README.md
  • share/man/man1/lightning-cli.1.gz
  • share/man/man1/lightning-reckless.1.gz
  • share/man/man5/lightningd-config.5.gz
  • share/man/man7/lightning-addgossip.7.gz
  • share/man/man7/lightning-addpsbtoutput.7.gz
  • share/man/man7/lightning-askrene-age.7.gz
  • share/man/man7/lightning-askrene-bias-channel.7.gz
  • share/man/man7/lightning-askrene-bias-node.7.gz
  • share/man/man7/lightning-askrene-create-channel.7.gz
  • share/man/man7/lightning-askrene-create-layer.7.gz
  • share/man/man7/lightning-askrene-disable-node.7.gz
  • share/man/man7/lightning-askrene-inform-channel.7.gz
  • share/man/man7/lightning-askrene-listlayers.7.gz
  • share/man/man7/lightning-askrene-listreservations.7.gz
  • share/man/man7/lightning-askrene-remove-layer.7.gz
  • share/man/man7/lightning-askrene-reserve.7.gz
  • share/man/man7/lightning-askrene-unreserve.7.gz
  • share/man/man7/lightning-askrene-update-channel.7.gz
  • share/man/man7/lightning-autoclean-once.7.gz
  • share/man/man7/lightning-autoclean-status.7.gz
  • share/man/man7/lightning-batching.7.gz
  • share/man/man7/lightning-bkpr-channelsapy.7.gz
  • share/man/man7/lightning-bkpr-dumpincomecsv.7.gz
  • share/man/man7/lightning-bkpr-editdescriptionbyoutpoint.7.gz
  • share/man/man7/lightning-bkpr-editdescriptionbypaymentid.7.gz
  • share/man/man7/lightning-bkpr-inspect.7.gz
  • share/man/man7/lightning-bkpr-listaccountevents.7.gz
  • share/man/man7/lightning-bkpr-listbalances.7.gz
  • share/man/man7/lightning-bkpr-listincome.7.gz
  • share/man/man7/lightning-bkpr-report.7.gz
  • share/man/man7/lightning-blacklistrune.7.gz
  • share/man/man7/lightning-cancelrecurringinvoice.7.gz
  • share/man/man7/lightning-check.7.gz
  • share/man/man7/lightning-checkmessage.7.gz
  • share/man/man7/lightning-checkrune.7.gz
  • share/man/man7/lightning-clnrest-register-path.7.gz
  • share/man/man7/lightning-close.7.gz
  • share/man/man7/lightning-commando.7.gz
  • share/man/man7/lightning-connect.7.gz
  • share/man/man7/lightning-createinvoice.7.gz
  • share/man/man7/lightning-createonion.7.gz
  • share/man/man7/lightning-createproof.7.gz
  • share/man/man7/lightning-createrune.7.gz
  • share/man/man7/lightning-currencyconvert.7.gz
  • share/man/man7/lightning-currencyrate.7.gz
  • share/man/man7/lightning-datastore.7.gz
  • share/man/man7/lightning-datastoreusage.7.gz
  • share/man/man7/lightning-decode.7.gz
  • share/man/man7/lightning-deldatastore.7.gz
  • share/man/man7/lightning-delforward.7.gz
  • share/man/man7/lightning-delinvoice.7.gz
  • share/man/man7/lightning-delnetworkevent.7.gz
  • share/man/man7/lightning-delpay.7.gz
  • share/man/man7/lightning-deprecations.7.gz
  • share/man/man7/lightning-dev-forget-channel.7.gz
  • share/man/man7/lightning-dev-splice.7.gz

The first 100 are listed.

distinfo 392
FileSizeSHA256
rust/crates/adler2-2.0.1.crate13366320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
rust/crates/aho-corasick-1.1.4.crate184015ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301
rust/crates/android_system_properties-0.1.5.crate5243819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311
rust/crates/anstream-1.0.0.crate28916824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d
rust/crates/anstyle-1.0.14.crate17787940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000
rust/crates/anstyle-parse-1.0.0.crate2204252ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e
rust/crates/anstyle-query-1.1.5.crate1026440c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc
rust/crates/anstyle-wincon-3.0.11.crate12638291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d
rust/crates/anyhow-1.0.102.crate486587f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c
rust/crates/arbitrary-1.4.2.crate38307c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1
rust/crates/arc-swap-1.9.1.crate813676a3a1fd6f75306b68087b831f025c712524bcb19aad54e557b1129cfa0a2b207
rust/crates/arrayvec-0.7.6.crate312377c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50
rust/crates/asn1-rs-0.7.2.crate93179b7f43a50ac4fdca5df8e885c21b835997f0a1cdee65494a6847694a98652d9d8
rust/crates/asn1-rs-derive-0.6.0.crate113373109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c
rust/crates/asn1-rs-impl-0.2.0.crate22617b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7
rust/crates/async-trait-0.1.89.crate321719035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb
rust/crates/atomic-waker-1.1.2.crate124221505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0
rust/crates/autocfg-1.5.1.crate18911f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53
rust/crates/axum-0.8.9.crate18052531b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90
rust/crates/axum-core-0.5.6.crate2676908c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1

Commit history 9

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
8be522b0c3 Vasil Dimov net-p2p/c-lightning: upgrade from 26.06.8 to 26.06.9
c32ab753dc Vasil Dimov net-p2p/c-lightning: upgrade from 26.06.7 to 26.06.8
3240756661 Vasil Dimov net-p2p/c-lightning: upgrade from 26.06.6 to 26.06.7
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139

The latest 5 of 9 in the history this site was built from.