ruby-selinux - Ruby bindings to SELinux shared libraries

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main i386
Package name ruby-selinux
Package version 2.3
Package release 2
Package architecture i386
Package type deb
Installed size 291 B
Download size 76.17 KB
Official Mirror
This package provides the Ruby bindings needed for developing Ruby
SELinux applications.  Security-enhanced Linux is a patch of the
Linux kernel and a number of utilities with enhanced security
functionality designed to add mandatory access controls to Linux.
The Security-enhanced Linux kernel contains new architectural
components originally developed to improve the security of the Flask
operating system. These architectural components provide general
support for the enforcement of many kinds of mandatory access control
policies, including those based on the concepts of Type Enforcement,
Role-based Access Control, and Multi-level Security.


Package Version Architecture Repository
ruby-selinux_2.3-2_amd64.deb 2.3 amd64 Debian Main
ruby-selinux - - -


Name Value
libc6 >= 2.4
libselinux1 >= 2.3
ruby -
ruby-interpreter -


Type URL
Binary Package ruby-selinux_2.3-2_i386.deb
Source Package libselinux

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install ruby-selinux deb package:
    # sudo apt-get install ruby-selinux




2014-08-31 - Laurent Bigonville <>
libselinux (2.3-2) unstable; urgency=medium
* Team upload.
* Add debian/patches/Add-pcre-version-string.patch: Add pcre version string
to the compiled file_contexts format. This is necesarry to detect the
cases where the internal libpcre representation has changed, if it's the
case libselinux will rely on the non-compiled file (Closes: #756826)
* Add debian/patches/Log-an-error-on-unknown-classes.patch: Log an error on
unknown classes and permissions.
* d/p/libselinux-man-Add-missing-manpage-links-to-security.patch: Add the
missing manpage links for selinux_mkload_policy(3) and
selinux_init_load_policy(3) (Closes: #753803)
* Drop debian/libselinux1.postinst: Reloading systemd during an upgrade in
an uncontroled way might endup with unwanted side effects (Closes: #753726)
2014-05-14 - Laurent Bigonville <>
libselinux (2.3-1) unstable; urgency=medium
* Team upload.
* New upstream release
- debian/control: Bump {build-}dependencies to match new release
- debian/libselinux1.symbols: Add new setexecfilecon() function
* debian/ Rework the makefile, it should handle changes in the
supported ruby versions by binNMU now (Closes: #747683)
* Add Built-Using field for python-selinux as is statically
linking against libsepol
2014-05-02 - Laurent Bigonville <>
libselinux (2.2.2-2) unstable; urgency=medium
* Team upload.
[ Laurent Bigonville ]
* debian/rules: Do not require ruby or python dh helpers when bootstrapping
thanks to Daniel Schepler <> (Closes: #738148)
[ Hideki Yamane ]
* debian/{,ruby-selinux.install}
- drop related to ruby1.9.1 and add ruby2.1.0 instead (Closes: #746024)
2014-01-11 - Laurent Bigonville <>
libselinux (2.2.2-1) unstable; urgency=medium
* Team upload.
* New upstream release
* debian/control: Mark -dev package as Multi-arch: same. (Closes: #732098)
* debian/control: Bump Standards-Version to 3.9.5 (no further changes)
* debian/rules: Fix cross build, no need for a different prefix.
2013-11-10 - Laurent Bigonville <>
libselinux (2.2.1-1) unstable; urgency=low
* Team upload.
* New upstream release
* Drop debian/patches/link_pthread.patch: Upstream disagreed with this
solution, this will unfortunately require to rebuild some of the
2013-11-02 - Laurent Bigonville <>
libselinux (2.2-2) unstable; urgency=low
* Team upload.
* debian/patches/link_pthread.patch: Explicitly link against -lpthread as
libselinux is using it internally, without this is asserting in a
weird way for some executables (Closes: #728529)
2013-11-01 - Laurent Bigonville <>
libselinux (2.2-1) unstable; urgency=low
* Team upload.
* New upstream release
- Fix avc_has_perm() returns -1 even when SELinux is permissive.
(Closes: #727766)
- debian/control: Bump {build-}dependencies to match new release
- debian/patches/fix-makefile-bugs.patch: Refreshed
- Drop debian/patches/fix-manpages.patch: Not needed anymore
- debian/patches/fix-cross-compile.patch: Refreshed
- Drop debian/patches/allow-libbase-override.patch: Merged upstream
- Drop debian/patches/fix_pcre_link.patch: Fixed upstream
- Drop debian/patches/add_missing_private_pc.patch: Fixed upstream
- Adjust debian/libselinux1.symbols: Add new symbols
* debian/rules: getenforce and selinuxenabled executable are installed in
/usr/sbin, keep their manpages in section 8
2013-10-02 - Laurent Bigonville <>
libselinux (2.1.13-3) unstable; urgency=low
* Team upload.
* debian/ Stop building binding for ruby 1.8 and start building it
for ruby 2.0 (Closes: #720247)
* debian/control: Bump Standards-Version to 3.9.4 (no further changes)
* debian/control: Use canonical URL for VCS-Git field
* debian/control, debian/rules: Drop libselinux-ruby1.8 transitional package

See Also

Package Description
ruby-semanage_2.3-1+b1_i386.deb Ruby bindings to for SELinux policy management
ruby-semverse_1.1.0-2_all.deb Ruby library for representing SemVer versions and constraints
ruby-sequel-pg_1.6.10-1_i386.deb Faster SELECTs when using Sequel with pg
ruby-sequel_4.15.0-1_all.deb Simple, flexible, and powerful SQL database access toolkit for Ruby
ruby-serialport_1.3.0-1+b3_i386.deb Library for using RS-232 serial ports from Ruby programs
ruby-serverspec_1.14.0-2_all.deb RSpec tests for your servers configured by Puppet, Chef or anything else
ruby-session_3.2.0-1_all.deb persistent connections with external programs like bash (via pipes)
ruby-settingslogic-doc_2.0.9-2_all.deb simple settings solution for Ruby (documentation)
ruby-settingslogic_2.0.9-2_all.deb simple settings solution for Ruby
ruby-setup_3.4.1-7_all.deb the setup.rb install tool for Ruby
ruby-sexp-processor_4.4.4-1_all.deb brings all the generic sexp processing tools to ruby
ruby-shadow_2.3.4-2_i386.deb interface of shadow password for Ruby
ruby-sham-rack_1.3.6-5_all.deb Net::HTTP-to-Rack plumbing for HTTP testing
ruby-shindo_0.3.8-1_all.deb simple depth first Ruby testing
ruby-shoulda-context_1.2.0-1_all.deb context framework for Test::Unit