# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libsysctlmibinfo2 # libsysctlmibinfo2/distinfo # libsysctlmibinfo2/Makefile # libsysctlmibinfo2/pkg-descr # echo c - libsysctlmibinfo2 mkdir -p libsysctlmibinfo2 > /dev/null 2>&1 echo x - libsysctlmibinfo2/distinfo sed 's/^X//' >libsysctlmibinfo2/distinfo << '0a195cdc95d7f33666f5ed3331484938' XTIMESTAMP = 1574724977 XSHA256 (alfix-sysctlmibinfo2-d72ac5edefc222969faa57109c5c169c2ad69306_GL0.tar.gz) = 6eb80840a90bb6fb0dbc2239eb5d35ac468699a297955a9f45c4880bf6b5a70c XSIZE (alfix-sysctlmibinfo2-d72ac5edefc222969faa57109c5c169c2ad69306_GL0.tar.gz) = 8574 0a195cdc95d7f33666f5ed3331484938 echo x - libsysctlmibinfo2/Makefile sed 's/^X//' >libsysctlmibinfo2/Makefile << '0432fc37bc94693bd453148f59f91d57' X# $FreeBSD$ X XPORTNAME= libsysctlmibinfo2 XDISTVERSION= 2.0.0 XCATEGORIES= devel X XMAINTAINER= alfix86@gmail.com XCOMMENT= API to get sysctl MIB info version 2 X XLICENSE= BSD2CLAUSE XLICENSE_FILE= ${WRKSRC}/LICENSE X XBUILD_DEPENDS= ${LOCALBASE}/include/sysctlinfo.h:sysutils/sysctlinfo-kmod XRUN_DEPENDS= ${KMODDIR}/sysctlinfo.ko:sysutils/sysctlinfo-kmod XRUN_DEPENDS= ${KMODDIR}/sysctlbyname_improved.ko:sysutils/sysctlbyname-improved-kmod X XUSE_LDCONFIG= yes XUSE_GITLAB= yes X XGL_ACCOUNT= alfix XGL_PROJECT= sysctlmibinfo2 XGL_COMMIT= d72ac5edefc222969faa57109c5c169c2ad69306 X XPLIST_FILES= include/sysctlmibinfo2.h \ X lib/libsysctlmibinfo2.a \ X lib/libsysctlmibinfo2.so \ X lib/libsysctlmibinfo2.so.2.0.0 \ X man/man3/sysctlmibinfo2.3.gz X XPORTEXAMPLES= * X XOPTIONS_DEFINE= EXAMPLES XOPTIONS_DEFAULT= EXAMPLES X Xdo-install: X ${INSTALL_DATA} ${WRKSRC}/sysctlmibinfo2.h ${STAGEDIR}${PREFIX}/include X ${INSTALL_DATA} ${WRKSRC}/libsysctlmibinfo2.a ${STAGEDIR}${PREFIX}/lib X ${INSTALL_LIB} ${WRKSRC}/libsysctlmibinfo2.so.2.0.0 ${STAGEDIR}${PREFIX}/lib X ${RLN} ${STAGEDIR}${PREFIX}/lib/libsysctlmibinfo2.so.2.0.0 ${STAGEDIR}${PREFIX}/lib/libsysctlmibinfo2.so X ${INSTALL_MAN} ${WRKSRC}/sysctlmibinfo2.3.gz ${STAGEDIR}${MAN3PREFIX}/man/man3 X Xdo-install-EXAMPLES-on: X @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} X.for e in ${PORTEXAMPLES} X ${INSTALL_DATA} ${WRKSRC}/examples/${e} ${STAGEDIR}${EXAMPLESDIR} X.endfor X X.include 0432fc37bc94693bd453148f59f91d57 echo x - libsysctlmibinfo2/pkg-descr sed 's/^X//' >libsysctlmibinfo2/pkg-descr << '3fe0bcc7546732d1e67159d58b6ba4e0' XThe sysctlmibinfo2 library provides an API to explore the sysctl MIB and Xto get the info of an object, it depends on the sysctlinfo interface and Xsysctlbyname-improved. X XThis library provides: X X * an API to wrap the internal sysctl nodes of sysctlinfo and X sysctlbyname-improved, X * defines a handy userland MIB object representation X * functions to build object-list and object-tree X XThe advantages to use sysctlmibinfo2 are: X X * an easy userspace API to the kernel sysctl MIB-Tree X * building quickly a custom sysctl(8) tool X XWWW: https://gitlab.com/alfix/sysctlmibinfo2/ 3fe0bcc7546732d1e67159d58b6ba4e0 exit