samba-vl.spec 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558
  1. %define tdb_version 1.1.2
  2. %define talloc_version 1.2.0
  3. %define samba_version 3.3.10
  4. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  5. # samba 3.3.x serial build number. (tdb/talloc also use this release number)
  6. #
  7. # (注) samba/libtdb/libtalloc全てのバージョンが上がるときのみrelease numberを
  8. # 1にする
  9. #
  10. %define samba_release 12
  11. Summary: The Samba Suite of programs
  12. Summary(ja): Samba スイート
  13. Name: samba
  14. Version: %{samba_version}
  15. Release: %{samba_release}%{?_dist_release}
  16. License: GPLv3+ and LGPLv3+
  17. Group: System Environment/Daemons
  18. URL: http://www.samba.org/
  19. Source: http://www.samba.org/samba/ftp/samba/%{name}-%{version}.tar.gz
  20. # Vine specific replacement-files
  21. Source1: samba.log
  22. Source2: samba.xinetd
  23. Source3: swat.desktop
  24. Source4: samba.sysconfig
  25. Source5: smb.init
  26. Source6: samba.pamd
  27. Source7: smbprint
  28. Source8: winbind.init
  29. Source9: smb.conf.default
  30. Source10: nmb.init
  31. Source11: pam_winbind.conf
  32. # Don't depend on Net::LDAP
  33. Source999: filter-requires-samba.sh
  34. # upstream patches. Applied first so that they'll break our patches rather
  35. # than the other way around
  36. # (none right now)
  37. # generic patches
  38. Patch102: samba-3.2.0pre1-pipedir.patch
  39. Patch104: samba-3.0.0rc3-nmbd-netbiosname.patch
  40. # The passwd part has been applied, but not the group part
  41. Patch107: samba-3.2.0pre1-grouppwd.patch
  42. Patch200: samba-3.2.5-inotify.patch
  43. Patch201: samba-3.2.8-nmbd_lmb_delay.patch
  44. # security fixes
  45. Patch1000: samba-3.3.10_CVE-2010-0547.patch
  46. Requires(pre): samba-common = %{version}-%{release}
  47. Requires: pam >= 0:0.64
  48. Requires: logrotate >= 0:3.4
  49. Requires: krb5-libs, libacl, libattr
  50. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  51. Requires(post): /sbin/chkconfig, /sbin/service
  52. Requires(preun): /sbin/chkconfig, /sbin/service
  53. BuildRequires: pam-devel, readline-devel, ncurses-devel, libacl-devel
  54. BuildRequires: krb5-devel, openldap-devel, openssl-devel, cups-devel
  55. BuildRequires: autoconf, gawk, popt-devel, gtk2-devel, libcap-devel
  56. %if %{?_dist_release}!="vl5"
  57. BuildRequires: libuuid-devel
  58. %endif
  59. # Working around perl dependency problem from docs
  60. %define __find_requires %{SOURCE999}
  61. Vendor: Project Vine
  62. Distribution: Vine Linux
  63. %description
  64. Samba is the suite of programs by which a lot of PC-related machines
  65. share files, printers, and other information (such as lists of
  66. available files and printers). The Windows NT, OS/2, and Linux
  67. operating systems support this natively, and add-on packages can
  68. enable the same thing for DOS, Windows, VMS, UNIX of all kinds, MVS,
  69. and more. This package provides an SMB/CIFS server that can be used to
  70. provide network services to SMB/CIFS clients.
  71. Samba uses NetBIOS over TCP/IP (NetBT) protocols and does NOT
  72. need the NetBEUI (Microsoft Raw NetBIOS frame) protocol.
  73. %description -l ja
  74. Samba は Microsoft Windows や OS/2、その他の Linux マシンを含む SMB/CIFS
  75. クライアントにネットワークファイル・プリンタ共有サービスを提供します。
  76. Samba は NetBIOS over TCP/IP (NetBT, NBT) プロトコルを使用しますので、
  77. NetBUEI (Microsoft Raw NetBIOS frame) プロトコルは必要ありません。
  78. %package client
  79. Summary: Samba client programs
  80. Summary(ja): Samba クライアントプログラム
  81. Group: Applications/System
  82. Requires: samba-common = %{samba_version}-%{release}
  83. Obsoletes: smbfs
  84. %description client
  85. The samba-client package provides some SMB/CIFS clients to complement
  86. the built-in SMB/CIFS filesystem in Linux. These clients allow access
  87. of SMB/CIFS shares and printing to SMB/CIFS printers.
  88. %description client -l ja
  89. samba-client は Linux カーネルがサポートしている SMB ファイルシステム
  90. 機能を操作する SMB クライアントを提供します。
  91. これらは SMB 共有のアクセスと SMB プリンタへの印刷を実現します。
  92. %package common
  93. Summary: Files used by both Samba servers and clients
  94. Summary(ja): Samba サーバーとクライアントの両方に使用されるファイル
  95. Requires: libtdb >= %{tdb_version}
  96. Requires: libtalloc >= %{talloc_version}
  97. Group: Applications/System
  98. Requires(pre): /usr/sbin/groupadd
  99. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  100. Requires(preun): /sbin/chkconfig, /sbin/service
  101. %description common
  102. Samba-common provides files necessary for both the server and client
  103. packages of Samba.
  104. %description common -l ja
  105. samba-common は Samba のサーバーとクライアントの両方のパッケージで
  106. 使用される共通のファイルを提供します。
  107. %package winbind
  108. Summary: Samba winbind
  109. Group: Applications/System
  110. Requires: samba-common = %{samba_version}-%{release}
  111. Requires(pre): /usr/sbin/groupadd
  112. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  113. Requires(preun): /sbin/chkconfig, /sbin/service
  114. %description winbind
  115. The samba-winbind package provides the winbind daemon, a NSS library, a PAM
  116. module and some client tools. Winbind enables Linux to be a full member in
  117. Windows domains and to use Windows user and group accounts on Linux.
  118. %package winbind-devel
  119. Summary: Developer tools for the winbind library
  120. Group: Development/Libraries
  121. Requires: samba-winbind = %{samba_version}-%{release}
  122. %description winbind-devel
  123. The samba-winbind package provides developer tools for the wbclient library.
  124. %package swat
  125. Summary: The Samba SMB server Web configuration program
  126. Summary(ja): Web ベースの Samba サーバ設定ツール
  127. Group: Applications/System
  128. Requires: samba = %{samba_version}-%{release}, xinetd
  129. %description swat
  130. The samba-swat package includes the new SWAT (Samba Web Administration
  131. Tool), for remotely managing Samba's smb.conf file using your favorite
  132. Web browser.
  133. %description swat -l ja
  134. SWAT (Samba Web Administration Tool) を使うと、Samba の管理をお好きな Web
  135. ブラウザで行うことができるようになります。
  136. %package doc
  137. Summary: Documentation for the Samba suite
  138. Group: Applications/Documentation
  139. Requires: samba-common = %{samba_version}-%{release}
  140. %description doc
  141. The samba-doc package includes all the non-manpage documentation for the
  142. Samba suite.
  143. %package domainjoin-gui
  144. Summary: Domainjoin GUI
  145. Group: Applications/System
  146. Requires: samba-common = %{samba_version}-%{release}, gtk2
  147. %description domainjoin-gui
  148. The samba-domainjoin-gui package includes a domainjoin gtk application.
  149. %package -n libsmbclient
  150. Summary: The SMB client library
  151. Summary(ja): SMB クライアントライブラリ
  152. Group: System Environment/Libraries
  153. Obsoletes: samba-libsmbclient < 3.1
  154. Provides: samba-libsmbclient = %{samba_version}-%{release}
  155. %description -n libsmbclient
  156. The libsmbclient contains the SMB client library from the Samba suite.
  157. %description -n libsmbclient -l ja
  158. libsmbclient は Samba クライアントの機能を提供するライブラリを
  159. 提供します。
  160. %if %build_compat32
  161. %package -n compat32-libsmbclient
  162. Summary: The SMB client library
  163. Summary(ja): SMB クライアントライブラリ
  164. Group: System Environment/Libraries
  165. Provides: compat32-samba-libsmbclient = %{samba_version}-%{release}
  166. %description -n compat32-libsmbclient
  167. The libsmbclient contains the SMB client library from the Samba suite.
  168. %description -n compat32-libsmbclient -l ja
  169. libsmbclient は Samba クライアントの機能を提供するライブラリを
  170. 提供します。
  171. %package -n compat32-samba-winbind
  172. Summary: Samba winbind
  173. Group: Applications/System
  174. Requires: samba-common = %{samba_version}-%{release}
  175. Requires(pre): /usr/sbin/groupadd
  176. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  177. Requires(preun): /sbin/chkconfig, /sbin/service
  178. %description -n compat32-samba-winbind
  179. The samba-winbind package provides the winbind daemon, a NSS library, a PAM
  180. module and some client tools. Winbind enables Linux to be a full member in
  181. Windows domains and to use Windows user and group accounts on Linux.
  182. %package -n compat32-libtdb
  183. Summary: The TDB library
  184. Group: System Environment/Libraries
  185. Version: %{tdb_version}
  186. %description -n compat32-libtdb
  187. The TDB library from the Samba suite.
  188. %package -n compat32-libtalloc
  189. Summary: The talloc library
  190. Group: System Environment/Libraries
  191. Version: %{talloc_version}
  192. %description -n compat32-libtalloc
  193. The talloc library from the Samba suite.
  194. %endif
  195. %package -n libsmbclient-devel
  196. Summary: Developer tools for the SMB client library
  197. Summary(ja): SMB クライアントライブラリ開発用ファイル
  198. Group: Development/Libraries
  199. Requires: libsmbclient = %{samba_version}-%{release}
  200. Obsoletes: samba-libsmbclient-devel < 3.1
  201. Provides: samba-libsmbclient-devel = %{samba_version}-%{release}
  202. %description -n libsmbclient-devel
  203. The libsmbclient-devel package contains the header files and libraries needed to
  204. develop programs that link against the SMB client library in the Samba suite.
  205. %description -n libsmbclient-devel -l ja
  206. libsmbclient-devel は Samba クライアントの機能を提供するライブラリを
  207. 使ったアプリケーションを開発するためのファイルを提供します。
  208. %package -n libtdb
  209. Summary: The TDB library
  210. Group: System Environment/Libraries
  211. Version: %{tdb_version}
  212. %description -n libtdb
  213. The TDB library from the Samba suite.
  214. %package -n tdb-tools
  215. Summary: The TDB tools
  216. Group: Applications/System
  217. Version: %{tdb_version}
  218. Requires: libtdb = %{tdb_version}-%{release}
  219. %description -n tdb-tools
  220. Some TDB tools from the Samba suite.
  221. %package -n libtdb-devel
  222. Summary: Developer tools for the TDB library
  223. Group: Development/Libraries
  224. Version: %{tdb_version}
  225. Requires: libtdb = %{tdb_version}-%{release}
  226. %description -n libtdb-devel
  227. The libtdb-devel package contains the header files and libraries needed to
  228. develop programs that link against the TDB library in the Samba suite.
  229. %package -n libtalloc
  230. Summary: The talloc library
  231. Group: System Environment/Libraries
  232. Version: %{talloc_version}
  233. %description -n libtalloc
  234. The talloc library from the Samba suite.
  235. %package -n libtalloc-devel
  236. Summary: Developer tools for the talloc library
  237. Group: Development/Libraries
  238. Version: %{talloc_version}
  239. Requires: libtalloc = %{talloc_version}-%{release}
  240. %description -n libtalloc-devel
  241. The libtalloc-devel package contains the header files and libraries needed to
  242. develop programs that link against the talloc library in the Samba suite.
  243. %prep
  244. %setup -q
  245. # copy Red Hat specific scripts
  246. mkdir packaging/Vine
  247. cp packaging/RHEL/setup/smbusers packaging/Vine/
  248. cp %{SOURCE5} packaging/Vine/
  249. cp %{SOURCE6} packaging/Vine/
  250. cp %{SOURCE7} packaging/Vine/
  251. cp %{SOURCE8} packaging/Vine/winbind.init
  252. cp %{SOURCE9} packaging/Vine/
  253. cp %{SOURCE10} packaging/Vine/
  254. cp %{SOURCE11} packaging/Vine/
  255. # Upstream patches
  256. #(none)
  257. # generic patches
  258. %patch102 -p1 -b .pipedir
  259. #%patch103 -p1 -b .logfiles
  260. #%patch104 -p1 -b .nmbd-netbiosname # FIXME: does not apply
  261. %patch107 -p1 -b .grouppwd
  262. %patch200 -p0 -b .inotify
  263. #%patch201 -p1 -b .nmbd_lmb_delay
  264. # security fixes
  265. %patch1000 -p1 -b .CVE-2010-0547
  266. mv source/VERSION source/VERSION.orig
  267. sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{release}\"/' < source/VERSION.orig > source/VERSION
  268. cd source
  269. script/mkversion.sh
  270. cd ..
  271. #Remove smbldap-tools, they are already packaged separately in Fedora
  272. rm -fr examples/LDAP/smbldap-tools-*/
  273. %build
  274. cd source
  275. sh autogen.sh
  276. %ifarch i386 sparc
  277. RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
  278. %endif
  279. %ifarch ia64
  280. #libtoolize --copy --force # get it to recognize IA-64
  281. #autoheader
  282. #autoconf
  283. EXTRA="-D_LARGEFILE64_SOURCE"
  284. %endif
  285. CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" %configure \
  286. --with-dnsupdate \
  287. --with-ads \
  288. --with-acl-support \
  289. --with-automount \
  290. --with-dnsupdate \
  291. --with-libsmbclient \
  292. --with-libsmbsharemodes \
  293. --with-mmap \
  294. --with-pam \
  295. --with-pam_smbpass \
  296. --with-quotas \
  297. --with-sendfile-support \
  298. --with-syslog \
  299. --with-utmp \
  300. --with-vfs \
  301. --with-winbind \
  302. --without-smbwrapper \
  303. --with-lockdir=/var/lib/samba \
  304. --with-piddir=/var/run \
  305. --with-mandir=%{_mandir} \
  306. --with-privatedir=/var/lib/samba/private \
  307. --with-logfilebase=/var/log/samba \
  308. --with-libdir=%{_libdir}/samba \
  309. --with-modulesdir=%{_libdir}/samba \
  310. --with-configdir=%{_sysconfdir}/samba \
  311. --with-pammodulesdir=%{_lib}/security \
  312. --with-swatdir=%{_datadir}/swat \
  313. --with-shared-modules=idmap_ad,idmap_rid \
  314. --with-cifsupcall \
  315. --disable-fam
  316. # --with-cluster-support \
  317. # --with-aio-support \
  318. make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" \
  319. proto
  320. make LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{samba_version}/source/bin \
  321. CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" %{?_smp_mflags} \
  322. all nsswitch/libnss_wins.so modules test_pam_modules test_nss_modules test_shlibs
  323. make LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{samba_version}/source/bin \
  324. CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" %{?_smp_mflags} \
  325. -C lib/netapi/examples
  326. make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" \
  327. debug2html smbfilter bin/cifs.upcall
  328. ( cd client ; gcc -o mount.cifs $RPM_OPT_FLAGS -Wall -O -D_GNU_SOURCE -D_LARGEFILE64_SOURCE mount.cifs.c )
  329. ( cd client ; gcc -o umount.cifs $RPM_OPT_FLAGS -Wall -O -D_GNU_SOURCE -D_LARGEFILE64_SOURCE umount.cifs.c )
  330. %install
  331. rm -rf $RPM_BUILD_ROOT
  332. build_libdir="$RPM_BUILD_ROOT%{_libdir}"
  333. mkdir -p $RPM_BUILD_ROOT/sbin
  334. mkdir -p $RPM_BUILD_ROOT/usr/{sbin,bin}
  335. mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
  336. mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{pam.d,logrotate.d,security}
  337. mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
  338. mkdir -p $RPM_BUILD_ROOT/var/lib/samba
  339. mkdir -p $RPM_BUILD_ROOT/var/lib/samba/private
  340. mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged
  341. mkdir -p $RPM_BUILD_ROOT/var/lib/samba/scripts
  342. mkdir -p $RPM_BUILD_ROOT/var/log/samba/old
  343. mkdir -p $RPM_BUILD_ROOT/var/spool/samba
  344. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/swat/using_samba
  345. mkdir -p $RPM_BUILD_ROOT/var/run/winbindd
  346. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/samba
  347. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  348. cd source
  349. %makeinstall \
  350. BINDIR=$RPM_BUILD_ROOT%{_bindir} \
  351. BASEDIR=$RPM_BUILD_ROOT%{_prefix} \
  352. SBINDIR=$RPM_BUILD_ROOT%{_sbindir} \
  353. DATADIR=$RPM_BUILD_ROOT%{_datadir} \
  354. LOCKDIR=$RPM_BUILD_ROOT/var/lib/samba \
  355. PRIVATEDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba \
  356. LIBDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
  357. MODULESDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
  358. CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba \
  359. PAMMODULESDIR=$RPM_BUILD_ROOT/%{_lib}/security \
  360. MANDIR=$RPM_BUILD_ROOT%{_mandir} \
  361. VARDIR=$RPM_BUILD_ROOT/var/log/samba \
  362. CODEPAGEDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
  363. SWATDIR=$RPM_BUILD_ROOT%{_datadir}/swat \
  364. SAMBABOOK=$RPM_BUILD_ROOT%{_datadir}/swat/using_samba \
  365. PIDDIR=$RPM_BUILD_ROOT/var/run
  366. cd ..
  367. # Install other stuff
  368. install -m644 packaging/Vine/smb.conf.default $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
  369. install -m755 source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
  370. install -m644 packaging/Vine/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
  371. install -m755 packaging/Vine/smbprint $RPM_BUILD_ROOT%{_bindir}
  372. install -m755 packaging/Vine/smb.init $RPM_BUILD_ROOT%{_initrddir}/smb
  373. install -m755 packaging/Vine/nmb.init $RPM_BUILD_ROOT%{_initrddir}/nmb
  374. install -m755 packaging/Vine/winbind.init $RPM_BUILD_ROOT%{_initrddir}/winbind
  375. install -m644 packaging/Vine/pam_winbind.conf $RPM_BUILD_ROOT%{_sysconfdir}/security
  376. #ln -s ../..%{_initrddir}/smb $RPM_BUILD_ROOT%{_sbindir}/samba
  377. install -m644 packaging/Vine/samba.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/samba
  378. install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/samba
  379. echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
  380. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema
  381. install -m644 examples/LDAP/samba.schema $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/samba.schema
  382. # winbind
  383. mkdir -p $RPM_BUILD_ROOT%{_libdir}
  384. install -m 755 source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
  385. ln -sf /%{_lib}/libnss_winbind.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so
  386. install -m 755 source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
  387. ln -sf /%{_lib}/libnss_wins.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so
  388. # libraries {
  389. mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}
  390. # talloc
  391. cd source/lib/talloc
  392. # just to get the correct .pc file generated
  393. ./autogen.sh && ./configure --prefix=%{_prefix} --libdir=%{_libdir}
  394. cd ../../..
  395. install -m 644 source/lib/talloc/talloc.pc $build_libdir/pkgconfig/
  396. # tdb
  397. cd source/lib/tdb
  398. # just to get the correct .pc file generated
  399. ./autogen.sh && ./configure --prefix=%{_prefix} --libdir=%{_libdir}
  400. cd ../../..
  401. install -m 644 source/lib/tdb/tdb.pc $build_libdir/pkgconfig/
  402. # make install puts libraries in the wrong place
  403. # (but at least gets the versioning right now)
  404. list="smbclient smbsharemodes netapi talloc tdb wbclient"
  405. build_libdir="$RPM_BUILD_ROOT%{_libdir}"
  406. for i in $list; do
  407. cp -P $build_libdir/samba/lib$i.so* $build_libdir/
  408. install -m 644 source/pkgconfig/$i.pc $build_libdir/pkgconfig/ || true
  409. rm -f $build_libdir/samba/lib$i.so* $build_libdir/samba/lib$i.a || true
  410. done
  411. install -m 644 source/lib/talloc/talloc.pc $build_libdir/pkgconfig/
  412. install -m 644 source/lib/tdb/tdb.pc $build_libdir/pkgconfig/
  413. /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/
  414. # }
  415. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
  416. install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
  417. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
  418. install -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba
  419. install -m755 source/bin/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
  420. install -m755 source/bin/umount.cifs $RPM_BUILD_ROOT/sbin/umount.cifs
  421. install -m 755 source/lib/netapi/examples/bin/netdomjoin-gui $RPM_BUILD_ROOT/%{_sbindir}/netdomjoin-gui
  422. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}
  423. install -m 644 source/lib/netapi/examples/netdomjoin-gui/samba.ico $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/samba.ico
  424. install -m 644 source/lib/netapi/examples/netdomjoin-gui/logo.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/logo.png
  425. install -m 644 source/lib/netapi/examples/netdomjoin-gui/logo-small.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/logo-small.png
  426. rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/editreg.1*
  427. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
  428. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1*
  429. #rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbget.1*
  430. rm -f $RPM_BUILD_ROOT%{_mandir}/man5/smbgetrc.5*
  431. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/vfstest.1*
  432. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/testprns.1*
  433. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmount.8*
  434. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmnt.8*
  435. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbumount.8*
  436. #Rename ldb tools, as samba3 has an old copy of ldb.
  437. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbadd $RPM_BUILD_ROOT%{_bindir}/ldb3add
  438. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbdel $RPM_BUILD_ROOT%{_bindir}/ldb3del
  439. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbmodify $RPM_BUILD_ROOT%{_bindir}/ldb3modify
  440. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbsearch $RPM_BUILD_ROOT%{_bindir}/ldb3search
  441. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbrename $RPM_BUILD_ROOT%{_bindir}/ldb3rename
  442. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbedit $RPM_BUILD_ROOT%{_bindir}/ldb3edit
  443. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbadd.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3add.1
  444. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbdel.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3del.1
  445. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbedit.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3edit.1
  446. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbmodify.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3modify.1
  447. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbsearch.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3search.1
  448. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbrename.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3rename.1
  449. # why are these getting installed in the wrong place?
  450. rm -f $RPM_BUILD_ROOT%{_sbindir}/{u,}mount.cifs
  451. %clean
  452. rm -rf $RPM_BUILD_ROOT
  453. #%pre
  454. %post
  455. /sbin/chkconfig --add smb
  456. /sbin/chkconfig --add nmb
  457. if [ "$1" -ge "1" ]; then
  458. /sbin/service smb condrestart >/dev/null 2>&1 || :
  459. /sbin/service nmb condrestart >/dev/null 2>&1 || :
  460. fi
  461. exit 0
  462. %preun
  463. if [ $1 = 0 ] ; then
  464. /sbin/service smb stop >/dev/null 2>&1 || :
  465. /sbin/service nmb stop >/dev/null 2>&1 || :
  466. /sbin/chkconfig --del smb
  467. /sbin/chkconfig --del nmb
  468. fi
  469. exit 0
  470. #%postun
  471. %pre winbind
  472. /usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
  473. %post winbind
  474. /sbin/chkconfig --add winbind
  475. if [ "$1" -ge "1" ]; then
  476. /sbin/service winbind condrestart >/dev/null 2>&1 || :
  477. fi
  478. %post common
  479. /sbin/ldconfig
  480. # This script must be run always on installs or upgrades
  481. # it checks if a previous installation have created files
  482. # under /var/cache/samba and move them in that case as the
  483. # new package wants them to be under /var/lib/samba for
  484. # FHS compliance
  485. #
  486. # - we must stop the dameon if running and restart it
  487. # after the script if it was
  488. # - we do not overwrite newer files
  489. # - even if /etc/init.d/smb is in samba and not
  490. # samba-common we need to stop smbd/nmbd, if they
  491. # are running, here as well, or we will mess up
  492. # shared (between winbindd and smbd/nmbd) tdbs
  493. OLDPATH="/var/cache/samba"
  494. NEWPATH="/var/lib/samba"
  495. eval ls $OLDPATH/*.tdb >/dev/null 2>&1
  496. if [ $? = 0 ]; then
  497. eval testparm -s 2>/dev/null |grep "lock dir" >/dev/null
  498. if [ $? = 0 ]; then
  499. echo "Warning: lock dir explicitly set. Not moving tdb files to new default location"
  500. else
  501. #Stop daemons before we move the files around
  502. #this is what condrestart checks as well
  503. if [ -f /var/lock/subsys/winbindd ]; then
  504. /sbin/service winbind stop >/dev/null 2>&1 || :
  505. # Use a dirty trick to fool condrestart later
  506. touch /var/lock/subsys/winbindd
  507. fi
  508. if [ -f /var/lock/subsys/smb ]; then
  509. /sbin/service smb stop >/dev/null 2>&1 || :
  510. # We need to stop smbd here as we are moving also smbd owned files
  511. # but we can't restart it until the new server is installed.
  512. # Use a dirty trick to fool condrestart later
  513. touch /var/lock/subsys/smb
  514. fi
  515. if [ -f /var/lock/subsys/nmb ]; then
  516. /sbin/service nmb stop >/dev/null 2>&1 || :
  517. # We need to stop smbd here as we are moving also smbd owned files
  518. # but we can't restart it until the new server is installed.
  519. # Use a dirty trick to fool condrestart later
  520. touch /var/lock/subsys/nmb
  521. fi
  522. eval ls $NEWPATH/*.tdb >/dev/null 2>&1
  523. if [ $? = 0 ]; then
  524. #something strange here, lets backup this stuff and avoid just wiping it
  525. mkdir $NEWPATH.pkgbkp
  526. mv -f $NEWPATH/*.tdb $NEWPATH.pkgbkp/ >/dev/null 2>&1
  527. mv -f $NEWPATH/*.dat $NEWPATH.pkgbkp/ >/dev/null 2>&1
  528. mv -f $NEWPATH/perfmon $NEWPATH.pkgbkp/ >/dev/null 2>&1
  529. mv -f $NEWPATH/printing $NEWPATH.pkgbkp/ >/dev/null 2>&1
  530. fi
  531. mv -f $OLDPATH/*.tdb $NEWPATH/ >/dev/null 2>&1
  532. mv -f $OLDPATH/*.dat $NEWPATH/ >/dev/null 2>&1
  533. mv -f $OLDPATH/perfmon $NEWPATH/ >/dev/null 2>&1
  534. mv -f $OLDPATH/printing $NEWPATH/ >/dev/null 2>&1
  535. fi
  536. fi
  537. # We also moved private files from /etc/samba to
  538. # /var/lib/samba/private so we need to migrate these as well
  539. #secrets.tdb
  540. if [ -f %{_sysconfdir}/samba/secrets.tdb ]; then
  541. eval testparm -s 2>/dev/null |grep "private dir" >/dev/null
  542. if [ $? = 0 ]; then
  543. echo "Warning: private dir explicitly set. Not moving secrets.tdb to new default location"
  544. else
  545. if [ -f /var/lib/samba/private/secrets.tdb ]; then
  546. mv -f /var/lib/samba/private/secrets.tdb /var/lib/samba/private/secrets.tdb.old
  547. fi
  548. mv -f %{_sysconfdir}/samba/secrets.tdb /var/lib/samba/private/secrets.tdb
  549. fi
  550. fi
  551. #smbpasswd
  552. if [ -f %{_sysconfdir}/samba/smbpasswd ]; then
  553. eval testparm -s 2>/dev/null |grep "smb passwd file" >/dev/null
  554. if [ $? = 0 ]; then
  555. echo "Warning: smbpasswd file location explicitly set. Not moving smbpasswd to new default location"
  556. else
  557. if [ -f /var/lib/samba/private/smbpasswd ]; then
  558. mv -f /var/lib/samba/private/smbpasswd /var/lib/samba/private/smbpasswd.old
  559. fi
  560. mv -f %{_sysconfdir}/samba/smbpasswd /var/lib/samba/private/smbpasswd
  561. fi
  562. fi
  563. #passdb.tdb
  564. if [ -f %{_sysconfdir}/samba/passdb.tdb ]; then
  565. eval testparm -s 2>/dev/null |grep "private dir" >/dev/null || testparm -s 2>/dev/null |grep -P "^\s*passdb\s*backend\s*=.*tdbsam:/etc/samba/passdb.tdb.*"
  566. if [ $? = 0 ]; then
  567. echo "Warning: passdb.tdb location explicitly set. Not moving passdb.tdb to new default location"
  568. else
  569. if [ -f /var/lib/samba/private/passdb.tdb ]; then
  570. mv -f /var/lib/samba/private/passdb.tdb /var/lib/samba/private/passdb.tdb.old
  571. fi
  572. mv -f %{_sysconfdir}/samba/passdb.tdb /var/lib/samba/private/passdb.tdb
  573. fi
  574. fi
  575. #remove schannel_store if existing, it is not info we need to keep across restarts
  576. if [ -f %{_sysconfdir}/samba/schannel_store.tdb ]; then
  577. rm -f %{_sysconfdir}/samba/schannel_store.tdb
  578. fi
  579. %preun winbind
  580. if [ $1 = 0 ] ; then
  581. /sbin/service winbind stop >/dev/null 2>&1 || :
  582. /sbin/chkconfig --del winbind
  583. fi
  584. exit 0
  585. %postun common
  586. /sbin/ldconfig
  587. %post -n libsmbclient
  588. /sbin/ldconfig
  589. %postun -n libsmbclient
  590. /sbin/ldconfig
  591. %post -n libtdb
  592. /sbin/ldconfig
  593. %postun -n libtdb
  594. /sbin/ldconfig
  595. %post -n libtalloc
  596. /sbin/ldconfig
  597. %postun -n libtalloc
  598. /sbin/ldconfig
  599. %files
  600. %defattr(-,root,root)
  601. %{_sbindir}/smbd
  602. %{_sbindir}/nmbd
  603. %{_bindir}/mksmbpasswd.sh
  604. %{_bindir}/smbstatus
  605. %{_bindir}/eventlogadm
  606. %config(noreplace) %{_sysconfdir}/samba/smbusers
  607. %attr(755,root,root) %{_initrddir}/smb
  608. %attr(755,root,root) %{_initrddir}/nmb
  609. %config(noreplace) %{_sysconfdir}/logrotate.d/samba
  610. %config(noreplace) %{_sysconfdir}/pam.d/samba
  611. %{_mandir}/man7/samba.7*
  612. %{_mandir}/man8/nmbd.8*
  613. %{_mandir}/man8/smbd.8*
  614. %{_mandir}/man8/eventlogadm.8*
  615. %{_mandir}/man8/vfs_*.8*
  616. %{_libdir}/samba/vfs
  617. %{_libdir}/samba/auth
  618. %{_libdir}/samba/charset
  619. %attr(1777,root,root) %dir /var/spool/samba
  620. %dir %{_sysconfdir}/openldap/schema
  621. %{_sysconfdir}/openldap/schema/samba.schema
  622. %doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
  623. %doc examples/printing
  624. %files swat
  625. %defattr(-,root,root)
  626. %config(noreplace) %{_sysconfdir}/xinetd.d/swat
  627. %{_datadir}/swat
  628. %{_sbindir}/swat
  629. %{_mandir}/man8/swat.8*
  630. %attr(755,root,root) %{_libdir}/samba/*.msg
  631. %files client
  632. %defattr(-,root,root)
  633. /sbin/mount.cifs
  634. /sbin/umount.cifs
  635. %{_sbindir}/cifs.upcall
  636. %{_bindir}/rpcclient
  637. %{_bindir}/smbcacls
  638. %{_bindir}/findsmb
  639. %{_bindir}/smbget
  640. %{_bindir}/nmblookup
  641. %{_bindir}/smbclient
  642. %{_bindir}/smbprint
  643. %{_bindir}/smbspool
  644. %{_bindir}/smbtar
  645. %{_bindir}/smbtree
  646. %{_bindir}/sharesec
  647. %{_mandir}/man1/findsmb.1*
  648. %{_mandir}/man1/nmblookup.1*
  649. %{_mandir}/man1/rpcclient.1*
  650. %{_mandir}/man1/smbcacls.1*
  651. %{_mandir}/man1/smbclient.1*
  652. %{_mandir}/man1/smbtar.1*
  653. %{_mandir}/man1/smbtree.1*
  654. %{_mandir}/man1/smbget.1*
  655. %{_mandir}/man1/sharesec.1*
  656. %{_mandir}/man8/smbspool.8*
  657. %{_mandir}/man8/mount.cifs.8*
  658. %{_mandir}/man8/umount.cifs.8*
  659. %{_mandir}/man8/cifs.upcall.8*
  660. %files common
  661. %defattr(-,root,root)
  662. %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
  663. %dir %{_libdir}/samba
  664. %{_libdir}/samba/lowcase.dat
  665. %{_libdir}/samba/upcase.dat
  666. %{_libdir}/samba/valid.dat
  667. %{_libdir}/libnss_wins.so
  668. /%{_lib}/libnss_wins.so.2
  669. %{_libdir}/libnetapi.so
  670. %attr(755,root,root) %{_libdir}/libnetapi.so.*
  671. %{_includedir}/netapi.h
  672. %{_libdir}/pkgconfig/netapi.pc
  673. %{_bindir}/net
  674. %{_bindir}/testparm
  675. %{_bindir}/smbpasswd
  676. %{_bindir}/pdbedit
  677. %{_bindir}/profiles
  678. %{_bindir}/smbcquotas
  679. %{_bindir}/smbcontrol
  680. %{_bindir}/ldb3add
  681. %{_bindir}/ldb3del
  682. %{_bindir}/ldb3edit
  683. %{_bindir}/ldb3modify
  684. %{_bindir}/ldb3search
  685. %{_bindir}/ldb3rename
  686. %dir /var/lib/samba
  687. %attr(700,root,root) %dir /var/lib/samba/private
  688. %dir /var/lib/samba/scripts
  689. %config(noreplace) %{_sysconfdir}/samba/smb.conf
  690. %config(noreplace) %{_sysconfdir}/samba/lmhosts
  691. %config(noreplace) %{_sysconfdir}/sysconfig/samba
  692. %dir %{_sysconfdir}/samba
  693. %attr(0700,root,root) %dir /var/log/samba
  694. %attr(0700,root,root) %dir /var/log/samba/old
  695. %{_mandir}/man1/ldb3add.1.gz
  696. %{_mandir}/man1/ldb3del.1.gz
  697. %{_mandir}/man1/ldb3edit.1.gz
  698. %{_mandir}/man1/ldb3modify.1.gz
  699. %{_mandir}/man1/ldb3search.1.gz
  700. %{_mandir}/man1/ldb3rename.1.gz
  701. %{_mandir}/man1/profiles.1*
  702. %{_mandir}/man1/smbcquotas.1*
  703. %{_mandir}/man1/smbcontrol.1*
  704. #%{_mandir}/man1/vfstest.1*
  705. %{_mandir}/man1/testparm.1*
  706. %{_mandir}/man1/smbstatus.1*
  707. %{_mandir}/man5/smbpasswd.5*
  708. %{_mandir}/man5/smb.conf.5*
  709. %{_mandir}/man5/lmhosts.5*
  710. %{_mandir}/man8/smbpasswd.8*
  711. %{_mandir}/man8/pdbedit.8*
  712. %{_mandir}/man8/net.8*
  713. %doc README COPYING Manifest
  714. %doc WHATSNEW.txt Roadmap
  715. %files winbind
  716. %{_bindir}/ntlm_auth
  717. %{_bindir}/wbinfo
  718. %{_libdir}/libnss_winbind.so
  719. %attr(755,root,root) %{_libdir}/libwbclient.so.*
  720. %{_libdir}/samba/idmap
  721. %{_libdir}/samba/nss_info
  722. /%{_lib}/libnss_winbind.so.2
  723. /%{_lib}/security/pam_winbind.so
  724. %{_sbindir}/winbindd
  725. %dir /var/run/winbindd
  726. %attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged
  727. %config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
  728. %{_initrddir}/winbind
  729. %{_mandir}/man1/ntlm_auth.1*
  730. %{_mandir}/man1/wbinfo.1*
  731. %{_mandir}/man7/winbind_krb5_locator.7*
  732. %{_mandir}/man8/pam_winbind.8*
  733. %{_mandir}/man8/winbindd.8*
  734. %{_mandir}/man8/idmap_*.8*
  735. %{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo
  736. %files winbind-devel
  737. %{_includedir}/wbclient.h
  738. %{_libdir}/libwbclient.so
  739. %{_libdir}/pkgconfig/wbclient.pc
  740. %files doc
  741. %doc docs/Samba3-Developers-Guide.pdf docs/Samba3-ByExample.pdf
  742. %doc docs/Samba3-HOWTO.pdf
  743. %doc docs/htmldocs
  744. %files -n libsmbclient
  745. %attr(755,root,root) %{_libdir}/libsmbclient.so.*
  746. %attr(755,root,root) %{_libdir}/libsmbsharemodes.so.*
  747. %files -n libsmbclient-devel
  748. %{_includedir}/libsmbclient.h
  749. %{_includedir}/smb_share_modes.h
  750. %{_libdir}/libsmbclient.so
  751. %{_libdir}/libsmbsharemodes.so
  752. %{_libdir}/pkgconfig/smbclient.pc
  753. %{_libdir}/pkgconfig/smbsharemodes.pc
  754. %{_mandir}/man7/libsmbclient.7*
  755. %files -n libtalloc
  756. %attr(755,root,root) %{_libdir}/libtalloc.so.*
  757. %files -n libtalloc-devel
  758. %{_includedir}/talloc.h
  759. %{_libdir}/libtalloc.so
  760. %{_libdir}/pkgconfig/talloc.pc
  761. %files -n libtdb
  762. %attr(755,root,root) %{_libdir}/libtdb.so.*
  763. %files -n libtdb-devel
  764. %{_includedir}/tdb.h
  765. %{_libdir}/libtdb.so
  766. %{_libdir}/pkgconfig/tdb.pc
  767. %files -n tdb-tools
  768. %{_bindir}/tdbbackup
  769. %{_bindir}/tdbdump
  770. %{_bindir}/tdbtool
  771. %{_mandir}/man8/tdbbackup.8*
  772. %{_mandir}/man8/tdbdump.8*
  773. %{_mandir}/man8/tdbtool.8*
  774. %files domainjoin-gui
  775. %{_sbindir}/netdomjoin-gui
  776. %dir %{_datadir}/pixmaps/samba
  777. %{_datadir}/pixmaps/samba/samba.ico
  778. %{_datadir}/pixmaps/samba/logo.png
  779. %{_datadir}/pixmaps/samba/logo-small.png
  780. %if %build_compat32
  781. %files -n compat32-%{name}-winbind
  782. %attr(755,root,root) %{_libdir}/libwbclient.so.*
  783. %files -n compat32-libsmbclient
  784. %attr(755,root,root) %{_libdir}/libsmbclient.so.*
  785. %attr(755,root,root) %{_libdir}/libsmbsharemodes.so.*
  786. %files -n compat32-libtalloc
  787. %attr(755,root,root) %{_libdir}/libtalloc.so.*
  788. %files -n compat32-libtdb
  789. %attr(755,root,root) %{_libdir}/libtdb.so.*
  790. %endif
  791. %changelog
  792. * Sun Feb 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
  793. - add patch1000 for fix CVE-2010-0547 (cifs.mount)
  794. * Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
  795. - new upstream release.
  796. * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
  797. - added 'Packager' tag.
  798. * Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
  799. - new upstream release.
  800. - added '--disable-fam' option.
  801. - added 'compat32-*' subpackages.
  802. - added 'libuuid-devel' to 'BuildRequires:'.
  803. * Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
  804. - new upstream release.
  805. * Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
  806. - new upstream release.
  807. * Thu Jun 4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
  808. - increased release number for libtalloc/libtdb.
  809. * Tue Jun 2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
  810. - fixed dependency.
  811. - fixed modulepath.
  812. * Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
  813. - new upstream release.
  814. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
  815. - rebuilt with openldap-2.4.11
  816. * Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
  817. - samba-doc: changed Group to Applications/Documentation
  818. - samba-winbind-devel: changed Group to Development/Libraries
  819. - libsmbclient: changed Group to System Environment/Libraries
  820. - libsmbclient-devel: changed Group to Development/Libraries
  821. - libtalloc: changed Group to System Environment/Libraries
  822. - libtalloc-devel: changed Group to Development/Libraries
  823. - libtdb: fixed summary
  824. changed Group to System Environment/Libraries
  825. - libtdb-devel: changed Group to Development/Libraries
  826. * Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
  827. - new upstream release
  828. * Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
  829. - new upstream release
  830. - drop jp patch
  831. - use UTF-8 as default charset
  832. - rename samba-libsmbclient to libsmbclient
  833. * Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
  834. - new upstream release.
  835. - remove gamin-devel from BuildRequires: (no longer needed).
  836. * Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
  837. - BuildRequires: gamin-devel (see [wishes:0127])
  838. * Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
  839. - [SECURITY FIX] add security patches (#50-52)
  840. - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
  841. - CVE-2007-2446: multiple heap overflows allow remote code execution
  842. - CVE-2007-2447: remote command injection vulnerability
  843. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
  844. - apply upstream patches (#0-5)
  845. - fix an issues with servers set to "security = share" and Vista clients
  846. that send NTLMv2 responses
  847. - fixe several point-n-print bugs with Vista clients
  848. - fix failure when using the Vista backup utility
  849. - fix expansion of the %a smb.conf variable for Vista clients
  850. - fix MS-DFS referrals with Windows Vista clients
  851. - fix for Vista failing to delete directories on a Samba share
  852. - display service start/stop messages ([VineSeed:13299])
  853. * Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
  854. - [SECURITY FIX] new upstream release
  855. - CVE-2007-0452: potential denial of service bug in smbd
  856. - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
  857. - CVE-2007-0454: format string bug in afsacl.so vfs plugin
  858. * Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
  859. - new upstream release
  860. * Sun Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
  861. - disable swat (via inetd) by default
  862. - fix code for editing %%{_sysconfdir}/inetd.conf
  863. * Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
  864. - fix dependencies:
  865. - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
  866. - drop PreReq: gawk from -client
  867. - drop PreReq: inetd from -swat
  868. - drop Requires: tcp_wrappers from -swat (is needed by inetd)
  869. - fix %%post etc...
  870. - drop code for editing /etc/services: no more needed
  871. - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
  872. from %%triggerin swat -- inetd to %%post swat
  873. - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
  874. * Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
  875. - new upstream release
  876. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
  877. - rebuilt with openldap-2.3.27-0vl1
  878. * Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
  879. - new upstream release
  880. * Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
  881. - new upstream release
  882. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
  883. - [SECURITY] new upstream release
  884. - Memory exhaustion DoS against smbd (CVE-2006-3403)
  885. - update patches
  886. - buildroot.patch (#100)
  887. - logfiles.patch (#103)
  888. - smb.conf.patch (#106)
  889. - update filter-requires-samba.sh (source999)
  890. - get rid of bogus dependency on perl(Unicode::MapUTF8)
  891. * Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
  892. - new upstream release
  893. - renumber patches
  894. - 000- for upstream patches
  895. - 050- for security patches
  896. - 100- for generic patches
  897. - update logfiles.patch (#103)
  898. - drop warning.patch (#104)
  899. - not apply hex.patch (#105)
  900. - add smb.conf.patch (#106)
  901. - drop samba.log (source1), smb.conf (source2)
  902. - use samba.pamd.stack instead of samba.pamd
  903. - define macro: pkgingdir
  904. - add files:
  905. - samba-client
  906. - %%{_bindir}/{smbget,eventlogadm}
  907. - samba-common:
  908. - %%{_bindir}/tdbtool
  909. - separate development files to samba-libsmbclient-devel
  910. - change groups
  911. * Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
  912. - remove unneeded dependencies
  913. - update filter-requires-samba.sh (source999)
  914. - overwrite __find_requires instead of __perl_requires
  915. * Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
  916. - rebuild with readline-5.1
  917. * Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
  918. - separate doc package with %%docpkg
  919. - use %%htmlview instead of %%browser
  920. * Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
  921. - add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
  922. * Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
  923. - new upstream release
  924. - install %%{_sysconfdir}/xinetd.d/swat
  925. - update filter-requires-samba.sh
  926. - add swat.desktop.in instead of swat.desktop
  927. - switch browser by %%browser
  928. - drop i18n patches
  929. - update logfiles.patch (#3)
  930. - add warning.patch (#4)
  931. * Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
  932. - fix samba.log
  933. - thanks, K. Moriyama [VinePlus:02606]
  934. - remove docs/manpages from %%doc
  935. * Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
  936. - new upstream release
  937. - update struplower_m_i18n.patch (#102)
  938. - drop obsolete patch (#10)
  939. * Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
  940. - [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
  941. - add samba-3.0.9-CAN-2004-1154.patch (#10)
  942. - update patch (#102)
  943. * Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
  944. - new upstream release
  945. - drop obsolete patches (#10,11,110)
  946. - update patches (#3,102)
  947. * Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
  948. - [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
  949. - add samba-3.0.7-CAN-2004-0882.patch (patch11)
  950. - update Source URL
  951. * Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
  952. - [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
  953. - add samba-3.0.7-CAN-2004-0930.patch (patch10)
  954. * Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
  955. - update samba.log, {smb,winbind}.init
  956. - use *.log as logfile name instead of log.* (patch3)
  957. * Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
  958. - change directories from %%{_localstatedir}/lock/samba
  959. - LOCKDIR: %%{_localstatedir}/cache/samba
  960. - PIDDIR: %%{_localstatedir}/run
  961. - restart {smb,winbind} at postun (upgrade)
  962. - samba-common
  963. - convert smbpasswd at triggerpostun -- samba < 3.0.7
  964. - add convert_smbpasswd
  965. - add PreReq: gawk
  966. * Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
  967. - add docs_ja (source101) from 3.0.5-16ml
  968. * Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
  969. - new upstream release (shift to 3.0 series)
  970. - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
  971. - drop obsolete paches, configure options
  972. - update buildroot.patch
  973. - add I18N patches (#101-)
  974. - update smb.conf
  975. - add URL
  976. - use more macros
  977. - change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
  978. - move %%{_localstatedir}/log/samba, smbpasswd to samba-common
  979. - move smbspool, smbcacls, rpcclient to samba-client
  980. - update descriptions
  981. * Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
  982. - new upstream release
  983. * Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
  984. - 2.2.11-ja-1.0beta1
  985. - drop patch10
  986. - add BuildPreReq: openssl-devel
  987. - swat
  988. - add PreReq/Requires: inetd
  989. - add swat.desktop
  990. * Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
  991. - fix changelog
  992. * Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
  993. - [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
  994. - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
  995. - add BuildPreReq: cups-devel
  996. - add Prereq: chkconfig mktemp psmisc (instead of each files)
  997. * Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
  998. - new upstream release
  999. * Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
  1000. - 2.2.9-ja-1.0beta1
  1001. - add BuildPreReq: readline-devel
  1002. * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
  1003. - add ldconfig in %%post/%%postun script for libsmbclient
  1004. * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
  1005. - add libsmbclient subpackage.
  1006. * Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
  1007. - new upstream release.
  1008. * Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
  1009. - fix smb.conf (SAMBADOC's path)
  1010. * Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
  1011. - tentatively skip to build examples/VFS on alpha
  1012. * Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
  1013. - new upstream release.
  1014. * Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
  1015. - fix smb.conf
  1016. - fix smbadduser
  1017. * Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
  1018. - new upstream version
  1019. * Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
  1020. - added smbinit-vine.patch
  1021. -- added '-D' option in smbd and nmbd
  1022. * Fri Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
  1023. - New upstream version
  1024. -- security fix.
  1025. * Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1026. - 2.2.7a.ja-1.0vl5
  1027. - merged from SPEC for RH60 by samba-jp.
  1028. * Mon Feb 17 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1029. - 2.2.7a.ja-1.0vl4.beta1
  1030. - fix 'Requires:'.
  1031. * Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1032. - 2.2.7a.ja-1.0vl3.alpha1
  1033. - disable --with-tdbsam.
  1034. * Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1035. - 2.2.7a.ja-1.0vl2.alpha1
  1036. - modify %%post script for new password database.
  1037. * Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1038. - 2.2.7a.ja-1.0vl1.alpha1
  1039. * Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1040. - 2.2.6.ja-1.0vl1.alpha2
  1041. - apply alpha2 patch.
  1042. * Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1043. - 2.2.6.ja-1.0vl1.alpha1
  1044. - remove swat from package 'samba'.
  1045. * Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1046. - 2.2.6.ja-1.0vl0.alpha1
  1047. - enable winbind modules.
  1048. - change numbering rule.
  1049. * Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1050. - 2.2.6_ja_0.alpha1-0vl1
  1051. * Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1052. - 2.2.4_ja_0.alpha1.3-0vl1
  1053. * Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1054. - 2.2.2_ja_1.1-0vl1
  1055. - disable winbind modules (2.2.2 or earlier has critical bugs).
  1056. - modify 'Requires:'.
  1057. * Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1058. - 2.2.2_ja_1.1-0vl0
  1059. - shift sources to 2.2.x.
  1060. - add debugging mode for '%%files' section.
  1061. - modify spec largely because of too many difference between 2.0.x and 2.2.x.
  1062. - . exchange %%prep, %%build, %%install section with samba-jp's spec.
  1063. - . create a package 'samba-swat'.
  1064. - . move smbclient and nmblookup to samba-common.
  1065. - . move testprns to package 'samba' because it's checking tool for
  1066. - server on LOCALHOST.
  1067. - . move '%%post' to '%%post swat'.
  1068. - . disable '%%post common'.
  1069. * Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
  1070. - 2.0.10_ja_1.2
  1071. * Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
  1072. - 2.0.10_ja_1.1-0vl4
  1073. - eliminate executable bit in %%doc to erase perl/sh requirement
  1074. * Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
  1075. - 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
  1076. - patch swat/ja/help/welcome.html to hide some missing matter
  1077. - also remove docs/zh_{CN,TW} files in %%doc
  1078. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
  1079. - for VineSeed
  1080. - deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
  1081. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
  1082. - 2.0.10_ja_1.1
  1083. - for 2.1.x update
  1084. * Fri Aug 17 2001 <sagami@vinelinux.org>
  1085. - 2.0.10_ja_1.0-0vl2
  1086. - remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
  1087. * Mon Jul 09 2001 <sagami@vinelinux.org>
  1088. - 2.0.10_ja_1.0-0vl1: includes secrity fix
  1089. (http://www.samba.org/samba/whatsnew/macroexploit.html)
  1090. - remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
  1091. * Thu May 31 2001 <sagami@vinelinux.org>
  1092. - 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
  1093. - added BuildPreReq = pam-devel for Vine 2.1.5+
  1094. - fixed init script to match our current/old style
  1095. - eliminate CVS related files from %%doc
  1096. * Thu Apr 19 2001 <sagami@vinelinux.org>
  1097. - 2.0.7_ja_2.2-0vl1
  1098. * Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  1099. - 2.0.7_ja_1.3-0vl2
  1100. - rebuilt with readline2
  1101. - use better macros (although not almost complete... needs comfirmation)
  1102. * Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
  1103. - 2.0.7_ja_1.3-0vl1
  1104. * Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  1105. - 2.0.7_ja_1.2.1-0vl2
  1106. - fixed missing Changelog.ja (was Chagelog.ja)
  1107. * Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
  1108. - updated to 2.0.7-ja-1.2.1
  1109. * Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1110. - updated to 2.0.7-ja-1.2
  1111. * Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1112. - added some Japanese documents to %doc
  1113. * Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1114. - updated to 2.0.7-ja-1.0
  1115. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1116. - updated to 2.0.7-ja-0.99
  1117. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1118. - added rpccilent
  1119. - modified tcpdconf for stability.
  1120. * Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1121. - first test release for Vine based on RH6.2 spec file.
  1122. - activated swat in default for only localhost.
  1123. * Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
  1124. - fix trigger, again.
  1125. * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
  1126. - fix trigger.
  1127. * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
  1128. - turn on quota support
  1129. * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
  1130. - rebuild to fox dependencies
  1131. - man pages are compressed
  1132. * Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
  1133. - munge post scripts slightly
  1134. * Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
  1135. - turn on mmap again. Wheee.
  1136. - ship smbmount on alpha
  1137. * Mon Dec 6 1999 Bill Nottingham <notting@redhat.com>
  1138. - turn off mmap. ;)
  1139. * Wed Dec 1 1999 Bill Nottingham <notting@redhat.com>
  1140. - change /var/log/samba to 0700
  1141. - turn on mmap support
  1142. * Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
  1143. - update to 2.0.6
  1144. * Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
  1145. - add a %defattr for -common
  1146. * Tue Oct 5 1999 Bill Nottingham <notting@redhat.com>
  1147. - shift some files into -client
  1148. - remove /home/samba from package.
  1149. * Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
  1150. - initscript oopsie. killproc <name> -HUP, not other way around.
  1151. * Sat Sep 26 1999 Bill Nottingham <notting@redhat.com>
  1152. - script cleanups. Again.
  1153. * Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
  1154. - add a patch to fix dropped reconnection attempts
  1155. * Mon Sep 6 1999 Jeff Johnson <jbj@redhat.com>
  1156. - use cp rather than mv to preserve /etc/services perms (#4938 et al).
  1157. - use mktemp to generate /etc/tmp.XXXXXX file name.
  1158. - add prereqs on sed/mktemp/killall (need to move killall to /bin).
  1159. - fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
  1160. * Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
  1161. - sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
  1162. * Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
  1163. - fix typo in mount.smb
  1164. * Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
  1165. - add a %trigger to work around (sort of) broken scripts in
  1166. previous releases
  1167. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  1168. - initscript munging
  1169. * Mon Aug 9 1999 Bill Nottingham <notting@redhat.com>
  1170. - add domain parsing to mount.smb
  1171. * Fri Aug 6 1999 Bill Nottingham <notting@redhat.com>
  1172. - add a -common package, shuffle files around.
  1173. * Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
  1174. - add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
  1175. * Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
  1176. - update to 2.0.5
  1177. - fix mount.smb - smbmount options changed again.........
  1178. - fix postun. oops.
  1179. - update some stuff from the samba team's spec file.
  1180. * Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
  1181. - split off clients into separate package
  1182. - don't run samba by default
  1183. * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
  1184. - fix one problem with mount.smb script
  1185. - fix smbpasswd on sparc with a really ugly kludge
  1186. * Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
  1187. - fixed logrotate script
  1188. * Tue May 25 1999 Bill Nottingham <notting@redhat.com>
  1189. - turn of 64-bit locking on 32-bit platforms
  1190. * Thu May 20 1999 Bill Nottingham <notting@redhat.com>
  1191. - so many releases, so little time
  1192. - explicitly uncomment 'printing = bsd' in sample config
  1193. * Tue May 18 1999 Bill Nottingham <notting@redhat.com>
  1194. - update to 2.0.4a
  1195. - fix mount.smb arg ordering
  1196. * Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
  1197. - go back to stop/start for restart (-HUP didn't work in testing)
  1198. * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
  1199. - add a mount.smb to make smb mounting a little easier.
  1200. - smb filesystems apparently don't work on alpha. Oops.
  1201. * Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
  1202. - always create codepages
  1203. * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
  1204. - logrotate changes
  1205. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  1206. - auto rebuild in the new build environment (release 3)
  1207. * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
  1208. - updated init script to use graceful restart (not stop/start)
  1209. * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
  1210. - update to 2.0.3
  1211. * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
  1212. - update to 2.0.2
  1213. * Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
  1214. - swat swat
  1215. * Tue Feb 9 1999 Bill Nottingham <notting@redhat.com>
  1216. - fix bash2 breakage in post script
  1217. * Fri Feb 5 1999 Bill Nottingham <notting@redhat.com>
  1218. - update to 2.0.0
  1219. * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
  1220. - make sure all binaries are stripped
  1221. * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
  1222. - update to 1.9.18p10.
  1223. - fix %triggerpostun.
  1224. * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
  1225. - updated postun triggerscript to check $0
  1226. - clear /etc/codepages from %preun instead of %postun
  1227. * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
  1228. - made the %postun script a tad less agressive; no reason to remove
  1229. the logs or lock file (after all, if the lock file is still there,
  1230. samba is still running)
  1231. - the %postun and %preun should only exectute if this is the final
  1232. removal
  1233. - migrated %triggerpostun from Red Hat's samba package to work around
  1234. packaging problems in some Red Hat samba releases
  1235. * Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
  1236. - minor tidy up in preparation for release of 1.9.18p5
  1237. - added findsmb utility from SGI package
  1238. * Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
  1239. - Updated version and codepage info.
  1240. - Release to test name resolve order
  1241. * Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
  1242. - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
  1243. - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
  1244. - Compounded make line
  1245. - Updated smb.init restart mechanism
  1246. - Use compound mkdir -p line instead of individual calls to mkdir
  1247. - Fixed smb.conf file path for log files
  1248. - Fixed smb.conf file path for incoming smb print spool directory
  1249. - Added a number of options to smb.conf file
  1250. - Added smbadduser command (missed from all previous RPMs) - Doooh!
  1251. - Added smbuser file and smb.conf file updates for username map