mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
finance/libbtc: New port: Tiny Bitcoin Library written in C
This commit is contained in:
parent
31b5775232
commit
1ffaad64df
@ -41,6 +41,7 @@
|
||||
SUBDIR += ktoblzcheck
|
||||
SUBDIR += ledger
|
||||
SUBDIR += ledgersmb12
|
||||
SUBDIR += libbtc
|
||||
SUBDIR += libofx
|
||||
SUBDIR += libstocks
|
||||
SUBDIR += moneymanagerex
|
||||
|
20
finance/libbtc/Makefile
Normal file
20
finance/libbtc/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
PORTNAME= libbtc
|
||||
PORTVERSION= g20210428
|
||||
CATEGORIES= finance
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Tiny Bitcoin Library written in C
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
LIB_DEPENDS= libevent_core.so:devel/libevent
|
||||
|
||||
USES= autoreconf gmake libtool localbase
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_TAGNAME= 0793399
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
finance/libbtc/distinfo
Normal file
3
finance/libbtc/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1621492607
|
||||
SHA256 (libbtc-libbtc-g20210428-0793399_GH0.tar.gz) = 02059305a8a5c8a26787ef74fdb2ec39fb2e68a99dc90310dad69be7ddc9726c
|
||||
SIZE (libbtc-libbtc-g20210428-0793399_GH0.tar.gz) = 1285466
|
18
finance/libbtc/files/patch-include_btc_portable__endian.h
Normal file
18
finance/libbtc/files/patch-include_btc_portable__endian.h
Normal file
@ -0,0 +1,18 @@
|
||||
--- include/btc/portable_endian.h.orig 2022-05-07 20:37:35 UTC
|
||||
+++ include/btc/portable_endian.h
|
||||
@@ -49,6 +49,7 @@
|
||||
|
||||
#include <sys/endian.h>
|
||||
|
||||
+#if !defined(__FreeBSD__)
|
||||
#define be16toh(x) betoh16(x)
|
||||
#define le16toh(x) letoh16(x)
|
||||
|
||||
@@ -57,6 +58,7 @@
|
||||
|
||||
#define be64toh(x) betoh64(x)
|
||||
#define le64toh(x) letoh64(x)
|
||||
+#endif
|
||||
|
||||
#elif defined(__WINDOWS__)
|
||||
|
4
finance/libbtc/pkg-descr
Normal file
4
finance/libbtc/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Libbtc is a very portable C library for creating and manipulating
|
||||
bitcoin data structures and interacting with the p2p network.
|
||||
|
||||
WWW: https://github.com/libbtc/libbtc
|
61
finance/libbtc/pkg-plist
Normal file
61
finance/libbtc/pkg-plist
Normal file
@ -0,0 +1,61 @@
|
||||
bin/bitcoin-send-tx
|
||||
bin/bitcoin-spv
|
||||
bin/bitcointool
|
||||
include/btc/aes256_cbc.h
|
||||
include/btc/base58.h
|
||||
include/btc/bip32.h
|
||||
include/btc/block.h
|
||||
include/btc/blockchain.h
|
||||
include/btc/btc.h
|
||||
include/btc/buffer.h
|
||||
include/btc/chainparams.h
|
||||
include/btc/cstr.h
|
||||
include/btc/ctaes.h
|
||||
include/btc/ecc.h
|
||||
include/btc/ecc_key.h
|
||||
include/btc/hash.h
|
||||
include/btc/headersdb.h
|
||||
include/btc/headersdb_file.h
|
||||
include/btc/hmac.h
|
||||
include/btc/memory.h
|
||||
include/btc/net.h
|
||||
include/btc/netspv.h
|
||||
include/btc/portable_endian.h
|
||||
include/btc/protocol.h
|
||||
include/btc/random.h
|
||||
include/btc/ripemd160.h
|
||||
include/btc/script.h
|
||||
include/btc/segwit_addr.h
|
||||
include/btc/serialize.h
|
||||
include/btc/sha2.h
|
||||
include/btc/tool.h
|
||||
include/btc/tx.h
|
||||
include/btc/utils.h
|
||||
include/btc/vector.h
|
||||
include/btc/wallet.h
|
||||
include/logdb/logdb.h
|
||||
include/logdb/logdb_base.h
|
||||
include/logdb/logdb_core.h
|
||||
include/logdb/logdb_memdb_llist.h
|
||||
include/logdb/logdb_memdb_rbtree.h
|
||||
include/logdb/logdb_rec.h
|
||||
include/logdb/red_black_tree.h
|
||||
include/trezor-crypto/base58.h
|
||||
include/trezor-crypto/blake256.h
|
||||
include/trezor-crypto/blake2_common.h
|
||||
include/trezor-crypto/blake2b.h
|
||||
include/trezor-crypto/groestl.h
|
||||
include/trezor-crypto/groestl_internal.h
|
||||
include/trezor-crypto/hasher.h
|
||||
include/trezor-crypto/hmac.h
|
||||
include/trezor-crypto/memzero.h
|
||||
include/trezor-crypto/options.h
|
||||
include/trezor-crypto/ripemd160.h
|
||||
include/trezor-crypto/segwit_addr.h
|
||||
include/trezor-crypto/sha2.h
|
||||
include/trezor-crypto/sha3.h
|
||||
lib/libbtc.a
|
||||
lib/libbtc.so
|
||||
lib/libbtc.so.0
|
||||
lib/libbtc.so.0.0.0
|
||||
libdata/pkgconfig/libbtc.pc
|
Loading…
Reference in New Issue
Block a user