summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libsemanage
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom.stdin@gmail.com>2011-03-27 04:46:12 +0000
committerEvgeny Egorochkin <phreedom.stdin@gmail.com>2011-03-27 04:46:12 +0000
commitf1201cf75fb288c9376a5303d67130f37362c6b4 (patch)
tree859f3adf2463e55cbf9d0e0082fa9140cc7f72e9 /pkgs/os-specific/linux/libsemanage
parent836b0d259de1cb8ac47771f994e895ac5079c562 (diff)
downloadnixpkgs-f1201cf75fb288c9376a5303d67130f37362c6b4.tar
nixpkgs-f1201cf75fb288c9376a5303d67130f37362c6b4.tar.gz
nixpkgs-f1201cf75fb288c9376a5303d67130f37362c6b4.tar.bz2
nixpkgs-f1201cf75fb288c9376a5303d67130f37362c6b4.tar.lz
nixpkgs-f1201cf75fb288c9376a5303d67130f37362c6b4.tar.xz
nixpkgs-f1201cf75fb288c9376a5303d67130f37362c6b4.tar.zst
nixpkgs-f1201cf75fb288c9376a5303d67130f37362c6b4.zip
libsemanage: packaged
svn path=/nixpkgs/trunk/; revision=26541
Diffstat (limited to 'pkgs/os-specific/linux/libsemanage')
-rw-r--r--pkgs/os-specific/linux/libsemanage/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/libsemanage/default.nix b/pkgs/os-specific/linux/libsemanage/default.nix
new file mode 100644
index 00000000000..22e177191a5
--- /dev/null
+++ b/pkgs/os-specific/linux/libsemanage/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, libsepol, libselinux, ustr, bzip2, bison, flex }:
+stdenv.mkDerivation rec {
+
+  name = "libsemanage-${version}";
+  version = "2.0.46";
+
+  src = fetchurl {
+    url = "http://userspace.selinuxproject.org/releases/20101221/devel/${name}.tar.gz";
+    sha256 = "03ljdw48pn8vlk4h26w8z247c9wykp2198s1ksmxrai3avyz87wf";
+  };
+
+  NIX_LDFLAGS = "-lsepol";
+
+  makeFlags = "PREFIX=$(out) DESTDIR=$(out)";
+
+  buildInputs = [ libsepol libselinux ustr bzip2 bison flex ];
+
+  meta = with stdenv.lib; {
+    homepage = http://userspace.selinuxproject.org/;
+    description = "Policy management tools for SELinux";
+    license = licenses.lgpl21;
+    maintainers = [ maintainers.phreedom ];
+    platforms = platforms.linux;
+  };
+}
\ No newline at end of file