devel/lua-alt-getopt - The NetBSD Packages Collection

Lua API for getopt similar to getopt_long(3)

lua_altgetopt is a module for Lua programming language
for processing application's arguments the same way
BSD/GNU getopt_long(3) functions do.

Main features and goals:
1) compatibility to SUS "Utility Syntax Guidelines"
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_02
guidelines 3-13.
2) This module is for plain Lua
2) No extra dependencies
3) No hooks, no functional tricks ;-)
4) Support for long options, e.g. compatibility with getopt_long(3) C
function
   present in *BSD and GNU libc.
5) Long options may optionally have one-char synonym or other long synonym
6) Strict error checking (checks for an incorrect use of options)
7) alt_getopt.lua is a Lua module.

Build dependencies

devel/mk-configure pkgtools/mktools devel/pkgconf pkgtools/cwrappers

Runtime dependencies

lang/lua54

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64lua51-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua52-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua53-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua54-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua51-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua52-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua53-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua54-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua51-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua52-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua53-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64lua54-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64eblua51-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64eblua52-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64eblua53-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64eblua54-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64eblua51-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64eblua52-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64eblua53-alt-getopt-0.8.0.tgz
NetBSD 10.0aarch64eblua54-alt-getopt-0.8.0.tgz
NetBSD 10.0alphalua51-alt-getopt-0.8.0.tgz
NetBSD 10.0alphalua52-alt-getopt-0.8.0.tgz
NetBSD 10.0alphalua53-alt-getopt-0.8.0.tgz
NetBSD 10.0alphalua54-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv4lua54-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv4lua54-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv4lua54-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua51-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua52-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua53-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua54-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua51-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua52-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua53-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua54-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua51-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua52-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua53-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv6hflua54-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua51-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua52-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua53-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua54-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua51-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua52-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua53-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua54-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua51-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua52-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua53-alt-getopt-0.8.0.tgz
NetBSD 10.0earmv7hflua54-alt-getopt-0.8.0.tgz
NetBSD 10.0i386lua51-alt-getopt-0.8.0.tgz
NetBSD 10.0i386lua52-alt-getopt-0.8.0.tgz
NetBSD 10.0i386lua53-alt-getopt-0.8.0.tgz
NetBSD 10.0i386lua54-alt-getopt-0.8.0.tgz
NetBSD 10.0i386lua51-alt-getopt-0.8.0.tgz
NetBSD 10.0i386lua52-alt-getopt-0.8.0.tgz
NetBSD 10.0i386lua53-alt-getopt-0.8.0.tgz
NetBSD 10.0i386lua54-alt-getopt-0.8.0.tgz
NetBSD 10.0m68klua51-alt-getopt-0.8.0.tgz
NetBSD 10.0m68klua52-alt-getopt-0.8.0.tgz
NetBSD 10.0m68klua53-alt-getopt-0.8.0.tgz
NetBSD 10.0m68klua54-alt-getopt-0.8.0.tgz
NetBSD 10.0mips64eblua54-alt-getopt-0.8.0.tgz
NetBSD 10.0powerpclua51-alt-getopt-0.8.0.tgz
NetBSD 10.0powerpclua52-alt-getopt-0.8.0.tgz
NetBSD 10.0powerpclua54-alt-getopt-0.8.0.tgz
NetBSD 10.0sh3ellua51-alt-getopt-0.8.0.tgz
NetBSD 10.0sh3ellua52-alt-getopt-0.8.0.tgz
NetBSD 10.0sh3ellua53-alt-getopt-0.8.0.tgz
NetBSD 10.0sh3ellua54-alt-getopt-0.8.0.tgz
NetBSD 10.0sparclua54-alt-getopt-0.8.0.tgz
NetBSD 10.0vaxlua51-alt-getopt-0.8.0.tgz
NetBSD 10.0vaxlua52-alt-getopt-0.8.0.tgz
NetBSD 10.0vaxlua53-alt-getopt-0.8.0.tgz
NetBSD 10.0vaxlua54-alt-getopt-0.8.0.tgz
NetBSD 10.0vaxlua51-alt-getopt-0.8.0.tgz
NetBSD 10.0vaxlua52-alt-getopt-0.8.0.tgz
NetBSD 10.0vaxlua53-alt-getopt-0.8.0.tgz
NetBSD 10.0vaxlua54-alt-getopt-0.8.0.tgz
NetBSD 10.0vaxlua54-alt-getopt-0.8.0.tgz
NetBSD 10.0x86_64lua51-alt-getopt-0.8.0.tgz
NetBSD 10.0x86_64lua52-alt-getopt-0.8.0.tgz
NetBSD 10.0x86_64lua53-alt-getopt-0.8.0.tgz
NetBSD 10.0x86_64lua54-alt-getopt-0.8.0.tgz
NetBSD 10.0_BETAx86_64lua51-alt-getopt-0.8.0.tgz
NetBSD 10.0_BETAx86_64lua52-alt-getopt-0.8.0.tgz
NetBSD 10.0_BETAx86_64lua53-alt-getopt-0.8.0.tgz
NetBSD 10.0_BETAx86_64lua54-alt-getopt-0.8.0.tgz
NetBSD 10.99.4riscv64lua54-alt-getopt-0.8.0.tgz
NetBSD 8.0i386lua51-alt-getopt-0.8.0.tgz
NetBSD 8.0i386lua52-alt-getopt-0.8.0.tgz
NetBSD 8.0i386lua53-alt-getopt-0.8.0.tgz
NetBSD 8.0i386lua54-alt-getopt-0.8.0.tgz
NetBSD 8.0i386lua51-alt-getopt-0.8.0.tgz
NetBSD 8.0i386lua52-alt-getopt-0.8.0.tgz
NetBSD 8.0i386lua53-alt-getopt-0.8.0.tgz
NetBSD 8.0i386lua54-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua51-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua52-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua53-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua54-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua51-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua52-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua53-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua54-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua51-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua52-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua53-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua54-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua51-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua52-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua53-alt-getopt-0.8.0.tgz
NetBSD 8.0powerpclua54-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua51-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua52-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua53-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua54-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua51-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua52-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua53-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua54-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua51-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua52-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua53-alt-getopt-0.8.0.tgz
NetBSD 8.0x86_64lua54-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua51-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua52-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua53-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua54-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua51-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua52-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua53-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua54-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua51-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua52-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua53-alt-getopt-0.8.0.tgz
NetBSD 9.0aarch64lua54-alt-getopt-0.8.0.tgz
NetBSD 9.0alphalua51-alt-getopt-0.8.0.tgz
NetBSD 9.0alphalua52-alt-getopt-0.8.0.tgz
NetBSD 9.0alphalua53-alt-getopt-0.8.0.tgz
NetBSD 9.0alphalua54-alt-getopt-0.8.0.tgz
NetBSD 9.0alphalua51-alt-getopt-0.8.0.tgz
NetBSD 9.0alphalua52-alt-getopt-0.8.0.tgz
NetBSD 9.0alphalua53-alt-getopt-0.8.0.tgz
NetBSD 9.0alphalua54-alt-getopt-0.8.0.tgz
NetBSD 9.0earmlua51-alt-getopt-0.8.0.tgz
NetBSD 9.0earmlua52-alt-getopt-0.8.0.tgz
NetBSD 9.0earmlua53-alt-getopt-0.8.0.tgz
NetBSD 9.0earmlua54-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv4lua51-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv4lua52-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv4lua53-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv4lua54-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv4lua54-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua51-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua52-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua53-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua54-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua51-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua52-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua53-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua54-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua51-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua52-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua53-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv6hflua54-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua51-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua52-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua53-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua54-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua51-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua52-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua53-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua54-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua51-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua52-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua53-alt-getopt-0.8.0.tgz
NetBSD 9.0earmv7hflua54-alt-getopt-0.8.0.tgz
NetBSD 9.0i386lua51-alt-getopt-0.8.0.tgz
NetBSD 9.0i386lua52-alt-getopt-0.8.0.tgz
NetBSD 9.0i386lua53-alt-getopt-0.8.0.tgz
NetBSD 9.0i386lua54-alt-getopt-0.8.0.tgz
NetBSD 9.0i386lua51-alt-getopt-0.8.0.tgz
NetBSD 9.0i386lua52-alt-getopt-0.8.0.tgz
NetBSD 9.0i386lua53-alt-getopt-0.8.0.tgz
NetBSD 9.0i386lua54-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua51-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua52-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua53-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua54-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua51-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua52-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua53-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua54-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua51-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua52-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua53-alt-getopt-0.8.0.tgz
NetBSD 9.0m68klua54-alt-getopt-0.8.0.tgz
NetBSD 9.0mips64eblua51-alt-getopt-0.8.0.tgz
NetBSD 9.0mips64eblua52-alt-getopt-0.8.0.tgz
NetBSD 9.0mips64eblua53-alt-getopt-0.8.0.tgz
NetBSD 9.0mips64eblua54-alt-getopt-0.8.0.tgz
NetBSD 9.0mipsellua53-alt-getopt-0.8.0.tgz
NetBSD 9.0mipsellua54-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua51-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua52-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua53-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua54-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua51-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua52-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua53-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua54-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua51-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua52-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua53-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua54-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua51-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua52-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua53-alt-getopt-0.8.0.tgz
NetBSD 9.0powerpclua54-alt-getopt-0.8.0.tgz
NetBSD 9.0sh3ellua51-alt-getopt-0.8.0.tgz
NetBSD 9.0sh3ellua52-alt-getopt-0.8.0.tgz
NetBSD 9.0sh3ellua53-alt-getopt-0.8.0.tgz
NetBSD 9.0sh3ellua54-alt-getopt-0.8.0.tgz
NetBSD 9.0sh3ellua51-alt-getopt-0.8.0.tgz
NetBSD 9.0sh3ellua52-alt-getopt-0.8.0.tgz
NetBSD 9.0sh3ellua53-alt-getopt-0.8.0.tgz
NetBSD 9.0sh3ellua54-alt-getopt-0.8.0.tgz
NetBSD 9.0sparc64lua51-alt-getopt-0.8.0.tgz
NetBSD 9.0sparc64lua52-alt-getopt-0.8.0.tgz
NetBSD 9.0sparc64lua53-alt-getopt-0.8.0.tgz
NetBSD 9.0sparc64lua54-alt-getopt-0.8.0.tgz
NetBSD 9.0sparclua51-alt-getopt-0.8.0.tgz
NetBSD 9.0sparclua52-alt-getopt-0.8.0.tgz
NetBSD 9.0sparclua53-alt-getopt-0.8.0.tgz
NetBSD 9.0sparclua54-alt-getopt-0.8.0.tgz
NetBSD 9.0sparclua51-alt-getopt-0.8.0.tgz
NetBSD 9.0sparclua52-alt-getopt-0.8.0.tgz
NetBSD 9.0sparclua53-alt-getopt-0.8.0.tgz
NetBSD 9.0sparclua54-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua51-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua52-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua53-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua54-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua51-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua52-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua53-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua51-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua52-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua53-alt-getopt-0.8.0.tgz
NetBSD 9.0vaxlua54-alt-getopt-0.8.0.tgz
NetBSD 9.0x86_64lua51-alt-getopt-0.8.0.tgz
NetBSD 9.0x86_64lua52-alt-getopt-0.8.0.tgz
NetBSD 9.0x86_64lua53-alt-getopt-0.8.0.tgz
NetBSD 9.0x86_64lua54-alt-getopt-0.8.0.tgz
NetBSD 9.0x86_64lua51-alt-getopt-0.8.0.tgz
NetBSD 9.0x86_64lua52-alt-getopt-0.8.0.tgz
NetBSD 9.0x86_64lua53-alt-getopt-0.8.0.tgz
NetBSD 9.0x86_64lua54-alt-getopt-0.8.0.tgz
NetBSD 9.3x86_64lua51-alt-getopt-0.8.0.tgz
NetBSD 9.3x86_64lua52-alt-getopt-0.8.0.tgz
NetBSD 9.3x86_64lua53-alt-getopt-0.8.0.tgz
NetBSD 9.3x86_64lua54-alt-getopt-0.8.0.tgz
NetBSD 9.3x86_64lua51-alt-getopt-0.8.0.tgz
NetBSD 9.3x86_64lua52-alt-getopt-0.8.0.tgz
NetBSD 9.3x86_64lua53-alt-getopt-0.8.0.tgz
NetBSD 9.3x86_64lua54-alt-getopt-0.8.0.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

(none)

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.