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.0aarch64ruby33-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.0aarch64ruby33-http_router-0.11.2.tgz
NetBSD 10.0aarch64ebruby31-http_router-0.11.2.tgz
NetBSD 10.0aarch64ebruby31-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.0earmv6hfruby33-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.0earmv6hfruby33-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.0earmv6hfruby33-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.0earmv7hfruby33-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.0earmv7hfruby33-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.0earmv7hfruby33-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.0i386ruby33-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.0i386ruby33-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.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.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.0powerpcruby33-http_router-0.11.2.tgz
NetBSD 10.0sparc64ruby31-http_router-0.11.2.tgz
NetBSD 10.0sparc64ruby32-http_router-0.11.2.tgz
NetBSD 10.0sparc64ruby33-http_router-0.11.2.tgz
NetBSD 10.0sparc64ruby31-http_router-0.11.2.tgz
NetBSD 10.0sparc64ruby32-http_router-0.11.2.tgz
NetBSD 10.0sparc64ruby33-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.0x86_64ruby33-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.0x86_64ruby33-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby31-http_router-0.11.2.tgz
NetBSD 9.0aarch64ruby31-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.0earmv6hfruby33-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.0earmv6hfruby33-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.0earmv6hfruby33-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.0earmv7hfruby33-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.0earmv7hfruby33-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.0earmv7hfruby33-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.0i386ruby33-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.0i386ruby33-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.0powerpcruby33-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_64ruby33-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_64ruby33-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_64ruby33-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.