Summary: | [NEW PORT] devel/libsysctlmibinfo2: sysctl MIB info API version 2 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Alfonso S. Siciliano <asiciliano> | ||||||
Component: | Individual Port(s) | Assignee: | Tobias C. Berner <tcberner> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | asiciliano, tcberner | ||||||
Priority: | --- | Flags: | tobik:
maintainer-feedback+
|
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Bug Depends on: | 242068 | ||||||||
Bug Blocks: | 242239 | ||||||||
Attachments: |
|
Description
Alfonso S. Siciliano
2019-11-25 22:15:04 UTC
Created attachment 209431 [details]
new port .shar (mainstream fix)
Committed. Thanks. A commit references this bug: Author: tcberner Date: Sat Dec 14 11:09:29 UTC 2019 New revision: 520108 URL: https://svnweb.freebsd.org/changeset/ports/520108 Log: [NEW PORT] devel/libsysctlmibinfo2: sysctl MIB info API version 2 The sysctlmibinfo2 library provides an API to explore the sysctl MIB and to get the info of an object, it is useful to build a sysctl(8)-like tool. WWW: https://gitlab.com/alfix/sysctlmibinfo2/ PR: 242237 Submitted by: Alfonso S. Siciliano <alfix86@gmail.com> Changes: head/devel/Makefile head/devel/libsysctlmibinfo2/ head/devel/libsysctlmibinfo2/Makefile head/devel/libsysctlmibinfo2/distinfo head/devel/libsysctlmibinfo2/pkg-descr Reopen because of RUN_DEPENDS ambiguity. In the port the first RUN_DEPENDS is overwritten by the second one. As a consequence the port only depends on sysutils/sysctlbyname-improved-kmod at runtime. Are both needed? RUN_DEPENDS= ${KMODDIR}/sysctlinfo.ko:sysutils/sysctlinfo-kmod RUN_DEPENDS= ${KMODDIR}/sysctlbyname_improved.ko:sysutils/sysctlbyname-improved-kmod Thank you for your report, you are right # make -V RUN_DEPENDS /boot/modules/sysctlbyname_improved.ko:sysutils/sysctlbyname-improved-kmod better: RUN_DEPENDS= ${KMODDIR}/sysctlinfo.ko:sysutils/sysctlinfo-kmod RUN_DEPENDS+= ${KMODDIR}/sysctlbyname_improved.ko:sysutils/sysctlbyname-improved-kmod so: # make -V RUN_DEPENDS /boot/modules/sysctlinfo.ko:sysutils/sysctlinfo-kmod /boot/modules/sysctlbyname_improved.ko:sysutils/sysctlbyname-improved-kmod I (and tests) didn't find the problem because sysctlinfo-kmod is installed also via BUILD_DEPENDS Thanks. Fixed. A commit references this bug: Author: tobik Date: Sat Dec 14 14:38:38 UTC 2019 New revision: 520120 URL: https://svnweb.freebsd.org/changeset/ports/520120 Log: devel/libsysctlmibinfo2: Fix RUN_DEPENDS Both sysctlbyname-improved-kmod and sysctlinfo-kmod are needed at runtime PR: 242237 Submitted by: alfix86@gmail.com (maintainer) Changes: head/devel/libsysctlmibinfo2/Makefile |