devel/tbox 1.8.2 FreeBSD
Glib-like multi-platform c library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
e283b7963f- License
- APACHE20
- Categories
- devel
- Package size
- 377.2 KiB, 2082.3 KiB installed
Description
TBOX is a glib-like cross-platform C library that is simple to use yet powerful in nature.
The project focuses on making C development easier and provides many modules (.e.g stream, coroutine, regex, container, algorithm ...), so that any developer can quickly pick it up and enjoy the productivity boost when developing in C language.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/tbox | 1.8.2 |
| HardenedBSD | devel/tbox | 1.8.2 |
| GhostBSD | devel/tbox | 1.8.2 |
Install
Binary package:
pkg install tbox
From the ports tree:
cd /usr/ports/devel/tbox/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= tbox>0:devel/tbox
LIB_DEPENDS= libtbox.so:devel/tbox
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 | 1.8.2 | 1.8.2 | - | 1.7.7 | 1.8.2 |
| FreeBSD:14:quarterly | 1.8.2 | 1.8.2 | n/a | 1.7.7 | 1.8.2 |
| FreeBSD:15:latest | 1.8.2 | 1.8.2 | n/a | 1.7.7 | 1.7.7 |
| FreeBSD:15:quarterly | 1.8.2 | 1.8.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.8.2 | 1.8.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 3
Required by 1
Configuration
No options to configure.
- USES
- compiler:features gmake
- Service scripts
- none
Files
pkg-plist 423
- include/tbox/algorithm/algorithm.h
- include/tbox/algorithm/binary_find.h
- include/tbox/algorithm/binary_find_if.h
- include/tbox/algorithm/bubble_sort.h
- include/tbox/algorithm/count.h
- include/tbox/algorithm/count_if.h
- include/tbox/algorithm/distance.h
- include/tbox/algorithm/find.h
- include/tbox/algorithm/find_if.h
- include/tbox/algorithm/for.h
- include/tbox/algorithm/for_if.h
- include/tbox/algorithm/heap_sort.h
- include/tbox/algorithm/insert_sort.h
- include/tbox/algorithm/predicate.h
- include/tbox/algorithm/prefix.h
- include/tbox/algorithm/quick_sort.h
- include/tbox/algorithm/remove.h
- include/tbox/algorithm/remove_first.h
- include/tbox/algorithm/remove_first_if.h
- include/tbox/algorithm/remove_if.h
- include/tbox/algorithm/rfind.h
- include/tbox/algorithm/rfind_if.h
- include/tbox/algorithm/rfor.h
- include/tbox/algorithm/rfor_if.h
- include/tbox/algorithm/rwalk.h
- include/tbox/algorithm/sort.h
- include/tbox/algorithm/walk.h
- include/tbox/charset/charset.h
- include/tbox/charset/prefix.h
- include/tbox/charset/utf8.h
- include/tbox/config.h
- include/tbox/container/array_iterator.h
- include/tbox/container/bloom_filter.h
- include/tbox/container/circle_queue.h
- include/tbox/container/container.h
- include/tbox/container/element.h
- include/tbox/container/element/hash.h
- include/tbox/container/element/prefix.h
- include/tbox/container/hash_map.h
- include/tbox/container/hash_set.h
- include/tbox/container/heap.h
- include/tbox/container/iterator.h
- include/tbox/container/list.h
- include/tbox/container/list_entry.h
- include/tbox/container/prefix.h
- include/tbox/container/priority_queue.h
- include/tbox/container/queue.h
- include/tbox/container/single_list.h
- include/tbox/container/single_list_entry.h
- include/tbox/container/stack.h
- include/tbox/container/vector.h
- include/tbox/coroutine/channel.h
- include/tbox/coroutine/coroutine.h
- include/tbox/coroutine/impl/coroutine.h
- include/tbox/coroutine/impl/impl.h
- include/tbox/coroutine/impl/prefix.h
- include/tbox/coroutine/impl/scheduler.h
- include/tbox/coroutine/impl/scheduler_io.h
- include/tbox/coroutine/impl/stackless/coroutine.h
- include/tbox/coroutine/impl/stackless/prefix.h
- include/tbox/coroutine/impl/stackless/scheduler.h
- include/tbox/coroutine/impl/stackless/scheduler_io.h
- include/tbox/coroutine/impl/stackless/stackless.h
- include/tbox/coroutine/lock.h
- include/tbox/coroutine/prefix.h
- include/tbox/coroutine/scheduler.h
- include/tbox/coroutine/semaphore.h
- include/tbox/coroutine/stackless/core.h
- include/tbox/coroutine/stackless/coroutine.h
- include/tbox/coroutine/stackless/lock.h
- include/tbox/coroutine/stackless/prefix.h
- include/tbox/coroutine/stackless/scheduler.h
- include/tbox/coroutine/stackless/semaphore.h
- include/tbox/coroutine/stackless/stackless.h
- include/tbox/database/database.h
- include/tbox/database/impl/mysql.h
- include/tbox/database/impl/prefix.h
- include/tbox/database/impl/sqlite3.h
- include/tbox/database/prefix.h
- include/tbox/database/sql.h
- include/tbox/database/value.h
- include/tbox/hash/adler32.h
- include/tbox/hash/ap.h
- include/tbox/hash/arch/arm/crc32.S
- include/tbox/hash/arch/crc32.S
- include/tbox/hash/bkdr.h
- include/tbox/hash/blizzard.h
- include/tbox/hash/crc16.h
- include/tbox/hash/crc32.h
- include/tbox/hash/crc8.h
- include/tbox/hash/djb2.h
- include/tbox/hash/fnv32.h
- include/tbox/hash/fnv64.h
- include/tbox/hash/hash.h
- include/tbox/hash/md5.h
- include/tbox/hash/murmur.h
- include/tbox/hash/prefix.h
- include/tbox/hash/rs.h
- include/tbox/hash/sdbm.h
- include/tbox/hash/sha.h
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tboox-tbox-v1.8.2_GH0.tar.gz | 886588 | 8601bd1443ad3e3eb998406a71c3896f8563ed1aeb94a9ccf8c17543742d508e |
Commit history 3
| Date | Commit | Credits | Log message |
|---|---|---|---|
e283b7963f |
Robert Clausecker | devel/tbox: update to 1.8.2 A bug fix release.
Changelog: https://github.com/tboox/tbox/releases/tag/v1.8.2
MFH: 2026Q3 |
|
977fe8308b |
Robert Clausecker | devel/tbox: update to 1.8.1 Changelog: https://github.com/tboox/tbox/releases/tag/v1.8.1
PR: 296620
MFH: 2026Q3
Reported by: Lin <[email protected]> |
|
93314da384 |
Robert Clausecker | devel/tbox: fix data corruption in tb_ralloc() crossing the 128 KiB mmap threshold devel/tbox 1.8.0's tb_native_large_allocator_ralloc() corrupts data when a
reallocation crosses TB_VIRTUAL_MEMORY_DATA_MINN (128 KiB) in either
direction. In the malloc<->mmap crossover paths the block is copied with
tb_memcpy_(data, data_head, base_head->size);
The copy starts at the block header (data_head) but the length is the payload
size only. On grow, the last sizeof(tb_native_large_data_head_t) (24) bytes
of user data are silently lost; on shrink, the copy overruns the smaller
destination allocation (heap buffer overflow).
User-visible fallout: devel/xmake-io is completely broken — its Lua loader
reads script files through a tb_buffer, and for any file > 64 KiB the growth
rallocs 65536 -> 131072 across the threshold. The tail of interpreter.lua
… |