www/ruby-http_router - The NetBSD Packages Collection

Kick-ass HTTP router for use in Rack

# HTTP Router

## What is it?

This is an HTTP router for use in either a web framework, or on it's own using
Rack. It takes a set of routes and attempts to find the best match for
it. Take a look at the examples directory for how you'd use it in the Rack
context.

## Features

* Ordered route resolution.
* Supports variables, and globbing, both named and unnamed.
* Regex support for variables.
* Request condition support.
* Partial matches.
* Supports interstitial variables (e.g.
  /my-:variable-brings.all.the.boys/yard) and unnamed variable /one/:/two
* Very fast and small code base (~1,000 loc).
* Sinatra via https://github.com/joshbuddy/http_router_sinatra

Build dependencies

pkgtools/cwrappers

Runtime dependencies

www/ruby-rack www/ruby-url_mount lang/ruby27-base

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfruby26-http_router-0.11.2.tgz
NetBSD 8.0earmv7hfruby27-http_router-0.11.2.tgz
NetBSD 8.0earmv7hfruby25-http_router-0.11.2.tgz
NetBSD 8.0earmv7hfruby26-http_router-0.11.2.tgz
NetBSD 8.0earmv7hfruby27-http_router-0.11.2.tgz
NetBSD 8.0earmv7hfruby26-http_router-0.11.2.tgz
NetBSD 8.0earmv7hfruby27-http_router-0.11.2.tgz
NetBSD 8.0i386ruby25-http_router-0.11.2.tgz
NetBSD 8.0i386ruby26-http_router-0.11.2.tgz
NetBSD 8.0i386ruby27-http_router-0.11.2.tgz
NetBSD 8.0i386ruby26-http_router-0.11.2.tgz
NetBSD 8.0i386ruby27-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby24-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby25-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby26-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby27-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby24-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby25-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby26-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby27-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby24-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby25-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby26-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby27-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby24-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby25-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby26-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby27-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby25-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby26-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby27-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby26-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby27-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby26-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby27-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby30-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby25-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby26-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby27-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby30-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby26-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby27-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby30-http_router-0.11.2.tgz
NetBSD 9.0alpharuby25-http_router-0.11.2.tgz
NetBSD 9.0alpharuby26-http_router-0.11.2.tgz
NetBSD 9.0alpharuby27-http_router-0.11.2.tgz
NetBSD 9.0alpharuby25-http_router-0.11.2.tgz
NetBSD 9.0alpharuby26-http_router-0.11.2.tgz
NetBSD 9.0alpharuby27-http_router-0.11.2.tgz
NetBSD 9.0alpharuby25-http_router-0.11.2.tgz
NetBSD 9.0alpharuby26-http_router-0.11.2.tgz
NetBSD 9.0alpharuby27-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby26-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby27-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby30-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby25-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby26-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby27-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby30-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby26-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby27-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby30-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby26-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby27-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby30-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby25-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby26-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby27-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby30-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby26-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby27-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby30-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby26-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby27-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby30-http_router-0.11.2.tgz
NetBSD 9.0i386ruby25-http_router-0.11.2.tgz
NetBSD 9.0i386ruby26-http_router-0.11.2.tgz
NetBSD 9.0i386ruby27-http_router-0.11.2.tgz
NetBSD 9.0i386ruby30-http_router-0.11.2.tgz
NetBSD 9.0i386ruby26-http_router-0.11.2.tgz
NetBSD 9.0i386ruby27-http_router-0.11.2.tgz
NetBSD 9.0i386ruby30-http_router-0.11.2.tgz
NetBSD 9.0i386ruby26-http_router-0.11.2.tgz
NetBSD 9.0i386ruby27-http_router-0.11.2.tgz
NetBSD 9.0i386ruby30-http_router-0.11.2.tgz
NetBSD 9.0mips64ebruby26-http_router-0.11.2.tgz
NetBSD 9.0mips64ebruby27-http_router-0.11.2.tgz
NetBSD 9.0mips64ebruby30-http_router-0.11.2.tgz
NetBSD 9.0mips64ebruby25-http_router-0.11.2.tgz
NetBSD 9.0mips64ebruby26-http_router-0.11.2.tgz
NetBSD 9.0mips64ebruby27-http_router-0.11.2.tgz
NetBSD 9.0mips64ebruby26-http_router-0.11.2.tgz
NetBSD 9.0mips64ebruby27-http_router-0.11.2.tgz
NetBSD 9.0mips64ebruby30-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby24-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby25-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby26-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby27-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby30-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby24-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby25-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby26-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby27-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby30-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby24-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby25-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby26-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby27-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby30-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby24-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby25-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby26-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby27-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby30-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby25-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby26-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby27-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby30-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby25-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby26-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby27-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby30-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby25-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby26-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby27-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby30-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby26-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby27-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby30-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby26-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby27-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby30-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby25-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby26-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby27-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby30-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby26-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby27-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby30-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby26-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby27-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby30-http_router-0.11.2.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.