textproc/ruby-erubi - The NetBSD Packages Collection

Small ERB Implementation

Erubi is a ERB template engine for ruby. It is a simplified fork of Erubis,
using the same basic algorithm, with the following differences:

* Handles postfix conditionals when using escaping
  (e.g. <%= foo if bar %>)
* Supports frozen_string_literal: true in templates via :freeze option
* Works with ruby's --enable-frozen-string-literal option
* Automatically freezes strings for template text when ruby optimizes it (on
  ruby 2.1+)
* Escapes ' (apostrophe) when escaping for better XSS protection
* Has 6x faster escaping on ruby 2.3+ by using cgi/escape
* Has 86% smaller memory footprint
* Does no monkey patching (Erubis adds a method to Kernel)
* Uses an immutable design (all options passed to the constructor, which
  returns a frozen object)
* Has simpler internals (1 file, <150 lines of code)
* Has an open development model (Erubis doesn't have a public source control
  repository or bug tracker)
* Is not dead (Erubis hasn't been updated since 2011)

It is not designed with Erubis API compatibility in mind, though most Erubis
ERB syntax works, with the following exceptions:

* No support for <%=== for debug output

Build dependencies

pkgtools/cwrappers

Runtime dependencies

lang/ruby27-base

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfruby26-erubi-1.10.0.tgz
NetBSD 8.0earmv7hfruby27-erubi-1.10.0.tgz
NetBSD 8.0earmv7hfruby25-erubi-1.10.0.tgz
NetBSD 8.0earmv7hfruby26-erubi-1.10.0.tgz
NetBSD 8.0earmv7hfruby27-erubi-1.10.0.tgz
NetBSD 8.0earmv7hfruby26-erubi-1.10.0.tgz
NetBSD 8.0earmv7hfruby27-erubi-1.10.0.tgz
NetBSD 8.0i386ruby25-erubi-1.10.0.tgz
NetBSD 8.0i386ruby26-erubi-1.10.0.tgz
NetBSD 8.0i386ruby27-erubi-1.10.0.tgz
NetBSD 8.0i386ruby26-erubi-1.10.0.tgz
NetBSD 8.0i386ruby27-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby25-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby26-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby27-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby25-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby26-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby27-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby25-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby26-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby27-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby25-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby26-erubi-1.10.0.tgz
NetBSD 8.0powerpcruby27-erubi-1.10.0.tgz
NetBSD 8.0x86_64ruby25-erubi-1.10.0.tgz
NetBSD 8.0x86_64ruby26-erubi-1.10.0.tgz
NetBSD 8.0x86_64ruby27-erubi-1.10.0.tgz
NetBSD 8.0x86_64ruby26-erubi-1.10.0.tgz
NetBSD 8.0x86_64ruby27-erubi-1.10.0.tgz
NetBSD 9.0aarch64ruby26-erubi-1.10.0.tgz
NetBSD 9.0aarch64ruby27-erubi-1.10.0.tgz
NetBSD 9.0aarch64ruby30-erubi-1.10.0.tgz
NetBSD 9.0aarch64ruby25-erubi-1.10.0.tgz
NetBSD 9.0aarch64ruby26-erubi-1.10.0.tgz
NetBSD 9.0aarch64ruby27-erubi-1.10.0.tgz
NetBSD 9.0aarch64ruby30-erubi-1.10.0.tgz
NetBSD 9.0aarch64ruby26-erubi-1.10.0.tgz
NetBSD 9.0aarch64ruby27-erubi-1.10.0.tgz
NetBSD 9.0aarch64ruby30-erubi-1.10.0.tgz
NetBSD 9.0alpharuby25-erubi-1.10.0.tgz
NetBSD 9.0alpharuby26-erubi-1.10.0.tgz
NetBSD 9.0alpharuby27-erubi-1.10.0.tgz
NetBSD 9.0alpharuby25-erubi-1.10.0.tgz
NetBSD 9.0alpharuby26-erubi-1.10.0.tgz
NetBSD 9.0alpharuby27-erubi-1.10.0.tgz
NetBSD 9.0alpharuby25-erubi-1.10.0.tgz
NetBSD 9.0alpharuby26-erubi-1.10.0.tgz
NetBSD 9.0alpharuby27-erubi-1.10.0.tgz
NetBSD 9.0earmruby25-erubi-1.10.0.tgz
NetBSD 9.0earmruby26-erubi-1.10.0.tgz
NetBSD 9.0earmruby27-erubi-1.10.0.tgz
NetBSD 9.0earmruby30-erubi-1.10.0.tgz
NetBSD 9.0earmruby25-erubi-1.10.0.tgz
NetBSD 9.0earmruby26-erubi-1.10.0.tgz
NetBSD 9.0earmruby27-erubi-1.10.0.tgz
NetBSD 9.0earmruby30-erubi-1.10.0.tgz
NetBSD 9.0earmruby25-erubi-1.10.0.tgz
NetBSD 9.0earmruby26-erubi-1.10.0.tgz
NetBSD 9.0earmruby27-erubi-1.10.0.tgz
NetBSD 9.0earmruby30-erubi-1.10.0.tgz
NetBSD 9.0earmv6hfruby26-erubi-1.10.0.tgz
NetBSD 9.0earmv6hfruby27-erubi-1.10.0.tgz
NetBSD 9.0earmv6hfruby30-erubi-1.10.0.tgz
NetBSD 9.0earmv6hfruby25-erubi-1.10.0.tgz
NetBSD 9.0earmv6hfruby26-erubi-1.10.0.tgz
NetBSD 9.0earmv6hfruby27-erubi-1.10.0.tgz
NetBSD 9.0earmv6hfruby30-erubi-1.10.0.tgz
NetBSD 9.0earmv6hfruby26-erubi-1.10.0.tgz
NetBSD 9.0earmv6hfruby27-erubi-1.10.0.tgz
NetBSD 9.0earmv6hfruby30-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby26-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby27-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby30-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby25-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby26-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby27-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby30-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby26-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby27-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby30-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby26-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby27-erubi-1.10.0.tgz
NetBSD 9.0earmv7hfruby30-erubi-1.10.0.tgz
NetBSD 9.0i386ruby25-erubi-1.10.0.tgz
NetBSD 9.0i386ruby26-erubi-1.10.0.tgz
NetBSD 9.0i386ruby27-erubi-1.10.0.tgz
NetBSD 9.0i386ruby30-erubi-1.10.0.tgz
NetBSD 9.0i386ruby26-erubi-1.10.0.tgz
NetBSD 9.0i386ruby27-erubi-1.10.0.tgz
NetBSD 9.0i386ruby30-erubi-1.10.0.tgz
NetBSD 9.0m68kruby25-erubi-1.9.0.tgz
NetBSD 9.0m68kruby26-erubi-1.9.0.tgz
NetBSD 9.0m68kruby26-erubi-1.10.0.tgz
NetBSD 9.0m68kruby30-erubi-1.10.0.tgz
NetBSD 9.0m68kruby26-erubi-1.10.0.tgz
NetBSD 9.0m68kruby30-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby25-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby26-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby27-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby30-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby25-erubi-1.9.0.tgz
NetBSD 9.0mips64ebruby26-erubi-1.9.0.tgz
NetBSD 9.0mips64ebruby27-erubi-1.9.0.tgz
NetBSD 9.0mips64ebruby25-erubi-1.9.0.tgz
NetBSD 9.0mips64ebruby26-erubi-1.9.0.tgz
NetBSD 9.0mips64ebruby27-erubi-1.9.0.tgz
NetBSD 9.0mips64ebruby25-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby26-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby27-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby30-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby25-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby26-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby27-erubi-1.10.0.tgz
NetBSD 9.0mips64ebruby30-erubi-1.10.0.tgz
NetBSD 9.0mipselruby25-erubi-1.10.0.tgz
NetBSD 9.0mipselruby27-erubi-1.10.0.tgz
NetBSD 9.0mipselruby30-erubi-1.10.0.tgz
NetBSD 9.0mipselruby25-erubi-1.9.0.tgz
NetBSD 9.0mipselruby27-erubi-1.9.0.tgz
NetBSD 9.0mipselruby25-erubi-1.10.0.tgz
NetBSD 9.0mipselruby27-erubi-1.10.0.tgz
NetBSD 9.0mipselruby30-erubi-1.10.0.tgz
NetBSD 9.0mipselruby25-erubi-1.10.0.tgz
NetBSD 9.0mipselruby27-erubi-1.10.0.tgz
NetBSD 9.0mipselruby30-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby25-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby26-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby27-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby30-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby25-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby26-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby27-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby30-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby25-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby26-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby27-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby30-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby26-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby27-erubi-1.10.0.tgz
NetBSD 9.0powerpcruby30-erubi-1.10.0.tgz
NetBSD 9.0sh3elruby25-erubi-1.10.0.tgz
NetBSD 9.0sh3elruby25-erubi-1.9.0.tgz
NetBSD 9.0sh3elruby25-erubi-1.9.0.tgz
NetBSD 9.0sh3elruby25-erubi-1.10.0.tgz
NetBSD 9.0sh3elruby25-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby25-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby26-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby27-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby30-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby25-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby26-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby27-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby30-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby25-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby26-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby27-erubi-1.10.0.tgz
NetBSD 9.0sparc64ruby30-erubi-1.10.0.tgz
NetBSD 9.0sparcruby25-erubi-1.10.0.tgz
NetBSD 9.0sparcruby27-erubi-1.10.0.tgz
NetBSD 9.0sparcruby30-erubi-1.10.0.tgz
NetBSD 9.0sparcruby25-erubi-1.9.0.tgz
NetBSD 9.0sparcruby27-erubi-1.9.0.tgz
NetBSD 9.0sparcruby25-erubi-1.9.0.tgz
NetBSD 9.0sparcruby27-erubi-1.9.0.tgz
NetBSD 9.0sparcruby25-erubi-1.10.0.tgz
NetBSD 9.0sparcruby27-erubi-1.10.0.tgz
NetBSD 9.0sparcruby30-erubi-1.10.0.tgz
NetBSD 9.0sparcruby25-erubi-1.10.0.tgz
NetBSD 9.0sparcruby27-erubi-1.10.0.tgz
NetBSD 9.0sparcruby30-erubi-1.10.0.tgz
NetBSD 9.0vaxruby25-erubi-1.10.0.tgz
NetBSD 9.0vaxruby27-erubi-1.10.0.tgz
NetBSD 9.0vaxruby30-erubi-1.10.0.tgz
NetBSD 9.0vaxruby25-erubi-1.9.0.tgz
NetBSD 9.0vaxruby27-erubi-1.9.0.tgz
NetBSD 9.0vaxruby25-erubi-1.10.0.tgz
NetBSD 9.0vaxruby27-erubi-1.10.0.tgz
NetBSD 9.0vaxruby30-erubi-1.10.0.tgz
NetBSD 9.0vaxruby25-erubi-1.10.0.tgz
NetBSD 9.0vaxruby27-erubi-1.10.0.tgz
NetBSD 9.0vaxruby30-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby26-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby27-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby30-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby26-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby27-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby30-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby25-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby26-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby27-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby30-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby26-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby27-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby30-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby26-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby27-erubi-1.10.0.tgz
NetBSD 9.0x86_64ruby30-erubi-1.10.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.