mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
add libraries for SELinux. Not that we're gonna use it...
svn path=/nixpkgs/trunk/; revision=6276
This commit is contained in:
parent
dfc8248073
commit
1730acf983
6
pkgs/os-specific/linux/libselinux/builder.sh
Normal file
6
pkgs/os-specific/linux/libselinux/builder.sh
Normal file
@ -0,0 +1,6 @@
|
||||
source $stdenv/setup
|
||||
|
||||
export DESTDIR=$out
|
||||
export PREFIX=$out
|
||||
|
||||
genericBuild
|
12
pkgs/os-specific/linux/libselinux/default.nix
Normal file
12
pkgs/os-specific/linux/libselinux/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{stdenv, fetchurl, libsepol}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
builder = ./builder.sh;
|
||||
name = "libselinux-1.30";
|
||||
src = fetchurl {
|
||||
url = http://www.nsa.gov/selinux/archives/libselinux-1.30.tgz;
|
||||
md5 = "0b7d269c9b7d847059e4b11a710ab404";
|
||||
};
|
||||
|
||||
buildInputs = [libsepol];
|
||||
}
|
6
pkgs/os-specific/linux/libsepol/builder.sh
Normal file
6
pkgs/os-specific/linux/libsepol/builder.sh
Normal file
@ -0,0 +1,6 @@
|
||||
source $stdenv/setup
|
||||
|
||||
export DESTDIR=$out
|
||||
export PREFIX=$out
|
||||
|
||||
genericBuild
|
10
pkgs/os-specific/linux/libsepol/default.nix
Normal file
10
pkgs/os-specific/linux/libsepol/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
builder = ./builder.sh;
|
||||
name = "libsepol-1.12";
|
||||
src = fetchurl {
|
||||
url = http://www.nsa.gov/selinux/archives/libsepol-1.12.tgz;
|
||||
md5 = "937885f1fcbfe597a0f02aa9af044710";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user