Utility to get and set the kernel state at runtime, features:
* get or set the system state at runtime,
* handle an object up to CTL_MAXNAME levels,
* print the right object also with an empty level name,
* options to show the properties of a parameter,
* output explicitly indicated by the options,
* options not mutually exclusive,
* output via libxo in human and machine readable formats,
* isolated code to manage opaque values,
* some string value is parsed to show structured output,
* avoid non-primitive data types hardcode via libnv,
* debug without recompiling the kernel with SYSCTL_DEBUG.
===> The following configuration options are available for nsysctl-2.2:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.
Approved by: portmgr (tcberner, mentor)
Differential Revision: https://reviews.freebsd.org/D37077
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)
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 )
Regenerate all distfiles using gitlab as source.
This regeneration is required as the new gitlab version changed
the address and the directory the source files can be downloaded.
This commit also applies some small fixes to make sure all ports using
gitlab are buildable.
Reviewed by: mat
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D29628
devel/libsysctlmibinfo: Update to 1.0.2
While we're here, unbreak sysutils/nsysctl with the new version and bump its
PORTREVISION.
PR: 253388, 253389
Submitted by: Alfonso S. Siciliano <alfix86 AT gmail DOT com> (maintainer)
audio/mixertui,deskutils/sysctlview,sysutils/nsysctl: bump PORTREVISION
- after devel/libsysctlmibinfo2 etc are updated
PR: 250151
Submitted by: Alfonso S. Siciliano <alfix86@gmail.com> (maintainer)
sysutils/nsysctl: Update to 1.2.1
Changelog:
* Update because the CTL_STSCTL constant was introduced in sys/sysctl.h
* fix SYNOPSIS and usage() like style(9)
PR: 241085
Submitted by: Alfonso S. Siciliano (maintainer)
sysutils/nsysctl: Update to 1.2
* The sysctlinfo interface (sysutils/sysctlinfo-kmod) is now required as
build/run dependency which relies on the "oid_label" constant that was
introduced in FreeBSD 1200019.
Thus set the port to IGNORE if the above doesn't apply while I'm here. [1]
Changelog:
* Add sysctlinfo kmod support [1]
PR: 240575
Submitted by: Alfonso S. Siciliano <alfix86@gmail.com> (maintainer)
Maintainer Update nsysctl 0.1 -> 0.1.1:
Fix "pkg-fallout": includes in opaque.c for no i386/amd64
delete sysctlmibinfo.h/c: add devel/libsysctlmibinfo to LIB_DEPENDS
Note: this obsoletes files/patch-opaque.c.
PR: 236802
Submitted by: maintainer
Wrap the following two includes around "#if defined(__amd64__) ||
defined(__i386__)" to allow building on powerpc64 (and probably others):
#include <machine/pc/bios.h>
#include <x86/metadata.h>
This should be pushed to the upstream.
Approved by: portmgr (tier-2 blanket)
New port: sysutils/nsysctl: New sysctl utility with libxo and extra options
nsysctl (new sysctl) is a sysctl(8) utility clone to get or set kernel
state with libxo, sysctlmibinfo and extra options; improvements:
* sysctlmibinfo(3) provides a simple API to the sysctl MIB,
* all code about "opaque values" is in opaque.c,
* output via libxo(3) in human and machine readable formats,
* output is explicitly indicated by the options,
* new option -D show all properties,
* update option -e specific sep as a separator,
* new option -F show flags,
* new option -I show internal nodes,
* new option -l show label,
* new option -r show tag-root with libxo,
(Only the first 15 lines of the commit message are shown above )