Kernel module to add the sysctl.objidextended_byname sysctl object
to implement an improved sysctlbyname(3) clone to handle:
* a name without a level, e.g., "security.jail.param.allow.mount."
* a CTLTYPE_NODE with a defined handler, e.g., "kern.proc.pid.<pid>"
The sysctlbyname_improved() function and an example are provided, too.
===> The following configuration options are available for sysctlbyname-improved-kmod-20221211.1501000:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
To use the sysctl.entryidinputbyname sysctl node and the sysctlbyname_improved
function, make sure that you have loaded the sysctlbyname_improved kernel
module, by doing
# kldload sysctlbyname_improved
or adding
sysctlbyname_improved_load="YES"
to your /boot/loader.conf.
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
sysutils/sysctlbyname-improved-kmod: fix after r366465
- the new sysctl object {0.7} "sysctl.nextnoskip" overlaps this interface
- add files/patch-sysctlinfo.h to change sysctl OIDs of sysctlinfo
and the OID of this kmod
PR: 250149
Submitted by: Alfonso S. Siciliano <alfix86@gmail.com> (maintainer)
[NEW PORT] sysutils/sysctlbyname-improved-kmod: sysctl node to implement an
improved sysctlbyname(3) clone
Kernel module to add the sysctl.entryidinputbyname sysctl node
to allow to implement an improved sysctlbyname(3) clone to handle:
* a node without a level name, e.g., "security.jail.param.allow.mount."
* a CTLTYPE_NODE with a no-NULL handler, e.g., "kern.proc.pid.<pid>"
The sysctlbyname_improved() function and an example are provided, too.
WWW: https://gitlab.com/alfix/sysctlbyname-improved/
PR: 242068
Submitted by: Alfonso S. Siciliano <alfix86@gmail.com>