devel/mtbl: Upgrade to version 1.7.1
1.7.1:
* Incremented version for new tarball.
1.7.0:
* Add public mtbl_threadpool API, enabling multithreaded functionality
for mtbl_writer and mtbl_sorter objects; see mtbl_threadpool manpage
for more info.
* Add mtbl_writer_options_set_threadpool() to enable multithreaded
data block compression.
* Add mtbl_sorter_options_set_threadpool() to enable multithreaded
sorting.
* Add -t option for setting the preferred number of threads to use in
an mtbl_threadpool object used for writing in mtbl_merge.
Bump PORTREVISION of dependent ports.
Sponsored by: DomainTools LLC3baad079acPort details
devel/mtbl1.7.1
Immutable sorted string table library
- Maintainer
- truckman@FreeBSD.org
- Packages
- mtbl 1.7.1
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/farsightsec/mtbl
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (22)
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 LLC3d89d48569
devel/mtbl: Move man pages to share/man Approved by: portmgr (blanket)123192a242
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 LLC056c7a4807devel/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 LLC58c6b636bedevel/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 LLC48761553ef
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)fb16dfecae
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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
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.6c80702a12
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
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.e7c65cce87Update 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 Sponsored by: Farsight Security, Inc.332ecb3e83
Update distinfo TIMESTAMP. Sponsored by: Farsight Security, Inc.e1f23a8cb5
Upgrade mtbl to version 1.1.1: * Fix iterator leak in mtbl_merger code. Pet portlint. Sponsored by: Farsight Security, Inc.b1f270f43f
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.7876f350efUpgrade 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.af7a1ea6d1Neuter 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.186c11938f
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6Upgrade 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.
* Stop keeping dup()'d copies of the file descriptors passed to
mtbl_reader_init_fd(). POSIX does not require a process to keep an open
file descriptor corresponding to an mmap()'d file. This change allows a
process to open more MTBL files than the process file descriptor limit.
* mtbl_dump(1): Add silent ("-s") option which omits the actual dump output.
This is useful when benchmarking decompression performance.
* Add LZ4/LZ4HC compression support. This adds a new library dependency on
liblz4.
* mtbl_merge(1): Add block size ("-b") and compression algorithm ("-c")
options.
* mtbl_fileset(3): Add mtbl_fileset_reload_now() function that
instantaneously checks and, if necessary, reloads the fileset.
Sponsored by: Farsight Security, Inc.1327854a43Nuke the FreeBSD 8 binutils workaround, which eliminates the need for bsd.port.pre.mk and bsd.port.post.mk. Sponsored by: Farsight Security, Inc.ca19695445
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.5f556d2ef2