notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
mtbl Immutable sorted string table library
1.6.1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.6.0_1Version of this port present on the latest quarterly branch.
Maintainer: truckman@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2015-04-02 23:55:26
Last Update: 2024-04-04 05:24:01
Commit Hash: 3d89d48
License: APACHE20
WWW:
https://github.com/farsightsec/mtbl
Description:
mtbl is a C library implementation of the Sorted String Table (SSTable) data structure, based on the SSTable implementation in the open source Google LevelDB library <https://github.com/google/leveldb>. An SSTable is a file containing an immutable mapping of keys to values. Keys are stored in sorted order, with an index at the end of the file allowing keys to be located quickly. mtbl is not a database library. It does not provide an updateable key-value data store, but rather exposes primitives for creating, searching and merging SSTable files. Unlike databases which use the SSTable data structure internally as part of their data store, management of SSTable files -- creation, merging, deletion, combining of search results from multiple SSTables -- is left to the discretion of the mtbl library user.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (33 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/mtbl-1.6.1/catalog.mk
  3. /usr/local/share/licenses/mtbl-1.6.1/LICENSE
  4. /usr/local/share/licenses/mtbl-1.6.1/APACHE20
  5. bin/mtbl_dump
  6. bin/mtbl_info
  7. bin/mtbl_merge
  8. bin/mtbl_verify
  9. include/mtbl.h
  10. lib/libmtbl.a
  11. lib/libmtbl.so
  12. lib/libmtbl.so.1
  13. lib/libmtbl.so.1.2.2
  14. libdata/pkgconfig/libmtbl.pc
  15. share/man/man1/mtbl_dump.1.gz
  16. share/man/man1/mtbl_info.1.gz
  17. share/man/man1/mtbl_merge.1.gz
  18. share/man/man1/mtbl_verify.1.gz
  19. share/man/man3/mtbl_crc32c.3.gz
  20. share/man/man3/mtbl_fileset.3.gz
  21. share/man/man3/mtbl_fixed.3.gz
  22. share/man/man3/mtbl_iter.3.gz
  23. share/man/man3/mtbl_merger.3.gz
  24. share/man/man3/mtbl_metadata.3.gz
  25. share/man/man3/mtbl_reader.3.gz
  26. share/man/man3/mtbl_sorter.3.gz
  27. share/man/man3/mtbl_source.3.gz
  28. share/man/man3/mtbl_varint.3.gz
  29. share/man/man3/mtbl_writer.3.gz
  30. share/man/man7/mtbl.7.gz
  31. @owner
  32. @group
  33. @mode
Collapse this list.
Dependency lines:
  • mtbl>0:devel/mtbl
To install the port:
cd /usr/ports/devel/mtbl/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/mtbl
  • pkg install mtbl
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mtbl
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1712205019 SHA256 (mtbl-1.6.1.tar.gz) = bf2711aa81a996cddf99f270cc7cb1c32dbed7f1bfc95e23ec6227e4bd08365d SIZE (mtbl-1.6.1.tar.gz) = 458392

Packages (timestamps in pop-ups are UTC):
mtbl
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.6.11.6.11.3.01.6.0_11.6.1-1.3.0-
FreeBSD:13:quarterly1.5.11.5.11.5.11.5.11.6.11.5.11.5.11.5.1
FreeBSD:14:latest1.6.0_11.6.11.4.01.6.0_11.6.11.5.1-1.5.1
FreeBSD:14:quarterly1.5.11.6.1-1.5.11.6.11.5.11.5.11.5.1
FreeBSD:15:latest1.6.0_11.6.1n/a1.5.1n/a1.5.11.5.11.5.1
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. liblz4.so : archivers/liblz4
  2. libsnappy.so : archivers/snappy
  3. libzstd.so : archivers/zstd
This port is required by:
for Libraries
  1. devel/py-pymtbl
  2. dns/dnstable
  3. dns/dnstable-convert
  4. dns/py-pydnstable

Configuration Options:
No options to configure
Options name:
devel_mtbl
USES:
gmake libtool pathfix pkgconfig
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (5 items)
Collapse this list.
  1. http://distcache.FreeBSD.org/local-distfiles/truckman/farsight/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/truckman/farsight/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/truckman/farsight/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/truckman/farsight/
  5. https://dl.farsightsecurity.com/dist/mtbl/
Collapse this list.

Number of commits found: 21

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.6.1
04 Apr 2024 05:24:01
commit hash: 3d89d48569bd63f0948c3c234131699404d9a22acommit hash: 3d89d48569bd63f0948c3c234131699404d9a22acommit hash: 3d89d48569bd63f0948c3c234131699404d9a22acommit hash: 3d89d48569bd63f0948c3c234131699404d9a22a files touched by this commit
Don Lewis (truckman) search for other commits by this committer
devel/mtbl: Upgrade to 1.6.1

1.6.1:
  * Debian packaging updates

  * Code coverage make targets

The upstream 1.6.0 distfile was pulled:
  Part of this was erroneously released as v1.6.0 after the original
  v1.6.0 release.

