⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 samba.spec

📁 共享Unix的资源(磁盘或打印机等)给Windows使用的程序
💻 SPEC
字号:
## spec file for package samba (Version 1.9.18p10)# # Copyright  (c)  1998  SuSE GmbH  Nuernberg, Germany.## please send bugfixes or comments to feedback@suse.de.## neededforbuild  automakeVendor:       SuSE GmbH, Nuernberg, GermanyDistribution: SuSE Linux 6.0 (i386)Name:         sambaRelease:      17Copyright:    1992-95 Andrew Tridgell, Karl Auer, Jeremy AllisonGroup:        unsortedProvides:     samba smbfs Autoreqprov:  onPackager:     feedback@suse.deVersion:      2.0.0Summary:      Samba  is a file server for Unix, similar to LanManager.Source: samba-2.0.0.tar.gzSource1: smbfs-2.0.2.tar.gzSource2: smbfs-2.1.1.tgzPatch: samba-2.0.0.difPatch1: smbfs-2.0.2.difPatch2: smbfs-2.1.0.dif%preprm -rf smbfs-2.0.2 smbfs-2.1.0%setup -b1 -b2%patchcd ../smbfs-2.0.2%patch -P 1cd ../smbfs-2.1.0%patch -P 2%buildcase `/usr/share/automake/config.guess` in  i?86-pc-linux-gnu)	export EXTRA_LIBS="-lcrypt"	;;  *)	export EXTRA_LIBS=""	;;esacmake -f Makefile.Linux compilecd ../smbfs-2.0.2make -f Makefile.Linux compile%installmake -f Makefile.Linux installcd ../smbfs-2.0.2make -f Makefile.Linux installln -sf ../../sbin/init.d/smb /usr/sbin/rcsmbCheck%postecho "Updating etc/rc.config..."if [ -x bin/fillup ] ; then  bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.sambaelse  echo "ERROR: fillup not found. This should not happen. Please compare"  echo "etc/rc.config and var/adm/fillup-templates/rc.config.samba and"  echo "update by hand."fiif grep -q '^[#[:space:]]*swat' etc/inetd.conf ; then   echo /etc/inetd.conf is up to dateelse   echo updating inetd.conf   cat >> etc/inetd.conf << EOF# swat is the Samba Web Administration Tool# swat    stream  tcp     nowait.400  root    /usr/local/samba/bin/swat swatEOFfiif grep -q '^swat' etc/services ; then   echo /etc/services is up to dateelse   echo updating services   cat >> etc/services << EOFswat            901/tcp		# swat is the Samba Web Administration ToolEOFfi%files%docdir /usr/doc/packages/samba/usr/doc/packages/samba%config /etc/smb.conf%config /etc/lmhosts%config /etc/smbpasswd/usr/lib/samba/sbin/init.d/rc2.d/K20smb/sbin/init.d/rc2.d/S20smb/sbin/init.d/rc3.d/K20smb/sbin/init.d/rc3.d/S20smb%config /sbin/init.d/smb/usr/bin/smbclient/usr/bin/testparm/usr/bin/testprns/usr/bin/smbstatus/usr/bin/rpcclient/usr/bin/smbpasswd/usr/bin/make_smbcodepage/usr/bin/nmblookup/usr/bin/make_printerdef/usr/bin/smbtar/usr/bin/addtosmbpass/usr/bin/convert_smbpasswd/usr/bin/smbmount/usr/bin/smbumount%doc /usr/man/man5/lmhosts.5.gz%doc /usr/man/man1/make_smbcodepage.1.gz%doc /usr/man/man8/nmbd.8.gz%doc /usr/man/man1/nmblookup.1.gz%doc /usr/man/man7/samba.7.gz%doc /usr/man/man5/smb.conf.5.gz%doc /usr/man/man1/smbclient.1.gz%doc /usr/man/man8/smbd.8.gz%doc /usr/man/man8/smbmnt.8.gz%doc /usr/man/man8/smbmount.8.gz%doc /usr/man/man5/smbpasswd.5.gz%doc /usr/man/man8/smbpasswd.8.gz%doc /usr/man/man1/smbrun.1.gz%doc /usr/man/man1/smbstatus.1.gz%doc /usr/man/man1/smbtar.1.gz%doc /usr/man/man8/smbumount.8.gz%doc /usr/man/man8/swat.8.gz%doc /usr/man/man1/testparm.1.gz%doc /usr/man/man1/testprns.1.gz/usr/sbin/nmbd/usr/sbin/smbd/usr/sbin/swat/usr/sbin/mksmbpasswd.sh/usr/sbin/updatesmbpasswd.sh/usr/sbin/rcsmb/var/adm/fillup-templates/rc.config.samba%descriptionSamba is a suite of programs which work together to allow clients toaccess Unix filespace and printers via the SMB protocol (Seerver MessageBlock). CAUTION: The samba daemons are started by the init script/sbin/init.d/samba, not by inetd. The entries for /usr/sbin/smbdand /usr/sbin/nmbd must be commented out in /etc/inetd.conf.In practice, this means that you can redirect disks and printers toUnix disks and printers from LAN Manager clients, Windows forWorkgroups 3.11 clients, Windows'95 clients, Windows NT clientsand OS/2 clients. There isalso a Unix client program supplied as part of the suite which allowsUnix users to use an ftp-like interface to access filespace andprinters on any other SMB server.Samba includes the following programs (in summary):* smbd, the SMB server. This handles actual connections from clients.* nmbd, the Netbios name server, which helps clients locate servers.* smbclient, the Unix-hosted client program.* testprns, a program to test server access to printers.* testparm, a program to test the Samba configuration file for correctness.* smb.conf, the Samba configuration file.* smbprint, a sample script to allow a Unix host to use smbclientto print to an SMB server.The suite is supplied with full source and is GPLed.This package expects its config file under /etc/smb.conf .Documentation: /usr/doc/packages/sambaAuthors:--------    Andrew Tridgell <Andrew.Tridgell@anu.edu.au>    Karl Auer <Karl.Auer@anu.edu.au>    Jeremy Allison <jeremy@netcom.com>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -