devel/go-osext - The NetBSD Packages Collection

Extensions to the standard "os" package

Extensions to the "os" package.
Find the current Executable and ExecutableFolder.

There is sometimes utility in finding the current executable file that is
running. This can be used for upgrading the current executable or finding
resources located relative to the executable file. Both working directory and
the os.Args[0] value are arbitrary and cannot be relied on; os.Args[0] can be

Multi-platform and supports:

* Linux
* OS X
* Windows
* Plan 9
* BSDs.

Build dependencies

lang/go116 pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 8.0earmv7hfgo-osext-0.0.20151222nb25.tgz
NetBSD 8.0earmv7hfgo-osext-0.0.20151222nb17.tgz
NetBSD 8.0earmv7hfgo-osext-0.0.20151222nb19.tgz
NetBSD 8.0earmv7hfgo-osext-0.0.20151222nb22.tgz
NetBSD 8.0i386go-osext-0.0.20151222nb19.tgz
NetBSD 8.0i386go-osext-0.0.20151222nb22.tgz
NetBSD 8.0i386go-osext-0.0.20151222nb25.tgz
NetBSD 8.0x86_64go-osext-0.0.20151222nb22.tgz
NetBSD 8.0x86_64go-osext-0.0.20151222nb19.tgz
NetBSD 9.0aarch64go-osext-0.0.20151222nb27.tgz
NetBSD 9.0aarch64go-osext-0.0.20151222nb22.tgz
NetBSD 9.0aarch64go-osext-0.0.20151222nb25.tgz
NetBSD 9.0earmv7hfgo-osext-0.0.20151222nb27.tgz
NetBSD 9.0earmv7hfgo-osext-0.0.20151222nb17.tgz
NetBSD 9.0earmv7hfgo-osext-0.0.20151222nb19.tgz
NetBSD 9.0earmv7hfgo-osext-0.0.20151222nb22.tgz
NetBSD 9.0earmv7hfgo-osext-0.0.20151222nb25.tgz
NetBSD 9.0i386go-osext-0.0.20151222nb19.tgz
NetBSD 9.0i386go-osext-0.0.20151222nb22.tgz
NetBSD 9.0i386go-osext-0.0.20151222nb25.tgz
NetBSD 9.0x86_64go-osext-0.0.20151222nb25.tgz
NetBSD 9.0x86_64go-osext-0.0.20151222nb25.tgz
NetBSD 9.0x86_64go-osext-0.0.20151222nb26.tgz
NetBSD 9.0x86_64go-osext-0.0.20151222nb19.tgz
NetBSD 9.0x86_64go-osext-0.0.20151222nb22.tgz
NetBSD 9.0x86_64go-osext-0.0.20151222nb25.tgz
NetBSD 9.0x86_64go-osext-0.0.20151222nb27.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.