ruby-selinux - Ruby bindings to SELinux shared libraries

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe i386
Package name ruby-selinux
Package version 2.4
Package release 3build2
Package architecture i386
Package type deb
Installed size 282 B
Download size 45.08 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.4-3build2_amd64.deb 2.4 amd64 Ubuntu Universe
ruby-selinux - - -


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


Type URL
Binary Package ruby-selinux_2.4-3build2_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




2016-03-16 - Matthias Klose <>
libselinux (2.4-3build2) xenial; urgency=medium
* No-change rebuild for ruby2.3 support.
2016-01-19 - Matthias Klose <>
libselinux (2.4-3build1) xenial; urgency=medium
* No-change rebuild to drop python3.4 support.
2015-11-18 - Laurent Bigonville <>
libselinux (2.4-3) unstable; urgency=medium
* Team upload.
* Upload to unstable
* debian/ Add $(PYTHON3_VERSIONS) to the PHONY target
2015-07-10 - Laurent Bigonville <>
libselinux (2.4-2) experimental; urgency=medium
* Team upload.
* debian/control: Also bump the dependency against libsepol1-dev to 2.4
* Start building python 3 packages
2015-06-03 - Laurent Bigonville <>
libselinux (2.4-1) experimental; urgency=medium
* Team upload.
* New upstream release
- Bump libsepol1-dev build-dependency to >= 2.4 to match the release
- Drop d/p/Add-pcre-version-string.patch,
d/p/Log-an-error-on-unknown-classes.patch and
d/p/libselinux-man-Add-missing-manpage-links-to-security.patch: Applied
- debian/patches/fix-makefile-bugs.patch: Refreshed
* debian/watch: Update watch file URL
* debian/control: Bump Standards-Version to 3.9.6 (no further changes)
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

See Also

Package Description
ruby-semanage_2.3-1build3_i386.deb Ruby bindings to for SELinux policy management
ruby-semantic-puppet_0.1.1-1_all.deb Useful tools for working with semantic versions with Puppet
ruby-semverse_1.2.1-2_all.deb Ruby library for representing SemVer versions and constraints
ruby-sentry-raven_0.15.3-1_all.deb client interface for the Sentry error logger
ruby-sequel-pg_1.6.14-1build2_i386.deb Faster SELECTs when using Sequel with pg
ruby-sequel_4.32.0-1_all.deb Simple, flexible, and powerful SQL database access toolkit for Ruby
ruby-serialport_1.3.1-1build3_i386.deb Library for using RS-232 serial ports from Ruby programs
ruby-serverspec_2.18.0-1_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-3_all.deb simple settings solution for Ruby (documentation)
ruby-settingslogic_2.0.9-3_all.deb simple settings solution for Ruby
ruby-setup_3.4.1-9_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.4.1-1build4_i386.deb interface of shadow password for Ruby
ruby-sham-rack_1.3.6-6_all.deb Net::HTTP-to-Rack plumbing for HTTP testing