net-p2p/cardano-db-sync 13.7.2.1_2 FreeBSD
PostgreSQL-driven Cardano blockchain data tool
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
85ba298b7e- License
- APACHE20
- Categories
- net-p2p, databases
- Package size
- 14480.4 KiB, 91396.6 KiB installed
Description
The purpose of Cardano DB Sync is to follow the Cardano chain and take information from the chain and an internally maintained copy of ledger state. Data is then extracted from the chain and inserted into a PostgreSQL database. Queries can then be written directly against the database schema or as queries embedded in any language with libraries for interacting with an SQL database. This package provides a daemon program to run the Cardano DB Sync and a CLI DB management tool.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | net-p2p/cardano-db-sync | 13.7.2.1_2 |
| HardenedBSD | net-p2p/cardano-db-sync | 13.7.2.1_1 |
| GhostBSD | net-p2p/cardano-db-sync | 13.7.2.1_1 |
Install
Binary package:
pkg install hs-cardano-db-sync
From the ports tree:
cd /usr/ports/net-p2p/cardano-db-sync/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= hs-cardano-db-sync>0:net-p2p/cardano-db-sync
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 13.7.2.1_1 | 13.7.2.1_2 | - | - | - |
| FreeBSD:14:quarterly | 13.7.2.1_1 | 13.7.2.1_1 | n/a | - | - |
| FreeBSD:15:latest | 13.7.2.1_1 | 13.7.2.1_2 | n/a | - | - |
| FreeBSD:15:quarterly | 13.7.2.1_1 | 13.7.2.1_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 13.7.2.1_1 | 13.7.2.1_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
ghc-9.8.4: lang/ghc98protoc: devel/protobuf
Library 5
libsecp256k1.so: math/secp256k1libblst.so: security/blstlibicuuc.so: devel/iculiblmdb0.so: databases/lmdb0libsnappy.so: archivers/snappy
Runtime 3
cardano-node: net-p2p/cardano-nodebash: shells/bash${LOCALBASE}/share/rc-subr-jail/rc.subr.jail: ports-mgmt/rc-subr-jail
The full lists below include those, and their dependencies in turn.
Build dependencies 29
- archivers/liblz4
- archivers/snappy
- archivers/zstd
- databases/lmdb0
- databases/postgresql18-client
- databases/postgresql18-server
- devel/abseil
- devel/autoconf
- devel/autoconf-switch
- devel/automake
- devel/gettext-runtime
- devel/gmake
- devel/hs-cabal-install
- devel/icu
- devel/jsoncpp
- devel/libffi
- devel/libtool
- devel/llvm19
- devel/m4
- devel/pkgconf
- devel/protobuf
- devel/readline
- lang/ghc98
- lang/perl5.42
- math/gmp
- math/secp256k1
- print/indexinfo
- security/blst
- textproc/libxml2
Run dependencies 19
- archivers/liblz4
- archivers/snappy
- archivers/zstd
- databases/lmdb0
- databases/postgresql18-client
- databases/postgresql18-server
- devel/gettext-runtime
- devel/icu
- devel/libffi
- devel/llvm19
- devel/readline
- math/gmp
- math/secp256k1
- net-p2p/cardano-node
- ports-mgmt/rc-subr-jail
- print/indexinfo
- security/blst
- shells/bash
- textproc/libxml2
No port depends on this one.
Configuration
No options to configure.
- USES
- autoreconf:build cabal gmake libtool pkgconfig pgsql:14+
- Service scripts
cardano_db_sync
Files
pkg-plist 81
- bin/cardano-db-sync-pgsql-setup
- share/hs-cardano-db-sync/schema/migration-1-0000-20190730.sql
- share/hs-cardano-db-sync/schema/migration-1-0001-20190730.sql
- share/hs-cardano-db-sync/schema/migration-1-0002-20190912.sql
- share/hs-cardano-db-sync/schema/migration-1-0003-20200211.sql
- share/hs-cardano-db-sync/schema/migration-1-0004-20201026.sql
- share/hs-cardano-db-sync/schema/migration-1-0005-20210311.sql
- share/hs-cardano-db-sync/schema/migration-1-0006-20210531.sql
- share/hs-cardano-db-sync/schema/migration-1-0007-20210611.sql
- share/hs-cardano-db-sync/schema/migration-1-0008-20210727.sql
- share/hs-cardano-db-sync/schema/migration-1-0009-20210727.sql
- share/hs-cardano-db-sync/schema/migration-1-0010-20230612.sql
- share/hs-cardano-db-sync/schema/migration-1-0011-20230814.sql
- share/hs-cardano-db-sync/schema/migration-1-0012-20240211.sql
- share/hs-cardano-db-sync/schema/migration-1-0013-20240318.sql
- share/hs-cardano-db-sync/schema/migration-1-0014-20240411.sql
- share/hs-cardano-db-sync/schema/migration-1-0015-20240724.sql
- share/hs-cardano-db-sync/schema/migration-2-0001-20211003.sql
- share/hs-cardano-db-sync/schema/migration-2-0002-20211007.sql
- share/hs-cardano-db-sync/schema/migration-2-0003-20211013.sql
- share/hs-cardano-db-sync/schema/migration-2-0004-20211014.sql
- share/hs-cardano-db-sync/schema/migration-2-0005-20211018.sql
- share/hs-cardano-db-sync/schema/migration-2-0006-20220105.sql
- share/hs-cardano-db-sync/schema/migration-2-0007-20220118.sql
- share/hs-cardano-db-sync/schema/migration-2-0008-20220126.sql
- share/hs-cardano-db-sync/schema/migration-2-0009-20220207.sql
- share/hs-cardano-db-sync/schema/migration-2-0010-20220225.sql
- share/hs-cardano-db-sync/schema/migration-2-0011-20220318.sql
- share/hs-cardano-db-sync/schema/migration-2-0012-20220502.sql
- share/hs-cardano-db-sync/schema/migration-2-0013-20220505.sql
- share/hs-cardano-db-sync/schema/migration-2-0014-20220505.sql
- share/hs-cardano-db-sync/schema/migration-2-0015-20220505.sql
- share/hs-cardano-db-sync/schema/migration-2-0016-20220524.sql
- share/hs-cardano-db-sync/schema/migration-2-0017-20220526.sql
- share/hs-cardano-db-sync/schema/migration-2-0018-20220604.sql
- share/hs-cardano-db-sync/schema/migration-2-0019-20220615.sql
- share/hs-cardano-db-sync/schema/migration-2-0020-20220919.sql
- share/hs-cardano-db-sync/schema/migration-2-0021-20221019.sql
- share/hs-cardano-db-sync/schema/migration-2-0022-20221020.sql
- share/hs-cardano-db-sync/schema/migration-2-0023-20221019.sql
- share/hs-cardano-db-sync/schema/migration-2-0024-20221020.sql
- share/hs-cardano-db-sync/schema/migration-2-0025-20221020.sql
- share/hs-cardano-db-sync/schema/migration-2-0026-20231017.sql
- share/hs-cardano-db-sync/schema/migration-2-0027-20230713.sql
- share/hs-cardano-db-sync/schema/migration-2-0028-20240117.sql
- share/hs-cardano-db-sync/schema/migration-2-0029-20240117.sql
- share/hs-cardano-db-sync/schema/migration-2-0030-20240108.sql
- share/hs-cardano-db-sync/schema/migration-2-0031-20240117.sql
- share/hs-cardano-db-sync/schema/migration-2-0032-20230815.sql
- share/hs-cardano-db-sync/schema/migration-2-0033-20231009.sql
- share/hs-cardano-db-sync/schema/migration-2-0034-20240301.sql
- share/hs-cardano-db-sync/schema/migration-2-0035-20240308.sql
- share/hs-cardano-db-sync/schema/migration-2-0036-20240318.sql
- share/hs-cardano-db-sync/schema/migration-2-0037-20240403.sql
- share/hs-cardano-db-sync/schema/migration-2-0038-20240603.sql
- share/hs-cardano-db-sync/schema/migration-2-0039-20240703.sql
- share/hs-cardano-db-sync/schema/migration-2-0040-20240626.sql
- share/hs-cardano-db-sync/schema/migration-2-0041-20240711.sql
- share/hs-cardano-db-sync/schema/migration-2-0042-20240808.sql
- share/hs-cardano-db-sync/schema/migration-2-0043-20240828.sql
- share/hs-cardano-db-sync/schema/migration-2-0044-20240912.sql
- share/hs-cardano-db-sync/schema/migration-2-0045-20250708.sql
- share/hs-cardano-db-sync/schema/migration-2-0046-20250223.sql
- share/hs-cardano-db-sync/schema/migration-2-0047-20260421.sql
- share/hs-cardano-db-sync/schema/migration-2-0048-20260520.sql
- share/hs-cardano-db-sync/schema/migration-2-0049-20260604.sql
- share/hs-cardano-db-sync/schema/migration-2-0050-20260617.sql
- share/hs-cardano-db-sync/schema/migration-3-0001-20190816.sql
- share/hs-cardano-db-sync/schema/migration-3-0002-20200521.sql
- share/hs-cardano-db-sync/schema/migration-3-0003-20240121.sql
- share/hs-cardano-db-sync/schema/migration-3-0004-20240603.sql
- share/hs-cardano-db-sync/schema/migration-3-9999-20200728.sql
- share/hs-cardano-db-sync/schema/migration-4-0001-20200702.sql
- share/hs-cardano-db-sync/schema/migration-4-0002-20200810.sql
- share/hs-cardano-db-sync/schema/migration-4-0003-20210116.sql
- share/hs-cardano-db-sync/schema/migration-4-0004-20210116.sql
- share/hs-cardano-db-sync/schema/migration-4-0005-20211022.sql
- share/hs-cardano-db-sync/schema/migration-4-0006-20220118.sql
- share/hs-cardano-db-sync/schema/migration-4-0007-20220528.sql
- share/hs-cardano-db-sync/schema/migration-4-0008-20240604.sql
- share/hs-cardano-db-sync/schema/migration-4-0009-20250223.sql
distinfo 664
| File | Size | SHA256 |
|---|---|---|
| cabal/Diff-1.0.2/Diff-1.0.2.tar.gz | 10936 | cd7e26d3d5ebf7f2c1a7525aebe251fbcbffee2a6362db634b4be23b9e354d85 |
| cabal/FailT-0.1.2.0/FailT-0.1.2.0.tar.gz | 10971 | f1e3d5714df7e7e134545239bd78927bc9949a9b4760dfa061ff2b35ff0a76c3 |
| cabal/Glob-0.10.2/Glob-0.10.2.tar.gz | 30226 | 6af672ac8427d35cbd42d64142dc288feab266f0be92dae3c696e8860d8173c0 |
| cabal/Glob-0.10.2/revision/3.cabal | 2938 | dd2ddbecae8f84e8f4cacb5b856901a19c25ceaa11f2525d3ee88d034acb0081 |
| cabal/HUnit-1.6.2.0/HUnit-1.6.2.0.tar.gz | 21179 | b0b7538871ffc058486fc00740886d2f3172f8fa6869936bfe83a5e10bd744ab |
| cabal/ImpSpec-0.2.0.0/ImpSpec-0.2.0.0.tar.gz | 12558 | e0d2ec34fe40a0fcc44abddec126824dd6e94542181d42ad2c0e213277c24bb2 |
| cabal/MemoTrie-0.6.11/MemoTrie-0.6.11.tar.gz | 8369 | f7a6abf136eac1c6b370678e14e9519ed88c0c2adf75f06d6855b464db0c2420 |
| cabal/MonadRandom-0.6.2.1/MonadRandom-0.6.2.1.tar.gz | 12008 | b3103b475fa6cf4d14ef1b1bce0b4b00026d70b68e8842acfe87b894e4b178b6 |
| cabal/OneTuple-0.4.2.1/OneTuple-0.4.2.1.tar.gz | 5210 | c504132551e9c8f5afe6c8c8d5bf1ed208f4da98b0cb4af59400bd9bd836e03e |
| cabal/Only-0.1/Only-0.1.tar.gz | 1960 | ab7aa193e8c257d3bda6b0b3c1cbcf74cdaa85ab08cb20c2dd62ba248c1ab265 |
| cabal/Only-0.1/revision/2.cabal | 1398 | c6033d181e0f802e9e8543f683fa9c50aeb01cfdf6c83cd5bb72fb47aa863b07 |
| cabal/QuickCheck-2.15.0.1/QuickCheck-2.15.0.1.tar.gz | 81502 | a3b2216ddbaf481dbc82414b6120f8b726d969db3f0b51f20a7a45425ef36e7f |
| cabal/QuickCheck-2.15.0.1/revision/1.cabal | 9046 | 0cfd337bb9e6fbf09255bd24bb498a156f1d9bcd465396ac8657b25034b9ee31 |
| cabal/StateVar-1.2.2/StateVar-1.2.2.tar.gz | 5048 | 5e4b39da395656a59827b0280508aafdc70335798b50e5d6fd52596026251825 |
| cabal/Stream-0.4.7.2/Stream-0.4.7.2.tar.gz | 6543 | 990be249b3ef1b0075563026d4d2c803b86e3cbf168965ba6f9f2b4227a007d1 |
| cabal/Unique-0.4.8.0/Unique-0.4.8.0.tar.gz | 7679 | a664381cc6f099837c40d3ced302e28be1a58309b50f78922a350abda76e69f3 |
| cabal/Unique-0.4.8.0/revision/1.cabal | 2155 | d2c53fd8f83aabc1a1b2694d1d78a4ecd9f3c6f741ab0f513020041cdf75b133 |
| cabal/Win32-network-0.2.0.1.tar.gz | 32132 | 0e71e603dcdbdfe31201e29ce71a953f5b7344cb8acae676d712928baf1de656 |
| cabal/adjunctions-4.4.4/adjunctions-4.4.4.tar.gz | 16778 | 21408d9bd3c74331b557ce86281e592f56466e19d2a7e3f37e4065203a663145 |
| cabal/aeson-2.2.4.1/aeson-2.2.4.1.tar.gz | 341210 | 4071f1aa7cf4fbe6c8887d24ed2fbd57b2744114994b035616ce620b7c02fa60 |
Master sites 1
- https://chap.intersectmbo.org/package/:chap