diff options
author | Alexander Kahl <ak@sodosopa.io> | 2018-09-04 09:35:58 +0200 |
---|---|---|
committer | Alexander Kahl <ak@sodosopa.io> | 2018-09-04 09:42:02 +0200 |
commit | 5e9aafb316c47ff96bd500c6310e7facb4afa3af (patch) | |
tree | 7779be8e73450afe5c1024738214711fb5d84484 | |
parent | 5fccac2b8d77a660a968809519710a5bb7838e63 (diff) | |
download | nixpkgs-5e9aafb316c47ff96bd500c6310e7facb4afa3af.tar nixpkgs-5e9aafb316c47ff96bd500c6310e7facb4afa3af.tar.gz nixpkgs-5e9aafb316c47ff96bd500c6310e7facb4afa3af.tar.bz2 nixpkgs-5e9aafb316c47ff96bd500c6310e7facb4afa3af.tar.lz nixpkgs-5e9aafb316c47ff96bd500c6310e7facb4afa3af.tar.xz nixpkgs-5e9aafb316c47ff96bd500c6310e7facb4afa3af.tar.zst nixpkgs-5e9aafb316c47ff96bd500c6310e7facb4afa3af.zip |
semodule-utils: init at 2.7
-rw-r--r-- | pkgs/os-specific/linux/semodule-utils/default.nix | 27 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/semodule-utils/default.nix b/pkgs/os-specific/linux/semodule-utils/default.nix new file mode 100644 index 00000000000..10ba1a3c7d0 --- /dev/null +++ b/pkgs/os-specific/linux/semodule-utils/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, libsepol }: + +stdenv.mkDerivation rec { + name = "semodule-utils-${version}"; + version = "2.7"; + + inherit (libsepol) se_release se_url; + + src = fetchurl { + url = "${se_url}/${se_release}/${name}.tar.gz"; + sha256 = "1fl60x4w8rn5bcwy68sy48aydwsn1a17d48slni4sfx4c8rqpjch"; + }; + + buildInputs = [ libsepol ]; + + makeFlags = [ + "PREFIX=$(out)" + "LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a" + ]; + + meta = with stdenv.lib; { + description = "SELinux policy core utilities (packaging additions)"; + license = licenses.gpl2; + inherit (libsepol.meta) homepage platforms; + maintainers = [ maintainers.e-user ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b4ad5304052..4c21d085c77 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14510,6 +14510,8 @@ with pkgs; policycoreutils = callPackage ../os-specific/linux/policycoreutils { }; + semodule-utils = callPackage ../os-specific/linux/semodule-utils { }; + powerdns = callPackage ../servers/dns/powerdns { }; dnsdist = callPackage ../servers/dns/dnsdist { }; |