devel/ruby-ffi - The NetBSD Packages Collection

Loading dynamic libraries, binding functions within them

== DESCRIPTION:

Ruby-FFI is a ruby extension for programmatically loading dynamic
libraries, binding functions within them, and calling those functions
from Ruby code.  Moreover, a Ruby-FFI extension works without changes
on Ruby and JRuby.

Discover why should you write your next extension using Ruby-FFI
here[http://wiki.github.com/ffi/ffi/why-use-ffi].

== FEATURES/PROBLEMS:

* It has a very intuitive DSL
* It supports all C native types
* It supports C structs (also nested), enums and global variables
* It supports callbacks
* It has smart methods to handle memory management of pointers and structs

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ruby32-base devel/libffi devel/libffi

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64ruby31-ffi-1.17.0.tgz
NetBSD 10.0aarch64ruby32-ffi-1.17.0.tgz
NetBSD 10.0aarch64ruby33-ffi-1.17.0.tgz
NetBSD 10.0aarch64ruby31-ffi-1.16.3.tgz
NetBSD 10.0aarch64ruby32-ffi-1.16.3.tgz
NetBSD 10.0aarch64ruby31-ffi-1.16.3.tgz
NetBSD 10.0aarch64ruby32-ffi-1.16.3.tgz
NetBSD 10.0aarch64ruby33-ffi-1.16.3.tgz
NetBSD 10.0aarch64ebruby31-ffi-1.17.0.tgz
NetBSD 10.0aarch64ebruby31-ffi-1.17.0.tgz
NetBSD 10.0earmv4ruby31-ffi-1.17.0.tgz
NetBSD 10.0earmv4ruby31-ffi-1.17.0.tgz
NetBSD 10.0earmv6hfruby31-ffi-1.16.3.tgz
NetBSD 10.0earmv6hfruby32-ffi-1.16.3.tgz
NetBSD 10.0earmv6hfruby33-ffi-1.16.3.tgz
NetBSD 10.0earmv6hfruby31-ffi-1.17.0.tgz
NetBSD 10.0earmv6hfruby32-ffi-1.17.0.tgz
NetBSD 10.0earmv6hfruby33-ffi-1.17.0.tgz
NetBSD 10.0earmv6hfruby31-ffi-1.17.0.tgz
NetBSD 10.0earmv6hfruby32-ffi-1.17.0.tgz
NetBSD 10.0earmv6hfruby33-ffi-1.17.0.tgz
NetBSD 10.0earmv7hfruby31-ffi-1.17.0.tgz
NetBSD 10.0earmv7hfruby32-ffi-1.17.0.tgz
NetBSD 10.0earmv7hfruby33-ffi-1.17.0.tgz
NetBSD 10.0earmv7hfruby31-ffi-1.16.3.tgz
NetBSD 10.0earmv7hfruby32-ffi-1.16.3.tgz
NetBSD 10.0earmv7hfruby33-ffi-1.16.3.tgz
NetBSD 10.0earmv7hfruby31-ffi-1.17.0.tgz
NetBSD 10.0earmv7hfruby32-ffi-1.17.0.tgz
NetBSD 10.0earmv7hfruby33-ffi-1.17.0.tgz
NetBSD 10.0i386ruby31-ffi-1.17.0.tgz
NetBSD 10.0i386ruby32-ffi-1.17.0.tgz
NetBSD 10.0i386ruby33-ffi-1.17.0.tgz
NetBSD 10.0i386ruby31-ffi-1.16.3.tgz
NetBSD 10.0i386ruby32-ffi-1.16.3.tgz
NetBSD 10.0i386ruby31-ffi-1.16.3.tgz
NetBSD 10.0i386ruby32-ffi-1.16.3.tgz
NetBSD 10.0i386ruby33-ffi-1.16.3.tgz
NetBSD 10.0i386ruby31-ffi-1.17.0.tgz
NetBSD 10.0i386ruby32-ffi-1.17.0.tgz
NetBSD 10.0i386ruby33-ffi-1.17.0.tgz
NetBSD 10.0m68kruby31-ffi-1.16.3.tgz
NetBSD 10.0m68kruby32-ffi-1.16.3.tgz
NetBSD 10.0m68kruby31-ffi-1.17.0.tgz
NetBSD 10.0m68kruby31-ffi-1.17.0.tgz
NetBSD 10.0mips64ebruby31-ffi-1.16.3.tgz
NetBSD 10.0mips64ebruby32-ffi-1.16.3.tgz
NetBSD 10.0mips64ebruby33-ffi-1.16.3.tgz
NetBSD 10.0powerpcruby31-ffi-1.15.5.tgz
NetBSD 10.0powerpcruby32-ffi-1.15.5.tgz
NetBSD 10.0powerpcruby31-ffi-1.16.3.tgz
NetBSD 10.0powerpcruby32-ffi-1.16.3.tgz
NetBSD 10.0powerpcruby31-ffi-1.16.3.tgz
NetBSD 10.0powerpcruby32-ffi-1.16.3.tgz
NetBSD 10.0powerpcruby33-ffi-1.16.3.tgz
NetBSD 10.0sparc64ruby31-ffi-1.17.0.tgz
NetBSD 10.0sparc64ruby32-ffi-1.17.0.tgz
NetBSD 10.0sparc64ruby33-ffi-1.17.0.tgz
NetBSD 10.0sparc64ruby31-ffi-1.17.0.tgz
NetBSD 10.0sparc64ruby32-ffi-1.17.0.tgz
NetBSD 10.0sparc64ruby33-ffi-1.17.0.tgz
NetBSD 10.0sparcruby32-ffi-1.17.0.tgz
NetBSD 10.0sparcruby32-ffi-1.17.0.tgz
NetBSD 10.0vaxruby31-ffi-1.16.3.tgz
NetBSD 10.0vaxruby31-ffi-1.17.0.tgz
NetBSD 10.0vaxruby31-ffi-1.17.0.tgz
NetBSD 10.0x86_64ruby31-ffi-1.17.0.tgz
NetBSD 10.0x86_64ruby32-ffi-1.17.0.tgz
NetBSD 10.0x86_64ruby33-ffi-1.17.0.tgz
NetBSD 10.0x86_64ruby31-ffi-1.16.3.tgz
NetBSD 10.0x86_64ruby32-ffi-1.16.3.tgz
NetBSD 10.0x86_64ruby31-ffi-1.16.3.tgz
NetBSD 10.0x86_64ruby32-ffi-1.16.3.tgz
NetBSD 10.0x86_64ruby33-ffi-1.16.3.tgz
NetBSD 10.0x86_64ruby31-ffi-1.17.0.tgz
NetBSD 10.0x86_64ruby32-ffi-1.17.0.tgz
NetBSD 10.0x86_64ruby33-ffi-1.17.0.tgz
NetBSD 9.0aarch64ruby31-ffi-1.17.0.tgz
NetBSD 9.0aarch64ruby31-ffi-1.16.3.tgz
NetBSD 9.0aarch64ruby32-ffi-1.16.3.tgz
NetBSD 9.0aarch64ruby31-ffi-1.16.3.tgz
NetBSD 9.0earmv4ruby31-ffi-1.16.3.tgz
NetBSD 9.0earmv4ruby32-ffi-1.16.3.tgz
NetBSD 9.0earmv4ruby31-ffi-1.16.3.tgz
NetBSD 9.0earmv6hfruby31-ffi-1.17.0.tgz
NetBSD 9.0earmv6hfruby32-ffi-1.17.0.tgz
NetBSD 9.0earmv6hfruby33-ffi-1.17.0.tgz
NetBSD 9.0earmv6hfruby31-ffi-1.16.3.tgz
NetBSD 9.0earmv6hfruby32-ffi-1.16.3.tgz
NetBSD 9.0earmv6hfruby33-ffi-1.16.3.tgz
NetBSD 9.0earmv6hfruby31-ffi-1.17.0.tgz
NetBSD 9.0earmv6hfruby32-ffi-1.17.0.tgz
NetBSD 9.0earmv6hfruby33-ffi-1.17.0.tgz
NetBSD 9.0earmv7hfruby31-ffi-1.17.0.tgz
NetBSD 9.0earmv7hfruby32-ffi-1.17.0.tgz
NetBSD 9.0earmv7hfruby33-ffi-1.17.0.tgz
NetBSD 9.0earmv7hfruby31-ffi-1.16.3.tgz
NetBSD 9.0earmv7hfruby32-ffi-1.16.3.tgz
NetBSD 9.0earmv7hfruby33-ffi-1.16.3.tgz
NetBSD 9.0earmv7hfruby31-ffi-1.17.0.tgz
NetBSD 9.0earmv7hfruby32-ffi-1.17.0.tgz
NetBSD 9.0earmv7hfruby33-ffi-1.17.0.tgz
NetBSD 9.0i386ruby31-ffi-1.17.0.tgz
NetBSD 9.0i386ruby32-ffi-1.17.0.tgz
NetBSD 9.0i386ruby33-ffi-1.17.0.tgz
NetBSD 9.0i386ruby31-ffi-1.16.3.tgz
NetBSD 9.0i386ruby32-ffi-1.16.3.tgz
NetBSD 9.0i386ruby31-ffi-1.16.3.tgz
NetBSD 9.0i386ruby32-ffi-1.16.3.tgz
NetBSD 9.0i386ruby33-ffi-1.16.3.tgz
NetBSD 9.0i386ruby31-ffi-1.17.0.tgz
NetBSD 9.0i386ruby32-ffi-1.17.0.tgz
NetBSD 9.0i386ruby33-ffi-1.17.0.tgz
NetBSD 9.0powerpcruby31-ffi-1.16.3.tgz
NetBSD 9.0powerpcruby32-ffi-1.16.3.tgz
NetBSD 9.0powerpcruby26-ffi-1.15.5.tgz
NetBSD 9.0powerpcruby27-ffi-1.15.5.tgz
NetBSD 9.0powerpcruby30-ffi-1.15.5.tgz
NetBSD 9.0powerpcruby31-ffi-1.15.5.tgz
NetBSD 9.0powerpcruby32-ffi-1.15.5.tgz
NetBSD 9.0powerpcruby31-ffi-1.16.3.tgz
NetBSD 9.0powerpcruby32-ffi-1.16.3.tgz
NetBSD 9.0powerpcruby33-ffi-1.16.3.tgz
NetBSD 9.0sparc64ruby31-ffi-1.16.3.tgz
NetBSD 9.0x86_64ruby31-ffi-1.17.0.tgz
NetBSD 9.0x86_64ruby32-ffi-1.17.0.tgz
NetBSD 9.0x86_64ruby33-ffi-1.17.0.tgz
NetBSD 9.0x86_64ruby31-ffi-1.16.3.tgz
NetBSD 9.0x86_64ruby32-ffi-1.16.3.tgz
NetBSD 9.0x86_64ruby31-ffi-1.16.3.tgz
NetBSD 9.0x86_64ruby32-ffi-1.16.3.tgz
NetBSD 9.0x86_64ruby33-ffi-1.16.3.tgz
NetBSD 9.0x86_64ruby31-ffi-1.17.0.tgz
NetBSD 9.0x86_64ruby32-ffi-1.17.0.tgz
NetBSD 9.0x86_64ruby33-ffi-1.17.0.tgz
NetBSD 9.3x86_64ruby31-ffi-1.17.0.tgz
NetBSD 9.3x86_64ruby32-ffi-1.17.0.tgz
NetBSD 9.3x86_64ruby33-ffi-1.17.0.tgz
NetBSD 9.3x86_64ruby31-ffi-1.17.0.tgz
NetBSD 9.3x86_64ruby32-ffi-1.17.0.tgz
NetBSD 9.3x86_64ruby33-ffi-1.17.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.