View | Details | Raw Unified | Return to bug 7254
Collapse All | Expand All

(-)samba.spec.orig (-8 / +13 lines)
Lines 7-13 Link Here
7
Release: alt2
7
Release: alt2
8
8
9
# for pam modules
9
# for pam modules
10
%add_findprov_lib_path /lib/security
10
%add_findprov_lib_path /%_lib/security
11
11
12
%def_disable aw
12
%def_disable aw
13
13
Lines 42-49 Link Here
42
%def_enable xml
42
%def_enable xml
43
%def_enable mysql
43
%def_enable mysql
44
%def_enable pgsql
44
%def_enable pgsql
45
# Broken build of documentation on x86_64
46
%ifnarch x86_64
45
# Generate documentation out of Docbook sources by default
47
# Generate documentation out of Docbook sources by default
46
%def_enable gendoc
48
%def_enable gendoc
49
%endif
47
# Use CUPS by default
50
# Use CUPS by default
48
%def_enable cups
51
%def_enable cups
49
%endif
52
%endif
Lines 454-459 Link Here
454
	--with-lockdir=%_localstatedir/%origname \
457
	--with-lockdir=%_localstatedir/%origname \
455
	--with-libsmbclient=yes 
458
	--with-libsmbclient=yes 
456
459
460
%__subst 's,^LIBDIR *=.*,LIBDIR = %_libdir/%origname,' Makefile
461
457
# Make prototypes using uniprocessor (important, proto does not work for SMP)
462
# Make prototypes using uniprocessor (important, proto does not work for SMP)
458
%__make  \
463
%__make  \
459
    proto
464
    proto
Lines 495-501 Link Here
495
%__mkdir -p %buildroot/%_logdir/%origname
500
%__mkdir -p %buildroot/%_logdir/%origname
496
%__mkdir -p %buildroot/%_spooldir/%origname
501
%__mkdir -p %buildroot/%_spooldir/%origname
497
%__mkdir -p %buildroot/%_localstatedir/%origname/{netlogon,profiles}
502
%__mkdir -p %buildroot/%_localstatedir/%origname/{netlogon,profiles}
498
%__mkdir -p %buildroot/lib/security
503
%__mkdir -p %buildroot/%_lib/security
499
%__mkdir -p %buildroot/%_datadir/%origname/vfs-devel/source
504
%__mkdir -p %buildroot/%_datadir/%origname/vfs-devel/source
500
%__mkdir -p %buildroot/%_includedir
505
%__mkdir -p %buildroot/%_includedir
501
506
Lines 534-547 Link Here
534
539
535
# Install the nsswitch library extension file
540
# Install the nsswitch library extension file
536
for i in wins winbind ; do
541
for i in wins winbind ; do
537
  %__install -m755 source/nsswitch/libnss_$i.so %buildroot/lib
542
  %__install -m755 source/nsswitch/libnss_$i.so %buildroot/%_lib
538
# Make link for Name Switch modules
543
# Make link for Name Switch modules
539
  ( cd %buildroot/lib; %__ln_s libnss_$i.so libnss_$i.so.2; )
544
  ( cd %buildroot/%_lib; %__ln_s libnss_$i.so libnss_$i.so.2; )
540
done 
545
done 
541
546
542
# Install PAM modules
547
# Install PAM modules
543
%__mkdir -p %buildroot/lib/security
548
%__mkdir -p %buildroot/%_lib/security
544
%__install -m755 source/nsswitch/pam_winbind.so %buildroot/lib/security
549
%__install -m755 source/nsswitch/pam_winbind.so %buildroot/%_lib/security
545
550
546
%if_enabled aw
551
%if_enabled aw
547
	%__install -m644 %{SOURCE22} %buildroot%_sysconfdir/%origname/smb.conf
552
	%__install -m644 %{SOURCE22} %buildroot%_sysconfdir/%origname/smb.conf
Lines 873-880 Link Here
873
%_bindir/wbinfo
878
%_bindir/wbinfo
874
%_bindir/smbget
879
%_bindir/smbget
875
%_sbindir/winbindd
880
%_sbindir/winbindd
876
%attr(755,root,root) /lib/security/*
881
%attr(755,root,root) /%_lib/security/*
877
%attr(755,root,root) /lib/libnss*
882
%attr(755,root,root) /%_lib/libnss*
878
%attr(-,root,root) %config(noreplace) %_sysconfdir/%origname/smb.conf
883
%attr(-,root,root) %config(noreplace) %_sysconfdir/%origname/smb.conf
879
%attr(-,root,root) %config(noreplace) %_sysconfdir/%origname/lmhosts
884
%attr(-,root,root) %config(noreplace) %_sysconfdir/%origname/lmhosts
880
%attr(-,root,root) %config %_initdir/winbind
885
%attr(-,root,root) %config %_initdir/winbind

Return to bug 7254