3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

34 commits

Author SHA1 Message Date
Milan Pässler 5c12a81336 libselinux: fix build without python 2021-04-11 09:46:14 +02:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob 16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Arnout Engelen 70ecb218f1
selinux: 2.9 -> 3.0 (#104087)
Notably, Python 2 code is not be supported in this project anymore and
new Python code should be written only for Python 3, which is no longer
restricted to Python 3.7 (see 780fb563c7,
5dfd3c4975)

https://github.com/SELinuxProject/selinux/releases/tag/20191204
2020-11-20 14:54:14 +01:00
Samuel Dionne-Riel 0f94b540a5 libselinux: Fix cross-compilation with Python 3 2020-01-12 23:39:27 -05:00
Robin Gloster e5ded57aab
treewide: NIX_CFLAGS_COMPILE -> string 2019-12-31 00:05:53 +01:00
Luka Blaskovic 0278e8387e libselinux: 2.7 -> 2.9 2019-08-17 17:49:04 +00:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
eburimu e7d55483d1 libselinux: fix cross compilation (#51201)
libselinux needs native python to compute the installation prefix.
Swig generates the c code for the extension and needs python.h at compile,
so we put python into buildInputs
2018-12-09 14:32:38 +00:00
AmineChikhaoui 78a988b974
libsemanage, libselinux: fix meta.outputsToInstall
Same as 57b9719e4c.
+libselinux from vcunat - was probably not breaking but confusing anyway.
Close #44212.
2018-07-30 00:15:05 +02:00
Jan Tojnar af9f765b1f
libselinux: split package 2018-06-29 04:37:52 +02:00
Matthew Bauer ae6a4a913c fix eval 2018-05-31 13:17:07 -04:00
Shea Levy 05e375d710
Merge remote-tracking branch 'origin/master' into staging 2018-03-28 09:36:47 -04:00
Wilga 9df1ad5a2d libsepol,libselinux: fix i686 build 2018-03-27 19:21:25 +02:00
Will Dietz 69ca33057e xar, libselinux: use musl-fts on musl, fix 2018-03-26 14:00:11 -05:00
xeji cc8bf58427 libselinux: fix python lib path 2018-03-23 14:30:01 +01:00
xeji ea7507b9dc libselinux: 2.4 -> 2.7 2018-03-23 14:30:01 +01:00
Vladimír Čunát 1ac1581253
libselinux: fix missing include after glibc-2.26 2017-11-06 20:18:43 +01:00
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Tuomas Tynkkynen ba42683e9a libselinux: Fix ARM build failure
Avoid this warning (which is in turn an error via -Werror):
````
avc_internal.c: In function 'avc_netlink_receive':
avc_internal.c:105:25: error: cast increases required alignment of target type [-Werror=cast-align]
 struct nlmsghdr *nlh = (struct nlmsghdr *)buf;
                        ^
````

The code allocates abuffer with "__attribute__ ((aligned))",
then passes it via a 'char*' parameter, which is then finally cast,
causing the warning. So the code is ok but compiler is not smart
enough to see it.

It seems that -Wcast-align is a no-op on x86, so this shows up on ARM
only.
2016-10-18 23:54:29 +03:00
Mikael Brockman 1f50e2412f libselinux: fix Python binding
Applies unreleased patch from upstream.
2016-08-19 19:06:25 +03:00
Tobias Geerinckx-Rice 32d40f0f98 Remove no longer (or never) referenced patches
55 files changed, 6041 deletions. Tested with `nix-build -A tarball`.
2016-01-24 02:02:21 +01:00
William A. Kennington III c53a13fe0e policycoreutils: 2.3 -> 2.4 2015-07-31 17:11:11 -07:00
William A. Kennington III f6e554f288 selinux: Use fstack-protector=all 2015-07-31 17:11:11 -07:00
William A. Kennington III b18a354c88 libselinux: 2.3 -> 2.4 2015-07-31 17:11:10 -07:00
Vladimír Čunát a4e1c7df08 selinux: update to 2014-05-06
Sadly, policycoreutils still fails on i686-linux.
2014-08-14 17:59:00 +02:00
Peter Simons 2dc6bcbc40 libselinux: update from 2.2.1 to 2.2.2 2014-02-24 22:04:40 +01:00
William A. Kennington III 96dc58db9c Upgrade selinux from 20100904 -> 20131030 2013-11-29 02:08:53 -06:00
aszlig b574d0146f
libselinux: Add option to enable Python support.
The reason this is optional is because we might want to use it for bootstrapping
in some constellations. And we really don't want whole lot of dependencies in
those situations.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-24 10:33:17 +02:00
Vladimír Čunát de70e3739d SELinux fixes and updates to 2012-09-24 2013-02-24 13:25:53 +01:00
Evgeny Egorochkin deb3dd805f libselinux: version bump
svn path=/nixpkgs/trunk/; revision=26537
2011-03-27 04:45:38 +00:00
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra 1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Armijn Hemel 1730acf983 add libraries for SELinux. Not that we're gonna use it...
svn path=/nixpkgs/trunk/; revision=6276
2006-08-27 18:05:18 +00:00