* updated firefox (133.0.3 -> 134.0.2)
[t2sde.git] / package / network / smbldap-tools / smbldap-tools.conf
blobdee59ecd1eb68148eac81da3caa290c09598d60c
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/smbldap-tools/smbldap-tools.conf
3 # Copyright (C) 2004 - 2023 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
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 ---
12 pkgprefix -t samba
14 if [ "$prefix_auto" = 1 ]; then
15         prefix=$(pkgprefix samba)
16         set_confopt
19 var_append makeinstopt ' ' "prefix=$root/$prefix sysconfdir=$root$sysconfdir"
21 smbldap_patch() {
22         sed -i \
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\";," \
26           smbldap_tools.pm
28 hook_add postpatch 5 'smbldap_patch'