Date: Fri, 15 Mar 2019 09:28:56 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495780 - in head/sysutils: . nsysctl Message-ID: <201903150928.x2F9SumS008417@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp Date: Fri Mar 15 09:28:56 2019 New Revision: 495780 URL: https://svnweb.freebsd.org/changeset/ports/495780 Log: 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, * new option -m show format string, * delete option -n simply do not use -N, * updated option -N force to show name, * new option -p show [property-name]: property-value, * new option -S show magic nodes with -a, * new option -V if "showable" display value, otherwise hide the state, * new option -v force to show value, * new option -y show id. WWW: https://gitlab.com/alfix/nsysctl/ PR: 235870 Submitted by: Alfonso S. Siciliano <alfix86@gmail.com> Reviewed by: mat Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D19469 Added: head/sysutils/nsysctl/ head/sysutils/nsysctl/Makefile (contents, props changed) head/sysutils/nsysctl/distinfo (contents, props changed) head/sysutils/nsysctl/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Fri Mar 15 09:04:56 2019 (r495779) +++ head/sysutils/Makefile Fri Mar 15 09:28:56 2019 (r495780) @@ -751,6 +751,7 @@ SUBDIR += npadmin SUBDIR += nq SUBDIR += nrg2iso + SUBDIR += nsysctl SUBDIR += ntfy SUBDIR += nut SUBDIR += nvclock Added: head/sysutils/nsysctl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/nsysctl/Makefile Fri Mar 15 09:28:56 2019 (r495780) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= nsysctl +DISTVERSION= 0.1 +CATEGORIES= sysutils + +MAINTAINER= alfix86@gmail.com +COMMENT= New sysctl utility with libxo and extra options + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITLAB= yes +GL_ACCOUNT= alfix +GL_COMMIT= 102780d056c2f03d1653f7c3f0bd9d8d5d4e91fd + +PLIST_FILES= bin/${PORTNAME} \ + man/man8/${PORTNAME}.8.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/ + +.include <bsd.port.mk> Added: head/sysutils/nsysctl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/nsysctl/distinfo Fri Mar 15 09:28:56 2019 (r495780) @@ -0,0 +1,3 @@ +TIMESTAMP = 1550625855 +SHA256 (alfix-nsysctl-102780d056c2f03d1653f7c3f0bd9d8d5d4e91fd_GL0.tar.gz) = fa4759161e57b47a1040fca525c238120fb9153ca305e4672cfcc4ed9064bf0a +SIZE (alfix-nsysctl-102780d056c2f03d1653f7c3f0bd9d8d5d4e91fd_GL0.tar.gz) = 16835 Added: head/sysutils/nsysctl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/nsysctl/pkg-descr Fri Mar 15 09:28:56 2019 (r495780) @@ -0,0 +1,23 @@ +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, + * new option -m show format string, + * delete option -n simply do not use -N, + * updated option -N force to show name, + * new option -p show [property-name]: property-value, + * new option -S show magic nodes with -a, + * new option -V if "showable" display value, otherwise hide the state, + * new option -v force to show value, + * new option -y show id. + +WWW: https://gitlab.com/alfix/nsysctl/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903150928.x2F9SumS008417>