Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2021 17:28:23 +0000 (UTC)
From:      Neel Chauhan <nc@FreeBSD.org>
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
Message-ID:  <202102271728.11RHSNcC099468@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <alfix86 AT gmail DOT com> (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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102271728.11RHSNcC099468>