diff options
author | Jeremy Allison <jra@samba.org> | 2001-04-21 20:01:12 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-04-21 20:01:12 +0000 |
commit | 2c213bec9cdba207ba5c05b696fc256ea21f8921 (patch) | |
tree | 662e68bd1c61f36a3b2d585c06c0da00b09cc94e | |
parent | a6dfe1b5ee79fa8231676b08f91d481e4bf32734 (diff) | |
download | samba-2c213bec9cdba207ba5c05b696fc256ea21f8921.tar.gz samba-2c213bec9cdba207ba5c05b696fc256ea21f8921.tar.xz samba-2c213bec9cdba207ba5c05b696fc256ea21f8921.zip |
Fixes from Shirish for Solaris packaging.
Jeremy.
-rwxr-xr-x | packaging/Solaris/makepkg.sh | 33 | ||||
-rw-r--r-- | packaging/Solaris/prototype.master | 38 |
2 files changed, 32 insertions, 39 deletions
diff --git a/packaging/Solaris/makepkg.sh b/packaging/Solaris/makepkg.sh index ea15eafbc34..b57e182e4a3 100755 --- a/packaging/Solaris/makepkg.sh +++ b/packaging/Solaris/makepkg.sh @@ -52,6 +52,38 @@ add_dynamic_entries() echo f none samba/bin/$binfile=source/bin/$binfile 0755 root other fi done + + # Add the scripts to bin/ + echo "#\n# Scripts \n#" + cd $DISTR_BASE/source/script + for shfile in * + do + if [ -f $shfile ]; then + echo f none samba/bin/$shfile=source/script/$shfile 0755 root other + fi + done + + # Add the manpages + echo "#\n# man pages \n#" + echo d none /usr ? ? ? + echo d none /usr/share ? ? ? + echo d none /usr/share/man ? ? ? + + # Create directories for man page sections if nonexistent + cd $DISTR_BASE/docs/manpages + for i in 1 2 3 4 5 6 7 8 9 + do + manpages=`ls *.$i 2>/dev/null` + if [ $? -eq 0 ] + then + echo d none /usr/share/man/man$i ? ? ? + for manpage in $manpages + do + echo f none /usr/share/man/man${i}/${manpage}=docs/manpages/$manpage 0644 root other + done + fi + done + echo "#\n# HTML documentation \n#" cd $DISTR_BASE list=`find docs/htmldocs -type d | grep -v "/CVS$"` @@ -151,4 +183,3 @@ then pkgtrans /tmp samba.pkg samba fi echo The samba package is in /tmp -rm -f prototype diff --git a/packaging/Solaris/prototype.master b/packaging/Solaris/prototype.master index 8f98104cdde..25603658c42 100644 --- a/packaging/Solaris/prototype.master +++ b/packaging/Solaris/prototype.master @@ -34,44 +34,6 @@ d none samba/bin 0755 root other d none samba/lib 0755 root other d none samba/docs 0755 root other # -# Scripts -# -f none samba/bin/smbtar=source/script/smbtar 0755 root other -f none samba/bin/addtosmbpass=source/script/addtosmbpass 0755 root other -f none samba/bin/convert_smbpasswd=source/script/convert_smbpasswd 0755 root other -f none samba/bin/mksmbpasswd.sh=source/script/mksmbpasswd.sh 0755 root other -# -# man pages -# -d none /usr ? ? ? -d none /usr/share ? ? ? -d none /usr/share/man ? ? ? -d none /usr/share/man/man1 ? ? ? -d none /usr/share/man/man5 ? ? ? -d none /usr/share/man/man7 ? ? ? -d none /usr/share/man/man8 ? ? ? -f none /usr/share/man/man1/make_smbcodepage.1=docs/manpages/make_smbcodepage.1 0644 root other -f none /usr/share/man/man1/nmblookup.1=docs/manpages/nmblookup.1 0644 root other -f none /usr/share/man/man1/smbclient.1=docs/manpages/smbclient.1 0644 root other -f none /usr/share/man/man1/smbrun.1=docs/manpages/smbrun.1 0644 root other -f none /usr/share/man/man1/smbsh.1=docs/manpages/smbsh.1 0644 root other -f none /usr/share/man/man1/smbstatus.1=docs/manpages/smbstatus.1 0644 root other -f none /usr/share/man/man1/smbtar.1=docs/manpages/smbtar.1 0644 root other -f none /usr/share/man/man1/testparm.1=docs/manpages/testparm.1 0644 root other -f none /usr/share/man/man1/testprns.1=docs/manpages/testprns.1 0644 root other -f none /usr/share/man/man5/lmhosts.5=docs/manpages/lmhosts.5 0644 root other -f none /usr/share/man/man5/smb.conf.5=docs/manpages/smb.conf.5 0644 root other -f none /usr/share/man/man5/smbpasswd.5=docs/manpages/smbpasswd.5 0644 root other -f none /usr/share/man/man7/samba.7=docs/manpages/samba.7 0644 root other -f none /usr/share/man/man8/nmbd.8=docs/manpages/nmbd.8 0644 root other -f none /usr/share/man/man8/smbd.8=docs/manpages/smbd.8 0644 root other -f none /usr/share/man/man8/smbmnt.8=docs/manpages/smbmnt.8 0644 root other -f none /usr/share/man/man8/smbmount.8=docs/manpages/smbmount.8 0644 root other -f none /usr/share/man/man8/smbpasswd.8=docs/manpages/smbpasswd.8 0644 root other -f none /usr/share/man/man8/smbumount.8=docs/manpages/smbumount.8 0644 root other -f none /usr/share/man/man8/swat.8=docs/manpages/swat.8 0644 root other -f none /usr/share/man/man8/smbspool.8=docs/manpages/smbspool.8 0644 root other -# # Stuff that goes into lib # f none samba/lib/smb.conf.example=examples/smb.conf.default 0644 root other |