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/mktools pkgtools/cwrappers

Runtime dependencies

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

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64ruby31-http_router-0.11.2.tgz
NetBSD 10.0aarch64ruby32-http_router-0.11.2.tgz
NetBSD 10.0aarch64ruby31-http_router-0.11.2.tgz
NetBSD 10.0aarch64ruby32-http_router-0.11.2.tgz
NetBSD 10.0aarch64ruby31-http_router-0.11.2.tgz
NetBSD 10.0aarch64ruby32-http_router-0.11.2.tgz
NetBSD 10.0aarch64ebruby31-http_router-0.11.2.tgz
NetBSD 10.0aarch64ebruby32-http_router-0.11.2.tgz
NetBSD 10.0aarch64ebruby31-http_router-0.11.2.tgz
NetBSD 10.0aarch64ebruby32-http_router-0.11.2.tgz
NetBSD 10.0earmv6hfruby31-http_router-0.11.2.tgz
NetBSD 10.0earmv6hfruby32-http_router-0.11.2.tgz
NetBSD 10.0earmv6hfruby31-http_router-0.11.2.tgz
NetBSD 10.0earmv6hfruby32-http_router-0.11.2.tgz
NetBSD 10.0earmv6hfruby31-http_router-0.11.2.tgz
NetBSD 10.0earmv6hfruby32-http_router-0.11.2.tgz
NetBSD 10.0earmv7hfruby31-http_router-0.11.2.tgz
NetBSD 10.0earmv7hfruby32-http_router-0.11.2.tgz
NetBSD 10.0earmv7hfruby31-http_router-0.11.2.tgz
NetBSD 10.0earmv7hfruby32-http_router-0.11.2.tgz
NetBSD 10.0earmv7hfruby31-http_router-0.11.2.tgz
NetBSD 10.0earmv7hfruby32-http_router-0.11.2.tgz
NetBSD 10.0i386ruby31-http_router-0.11.2.tgz
NetBSD 10.0i386ruby32-http_router-0.11.2.tgz
NetBSD 10.0i386ruby31-http_router-0.11.2.tgz
NetBSD 10.0i386ruby32-http_router-0.11.2.tgz
NetBSD 10.0powerpcruby26-http_router-0.11.2.tgz
NetBSD 10.0powerpcruby27-http_router-0.11.2.tgz
NetBSD 10.0powerpcruby30-http_router-0.11.2.tgz
NetBSD 10.0powerpcruby31-http_router-0.11.2.tgz
NetBSD 10.0powerpcruby32-http_router-0.11.2.tgz
NetBSD 10.0x86_64ruby31-http_router-0.11.2.tgz
NetBSD 10.0x86_64ruby32-http_router-0.11.2.tgz
NetBSD 10.0_BETAx86_64ruby31-http_router-0.11.2.tgz
NetBSD 10.0_BETAx86_64ruby32-http_router-0.11.2.tgz
NetBSD 8.0i386ruby32-http_router-0.11.2.tgz
NetBSD 8.0i386ruby30-http_router-0.11.2.tgz
NetBSD 8.0i386ruby31-http_router-0.11.2.tgz
NetBSD 8.0i386ruby32-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.0powerpcruby30-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby31-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.0powerpcruby30-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby31-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby32-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.0powerpcruby30-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby31-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby32-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.0powerpcruby30-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby31-http_router-0.11.2.tgz
NetBSD 8.0powerpcruby32-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby31-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby32-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby30-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby31-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby32-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby31-http_router-0.11.2.tgz
NetBSD 8.0x86_64ruby32-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby31-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby32-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby30-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby31-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby32-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby31-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby32-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.0alpharuby30-http_router-0.11.2.tgz
NetBSD 9.0alpharuby31-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.0alpharuby30-http_router-0.11.2.tgz
NetBSD 9.0alpharuby31-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby31-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby32-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby30-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby31-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby32-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby31-http_router-0.11.2.tgz
NetBSD 9.0earmv6hfruby32-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby31-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby32-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby30-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby31-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby32-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby31-http_router-0.11.2.tgz
NetBSD 9.0earmv7hfruby32-http_router-0.11.2.tgz
NetBSD 9.0i386ruby31-http_router-0.11.2.tgz
NetBSD 9.0i386ruby32-http_router-0.11.2.tgz
NetBSD 9.0i386ruby31-http_router-0.11.2.tgz
NetBSD 9.0i386ruby32-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.0powerpcruby31-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby32-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.0powerpcruby31-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby32-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.0powerpcruby31-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby32-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.0powerpcruby31-http_router-0.11.2.tgz
NetBSD 9.0powerpcruby32-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.0sparc64ruby31-http_router-0.11.2.tgz
NetBSD 9.0sparc64ruby32-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby31-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby32-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby31-http_router-0.11.2.tgz
NetBSD 9.0x86_64ruby32-http_router-0.11.2.tgz
NetBSD 9.3x86_64ruby30-http_router-0.11.2.tgz
NetBSD 9.3x86_64ruby31-http_router-0.11.2.tgz
NetBSD 9.3x86_64ruby32-http_router-0.11.2.tgz
NetBSD 9.3x86_64ruby31-http_router-0.11.2.tgz
NetBSD 9.3x86_64ruby32-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.