Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-p2p/clboss: add new port, The Core Lightning Node Manager
- Loading branch information
Showing
6 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
PORTNAME= clboss | ||
# To build from an arbitrary git commit comment PORTVERSION and PORTREVISION (if present) | ||
PORTVERSION= 0.13 | ||
DISTVERSIONPREFIX= v | ||
# and uncomment the following two lines (use for example -git-HEAD or -git-f8d8348c) | ||
#PORTVERSION= 0 | ||
#PKGNAMESUFFIX= -git-0673c50e7 | ||
CATEGORIES= net-p2p finance | ||
|
||
MAINTAINER= vd@FreeBSD.org | ||
COMMENT= The Core Lightning Node Manager | ||
WWW= https://github.com/ZmnSCPxj/clboss | ||
|
||
LICENSE= MIT | ||
|
||
BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive | ||
LIB_DEPENDS= libcurl.so:ftp/curl \ | ||
libev.so:devel/libev | ||
RUN_DEPENDS= lightningd:net-p2p/c-lightning | ||
|
||
USES= autoreconf \ | ||
compiler:c11 \ | ||
gmake \ | ||
libtool \ | ||
pkgconfig \ | ||
sqlite:3 | ||
|
||
CXXFLAGS= -Wno-deprecated-declarations | ||
|
||
GNU_CONFIGURE= yes | ||
|
||
USE_GITHUB= yes | ||
.if defined(PKGNAMESUFFIX) | ||
GIT_COMMIT= ${PKGNAMESUFFIX:C/-git-//} | ||
.else | ||
GIT_COMMIT= ${DISTVERSIONPREFIX}${PORTVERSION} | ||
.endif | ||
GH_TUPLE= ZmnSCPxj:clboss:${GIT_COMMIT} | ||
|
||
SUB_FILES= pkg-message | ||
PLIST_FILES= bin/clboss | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1707722279 | ||
SHA256 (ZmnSCPxj-clboss-v0.13_GH0.tar.gz) = 5eec4df9116159e56c86beeb80933a997afc5bc46eb18057f9fd670c81830ff4 | ||
SIZE (ZmnSCPxj-clboss-v0.13_GH0.tar.gz) = 2947305 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- Util/Compiler.hpp.orig 2024-02-12 08:08:33 UTC | ||
+++ Util/Compiler.hpp | ||
@@ -1,7 +1,7 @@ | ||
#ifndef COMPILER_H_ | ||
#define COMPILER_H_ | ||
|
||
-#ifdef __GNUC__ | ||
+#if defined(__GNUC__) && !defined(__clang__) | ||
#include <features.h> | ||
// We need a GCC patch here due the following bug | ||
// <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107134> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[ | ||
{ type: install | ||
message: <<EOM | ||
To enable CLBOSS in lightningd add the following line to %%PREFIX%%/etc/lightningd-bitcoin.conf: | ||
|
||
important-plugin=%%PREFIX%%/bin/clboss | ||
|
||
See https://github.com/ZmnSCPxj/clboss#operating for more information. | ||
EOM | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CLBOSS is an automated manager for Core Lightning forwarding nodes. | ||
CLBOSS is effectively a bunch of heuristics modules wired together to a | ||
regular clock to continuously monitor your node. |