Merge pull request #263047 from wladmis/pam_mktemp
pam_mktemp: init at 1.1.1
This commit is contained in:
commit
8ebe7fb0ff
3 changed files with 56 additions and 0 deletions
|
@ -19185,6 +19185,12 @@
|
|||
githubId = 43315;
|
||||
name = "William Roe";
|
||||
};
|
||||
wladmis = {
|
||||
email = "dev@wladmis.org";
|
||||
github = "wladmis";
|
||||
githubId = 5000261;
|
||||
name = "Wladmis";
|
||||
};
|
||||
wldhx = {
|
||||
email = "wldhx+nixpkgs@wldhx.me";
|
||||
github = "wldhx";
|
||||
|
|
48
pkgs/os-specific/linux/pam_mktemp/default.nix
Normal file
48
pkgs/os-specific/linux/pam_mktemp/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, pam
|
||||
, e2fsprogs
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pam_mktemp";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://openwall.com/pam/modules/${pname}/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-Zs+AwYQ5yjRW25ZALy7qwUsaBQPMHRvn8rFtXwefPz0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "inherit_private_prefix_from_home.patch";
|
||||
url = "https://git.altlinux.org/gears/p/pam_mktemp.git?p=pam_mktemp.git;a=commitdiff_plain;h=3d2e8ad6da6a44c047bf7a8afa1e1bb2a6e36a55";
|
||||
hash = "sha256-xe44fi2xH9jqlStlIR4QPB0KS7spflRdOsvNPEmxJpU";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "allow_private_prefix_to_be_stricter.patch";
|
||||
url = "https://git.altlinux.org/gears/p/pam_mktemp.git?p=pam_mktemp.git;a=commitdiff_plain;h=bb2cee0c695d22310e5364c30d74bccb0dbf3205";
|
||||
hash = "sha256-TouysUVlNnl+m7lJ2VKPxUTYD2om1Jh5FEJ6NHMAI4U=";
|
||||
})
|
||||
];
|
||||
|
||||
patchFlags = "-p2";
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
buildInputs = [ pam e2fsprogs ];
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.openwall.com/pam/";
|
||||
description = "PAM for login service to provide per-user private directories";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ wladmis ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -28545,6 +28545,8 @@ with pkgs;
|
|||
|
||||
pam_ldap = callPackage ../os-specific/linux/pam_ldap { };
|
||||
|
||||
pam_mktemp = callPackage ../os-specific/linux/pam_mktemp { };
|
||||
|
||||
pam_mount = callPackage ../os-specific/linux/pam_mount { };
|
||||
|
||||
pam_mysql = callPackage ../os-specific/linux/pam_mysql { };
|
||||
|
|
Loading…
Reference in a new issue