From owner-svn-ports-head@freebsd.org Sat Feb 27 17:28:24 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DBD9654E1A7; Sat, 27 Feb 2021 17:28:24 +0000 (UTC) (envelope-from nc@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dntlr5tHJz3QbB; Sat, 27 Feb 2021 17:28:24 +0000 (UTC) (envelope-from nc@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 BD09E219A7; Sat, 27 Feb 2021 17:28:24 +0000 (UTC) (envelope-from nc@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11RHSOpM099473; Sat, 27 Feb 2021 17:28:24 GMT (envelope-from nc@FreeBSD.org) Received: (from nc@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11RHSNcC099468; Sat, 27 Feb 2021 17:28:23 GMT (envelope-from nc@FreeBSD.org) Message-Id: <202102271728.11RHSNcC099468@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: nc set sender to nc@FreeBSD.org using -f From: Neel Chauhan Date: Sat, 27 Feb 2021 17:28:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566716 - in head: deskutils/sysctlview devel/libsysctlmibinfo2 devel/libsysctlmibinfo2/files X-SVN-Group: ports-head X-SVN-Commit-Author: nc X-SVN-Commit-Paths: in head: deskutils/sysctlview devel/libsysctlmibinfo2 devel/libsysctlmibinfo2/files X-SVN-Commit-Revision: 566716 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 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: Sat, 27 Feb 2021 17:28:24 -0000 Author: nc Date: Sat Feb 27 17:28:23 2021 New Revision: 566716 URL: https://svnweb.freebsd.org/changeset/ports/566716 Log: devel/libsysctlmibinfo2: Update to 2.0.1 * use new sysctlinfo(4) 20210222 and sysctlbyname 20210223 features * add: sysctlmif_oidextendedbyname() * add: sysctlmif_hashandler(), sysctlmif_hashandlerbyname() * add: sysctlmif_nextnodebyname(), sysctlmif_nextleafbyname() * add: sysctlmif_leavesbyname(), sysctlmif_leavesbyname() * update: constants/OIDs so delete port path PR: 253883, 253884 Submitted by: Alfonso S. Siciliano (maintainer) Deleted: head/devel/libsysctlmibinfo2/files/ Modified: head/deskutils/sysctlview/Makefile head/devel/libsysctlmibinfo2/Makefile head/devel/libsysctlmibinfo2/distinfo head/devel/libsysctlmibinfo2/pkg-descr Modified: head/deskutils/sysctlview/Makefile ============================================================================== --- head/deskutils/sysctlview/Makefile Sat Feb 27 17:20:01 2021 (r566715) +++ head/deskutils/sysctlview/Makefile Sat Feb 27 17:28:23 2021 (r566716) @@ -2,7 +2,7 @@ PORTNAME= sysctlview PORTVERSION= 2.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= deskutils MAINTAINER= alfix86@gmail.com Modified: head/devel/libsysctlmibinfo2/Makefile ============================================================================== --- head/devel/libsysctlmibinfo2/Makefile Sat Feb 27 17:20:01 2021 (r566715) +++ head/devel/libsysctlmibinfo2/Makefile Sat Feb 27 17:28:23 2021 (r566716) @@ -1,12 +1,11 @@ # $FreeBSD$ PORTNAME= libsysctlmibinfo2 -DISTVERSION= 2.0.0 -PORTREVISION= 3 +DISTVERSION= 2.0.1 CATEGORIES= devel MAINTAINER= alfix86@gmail.com -COMMENT= API to get sysctl MIB info version 2 +COMMENT= Sysctl MIB-Tree API (improved version) LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE @@ -20,12 +19,12 @@ USE_GITLAB= yes GL_ACCOUNT= alfix GL_PROJECT= sysctlmibinfo2 -GL_COMMIT= d72ac5edefc222969faa57109c5c169c2ad69306 +GL_COMMIT= de427a99fc515c22a057998a29c92221e2581592\ PLIST_FILES= include/sysctlmibinfo2.h \ lib/libsysctlmibinfo2.a \ lib/libsysctlmibinfo2.so \ - lib/libsysctlmibinfo2.so.2.0.0 \ + lib/libsysctlmibinfo2.so.2.0.1 \ man/man3/sysctlmibinfo2.3.gz PORTEXAMPLES= * @@ -36,8 +35,8 @@ OPTIONS_DEFAULT= EXAMPLES do-install: ${INSTALL_DATA} ${WRKSRC}/sysctlmibinfo2.h ${STAGEDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/libsysctlmibinfo2.a ${STAGEDIR}${PREFIX}/lib - ${INSTALL_LIB} ${WRKSRC}/libsysctlmibinfo2.so.2.0.0 ${STAGEDIR}${PREFIX}/lib - ${RLN} ${STAGEDIR}${PREFIX}/lib/libsysctlmibinfo2.so.2.0.0 ${STAGEDIR}${PREFIX}/lib/libsysctlmibinfo2.so + ${INSTALL_LIB} ${WRKSRC}/libsysctlmibinfo2.so.2.0.1 ${STAGEDIR}${PREFIX}/lib + ${RLN} ${STAGEDIR}${PREFIX}/lib/libsysctlmibinfo2.so.2.0.1 ${STAGEDIR}${PREFIX}/lib/libsysctlmibinfo2.so ${INSTALL_MAN} ${WRKSRC}/sysctlmibinfo2.3.gz ${STAGEDIR}${MAN3PREFIX}/man/man3 do-install-EXAMPLES-on: Modified: head/devel/libsysctlmibinfo2/distinfo ============================================================================== --- head/devel/libsysctlmibinfo2/distinfo Sat Feb 27 17:20:01 2021 (r566715) +++ head/devel/libsysctlmibinfo2/distinfo Sat Feb 27 17:28:23 2021 (r566716) @@ -1,3 +1,3 @@ -TIMESTAMP = 1574724977 -SHA256 (alfix-sysctlmibinfo2-d72ac5edefc222969faa57109c5c169c2ad69306_GL0.tar.gz) = 6eb80840a90bb6fb0dbc2239eb5d35ac468699a297955a9f45c4880bf6b5a70c -SIZE (alfix-sysctlmibinfo2-d72ac5edefc222969faa57109c5c169c2ad69306_GL0.tar.gz) = 8574 +TIMESTAMP = 1614386189 +SHA256 (alfix-sysctlmibinfo2-de427a99fc515c22a057998a29c92221e2581592_GL0.tar.gz) = b51c87306798dbee7255c08d7ac7fe6c8e535b98e2eaff147c7f1c1f376e4307 +SIZE (alfix-sysctlmibinfo2-de427a99fc515c22a057998a29c92221e2581592_GL0.tar.gz) = 11327 Modified: head/devel/libsysctlmibinfo2/pkg-descr ============================================================================== --- head/devel/libsysctlmibinfo2/pkg-descr Sat Feb 27 17:20:01 2021 (r566715) +++ head/devel/libsysctlmibinfo2/pkg-descr Sat Feb 27 17:28:23 2021 (r566716) @@ -1,17 +1,11 @@ -The sysctlmibinfo2 library provides an API to explore the sysctl MIB and -to get the info of an object, it depends on the sysctlinfo interface and -sysctlbyname-improved. +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. -This library provides: - - * an API to wrap the internal sysctl nodes of sysctlinfo and - sysctlbyname-improved - * a handy userland MIB object representation - * functions to build object-list and object-tree - -The advantages to use sysctlmibinfo2 are: - - * an easy userspace API to the kernel sysctl MIB-Tree - * building quickly a custom sysctl(8) tool +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. WWW: https://gitlab.com/alfix/sysctlmibinfo2/