From owner-svn-ports-head@freebsd.org Fri Mar 15 09:28:58 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 277341543E10; Fri, 15 Mar 2019 09:28:58 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B77108FEFC; Fri, 15 Mar 2019 09:28:57 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A353F8222; Fri, 15 Mar 2019 09:28:57 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2F9Svka008424; Fri, 15 Mar 2019 09:28:57 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2F9SumS008417; Fri, 15 Mar 2019 09:28:56 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <201903150928.x2F9SumS008417@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Fri, 15 Mar 2019 09:28:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495780 - in head/sysutils: . nsysctl X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/sysutils: . nsysctl X-SVN-Commit-Revision: 495780 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: B77108FEFC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2019 09:28:58 -0000 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 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 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/