Sponsored by:	DomainTools LLC
1.6.0_1
06 Mar 2024 13:03:21
commit hash: 123192a2428a7aadcb3a071d6ba9baa062ee8f04commit hash: 123192a2428a7aadcb3a071d6ba9baa062ee8f04commit hash: 123192a2428a7aadcb3a071d6ba9baa062ee8f04commit hash: 123192a2428a7aadcb3a071d6ba9baa062ee8f04 files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
devel/mtbl: Move man pages to share/man

Approved by:	portmgr (blanket)
1.6.0
28 Feb 2024 07:45:33
commit hash: 056c7a48073b6885d9719eaa95530d33d7a07706commit hash: 056c7a48073b6885d9719eaa95530d33d7a07706commit hash: 056c7a48073b6885d9719eaa95530d33d7a07706commit hash: 056c7a48073b6885d9719eaa95530d33d7a07706 files touched by this commit
Don Lewis (truckman) search for other commits by this committer
devel/mtbl: Upgrade to 1.6.0

1.6.0:
  * Return mtbl_iter_init() to public API.

  * Further optimizations to mtbl_iter_seek() for mtbl_reader and
    mtbl_merger.

  * Streamline mtbl varint decoding.

Sponsored by:	DomainTools LLC
1.5.1
18 May 2023 22:26:04
commit hash: 58c6b636be42f5ed2a4a2c6e7183b9494417739bcommit hash: 58c6b636be42f5ed2a4a2c6e7183b9494417739bcommit hash: 58c6b636be42f5ed2a4a2c6e7183b9494417739bcommit hash: 58c6b636be42f5ed2a4a2c6e7183b9494417739b files touched by this commit
Don Lewis (truckman) search for other commits by this committer
devel/mtbl: upgrade to 1.5.1

1.5.1:
  * Skip unnecessary seeks when seeking forward on a merger iterator.

  * Fix inefficiency in heap implementation impacting merger iterator
    performance.

Sponsored by:	DomainTools LLC
1.5.0
18 Feb 2023 05:34:24
commit hash: 48761553efe86addb7eff38f525d6b8a5a227b01commit hash: 48761553efe86addb7eff38f525d6b8a5a227b01commit hash: 48761553efe86addb7eff38f525d6b8a5a227b01commit hash: 48761553efe86addb7eff38f525d6b8a5a227b01 files touched by this commit
Don Lewis (truckman) search for other commits by this committer
devel/mtbl: Upgrade to version 1.5.0

 * Add reader filter function option to mtbl_fileset.

 * Use "galloping search" instead of full binary search for
   mtbl_iter_seek().

 * Make index block verification optional for more efficient reader
   initialization.

 * Fix underflow errors triggered by short keys and empty mtbl files.

 * mtbl_fileset_partition() use is deprecated in favor of
   mtbl_fileset_dup() with the fname_filter_func option set.

Sponsored by:   DomainTools LLC
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
1.4.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
1.4.0
26 Oct 2021 23:23:30
commit hash: 6c80702a12cb5be23a2244121b7f8c948648e0c4commit hash: 6c80702a12cb5be23a2244121b7f8c948648e0c4commit hash: 6c80702a12cb5be23a2244121b7f8c948648e0c4commit hash: 6c80702a12cb5be23a2244121b7f8c948648e0c4 files touched by this commit
Don Lewis (truckman) search for other commits by this committer
devel/mtbl: Upgrade to version 1.4.0

The immutable sorted string table library project, mtbl 1.4.0, is
released. This release adds command-line options to support compression
levels in mtbl_merge, and a hex formatting option and a variety of
filtering options for mtbl_dump. Note that this release leaves the
MTBL file format unchanged. In detail:

 * Add -l option to specify compression level for mtbl_merge.
 * Add -x option to mtbl_dump to print data for the key and value
   each formatted with the length (8 digit hexadecimal), a colon,
   and then hex digit pairs separated by a dash.
 * Minimum and maximum Zstd compression levels changed from hardcoded
   1 and 22, respectively, to values defined by Zstd.
 * Add -k and -v options to mtbl_dump to print only entries for
   which the key or value, respectively, matches the given prefix.
 * Add -K and -V options to mbtl_dump to print only entries for
   which the length of the key or value, respectively, is greater
   than or equal to the given integer.

Sponsored by:	Farsight Security, Inc.
1.3.0
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.3.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.3.0
07 Jun 2019 23:22:01
Revision:503672Original commit files touched by this commit
truckman search for other commits by this committer
Update devel/mtbl port to version 1.3.0

  The immutable sorted string table library project, mtbl 1.3.0,
  was released. This release includes improvements enabling
  aggregation. In detail:

   * Fix mtbl_reload_now() on filesets with open iterators.
   * Add support for absolute pathnames in filesets
   * Make merge function an optional parameter for mergers and filesets
     to enable unmerged results.
   * Add dupsort function to sort unmerged results based on data.
   * Add filename filter option to filesets. This provides functionality
     similar to mtbl_fileset_partition() but resilient against fileset
     reloads.
   * Add mtbl_fileset_dup() to open an existing fileset with different
     options.

Sort Makefile to pacify portlint.

