pam_tmpdir: init at 0.09
This commit is contained in:
parent
990f197be1
commit
c70172f9d0
36
pkgs/os-specific/linux/pam_tmpdir/default.nix
Normal file
36
pkgs/os-specific/linux/pam_tmpdir/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ lib, stdenv, fetchurl, autoreconfHook, pam }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "pam_tmpdir";
|
||||||
|
version = "0.09";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://deb.debian.org/debian/pool/main/p/pam-tmpdir/pam-tmpdir_${version}.tar.gz";
|
||||||
|
hash = "sha256-MXa1CY6alD83E/Q+MJmsv8NaImWd0pPJKZd/7nbe4J8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pam_tmpdir.c \
|
||||||
|
--replace /sbin/pam-tmpdir-helper $out/sbin/pam-tmpdir-helper
|
||||||
|
|
||||||
|
# chmod/chown fails on files in /nix/store
|
||||||
|
sed -i -E -e '/^\s*(chmod|chown)/d' Makefile.{am,in}
|
||||||
|
|
||||||
|
# the symlinks in m4 assume FHS
|
||||||
|
rm -rf m4
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
|
buildInputs = [ pam ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://tracker.debian.org/pkg/pam-tmpdir";
|
||||||
|
description = "PAM module for creating safe per-user temporary directories";
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -23980,6 +23980,8 @@ with pkgs;
|
|||||||
|
|
||||||
pam_ssh_agent_auth = callPackage ../os-specific/linux/pam_ssh_agent_auth { };
|
pam_ssh_agent_auth = callPackage ../os-specific/linux/pam_ssh_agent_auth { };
|
||||||
|
|
||||||
|
pam_tmpdir = callPackage ../os-specific/linux/pam_tmpdir { };
|
||||||
|
|
||||||
pam_u2f = callPackage ../os-specific/linux/pam_u2f { };
|
pam_u2f = callPackage ../os-specific/linux/pam_u2f { };
|
||||||
|
|
||||||
pam_usb = callPackage ../os-specific/linux/pam_usb { };
|
pam_usb = callPackage ../os-specific/linux/pam_usb { };
|
||||||
|
Loading…
Reference in New Issue
Block a user