Merge pull request #193555 from helsinki-systems/feat/net-ldap-ldapi-location
perlPackages.NetLDAP: Use ldapi socket location from openldap
This commit is contained in:
commit
77d5b0c36f
1 changed files with 6 additions and 0 deletions
|
@ -19420,6 +19420,12 @@ let
|
||||||
url = "mirror://cpan/authors/id/M/MA/MARSCHAP/perl-ldap-0.66.tar.gz";
|
url = "mirror://cpan/authors/id/M/MA/MARSCHAP/perl-ldap-0.66.tar.gz";
|
||||||
hash = "sha256-CSY85hZugMmNaJ1B0JmVuBM4n9Bpt4RgH23Ff44rQQI=";
|
hash = "sha256-CSY85hZugMmNaJ1B0JmVuBM4n9Bpt4RgH23Ff44rQQI=";
|
||||||
};
|
};
|
||||||
|
# ldapi socket location should match the one compiled into the openldap package
|
||||||
|
postPatch = ''
|
||||||
|
for f in lib/Net/LDAPI.pm lib/Net/LDAP/Util.pm lib/Net/LDAP.pod lib/Net/LDAP.pm; do
|
||||||
|
sed -i 's:/var/run/ldapi:/run/openldap/ldapi:g' "$f"
|
||||||
|
done
|
||||||
|
'';
|
||||||
buildInputs = [ TextSoundex ];
|
buildInputs = [ TextSoundex ];
|
||||||
propagatedBuildInputs = [ ConvertASN1 ];
|
propagatedBuildInputs = [ ConvertASN1 ];
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue