summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RedHat/samba2.spec.tmpl20
1 files changed, 16 insertions, 4 deletions
diff --git a/packaging/RedHat/samba2.spec.tmpl b/packaging/RedHat/samba2.spec.tmpl
index cc6e8bc33c..d57cf449d6 100644
--- a/packaging/RedHat/samba2.spec.tmpl
+++ b/packaging/RedHat/samba2.spec.tmpl
@@ -39,6 +39,10 @@ for Shadow passwords. Do NOT recompile with the SHADOW_PWD option
enabled. Red Hat Linux has built in support for quotas in PAM.
%changelog
+* Mon Oct 05 1998 John H Terpstra <jht@samba.anu.edu.au>
+ - Added rpcclient to binaries list
+ - Added smbwrapper stuff
+
* Fri Aug 21 1998 John H Terpstra <jht@samba.anu.edu.au>
- Updated for Samba version 2.0 building
@@ -71,11 +75,12 @@ enabled. Red Hat Linux has built in support for quotas in PAM.
%prep
%setup
%patch -p1
+mv source/smbwrapper/README source/smbwrapper/README.smbsh
%build
cd source
./configure
-make
+make all smbwrapper
%install
rm -rf $RPM_BUILD_ROOT
@@ -93,7 +98,7 @@ mkdir -p $RPM_BUILD_ROOT/var/spool/samba
# Install standard binary files
for i in nmblookup smbclient smbpasswd smbrun smbstatus testparm testprns \
- make_smbcodepage make_printerdef
+ make_smbcodepage make_printerdef rpcclient
do
install -m755 -s source/bin/$i $RPM_BUILD_ROOT/usr/bin
done
@@ -108,6 +113,10 @@ do
install -m755 -s source/bin/$i $RPM_BUILD_ROOT/usr/sbin
done
+# Install smbwrapper stuff
+install -m755 -s source/smbwrapper/smbsh $RPM_BUILD_ROOT/usr/bin
+install -m755 -s source/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT/usr/bin
+
# Install level 1 man pages
for i in smbclient.1 smbrun.1 smbstatus.1 smbtar.1 testparm.1 testprns.1 make_smbcodepage.1
do
@@ -202,17 +211,18 @@ mv $tmpfile services
%files
%doc README COPYING Manifest Read-Manifest-Now
-%doc WHATSNEW.txt Roadmap
+%doc WHATSNEW.txt Roadmap smbwrapper/README.smbsh
%doc docs
%doc swat/README
%doc examples
%attr(-,root,root) /usr/sbin/smbd
%attr(-,root,root) /usr/sbin/nmbd
%attr(-,root,root) /usr/sbin/swat
-%attr(755,root,root) /usr/sbin/samba
+%attr(0755,root,root) /usr/sbin/samba
%attr(-,root,root) /usr/bin/addtosmbpass
%attr(-,root,root) /usr/bin/mksmbpasswd.sh
%attr(-,root,root) /usr/bin/smbclient
+%attr(-,root,root) /usr/bin/rpcclient
%attr(-,root,root) /usr/bin/testparm
%attr(-,root,root) /usr/bin/testprns
%attr(-,root,root) /usr/bin/smbrun
@@ -225,6 +235,8 @@ mv $tmpfile services
%attr(-,root,root) /usr/bin/smbtar
%attr(-,root,root) /usr/bin/smbprint
%attr(-,root,root) /usr/bin/smbadduser
+%attr(0755,root,root) /usr/bin/smbsh
+%attr(0755,root,root) /usr/bin/smbwrapper.so
%attr(-,root,root) /usr/share/swat/help/parameters.html
%attr(-,root,root) /usr/share/swat/help/welcome.html
%attr(-,root,root) /usr/share/swat/images/background.jpg