libsmi - A Library to Access SMI MIB Information The core of the libsmi distribution is a library that allows management applications to access SMI MIB module definitions. On top of this library, there are tools to check, analyze dump, convert, and compare MIB definitions. Finally, the distribution contains a steadily maintained and revised archive of all IETF and IANA maintained standard MIB and PIB modules.
Created attachment 11641 [details] ebuild script
sensors thingy
I've gotten an e-mail request for this ebuild, but I do not have time to fix, test, etc. Please assign it to an active dev who can handle it if you cannot.
Created attachment 32746 [details] ebuild for libsmi 0.4.2 libsmi has marched onto its next release since this ebuild was made. I've updated the ebuild for libsmi-0.4.2 and tidied a few things up too. I hope this can make it to portage in ~x86. I'm not sure what category this ebuild fits into. 'app-misc' perhaps?
There seems to be a sandbox violation when the 'pibs' are being installed.
Surpressing the sandbox, using <FEATURES="-sandbox" emerge -v libsmi-0.4.2.ebuild> helps, but this is of course a temporary workaround :-(
This is the access violation log: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-root_-_libsmi-0.4.2-28631.log" mkdir: /usr/share/pibs mkdir: /usr/share/pibs/ietf mkdir: /usr/share/pibs mkdir: /usr/share/pibs/tubs mkdir: /usr/share/pibs mkdir: /usr/share/pibs/site -------------------------------------------------------------------------------- lapkda tmp # cat /tmp/sandbox-root_-_libsmi-0.4.2- sandbox-root_-_libsmi-0.4.2-11921.log sandbox-root_-_libsmi-0.4.2-28631.log sandbox-root_-_libsmi-0.4.2-23064.log sandbox-root_-_libsmi-0.4.2-32661.log lapkda tmp # cat /tmp/sandbox-root_-_libsmi-0.4.2-28631.log mkdir: /usr/share/pibs mkdir: /usr/share/pibs/ietf mkdir: /usr/share/pibs mkdir: /usr/share/pibs/tubs mkdir: /usr/share/pibs mkdir: /usr/share/pibs/site
Well spotted about the sandbox violation. I've turned my sandbox back on. The violation is caused by the 'mkinstalldirs' shell script in the root of the package. I've not quite worked out how to fix it yet, though.
1) You should really be using einstall, not "make install"... 2) Add "pibdir=${D}/usr/share/pibs" to that line and it should install successfully.
With the change in comment #9 this ebuild should be good to go, but I'm not sure how I would go about testing this [ It was reassigned to me as a lm-sensors library for some reason ] - I'm reassigning this bug to the Gentoo Bug Wranglers who can hopefully find somebody who could test this library and confirm it works as it should. Thanks!
in cvs as net-libs/libsmi because i needed it for some work stuff ;-).