Ryan Burns
eeae457c3b
pam: fix cross-compilation from darwin
...
audit requires running linux-specific code during the build,
so it cannot be cross-compiled from darwin hosts. So we can only
enable audit support in pam when the buildPlatform is linux.
2 years ago
Vladimír Čunát
fd8f6de4b8
linux-pam: make it use SUID wrapped version of unix_ckpwd
2 years ago
R. RyanTM
27a9c1bae2
linux-pam: 1.5.1 -> 1.5.2
2 years ago
Winter
0715ef5968
linux-pam: don't create dangling symlink during build
3 years ago
Maciej Krüger
eeaf2004b0
pam: add audit dependency
...
This allows building the pam_tty_audit module, among others
3 years ago
Misha Gusarov
e3dd2def91
linux-pam: Optionally build with libxcrypt
...
This enables support for new password hashing functions in PAM.
A part of #112371 .
3 years ago
Niklas Hambüchen
da899edeec
pkgsStatic.linux-pam: Remove no longer necessary musl patches.
...
See https://github.com/NixOS/nixpkgs/pull/109906#issuecomment-775630916 .
These Alpine patches:
libpam-fix-build-with-eglibc-2.16.patch
fix-compat.patch
were removed in:
https://git.alpinelinux.org/aports/commit/main/linux-pam?id=9ba93cf3f515b4f0b9b3802b84d42c4e436afe8b
3 years ago
Peter Woodman
a51b7570d4
linux-pam: remove broken musl pam_exec patch
...
it looks like this build wasn't tested with musl-libc after upgrading to
1.5.1, and has been broken in this configuration since, as the removed
patch does not apply cleanly. the good news is it's been fixed upstream,
rendering it unnecessary.
3 years ago
Ben Siraphob
16d91ee628
pkgs/os-specific: stdenv.lib -> lib
3 years ago
Michael Roitzsch
fb876141d3
linux-pam: fix cross compilation on Darwin
...
A build-time tool is created, which requires libintl.h.
On Linux, libintl.h comes with glibc, but on Darwin, gettext is needed.
3 years ago
Profpatsch
4a7f99d55d
treewide: with stdenv.lib; in meta -> with lib;
...
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
4 years ago
Frederik Rietdijk
a001d45ac2
pam.passthru.tests: add relevant nixos tests
4 years ago
Tim Steinbach
d703c1ef25
pam: 1.3.1 -> 1.5.1
4 years ago
Lila
7517299146
treewide: fix broken AlpineLinux repo links ( #87892 )
4 years ago
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
4 years ago
Matthew Bauer
f746d8eb6e
linux-pam: set sconfigdir to /etc for usage at runtime
...
So users don’t need to override the $out/etc/security files, we need
to manually set this to /etc. Override it in the install phase so that
we still get the example $out/etc/security files .
Fixes #76713
5 years ago
volth
46420bbaa3
treewide: name -> pname (easy cases) ( #66585 )
...
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
5 years ago
Will Dietz
c260a8d063
libpam: fix w/musl after update to 1.3.1
5 years ago
Matthias Beyer
99a2cefdde
pam: 1.3.0 -> 1.3.1
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
John Ericson
0828e2d8c3
treewide: Remove usage of remaining redundant platform compatability stuff
...
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
6 years ago
John Ericson
29b62e07d6
pam: Remove crossAttrs
...
It turns out none of this stuff is needed. The docs aren't evenly built
properly anyways so the build trivially succeeds either way, due to what
looks like upstream misunderstanding automake. If I try to build the
docs manually in a cross shell (before and after this change), there's a
make rule error such that some HTML files aren't even attempted to be
built and then a copy fails.
Even if this was all fixed, these been a good number of cross fixes
upstream getting them to use CC_FOR_BUILD and other good stuff, so I
doubt such hacks would be needed.
Progress towards #40531 and #33302 .
6 years ago
Nikolay Amiantov
8460769e88
pam: build with userdb support
6 years ago
Jan Malakhovski
7438083a4d
tree-wide: disable `doCheck` and `doInstallCheck` where it fails (the trivial part)
6 years ago
Will Dietz
22a5393041
pam: depsBuildBuild for buildPackages.stdenv.cc
6 years ago
Will Dietz
4aca016313
changes some targetPlatform to hostPlatform checks
6 years ago
Will Dietz
cb521f75a6
linux-pam: fix build w/musl
6 years ago
Ben Gamari
46c2e619e8
linux-pam: Add necessary build dependencies for cross-compilation
...
Ensure that we use the correct `ar` and add explicit dependency on the build CC.
(cherry picked from commit 5efb768011f6bce870f4ce814295a399d5a89c10)
6 years ago
Tuomas Tynkkynen
27a77af62f
pam: 1.2.1 -> 1.3.0
7 years ago
Parnell Springmeyer
4aa0923009
Getting rid of the var indirection and using a bin path instead
8 years ago
Parnell Springmeyer
e92b8402b0
Addressing PR feedback
8 years ago
Parnell Springmeyer
98c058a1ee
Adapting everything for the merged permissions wrappers work.
8 years ago
William A. Kennington III
70a1e7afd8
pam: 1.2.0 -> 1.2.1
...
Fixes CVE-2015-3238
9 years ago
William A. Kennington III
d30d0c783d
Revert "pam: Factor out dependencies"
...
This reverts commit 7141d96bde
.
9 years ago
William A. Kennington III
7141d96bde
pam: Factor out dependencies
9 years ago
William A. Kennington III
5a117814b8
pam: 1.1.8 -> 1.2.0
9 years ago
Vladimír Čunát
5d26d83df2
pam: don't split modules
...
libpam seems to need a reference to the modules anyway.
9 years ago
Vladimír Čunát
a70180ba73
mutiout: make it builtin
10 years ago
Vladimír Čunát
fb59f27a43
WIP: getting good
10 years ago
Vladimír Čunát
07aaea85d4
pam: upstream patch to fix CVE-2014-2583
10 years ago
Eelco Dolstra
c21ef84810
linux-pam: Update to 1.1.8
10 years ago
Eelco Dolstra
1a0e87b19f
pam: Split off the PAM modules
...
Clients of PAM can find the modules via /etc/pam.d.
11 years ago
Eelco Dolstra
5200c92aa0
libxcrypt: Remove
12 years ago
Eelco Dolstra
1d174fb974
linux-pam: Fix URL
12 years ago
Eelco Dolstra
ab3eeabfed
Rename buildNativeInputs -> nativeBuildInputs
...
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
12 years ago
Eelco Dolstra
5be0a9acd7
Rename hostDrv -> crossDrv, buildDrv -> nativeDrv
...
This is for consistency with terminology in stdenv (and the terms
"hostDrv" and "buildDrv" are not very intuitive, even if they're
consistent with GNU terminology).
12 years ago
Eelco Dolstra
5d859baf59
pam: Update to 1.1.6
12 years ago
Eelco Dolstra
6a01fe514e
* Fix PAM. It accidentally lost xcrypt support in r33798.
...
svn path=/nixpkgs/trunk/; revision=33845
12 years ago
Nicolas Pierron
82b308bf11
Add armv7l support.
...
svn path=/nixpkgs/trunk/; revision=33798
12 years ago
Lluís Batlle i Rossell
4a1c721c01
Changing every reference from mips64-linux to mips64el-linux. That's
...
what the new nix thinks the fuloong is.
Anyone having the old nix should use a nixpkgs previous to this change to build
the new nix. And then, with the new nix, he can use any newer nixpkgs revision.
svn path=/nixpkgs/trunk/; revision=31751
13 years ago
Michael Raskin
16b52399c7
Oops, set include dir
...
svn path=/nixpkgs/trunk/; revision=30240
13 years ago