FreeBSD Bugzilla – Attachment 207510 Details for
Bug 240390
[NEW PORT] sysutils/sysctlinfo-kmod: Interface to visit the sysctl MIB-tree and to get the nodes info
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
new port .shar (sysctlinfo-kmod)
sysctlinfo-kmod.shar (text/plain), 2.90 KB, created by
Alfonso S. Siciliano
on 2019-09-15 17:59:45 UTC
(
hide
)
Description:
new port .shar (sysctlinfo-kmod)
Filename:
MIME Type:
Creator:
Alfonso S. Siciliano
Created:
2019-09-15 17:59:45 UTC
Size:
2.90 KB
patch
obsolete
># 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: ># ># sysctlinfo-kmod ># sysctlinfo-kmod/distinfo ># sysctlinfo-kmod/Makefile ># sysctlinfo-kmod/pkg-descr ># sysctlinfo-kmod/pkg-message ># >echo c - sysctlinfo-kmod >mkdir -p sysctlinfo-kmod > /dev/null 2>&1 >echo x - sysctlinfo-kmod/distinfo >sed 's/^X//' >sysctlinfo-kmod/distinfo << 'abce6e42489950f2d494ede47f4f5c07' >XTIMESTAMP = 1568559895 >XSHA256 (alfix-sysctlinfo-1f1b05e3432ccada8c38cfb5f1987dfceb75524b_GL0.tar.gz) = a37e19e50da8132ed18669030e236bd551a547c0fce6b8a560f1d7b336081c3d >XSIZE (alfix-sysctlinfo-1f1b05e3432ccada8c38cfb5f1987dfceb75524b_GL0.tar.gz) = 30767 >abce6e42489950f2d494ede47f4f5c07 >echo x - sysctlinfo-kmod/Makefile >sed 's/^X//' >sysctlinfo-kmod/Makefile << '5792f05528e2ad892a8c93ae0cf03f61' >X# $FreeBSD$ >X >XPORTNAME= sysctlinfo-kmod >XDISTVERSION= 20190907 >XCATEGORIES= sysutils >X >XMAINTAINER= alfix86@gmail.com >XCOMMENT= Interface to visit the sysctl MIB-tree and to get the nodes info >X >XLICENSE= BSD2CLAUSE >X >XIGNORE_FreeBSD_11= oid_label is supported from FreeBSD >=12 >X >XUSES= kmod >X >XUSE_GITLAB= yes >XGL_ACCOUNT= alfix >XGL_PROJECT= sysctlinfo >XGL_COMMIT= 1f1b05e3432ccada8c38cfb5f1987dfceb75524b >X >XPLIST_FILES= ${KMODDIR}/sysctlinfo.ko \ >X include/sysctlinfo.h \ >X man/man3/sysctlinfo.3.gz \ >X man/man4/sysctlinfo.4.gz >X >XPORTEXAMPLES= Makefile \ >X allinfo.c \ >X allinfobyname.c \ >X capability.c \ >X singleinfo.c >X >XOPTIONS_DEFINE= EXAMPLES >X >XOPTIONS_DEFAULT= EXAMPLES >X >Xdo-install: >X ${INSTALL_KLD} ${WRKSRC}/sysctlinfo.ko ${STAGEDIR}${KMODDIR} >X ${INSTALL_DATA} ${WRKSRC}/sysctlinfo.h ${STAGEDIR}${PREFIX}/include >X ${INSTALL_MAN} ${WRKSRC}/sysctlinfo.3 ${STAGEDIR}${MAN3PREFIX}/man/man3 >X ${INSTALL_MAN} ${WRKSRC}/sysctlinfo.4 ${STAGEDIR}${MAN4PREFIX}/man/man4 >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 <bsd.port.mk> >5792f05528e2ad892a8c93ae0cf03f61 >echo x - sysctlinfo-kmod/pkg-descr >sed 's/^X//' >sysctlinfo-kmod/pkg-descr << '4d95d87212329a31eba146910ef94efe' >XKernel module to implement the sysctlinfo interface, it explores >Xthe sysctl tree to pass the info of the nodes to the userland; >Xa header file with costants and helper macros is provided, too. >X >XWWW: https://gitlab.com/alfix/sysctlinfo >4d95d87212329a31eba146910ef94efe >echo x - sysctlinfo-kmod/pkg-message >sed 's/^X//' >sysctlinfo-kmod/pkg-message << 'c0578f35e4ca654885813dce815c397f' >X[ >X{ type: install >X message: <<EOM >XTo use this interface, make sure that you have loaded the sysctlinfo kernel >Xmodule, by doing >X >X # kldload sysctlinfo >X >Xor adding >X >X sysctlinfo_load="YES" >X >Xto your /boot/loader.conf. >XEOM >X} >X] >c0578f35e4ca654885813dce815c397f >exit >
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
Actions:
View
|
Diff
Attachments on
bug 240390
:
207259
| 207510 |
207750