FreeBSD Bugzilla – Attachment 222855 Details for
Bug 253883
devel/libsysctlmibinfo2: Update to 2.0.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn .diff
libsysctlmibinfo2-2.0.1.diff (text/plain), 4.18 KB, created by
Alfonso S. Siciliano
on 2021-02-27 01:22:39 UTC
(
hide
)
Description:
svn .diff
Filename:
MIME Type:
Creator:
Alfonso S. Siciliano
Created:
2021-02-27 01:22:39 UTC
Size:
4.18 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 566649) >+++ Makefile (working copy) >@@ -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 @@ > > 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 @@ > 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: >Index: distinfo >=================================================================== >--- distinfo (revision 566649) >+++ distinfo (working copy) >@@ -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 >Index: files/patch-sysctlmibinfo2.c >=================================================================== >--- files/patch-sysctlmibinfo2.c (revision 566649) >+++ files/patch-sysctlmibinfo2.c (nonexistent) >@@ -1,11 +0,0 @@ >---- sysctlmibinfo2.c.orig 2021-02-23 00:46:40 UTC >-+++ sysctlmibinfo2.c >-@@ -38,7 +38,7 @@ >- >- /* to add in sys/sysctlinfo.h after https://reviews.freebsd.org/D21700 */ >- #ifndef ENTRYIDINPUTBYNAME >--#define ENTRYIDINPUTBYNAME 27 >-+#define ENTRYIDINPUTBYNAME 10 >- #endif >- >- /* Internal use */ > >Property changes on: files/patch-sysctlmibinfo2.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 566649) >+++ pkg-descr (working copy) >@@ -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: >+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. > >- * 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 >- > WWW: https://gitlab.com/alfix/sysctlmibinfo2/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
asiciliano
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 253883
: 222855