devel/libsysctlmibinfo2 2.0.1_1 FreeBSD
Sysctl MIB-Tree API (improved version)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
2f2eb0c89a- License
- BSD2CLAUSE
- Categories
- devel
- Package size
- 17.1 KiB, 53.0 KiB installed
Description
The sysctlmibinfo2 library provides an API to explore the sysctl MIB-Tree and to get the properties of an object, therefore it is useful to handle an object correctly and to build a sysctl-like utility.
It implements wrappers around the sysctlinfo(4) interface and sysctlbyname_improved to provide a more easy interface, moreover it defines a 'struct sysctlmif_object' and provides a convenient API to build data structures of sysctlmif_object.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/libsysctlmibinfo2 | 2.0.1_1 |
| MidnightBSD | devel/libsysctlmibinfo2 | 2.0.1 |
Install
Binary package:
pkg install libsysctlmibinfo2
From the ports tree:
cd /usr/ports/devel/libsysctlmibinfo2/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libsysctlmibinfo2>0:devel/libsysctlmibinfo2
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 | 2.0.1_1 | 2.0.1_1 | 2.0.1 | 2.0.1_1 | 2.0.1_1 |
| FreeBSD:14:quarterly | 2.0.1_1 | 2.0.1_1 | n/a | 2.0.1_1 | 2.0.1_1 |
| FreeBSD:15:latest | 2.0.1_1 | 2.0.1_1 | n/a | 2.0.1_1 | 2.0.1_1 |
| FreeBSD:15:quarterly | 2.0.1_1 | 2.0.1_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.1_1 | 2.0.1_1 | 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 1
${LOCALBASE}/include/sysctlinfo.h: sysutils/sysctlinfo-kmod
Runtime 2
${KMODDIR}/sysctlbyname_improved.ko: sysutils/sysctlbyname-improved-kmod${KMODDIR}/sysctlinfo.ko: sysutils/sysctlinfo-kmod
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 2
Configuration
Options name: devel_libsysctlmibinfo2
| Option | Default | Description |
|---|---|---|
| EXAMPLES | on | Build and/or install examples |
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| alfix-sysctlmibinfo2-de427a99fc515c22a057998a29c92221e2581592_GL0.tar.gz | 11348 | 1ab42f9ae83fa9202fc75aeebb18842ca1f07502595c79efc36f7c4b270941fd |