mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r11126: adding libmsrpc to solaris, redhat, and fedora packaging
(This used to be commit c3bb9f6514
)
This commit is contained in:
parent
d77621c425
commit
e19ea8f247
@ -196,6 +196,14 @@ install -m 755 source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.
|
||||
install -m 644 source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.*
|
||||
|
||||
# make install puts libmsrpc.so in the wrong place on x86_64
|
||||
rm -f $RPM_BUILD_ROOT/usr/lib || true
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}
|
||||
install -m 755 source/bin/libmsrpc.so $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so
|
||||
install -m 755 source/bin/libmsrpc.a $RPM_BUILD_ROOT%{_libdir}/libmsrpc.a
|
||||
install -m 644 source/include/libmsrpc.h $RPM_BUILD_ROOT%{_includedir}
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/samba/libmsrpc.*
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
|
||||
install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
|
||||
|
||||
|
@ -187,6 +187,11 @@ install -m 755 source/bin/libsmbclient.so $RPM_BUILD_ROOT%{prefix}/lib/
|
||||
install -m 755 source/bin/libsmbclient.a $RPM_BUILD_ROOT%{prefix}/lib/
|
||||
install -m 644 source/include/libsmbclient.h $RPM_BUILD_ROOT%{prefix}/include/
|
||||
|
||||
# libmsrpc
|
||||
install -m 755 source/bin/libmsrpc.so $RPM_BUILD_ROOT%{prefix}/lib/
|
||||
install -m 755 source/bin/libmsrpc.a $RPM_BUILD_ROOT%{prefix}/lib/
|
||||
install -m 644 source/include/libmsrpc.h $RPM_BUILD_ROOT%{prefix}/include/
|
||||
|
||||
# Install the miscellany
|
||||
install -m755 packaging/RedHat/smbprint $RPM_BUILD_ROOT%{prefix}/bin
|
||||
install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
|
||||
|
@ -46,8 +46,14 @@ add_dynamic_entries()
|
||||
|
||||
echo "#\n# libsmbclient\n#"
|
||||
echo f none lib/libsmbclient.so 0755 root other
|
||||
echo f none lib/libsmbclient.a 0755 root other
|
||||
echo f none include/libsmbclient.h 0644 root other
|
||||
|
||||
echo "#\n# libmsrpc\n#"
|
||||
echo f none lib/libmsrpc.so 0755 root other
|
||||
echo f none lib/libmsrpc.a 0755 root other
|
||||
echo f none include/libmsrpc.h 0644 root other
|
||||
|
||||
if [ -f lib/smbwrapper.so -a -f bin/smbsh ]; then
|
||||
echo "#\n# smbwrapper\n#"
|
||||
echo f none lib/smbwrapper.so 0755 root other
|
||||
|
Loading…
Reference in New Issue
Block a user