forked from mirrors/nixpkgs
nss-pam-ldapd: fix build by disabling kerberos
This commit is contained in:
parent
306a07f8d4
commit
679e8fa932
|
@ -1,16 +1,19 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, openldap, python, pam, makeWrapper }:
|
{ stdenv, fetchurl
|
||||||
|
, pkgconfig, makeWrapper, autoreconfHook
|
||||||
|
, openldap, python, pam
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nss-pam-ldapd-${version}";
|
name = "nss-pam-ldapd-${version}";
|
||||||
version = "0.9.10";
|
version = "0.9.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://arthurdejong.org/nss-pam-ldapd/${name}.tar.gz";
|
url = "https://arthurdejong.org/nss-pam-ldapd/${name}.tar.gz";
|
||||||
sha256 = "1cqamcr6qpgwxijlr6kg7jspjamjra8w0haan0qssn0yxn95d7c0";
|
sha256 = "1cqamcr6qpgwxijlr6kg7jspjamjra8w0haan0qssn0yxn95d7c0";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig makeWrapper autoreconfHook ];
|
||||||
buildInputs = [ makeWrapper python openldap pam ];
|
buildInputs = [ openldap pam python ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace Makefile.in --replace "install-data-local: " "# install-data-local: "
|
substituteInPlace Makefile.in --replace "install-data-local: " "# install-data-local: "
|
||||||
|
@ -21,6 +24,7 @@ stdenv.mkDerivation rec {
|
||||||
"--with-nslcd-socket=/run/nslcd/socket"
|
"--with-nslcd-socket=/run/nslcd/socket"
|
||||||
"--with-nslcd-pidfile=/run/nslcd/nslcd.pid"
|
"--with-nslcd-pidfile=/run/nslcd/nslcd.pid"
|
||||||
"--with-pam-seclib-dir=$(out)/lib/security"
|
"--with-pam-seclib-dir=$(out)/lib/security"
|
||||||
|
"--enable-kerberos=no"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Reference in a new issue