Commit graph

61 commits

Author SHA1 Message Date
Robert Scott bff13ed20e libcap: add some key reverse-dependencies to passthru.tests 2023-08-19 00:20:10 +01:00
Martin Weinelt f172f27981
libcap: 2.68 -> 2.69
https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.iuvg7sbjg8pe
https://www.openwall.com/lists/oss-security/2023/05/16/2

Fixes: CVE-2023-2602, CVE-2023-2603
2023-05-18 02:33:52 +02:00
R. Ryantm 293b0f4b1c libcap: 2.67 -> 2.68 2023-04-27 07:36:13 +00:00
R. Ryantm 23cc5a59da libcap: 2.66 -> 2.67 2023-03-01 20:03:37 +00:00
R. Ryantm 0f3c5ed71e libcap: 2.65 -> 2.66 2022-09-26 10:47:40 +10:00
R. Ryantm 09c6160746 libcap: 2.63 -> 2.65 2022-08-02 12:36:24 +10:00
Rick van Schijndel 4b80acb94c libcap: fix cross-compilation support
Between libcap 2.51 and 2.52, the CROSS_COMPILE flag appears in more places.
Maybe it was already required before, but now the build fails due to it not being set.

Set it unconditionally.
2022-04-12 18:20:48 +00:00
zowoq 0e3394758c libcap: 2.49 -> 2.63
https://sites.google.com/site/fullycapable/release-notes-for-libcap
2022-03-17 21:25:11 +10:00
R. RyanTM f541fba478 libcap: 2.48 -> 2.49 2021-07-24 15:31:50 +02:00
Milan Pässler 46440dae4e libcap: use correct runtime shell 2021-04-11 09:46:37 +02:00
Orivej Desh 90691042af libcap: fix static build
It supports static build with SHARED=no; the patch no longer applies.

Tested by building pkgsStatic.libcap.
2021-04-08 05:51:56 +00:00
R. RyanTM 4cbfcb3945 libcap: 2.47 -> 2.48 2021-03-20 09:22:42 +01:00
Yurii Izorkin b2e84fa59c
libcap: 2.46 -> 2.47 (#111014) 2021-01-29 07:02:26 +00:00
Jörg Thalheim bcc7d46e9c
Merge pull request #109102 from Izorkin/libcap-update 2021-01-18 17:00:05 +00:00
Ben Siraphob 16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Izorkin 116fb2a610
libcap: use full path to bash 2021-01-12 11:23:32 +03:00
Izorkin 0d9b2c4b16
libcap: 2.44 -> 2.46 2021-01-12 11:15:25 +03:00
John Ericson f52263ced0 treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
Joe Hermaszewski 4fe23ed6ca libcap: fix static build
This makes the build correct when cap==null

It also patches the Makefiles so that shared libraries aren't built during the install phase
2020-12-08 05:21:05 +01:00
Vladimír Čunát 336bc8283b
Re-Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
This reverts commit c778945806.

I believe this is exactly what brings the staging branch into
the right shape after the last merge from master (through staging-next);
otherwise part of staging changes would be lost
(due to being already reachable from master but reverted).
2020-10-26 08:19:17 +01:00
Vladimír Čunát c778945806
Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
I'm sorry; I didn't notice it contained staging commits.

This reverts commit 17f5305b6c, reversing
changes made to a8a018ddc0.
2020-10-25 09:41:51 +01:00
zowoq b67a367f7c libcap: 2.27 -> 2.44 2020-10-14 08:45:22 +10:00
Robin Gloster 2157dcd141
treewide: installFlags is a list 2019-12-30 13:22:43 +01: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
Will Dietz e1c7c1981a libcap: 2.26 -> 2.27
https://sites.google.com/site/fullycapable/release-notes-for-libcap/releasenotesfor227
2019-04-18 08:43:05 +02:00
R. RyanTM cbf9402574 libcap: 2.25 -> 2.26
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libcap/versions
2018-12-18 15:33:16 -05:00
Pascal Wittmann 28905e828a
libcap: add license
see issue #43716
2018-08-08 21:18:16 +02:00
Matthew Bauer 143978a477 treewide: remove platform assertions
linux: readd assertion
2018-05-03 13:09:20 -05:00
Will Dietz cea0765a29 libcap: depsBuildBuild, don't set CC/BUILD_CC 2018-02-13 09:44:57 -06:00
Ben Gamari db9f302cf3 libcap: Fix cross-compilation 2018-02-13 09:44:57 -06:00
Florian Klink a505abc948 libcap: already patch Make.Rules in prePatch
Make.Rules gets already included during compilation, so set paths before
invoking make. This fixes wrong paths in libcap.pc.
2017-10-22 21:21:27 +02:00
Tuomas Tynkkynen 1ff422aa23 treewide: Add man & info outputs where necessary (instead of doc)
Because man & info pages won't be going to $doc after the next commit.
Scripted change for the files having one-package-per-file.
2017-08-11 21:32:54 +03:00
Tuomas Tynkkynen a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Alexander Ried 7382afac40 libcap: replace old split with multi-output 2016-05-03 19:52:10 +02:00
Alexander Ried 64ef643833 libcap: 2.24 -> 2.25 2016-05-03 19:52:10 +02:00
Vladimír Čunát 54eef65533 libcap*: fix with multiple outputs
I don't think we need the license file in each of these,
so I only left it with the library (it isn't big).
2015-10-04 09:49:19 +02:00
Vladimír Čunát 5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Joel Taylor 740d3b1517 Remove isLinux assertion from libcap
Heimdal evaluates libcap's meta.platforms to determine if it should be pulled in or not,
and that fails if the stdenv.isLinux assertion fails.
2015-05-15 15:33:35 -07:00
Vladimír Čunát bf414c9d4f Merge 'staging' into closure-size
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes

Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
2015-04-18 11:22:20 +02:00
William A. Kennington III afca882265 libcap: 2.22 -> 2.24 2015-03-26 00:53:45 -07:00
j-keck 73ec7f243f libcap_progs: fix bash path
* in progs/capsh.c is the bash path hardcoded to '/bin/bash'.
  * this fix removes the absolute path und use 'execvpe' to call 'bash'.
2015-02-03 11:11:17 +01:00
j-keck 236f7fd20d libcap_progs: fix bash path
* in progs/capsh.c is the bash path hardcoded to '/bin/bash'.
  * this fix set's the bash path from PATH.
2015-02-03 10:25:16 +01:00
j-keck eb54864494 libcap_progs: fix bash path
* in progs/capsh.c is the bash path hardcoded to '/bin/bash'
  * this fix set's the path to '/var/run/current-system/sw/bin/bash'
2015-02-02 22:07:23 +01:00
Vladimír Čunát a70180ba73 mutiout: make it builtin 2014-08-30 08:27:43 +02:00
Vladimír Čunát fb59f27a43 WIP: getting good 2014-08-27 01:14:09 +02:00
Eelco Dolstra 7c8518c194 Cleanup 2013-08-23 10:02:07 +02:00
Eelco Dolstra ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra 28a76a96be libcap: Update to 2.22
Systemd requires the recent CAP_SYSLOG capability.
2012-07-19 10:26:44 -04:00
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Yury G. Kudryashov 25de2c279b Split libcap package
libcap can be splitted for free (just cd subdir; make install).
So I've decided not to raise up disscussions "should we build cap_pam.so?" etc.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23967
2010-09-27 13:49:13 +00:00