From 734db8102468268c7aec2f7f81e706ad7f6bb506 Mon Sep 17 00:00:00 2001 From: ssorce Date: Mon, 16 Apr 2007 14:52:15 +0000 Subject: [PATCH] Ouch wrong path here (more coffe) --- samba.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/samba.spec b/samba.spec index 0f8c02b..1b5371f 100644 --- a/samba.spec +++ b/samba.spec @@ -215,7 +215,7 @@ CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" %configure \ --with-logfilebase=/var/log/samba \ --with-libdir=%{_libdir}/samba \ --with-configdir=%{_sysconfdir}/samba \ - --with-pammodulesdir=%{_sysconfdir}/security \ + --with-pammodulesdir=%{_lib}/security \ --with-swatdir=%{_datadir}/swat \ --with-shared-modules=idmap_ad,idmap_rid \ @@ -244,6 +244,7 @@ mkdir -p $RPM_BUILD_ROOT/sbin mkdir -p $RPM_BUILD_ROOT/usr/{sbin,bin} mkdir -p $RPM_BUILD_ROOT/%{_initrddir} mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{pam.d,logrotate.d,security} +mkdir -p $RPM_BUILD_ROOT/%{_lib}/security mkdir -p $RPM_BUILD_ROOT/var/{log,spool}/samba mkdir -p $RPM_BUILD_ROOT/var/lib/samba mkdir -p $RPM_BUILD_ROOT/var/lib/samba/private @@ -289,11 +290,6 @@ echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema install -m644 examples/LDAP/samba.schema $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/samba.schema -# pam_smbpass -mkdir -p $RPM_BUILD_ROOT/%{_lib}/security -install -m 755 source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security/pam_smbpass.so -install -m 755 source/bin/pam_winbind.so $RPM_BUILD_ROOT/%{_lib}/security/pam_winbind.so - # winbind mkdir -p $RPM_BUILD_ROOT%{_libdir} install -m 755 source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2 @@ -342,7 +338,6 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmnt.8* rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbumount.8* # why are these getting installed in the wrong place? -rm -f $RPM_BUILD_ROOT%{_libdir}/samba/security/pam_{smbpass,winbind}.so rm -f $RPM_BUILD_ROOT%{_sbindir}/{u,}mount.cifs