Sponsored by:	Farsight Security, Inc.
1.2.1
28 May 2018 23:48:03
Revision:471069Original commit files touched by this commit
truckman search for other commits by this committer
Update devel/mtbl to version 1.2.1:
 * Prevent fileset reloading when the fileset has iterators open.
 * Add and document facility to disable reloading of filesets.
 * Defer initial load of fileset until the first operation on a fileset
   source.
 * Handle 32bit size_t overflows, failing with an assertion upon opening
   an mtbl_reader with an oversized data block.
 * Fix for systems with 32-bit size_t.
 * Add several unit tests for various libmtbl functions.
 * Correct a library versioning error.

Sponsored by:	Farsight Security, Inc.
1.1.1
04 Aug 2017 00:32:21
Revision:447310Original commit files touched by this commit
truckman search for other commits by this committer
Update distinfo TIMESTAMP.

Sponsored by:	Farsight Security, Inc.
1.1.1
04 Aug 2017 00:13:38
Revision:447306Original commit files touched by this commit
truckman search for other commits by this committer
Upgrade mtbl to version 1.1.1:

 * Fix iterator leak in mtbl_merger code.

Pet portlint.

Sponsored by:	Farsight Security, Inc.
1.1.0
14 Jun 2017 19:00:52
Revision:443597Original commit files touched by this commit
truckman search for other commits by this committer
Upgrade devel/mtbl to version 1.1.0:

 *    Fix default zlib compression level.
 *    Add callback data (clos) parameter to mtbl_fileset_partition
      function and its callback. Early users of mtbl_fileset_partition
      will need to rewrite accordingly.
 *    Use 64-bit offsets in blocks with more than 4G of data.
 *    Fix undefined behavior when seeking past end of mtbl file.

Sponsored by:	Farsight Security, Inc.
1.0.0
23 Feb 2017 01:54:12
Revision:434654Original commit files touched by this commit
truckman search for other commits by this committer
Upgrade devel/mtbl to version 1.0.0:

  mtbl (1.0.0)

   * Backwards-incompatible file format change to enable block sizes >4G.
   * Add support for zstd compression. This adds a new library dependency
     on libzstd.
   * Add mtbl_iter_seek function.
   * Add mtbl_fileset_partition function.
   * Breaks ABI for version 0.x.x.

  mtbl (0.8.1)

   * Add portability for clock time.
   * Simplify and improve portability related to byte order primitives.
   * Fix assertion failure. If there is a broken mtbl file in the fileset
     then a NULL reader will be returned. This change checks for that
     error condition in fs_reinit_merger() and does not pass the empty
     reader onwards to mtbl_merger_add_source().

Compatiblity with the latest libz4 has been added so files/patch-configure
is no longer needed.

Bump PORTREVISION on dependent ports due to ABI / shared library version
change.
0.8.0
04 Feb 2017 03:32:13
Revision:433277Original commit files touched by this commit
truckman search for other commits by this committer
Neuter liblz4 version check in configure to unbreak build after
liblz4 upstream changed versioning from r131 to v1.7.5.

Reported by:	pkg-fallout
Sponsored by:	Farsight Security, Inc.
0.8.0
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
0.8.0
23 Sep 2015 22:30:00
Revision:397666Original commit files touched by this commit
truckman search for other commits by this committer
Upgrade to 0.8.0:

  [ Alexey Spiridonov ]
  * mtbl_reader(3): New reader getters, which expose the values stored
    in the "metadata" (formerly "trailer") at the end of MTBL files. For
    example: the number of bytes of source data in the keys & values is
    available via mtbl_metadata_bytes_keys() & mtbl_metadata_bytes_values().

  * mtbl_writer(3): Allow foreign data to be written to the beginning of a
    file before its file descriptor is passed to mtbl_writer_init_fd().

  [ Robert Edmonds ]
  * Add mtbl_verify(1) utility which verifies the embedded data and index
    block checksums in an MTBL file.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.7.0
22 Aug 2015 01:09:10
Revision:395008Original commit files touched by this commit
truckman search for other commits by this committer
Nuke the FreeBSD 8 binutils workaround, which eliminates the need for
bsd.port.pre.mk and bsd.port.post.mk.

Sponsored by:	Farsight Security, Inc.
0.7.0
02 Apr 2015 23:55:10
Revision:383078Original commit files touched by this commit
truckman search for other commits by this committer
Add new port devel/mtbl.

mtbl is a C library implementation of the Sorted String Table
(SSTable) data structure, based on the SSTable implementation in
the open source Google LevelDB library https://github.com/google/leveldb.
An SSTable is a file containing an immutable mapping of keys to
values. Keys are stored in sorted order, with an index at the end
of the file allowing keys to be located quickly.

mtbl is not a database library. It does not provide an updateable
key-value data store, but rather exposes primitives for creating,
searching and merging SSTable files. Unlike databases which use the
SSTable data structure internally as part of their data store,
management of SSTable files -- creation, merging, deletion, combining
of search results from multiple SSTables -- is left to the discretion
of the mtbl library user.

Differential Revision:	https://reviews.freebsd.org/D2206
Approved by:	mat (mentor)
Sponsored by:	Farsight Security, Inc.

Number of commits found: 21