1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/smbldap-tools/smbldap-tools.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
14 if [ "$prefix_auto" = 1 ]; then
15 prefix=$( pkgprefix samba )
19 var_append makeinstopt ' ' "prefix=$root/$prefix sysconfdir=$root$sysconfdir"
23 -e "s,^my \$smbldap_conf=.*,my \$smbldap_conf=\"$sysconfdir/smbldap-tools/smbldap.conf\";," \
24 -e "s,^my \$smbldap_bind_conf=.*,my \$smbldap_bind_conf=\"$sysconfdir/smbldap-tools/smbldap_bind.conf\";," \
25 -e "s,^my \$samba_conf=.*,my \$samba_conf=\"$( pkgprefix sysconfdir samba )/smb.conf\";," \
28 hook_add postpatch 5 'smbldap_patch'