samba-vl.spec 78 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340
  1. %define samba_version 4.6.6
  2. %define doc_version 4.6.6
  3. %define api_version 4.0
  4. %define libwbc_sover 0.13
  5. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  6. %global with_libsmbclient 1
  7. %global with_libwbclient 1
  8. %global with_internal_talloc 0
  9. %global with_internal_tevent 0
  10. %global with_internal_tdb 0
  11. %global with_internal_ldb 0
  12. %global with_mitkrb5 0
  13. %global with_dc 1
  14. %define _unpackaged_files_terminate_build 1
  15. %global _libexecdir %{_libdir}
  16. %global libwbc_alternatives_suffix %nil
  17. %if 0%{?__isa_bits} == 64
  18. %global libwbc_alternatives_suffix -64
  19. %endif
  20. %define samba_release 1
  21. %define samba_source source3
  22. %global __perl_requires %{SOURCE999}
  23. %global __perllib_requires %{SOURCE999}
  24. %global __perllib_provides %{SOURCE999}
  25. Summary: The Samba Suite of programs
  26. Summary(ja): Samba スイート
  27. Name: samba
  28. Version: %{samba_version}
  29. Release: %{samba_release}%{?_dist_release}
  30. License: GPLv3+
  31. Group: System Environment/Daemons
  32. URL: http://www.samba.org/
  33. %define samba_includedir %{_includedir}/samba-%{api_version}
  34. Source: http://www.samba.org/samba/ftp/samba-%{version}.tar.gz
  35. # Vine specific replacement-files
  36. Source1: samba.log
  37. Source2: samba-ja-docs-%{doc_version}.tar.gz
  38. Source5: pam_winbind.conf
  39. Source6: samba.pamd
  40. Source100: nmb.init
  41. Source101: smb.init
  42. Source102: winbind.init
  43. Source200: samba4.init
  44. Source201: named.conf.dlz
  45. Source999: perl-requires.sh
  46. Requires: /sbin/chkconfig /bin/mktemp /usr/bin/killall
  47. Requires: fileutils sed /etc/init.d
  48. Requires: logrotate
  49. Requires: libaio
  50. Requires: %{name}-common = %{samba_version}-%{release}
  51. Requires: %{name}-libs = %{samba_version}-%{release}
  52. Requires(pre): %{name}-common = %{samba_version}-%{release}
  53. Conflicts: samba < %{version}
  54. Provides: samba = %{version}
  55. BuildRoot: %{_tmppath}/%{name}-%{samba_version}-%{release}-root
  56. Requires(post): /sbin/chkconfig, /sbin/service
  57. Requires(preun): /sbin/chkconfig, /sbin/service
  58. BuildRequires: avahi-devel
  59. BuildRequires: ctdb-devel
  60. BuildRequires: cups-devel
  61. BuildRequires: cyrus-sasl-devel
  62. BuildRequires: docbook-style-xsl
  63. BuildRequires: docbook-utils
  64. BuildRequires: e2fsprogs-devel
  65. BuildRequires: coreutils
  66. BuildRequires: gdb
  67. BuildRequires: gettext
  68. BuildRequires: gnutls-devel
  69. BuildRequires: keyutils-libs-devel
  70. BuildRequires: krb5-devel
  71. BuildRequires: krb5-workstation
  72. BuildRequires: ldb-tools
  73. BuildRequires: libacl-devel
  74. BuildRequires: libaio-devel
  75. BuildRequires: libattr-devel
  76. BuildRequires: libblkid-devel
  77. BuildConflicts: libbsd-devel
  78. BuildRequires: libcap-devel
  79. BuildRequires: libidn-devel
  80. BuildRequires: libldb-devel >= 1.1.25
  81. BuildRequires: libpcap-devel
  82. BuildRequires: libtevent-devel
  83. BuildRequires: libuuid-devel
  84. BuildRequires: libxml2-devel
  85. BuildRequires: libxslt
  86. BuildRequires: ncurses-devel
  87. BuildRequires: net-tools
  88. BuildRequires: openldap-devel
  89. BuildRequires: pam-devel
  90. BuildRequires: perl(ExtUtils::MakeMaker)
  91. BuildRequires: perl(Parse::Yapp)
  92. BuildRequires: pkgconfig
  93. BuildRequires: popt-devel
  94. BuildRequires: pyldb-devel
  95. BuildRequires: pytalloc-devel
  96. BuildRequires: python-devel
  97. BuildRequires: python-tdb
  98. BuildRequires: python-tevent
  99. BuildRequires: readline-devel
  100. BuildRequires: sqlite-devel
  101. BuildRequires: zlib-devel
  102. #BuildRequires: libuuid-devel
  103. BuildConflicts: compat32-zlib-devel.32bit
  104. BuildConflicts: compat32-libuuid.32bit
  105. BuildConflicts: compat32-libuuid-devel.32bit
  106. # Working around perl dependency problem from docs
  107. #define __perl_requires %{SOURCE999}
  108. Vendor: Project Vine
  109. Distribution: Vine Linux
  110. Packager: tomop
  111. %description
  112. Samba is the standard Windows interoperability suite of programs
  113. for Linux and Unix.
  114. %description -l ja
  115. SambaはLinux・UNIX用の、Windowsとの標準的な相互運用性ソフトウェア群です。
  116. ## --------------------------------------------------------------------
  117. %package client
  118. Summary: Samba client programs
  119. Summary(ja): Samba クライアントプログラム
  120. Group: Applications/System
  121. Requires: samba-common = %{samba_version}-%{release}
  122. Obsoletes: smbfs
  123. Conflicts: %{name}-client < %{samba_version}
  124. Provides: samba-client = %{samba_version}
  125. %description client
  126. The samba-client package provides some SMB/CIFS clients to complement
  127. the built-in SMB/CIFS filesystem in Linux. These clients allow access
  128. of SMB/CIFS shares and printing to SMB/CIFS printers.
  129. %description client -l ja
  130. samba-client は Linux カーネルがサポートしている SMB ファイルシステム
  131. 機能を操作する SMB クライアントを提供します。
  132. これらは SMB 共有のアクセスと SMB プリンタへの印刷を実現します。
  133. ## --------------------------------------------------------------------
  134. %package libs
  135. Summary: Samba libraries
  136. Summary(ja): Samba ライブラリ
  137. Group: System Environment/Libraries
  138. %if %with_libwbclient
  139. Requires: libwbclient
  140. %endif
  141. %description libs
  142. The samba4-libs package contains the libraries needed by programs that
  143. link against the SMB, RPC and other protocols provided by the Samba suite.
  144. ## --------------------------------------------------------------------
  145. %package python
  146. Summary: Samba Python libraries
  147. Summary(ja): Python 向け Samba ライブラリ
  148. Group: System Environment/Libraries
  149. Requires: %{name}-libs = %{samba_version}
  150. %description python
  151. The samba4-python package contains the Python libraries needed by programs
  152. that use SMB, RPC and other Samba provided protocols in Python programs.
  153. ## --------------------------------------------------------------------
  154. %package devel
  155. Summary: Developer tools for Samba libraries
  156. Summary(ja): Samba ライブラリの開発用ファイル
  157. Group: Development/Libraries
  158. Requires: %{name}-libs = %{samba_version}-%{release}
  159. Conflicts: samba-devel < %{samba_version}
  160. Provides: samba-devel = %{samba_version}
  161. %description devel
  162. The samba4-devel package contains the header files for the libraries
  163. needed to develop programs that link against the SMB, RPC and other
  164. libraries in the Samba suite.
  165. ## --------------------------------------------------------------------
  166. %package pidl
  167. Summary: Perl IDL compiler
  168. Group: Development/Tools
  169. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  170. %description pidl
  171. The samba4-pidl package contains the Perl IDL compiler used by Samba
  172. and Wireshark to parse IDL and similar protocols
  173. ## --------------------------------------------------------------------
  174. %package common
  175. Summary: Files used by both Samba servers and clients
  176. Summary(ja): Samba サーバーとクライアントの両方に使用されるファイル
  177. Group: System Environment/Libraries
  178. Conflicts: samba-common < %{samba_version}
  179. Provides: samba-common = %{samba_version}-%{release}
  180. Requires: %{name}-libs = %{samba_version}-%{release}
  181. Requires: pam
  182. Requires(pre): /usr/sbin/groupadd
  183. Requires(post): /sbin/chkconfig, /sbin/service, coreutils, acl
  184. Requires(preun): /sbin/chkconfig, /sbin/service
  185. Obsoletes: samba-swat < 4.1.0
  186. %description common
  187. Samba-common provides files necessary for both the server and client
  188. packages of Samba.
  189. %description common -l ja
  190. samba-common は Samba のサーバーとクライアントの両方のパッケージで
  191. 使用される共通のファイルを提供します。
  192. ## --------------------------------------------------------------------
  193. %package test
  194. Summary: Testing tools for Samba servers and clients
  195. Group: Applications/System
  196. %description test
  197. samba4-test provides testing tools for both the server and client
  198. packages of Samba.
  199. ## --------------------------------------------------------------------
  200. %package winbind
  201. Summary: Samba winbind
  202. Group: System Environment/Daemons
  203. Conflicts: samba-winbind < %{samba_version}
  204. Provides: samba-winbind = %{samba_version}
  205. Requires: samba-common = %{samba_version}-%{release}
  206. Requires(pre): /usr/sbin/groupadd
  207. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  208. Requires(preun): /sbin/chkconfig, /sbin/service
  209. %description winbind
  210. The samba-winbind package provides the winbind daemon, a NSS library, a PAM
  211. module and some client tools. Winbind enables Linux to be a full member in
  212. Windows domains and to use Windows user and group accounts on Linux.
  213. ## --------------------------------------------------------------------
  214. %package winbind-krb5-locator
  215. Summary: Samba winbind krb5 locator
  216. Group: Applications/System
  217. Requires: %{name}-winbind-clients = %{samba_version}-%{release}
  218. Conflicts: samba-winbind-krb5-locator < %{samba_version}
  219. Provides: samba-winbind-krb5-locator = %{samba_version}-%{release}
  220. %description winbind-krb5-locator
  221. The winbind krb5 locator is a plugin for the system kerberos library
  222. to allow the local kerberos library to use the same KDC as samba and
  223. winbind use
  224. ## --------------------------------------------------------------------
  225. %package winbind-clients
  226. Summary: Samba winbind clients
  227. Group: Applications/System
  228. Conflicts: samba-winbind-clients < %{samba_version}
  229. Provides: samba-winbind-clients = %{samba_version}
  230. %description winbind-clients
  231. The %{name}-winbind-clients package provides the NSS library and a PAM
  232. module necessary to communicate to the Winbind Daemon
  233. ## --------------------------------------------------------------------
  234. %package -n libsmbclient
  235. Summary: The SMB client library
  236. Summary(ja): SMB クライアントライブラリ
  237. Group: System Environment/Libraries
  238. Requires: %{name}-common = %{samba_version}
  239. Conflicts: libsmbclient < %{samba_version}
  240. Provides: libsmbclient = %{samba_version}
  241. %description -n libsmbclient
  242. The libsmbclient contains the SMB client library from the Samba suite.
  243. %description -n libsmbclient -l ja
  244. libsmbclient は Samba クライアントの機能を提供するライブラリを
  245. 提供します。
  246. ## --------------------------------------------------------------------
  247. %package -n libsmbclient-devel
  248. Summary: Developer tools for the SMB client library
  249. Summary(ja): SMB クライアントライブラリ開発用ファイル
  250. Group: Development/Libraries
  251. Requires: libsmbclient = %{samba_version}
  252. Conflicts: libsmbclient-devel < %{samba_version}
  253. Provides: libsmbclient-devel = %{samba_version}
  254. %description -n libsmbclient-devel
  255. The libsmbclient-devel package contains the header files and libraries
  256. needed to develop programs that link against the SMB client library
  257. in the Samba suite.
  258. %description -n libsmbclient-devel -l ja
  259. libsmbclient-devel は Samba クライアントの機能を提供するライブラリを
  260. 使ったアプリケーションを開発するためのファイルを提供します。
  261. ## --------------------------------------------------------------------
  262. %if %with_libwbclient
  263. %package -n libwbclient
  264. Summary: The winbind client library
  265. Summary(ja): Winbind クライアントライブラリ
  266. Group: System Environment/Libraries
  267. %description -n libwbclient
  268. The libwbclient package contains the winbind client library from
  269. the Samba suite.
  270. ## --------------------------------------------------------------------
  271. %package -n libwbclient-devel
  272. Summary: Developer tools for the winbind library
  273. Summary(ja): Winbind ライブラリの開発用ファイル
  274. Group: Development/Libraries
  275. Requires: libwbclient = %{samba_version}-%{release}
  276. %description -n libwbclient-devel
  277. The libwbclient-devel package provides developer tools for the wbclient
  278. library.
  279. %endif # with_libwbclient
  280. ## --------------------------------------------------------------------
  281. %package dc
  282. Summary: Samba AD Domain Controller
  283. Group: Applications/System
  284. Requires: %{name} = %{samba_version}-%{release}
  285. Requires: %{name}-winbind = %{samba_version}-%{release}
  286. Requires: %{name}-client = %{samba_version}-%{release}
  287. Requires: %{name}-python = %{samba_version}-%{release}
  288. Requires(post): /sbin/chkconfig, /sbin/service, acl
  289. %description dc
  290. The %{name}-dc package provides AD Domain Controller functionality
  291. ## --------------------------------------------------------------------
  292. %package dc-libs
  293. Summary: Samba AD Domain Controller Libraries
  294. Summary(ja): Samba AD ドメインコントローラ ライブラリ
  295. Group: System Environment/Libraries
  296. Requires: %{name}-libs = %{samba_version}
  297. %description dc-libs
  298. The samba-dc-libs package contains the libraries needed by the DC to
  299. link against the SMB, RPC and other protocols.
  300. ## --------------------------------------------------------------------
  301. %if %build_compat32
  302. %package -n compat32-samba-libs
  303. Summary: Samba libraries
  304. Summary(ja): Samba ライブラリ
  305. Group: System Environment/Libraries
  306. %if %with_libwbclient
  307. Requires: libwbclient
  308. %endif
  309. %description -n compat32-samba-libs
  310. The samba4-libs package contains the libraries needed by programs that
  311. link against the SMB, RPC and other protocols provided by the Samba suite.
  312. ## --------------------------------------------------------------------
  313. %package -n compat32-libsmbclient
  314. Summary: The SMB client library
  315. Summary(ja): SMB クライアントライブラリ
  316. Group: System Environment/Libraries
  317. Requires: samba-common = %{samba_version}-%{release}
  318. %description -n compat32-libsmbclient
  319. The libsmbclient contains the SMB client library from the Samba suite.
  320. %description -n compat32-libsmbclient -l ja
  321. libsmbclient は Samba クライアントの機能を提供するライブラリを
  322. 提供します。
  323. ## --------------------------------------------------------------------
  324. %package -n compat32-libwbclient
  325. Summary: The winbind client library
  326. Summary(ja): Winbind クライアントライブラリ
  327. Group: System Environment/Libraries
  328. Requires: samba-common = %{samba_version}-%{release}
  329. Requires(pre): /usr/sbin/groupadd
  330. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  331. Requires(preun): /sbin/chkconfig, /sbin/service
  332. %description -n compat32-libwbclient
  333. The libwbclient package contains the winbind client library from
  334. the Samba suite.
  335. %endif
  336. ## ====================================================================
  337. %prep
  338. %setup -q -n samba-%{samba_version}
  339. mkdir -p docs-ja
  340. pushd docs-ja
  341. tar zxf %{SOURCE2}
  342. popd
  343. perl -pi -e 's|/usr/local/samba/var/|/var/log/samba/|' packaging/RHEL/setup/smb.conf
  344. ## ====================================================================
  345. %build
  346. %global _talloc_lib ,!talloc,!pytalloc,!pytalloc-util
  347. %global _tevent_lib ,!tevent,!pytevent
  348. %global _tdb_lib ,!tdb,!pytdb
  349. %global _ldb_lib ,!ldb,!pyldb
  350. %global _samba4_libraries heimdal,!zlib,!ctdb,!popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib}
  351. %global _samba4_idmap_modules idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2
  352. %global _samba4_pdb_modules pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4
  353. %global _samba4_auth_modules auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4
  354. %global _samba4_modules %{_samba4_idmap_modules},%{_samba4_pdb_modules},%{_samba4_auth_modules}
  355. %global _libsmbclient %nil
  356. %global _libwbclient %nil
  357. %if ! %with_libsmbclient
  358. %global _libsmbclient smbclient,
  359. %endif
  360. %if ! %with_libwbclient
  361. %global _libwbclient wbclient,
  362. %endif
  363. %global _samba4_private_libraries %{_libsmbclient}%{_libwbclient}
  364. sed \
  365. -e 's|@PROG_CMD@|%{_sbindir}\/samba|g' \
  366. -e 's|@SAMBA_PID@|%{_var}\/run\/samba/samba\.pid|g' \
  367. %{SOURCE200} > samba4.init
  368. make distclean
  369. ##export PATH=$PATH:$PWD/buildtools/bin
  370. LDFLAGS="-Wl,-z,relro,-z,now" \
  371. %configure \
  372. --enable-fhs \
  373. --enable-gnutls \
  374. --bundled-libraries=%{_samba4_libraries} \
  375. --with-shared-modules=%{_samba4_modules} \
  376. --with-pam \
  377. --without-fam \
  378. --disable-rpath-install \
  379. --with-cachedir=/var/lib/samba \
  380. --with-configdir=%{_sysconfdir}/samba \
  381. --with-lockdir=/var/lib/samba \
  382. --with-logfilebase=/var/log/samba \
  383. --with-modulesdir=%{_libdir}/samba \
  384. --with-pammodulesdir=%{_lib}/security \
  385. --with-piddir=/var/run/samba \
  386. --with-privatedir=/var/lib/samba/private \
  387. --with-sockets-dir=/var/run/samba
  388. # --bundled-libraries=NONE \
  389. # --with-system-mitkrb5 \
  390. # --with-cluster-support \
  391. # try and build the manpages
  392. #./release-scripts/build-manpages-nogit
  393. make %{?_smp_mflags}
  394. # Remove some permission bits to avoid to many dependencies
  395. find examples docs-xml -type f | xargs -r chmod -x
  396. ## ====================================================================
  397. %install
  398. rm -rf %{buildroot}
  399. make %{?_smp_mflags} install DESTDIR=%{buildroot}
  400. # Create the target build directory hierarchy
  401. mkdir -p %{buildroot}%{samba_includedir}
  402. mkdir -p %{buildroot}%{_initrddir}
  403. mkdir -p %{buildroot}%{_sysconfdir}/{pam.d,samba,logrotate.d}
  404. mkdir -p %{buildroot}%{_sysconfdir}/{samba,security,sysconfig}
  405. mkdir -p %{buildroot}%{_sysconfdir}/xinetd.d
  406. mkdir -p %{buildroot}/%{_libdir}/krb5/plugins/libkrb5
  407. install -d -m 0755 %{buildroot}/usr/{sbin,bin}
  408. install -d -m 0755 %{buildroot}%{_libdir}/security
  409. install -d -m 0755 %{buildroot}/var/lib/samba
  410. install -d -m 0755 %{buildroot}/var/lib/samba/msg
  411. install -d -m 0755 %{buildroot}/var/lib/samba/private
  412. install -d -m 0755 %{buildroot}/var/lib/samba/winbindd_privileged
  413. install -d -m 0755 %{buildroot}/var/lib/samba/scripts
  414. install -d -m 0755 %{buildroot}/var/lib/samba/sysvol
  415. install -d -m 0755 %{buildroot}/var/log/samba/old
  416. install -d -m 0755 %{buildroot}/var/run/samba
  417. install -d -m 0755 %{buildroot}/var/run/winbindd
  418. install -d -m 0755 %{buildroot}/var/spool/samba
  419. install -d -m 0755 %{buildroot}/%{_libdir}/samba
  420. install -d -m 0755 %{buildroot}/%{_libdir}/pkgconfig
  421. # initscripts
  422. install -m755 %{SOURCE100} %{buildroot}%{_initrddir}/nmb
  423. install -m755 %{SOURCE101} %{buildroot}%{_initrddir}/smb
  424. install -m755 %{SOURCE102} %{buildroot}%{_initrddir}/winbind
  425. install -m755 samba4.init %{buildroot}%{_initrddir}/samba
  426. # pam
  427. install -m644 %{SOURCE6} %{buildroot}%{_sysconfdir}/pam.d/samba
  428. # Move libwbclient.so* into private directory, it cannot be just libdir/samba
  429. # because samba uses rpath with this directory.
  430. install -d -m 0755 %{buildroot}/%{_libdir}/samba/wbclient
  431. mv %{buildroot}/%{_libdir}/libwbclient.so* %{buildroot}/%{_libdir}/samba/wbclient
  432. # Install other stuff
  433. install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/samba
  434. install -m644 packaging/RHEL/setup/smb.conf %{buildroot}%{_sysconfdir}/samba/smb.conf
  435. install -d -m 0755 %{buildroot}%{_sysconfdir}/security
  436. install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf
  437. echo 127.0.0.1 localhost > %{buildroot}%{_sysconfdir}/samba/lmhosts
  438. # openLDAP database schema
  439. install -d -m 0755 %{buildroot}%{_sysconfdir}/openldap/schema
  440. install -m644 examples/LDAP/samba.schema %{buildroot}%{_sysconfdir}/openldap/schema/samba.schema
  441. install -m 0744 packaging/printing/smbprint %{buildroot}%{_bindir}/smbprint
  442. #install -d -m 0755 %{buildroot}%{_prefix}/lib/tmpfiles.d/
  443. #install -m644 packaging/systemd/samba.conf.tmp %{buildroot}%{_prefix}/lib/tmpfiles.d/samba.conf
  444. # create /var/run/samba too.
  445. #echo "d /var/run/samba 755 root root" >> %{buildroot}%{_prefix}/lib/tmpfiles.d/samba.conf
  446. #echo "d /var/run/ctdb 755 root root" >> %{buildroot}%{_tmpfilesdir}/ctdb.conf
  447. install -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig
  448. install -m 0644 packaging/RHEL/setup/samba.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/samba
  449. #install -m 0644 ctdb/config/ctdb.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/ctdb
  450. #install -m 0644 %{SOURCE201} packaging/README.downgrade
  451. # winbind krb5 locator
  452. install -d -m 0755 %{buildroot}%{_libdir}/krb5/plugins/libkrb5
  453. touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
  454. # This makes the right links, as rpmlint requires that
  455. # the ldconfig-created links be recorded in the RPM.
  456. /sbin/ldconfig -N -n %{buildroot}%{_libdir}
  457. rm -rf docs-ja
  458. mkdir -p docs-ja
  459. pushd docs-ja
  460. tar zxf %{SOURCE2}
  461. popd
  462. find docs-ja/docs-xml/output/manpages/ -type f| while read f; do
  463. c=`echo -n $f | sed -e 's,^.*\.,,'`
  464. gzip -9 $f
  465. mkdir -p %{buildroot}%{_mandir}/ja/man$c
  466. cp -f $f.gz %{buildroot}%{_mandir}/ja/man$c/
  467. done
  468. ## ====================================================================
  469. %clean
  470. rm -rf %{buildroot}
  471. %pre
  472. if [ "$1" -eq "2" ]; then
  473. PREV=`/usr/sbin/smbd -V 2>/dev/null | sed -e 's/^Version \([0-9]*\)\..*$/\1/'`
  474. if [ "x$PREV" == "x3" ]; then
  475. /sbin/service smb stop >/dev/null 2>&1 || :
  476. /sbin/service nmb stop >/dev/null 2>&1 || :
  477. cp -af %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.samba3
  478. cp -af /var/lib/samba /var/lib/samba3
  479. echo "Samba is upgraded from version 3.x to 4.x and daemons are stopped."
  480. echo "Please check and update configurations."
  481. echo
  482. echo "The old files are copied:"
  483. echo " /etc/samba/smb.conf -> /etc/samba/smb.conf.samba3"
  484. echo " /var/lib/samba -> /var/lib/samba3"
  485. echo
  486. fi
  487. fi
  488. ## ====================================================================
  489. %post
  490. if [ $1 -eq 1 ]; then # Install
  491. # chkconfig
  492. /sbin/chkconfig --add smb
  493. /sbin/chkconfig --add nmb
  494. fi
  495. if [ $1 -ge 2 ]; then # Upgrade
  496. /sbin/service smb condrestart >/dev/null 2>&1 || :
  497. /sbin/service nmb condrestart >/dev/null 2>&1 || :
  498. fi
  499. exit 0
  500. ## --------------------------------------------------------------------
  501. %preun
  502. if [ $1 = 0 ] ; then
  503. /sbin/service smb stop >/dev/null 2>&1 || :
  504. /sbin/service nmb stop >/dev/null 2>&1 || :
  505. /sbin/service samba stop >/dev/null 2>&1 || :
  506. /sbin/chkconfig --del smb
  507. /sbin/chkconfig --del nmb
  508. /sbin/chkconfig --del samba
  509. # rm -rf /var/log/samba/* /var/lib/samba/*
  510. fi
  511. exit 0
  512. ## --------------------------------------------------------------------
  513. %pre winbind
  514. /usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
  515. ## --------------------------------------------------------------------
  516. %post winbind
  517. /sbin/chkconfig --add winbind
  518. if [ "$1" -ge "1" ]; then
  519. /sbin/service winbind condrestart >/dev/null 2>&1 || :
  520. fi
  521. ## --------------------------------------------------------------------
  522. %post dc
  523. if [ $1 -eq 1 ]; then # Install
  524. # modify named.conf.dlz for DLZ configuration if version 9.9.0 or later
  525. if [ -f /usr/sbin/named ]; then
  526. bind_minor_ver=$(named -v | sed -e "s|^BIND \([.0-9]*\)|\1|" | cut -d "." -f 2)
  527. if [ $bind_minor_ver -gt 8 ]; then
  528. cat %{_datadir}/samba/setup/named.conf.dlz \
  529. | sed -e "s|\(database.*dlz_bind9.so\)|# \1|" > %{_datadir}/samba/setup/named.conf.dlz9
  530. cat %{_datadir}/samba/setup/named.conf.dlz9 > %{_datadir}/samba/setup/named.conf.dlz
  531. rm %{_datadir}/samba/setup/named.conf.dlz9
  532. fi
  533. fi
  534. /sbin/chkconfig --add samba
  535. # rename original smb.conf for provisioning
  536. if [ -f /etc/samba/smb.conf ]; then
  537. mv -f %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.old
  538. fi
  539. fi
  540. setfacl -m u:named:rwx /var/lib/samba/private >/dev/null 2>/dev/null || :
  541. if [ -d /var/lib/samba/private/tls ]; then
  542. chmod 0700 /var/lib/samba/private/tls
  543. fi
  544. if [ -f /var/lib/samba/private/tls/key.pem ]; then
  545. chmod 0600 /var/lib/samba/private/tls/key.pem
  546. fi
  547. if [ $1 -ge 2 ]; then # Upgrade
  548. if [ -f /var/run/samba/samba.pid ]; then
  549. /sbin/service samba restart >/dev/null 2>&1 || :
  550. fi
  551. fi
  552. ## --------------------------------------------------------------------
  553. %post common
  554. /sbin/ldconfig
  555. setfacl -m u:named:rwx /var/lib/samba/private >/dev/null 2>/dev/null || :
  556. ## --------------------------------------------------------------------
  557. %preun winbind
  558. if [ $1 = 0 ] ; then
  559. /sbin/service winbind stop >/dev/null 2>&1 || :
  560. /sbin/chkconfig --del winbind
  561. fi
  562. exit 0
  563. ## --------------------------------------------------------------------
  564. %postun common
  565. /sbin/ldconfig
  566. ## --------------------------------------------------------------------
  567. %post libs
  568. /sbin/ldconfig
  569. ## --------------------------------------------------------------------
  570. %postun libs
  571. /sbin/ldconfig
  572. ## --------------------------------------------------------------------
  573. %post -n libsmbclient
  574. /sbin/ldconfig
  575. ## --------------------------------------------------------------------
  576. %postun -n libsmbclient
  577. /sbin/ldconfig
  578. ## --------------------------------------------------------------------
  579. %posttrans -n libwbclient
  580. # It has to be posttrans here to make sure all files of a previous version
  581. # without alternatives support are removed
  582. %{_sbindir}/update-alternatives --install %{_libdir}/libwbclient.so.%{libwbc_sover} \
  583. libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover} 10
  584. /sbin/ldconfig
  585. ## --------------------------------------------------------------------
  586. %preun -n libwbclient
  587. %{_sbindir}/update-alternatives --remove libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover}
  588. /sbin/ldconfig
  589. ## --------------------------------------------------------------------
  590. %posttrans -n libwbclient-devel
  591. %{_sbindir}/update-alternatives --install %{_libdir}/libwbclient.so \
  592. libwbclient.so%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so 10
  593. ## --------------------------------------------------------------------
  594. %preun -n libwbclient-devel
  595. # alternatives checks if the file which should be removed is a link or not, but
  596. # not if it points to the /etc/alternatives directory or to some other place.
  597. # When downgrading to a version where alternatives is not used and
  598. # libwbclient.so is a link and not a file it will be removed. The following
  599. # check removes the alternatives files manually if that is the case.
  600. if [ "`readlink %{_libdir}/libwbclient.so`" == "libwbclient.so.%{libwbc_sover}" ]; then
  601. /bin/rm -f /etc/alternatives/libwbclient.so%{libwbc_alternatives_suffix} /var/lib/alternatives/libwbclient.so%{libwbc_alternatives_suffix} 2> /dev/null
  602. else
  603. %{_sbindir}/update-alternatives --remove libwbclient.so%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so
  604. fi
  605. %if %build_compat32
  606. ## --------------------------------------------------------------------
  607. %post -n compat32-libsmbclient
  608. /sbin/ldconfig
  609. ## --------------------------------------------------------------------
  610. %postun -n compat32-libsmbclient
  611. /sbin/ldconfig
  612. ## --------------------------------------------------------------------
  613. %posttrans -n compat32-libwbclient
  614. # It has to be posttrans here to make sure all files of a previous version
  615. # without alternatives support are removed
  616. %{_sbindir}/update-alternatives --install %{_libdir}/libwbclient.so.%{libwbc_sover} \
  617. libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover} 10
  618. /sbin/ldconfig
  619. ## --------------------------------------------------------------------
  620. %preun -n compat32-libwbclient
  621. %{_sbindir}/update-alternatives --remove libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover}
  622. /sbin/ldconfig
  623. %endif
  624. %files
  625. %defattr(-,root,root,-)
  626. %license COPYING
  627. %doc PFIF.txt README README.Coding README.contributing Roadmap VERSION WHATSNEW.txt
  628. %doc docs-ja/docs-xml/output/htmldocs
  629. %{_bindir}/eventlogadm
  630. %{_bindir}/mvxattr
  631. %{_bindir}/smbstatus
  632. %{_sbindir}/nmbd
  633. %{_sbindir}/smbd
  634. %{_libdir}/samba/auth
  635. %{_libdir}/samba/vfs
  636. %config(noreplace) %{_sysconfdir}/logrotate.d/samba
  637. %config(noreplace) %{_sysconfdir}/pam.d/samba
  638. %{_sysconfdir}/openldap/schema/samba.schema
  639. %attr(0700,root,root) %dir /var/log/samba
  640. %attr(0700,root,root) %dir /var/log/samba/old
  641. %attr(1777,root,root) %dir /var/spool/samba
  642. %{_initrddir}/nmb
  643. %{_initrddir}/smb
  644. %{_mandir}/man1/mvxattr.1*
  645. %{_mandir}/man1/smbstatus.1*
  646. %{_mandir}/man7/samba.7*
  647. %{_mandir}/man8/eventlogadm.8*
  648. %{_mandir}/man8/nmbd.8*
  649. %{_mandir}/man8/smbd.8*
  650. %{_mandir}/man8/vfs_acl_tdb.8*
  651. %{_mandir}/man8/vfs_acl_xattr.8*
  652. %{_mandir}/man8/vfs_aio_fork.8*
  653. %{_mandir}/man8/vfs_aio_linux.8*
  654. %{_mandir}/man8/vfs_aio_pthread.8*
  655. %{_mandir}/man8/vfs_audit.8*
  656. %{_mandir}/man8/vfs_btrfs.8*
  657. %{_mandir}/man8/vfs_cacheprime.8*
  658. %{_mandir}/man8/vfs_cap.8*
  659. %{_mandir}/man8/vfs_catia.8*
  660. %{_mandir}/man8/vfs_ceph.8*
  661. %{_mandir}/man8/vfs_commit.8*
  662. %{_mandir}/man8/vfs_crossrename.8*
  663. %{_mandir}/man8/vfs_default_quota.8*
  664. %{_mandir}/man8/vfs_dirsort.8*
  665. %{_mandir}/man8/vfs_extd_audit.8*
  666. %{_mandir}/man8/vfs_fake_perms.8*
  667. %{_mandir}/man8/vfs_fileid.8*
  668. %{_mandir}/man8/vfs_fruit.8*
  669. %{_mandir}/man8/vfs_full_audit.8*
  670. %{_mandir}/man8/vfs_glusterfs.8*
  671. %{_mandir}/man8/vfs_gpfs.8*
  672. %{_mandir}/man8/vfs_linux_xfs_sgid.8*
  673. %{_mandir}/man8/vfs_media_harmony.8*
  674. %{_mandir}/man8/vfs_netatalk.8*
  675. %{_mandir}/man8/vfs_offline.8*
  676. %{_mandir}/man8/vfs_prealloc.8*
  677. %{_mandir}/man8/vfs_preopen.8*
  678. %{_mandir}/man8/vfs_readahead.8*
  679. %{_mandir}/man8/vfs_readonly.8*
  680. %{_mandir}/man8/vfs_recycle.8*
  681. %{_mandir}/man8/vfs_shadow_copy.8*
  682. %{_mandir}/man8/vfs_shadow_copy2.8*
  683. %{_mandir}/man8/vfs_shell_snap.8*
  684. %{_mandir}/man8/vfs_snapper.8*
  685. %{_mandir}/man8/vfs_streams_depot.8*
  686. %{_mandir}/man8/vfs_streams_xattr.8*
  687. %{_mandir}/man8/vfs_syncops.8*
  688. %{_mandir}/man8/vfs_time_audit.8*
  689. %{_mandir}/man8/vfs_tsmsm.8*
  690. %{_mandir}/man8/vfs_unityed_media.8*
  691. %{_mandir}/man8/vfs_worm.8*
  692. %{_mandir}/man8/vfs_xattr_tdb.8*
  693. # ja manuals
  694. %{_mandir}/ja/man1/mvxattr.1*
  695. %{_mandir}/ja/man1/smbstatus.1*
  696. %{_mandir}/ja/man7/samba.7*
  697. %{_mandir}/ja/man8/eventlogadm.8*
  698. %{_mandir}/ja/man8/nmbd.8*
  699. %{_mandir}/ja/man8/smbd.8*
  700. %{_mandir}/ja/man8/vfs_acl_tdb.8*
  701. %{_mandir}/ja/man8/vfs_acl_xattr.8*
  702. %{_mandir}/ja/man8/vfs_aio_fork.8*
  703. %{_mandir}/ja/man8/vfs_aio_linux.8*
  704. %{_mandir}/ja/man8/vfs_aio_pthread.8*
  705. %{_mandir}/ja/man8/vfs_audit.8*
  706. %{_mandir}/ja/man8/vfs_btrfs.8*
  707. %{_mandir}/ja/man8/vfs_cacheprime.8*
  708. %{_mandir}/ja/man8/vfs_cap.8*
  709. %{_mandir}/ja/man8/vfs_catia.8*
  710. %{_mandir}/ja/man8/vfs_ceph.8*
  711. %{_mandir}/ja/man8/vfs_commit.8*
  712. %{_mandir}/ja/man8/vfs_crossrename.8*
  713. %{_mandir}/ja/man8/vfs_default_quota.8*
  714. %{_mandir}/ja/man8/vfs_dirsort.8*
  715. %{_mandir}/ja/man8/vfs_extd_audit.8*
  716. %{_mandir}/ja/man8/vfs_fake_perms.8*
  717. %{_mandir}/ja/man8/vfs_fileid.8*
  718. %{_mandir}/ja/man8/vfs_fruit.8*
  719. %{_mandir}/ja/man8/vfs_full_audit.8*
  720. %{_mandir}/ja/man8/vfs_glusterfs.8*
  721. %{_mandir}/ja/man8/vfs_gpfs.8*
  722. %{_mandir}/ja/man8/vfs_linux_xfs_sgid.8*
  723. %{_mandir}/ja/man8/vfs_media_harmony.8*
  724. %{_mandir}/ja/man8/vfs_netatalk.8*
  725. %{_mandir}/ja/man8/vfs_offline.8*
  726. %{_mandir}/ja/man8/vfs_prealloc.8*
  727. %{_mandir}/ja/man8/vfs_preopen.8*
  728. %{_mandir}/ja/man8/vfs_readahead.8*
  729. %{_mandir}/ja/man8/vfs_readonly.8*
  730. %{_mandir}/ja/man8/vfs_recycle.8*
  731. %{_mandir}/ja/man8/vfs_shadow_copy.8*
  732. %{_mandir}/ja/man8/vfs_shadow_copy2.8*
  733. %{_mandir}/ja/man8/vfs_shell_snap.8*
  734. %{_mandir}/ja/man8/vfs_snapper.8*
  735. %{_mandir}/ja/man8/vfs_streams_depot.8*
  736. %{_mandir}/ja/man8/vfs_streams_xattr.8*
  737. %{_mandir}/ja/man8/vfs_syncops.8*
  738. %{_mandir}/ja/man8/vfs_time_audit.8*
  739. %{_mandir}/ja/man8/vfs_tsmsm.8*
  740. %{_mandir}/ja/man8/vfs_unityed_media.8*
  741. %{_mandir}/ja/man8/vfs_worm.8*
  742. %{_mandir}/ja/man8/vfs_xattr_tdb.8*
  743. %{_mandir}/ja/man8/vfs_zfsacl.8*
  744. ## --------------------------------------------------------------------
  745. %files libs
  746. %defattr(-,root,root)
  747. %{_libdir}/libdcerpc-binding.so.*
  748. %{_libdir}/libdcerpc.so.*
  749. %{_libdir}/libndr-krb5pac.so.*
  750. %{_libdir}/libndr-nbt.so.*
  751. %{_libdir}/libndr-standard.so.*
  752. %{_libdir}/libndr.so.*
  753. %{_libdir}/libnetapi.so.*
  754. %{_libdir}/libsamba-credentials.so.*
  755. %{_libdir}/libsamba-errors.so*
  756. %{_libdir}/libsamba-hostconfig.so.*
  757. %{_libdir}/libsamba-passdb.so.*
  758. %{_libdir}/libsamba-util.so.*
  759. %{_libdir}/libsamdb.so.*
  760. %{_libdir}/libsmbconf.so.*
  761. %{_libdir}/libsmbldap.so.*
  762. %{_libdir}/libtevent-util.so.*
  763. # libraries needed by the public libraries
  764. %dir %{_libdir}/samba
  765. %{_libdir}/samba/libCHARSET3-samba4.so
  766. %{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
  767. %{_libdir}/samba/libMESSAGING-samba4.so
  768. %{_libdir}/samba/libaddns-samba4.so
  769. %{_libdir}/samba/libads-samba4.so
  770. %{_libdir}/samba/libasn1-samba4.so.*
  771. %{_libdir}/samba/libasn1util-samba4.so
  772. %{_libdir}/samba/libauth-sam-reply-samba4.so
  773. %{_libdir}/samba/libauth-samba4.so
  774. %{_libdir}/samba/libauth-unix-token-samba4.so
  775. %{_libdir}/samba/libauth4-samba4.so
  776. %{_libdir}/samba/libauthkrb5-samba4.so
  777. %{_libdir}/samba/libcli-cldap-samba4.so
  778. %{_libdir}/samba/libcli-ldap-common-samba4.so
  779. %{_libdir}/samba/libcli-ldap-samba4.so
  780. %{_libdir}/samba/libcli-nbt-samba4.so
  781. %{_libdir}/samba/libcli-smb-common-samba4.so
  782. %{_libdir}/samba/libcli-spoolss-samba4.so
  783. %{_libdir}/samba/libcliauth-samba4.so
  784. %{_libdir}/samba/libcluster-samba4.so
  785. %{_libdir}/samba/libcmdline-credentials-samba4.so
  786. %{_libdir}/samba/libcom_err-samba4.so*
  787. %{_libdir}/samba/libdb-glue-samba4.so
  788. %{_libdir}/samba/libdbwrap-samba4.so
  789. %{_libdir}/samba/libdcerpc-samba-samba4.so
  790. %{_libdir}/samba/libdcerpc-samba4.so
  791. %{_libdir}/samba/libdfs-server-ad-samba4.so
  792. %{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so
  793. %{_libdir}/samba/libdsdb-module-samba4.so
  794. %{_libdir}/samba/libevents-samba4.so
  795. %{_libdir}/samba/libflag-mapping-samba4.so
  796. %{_libdir}/samba/libgensec-samba4.so
  797. %{_libdir}/samba/libgpo-samba4.so
  798. %{_libdir}/samba/libgse-samba4.so
  799. %{_libdir}/samba/libgssapi-samba4.so.*
  800. %{_libdir}/samba/libhcrypto-samba4.so.*
  801. %{_libdir}/samba/libhdb-samba4.so.*
  802. %{_libdir}/samba/libheimbase-samba4.so.*
  803. %{_libdir}/samba/libhttp-samba4.so
  804. %{_libdir}/samba/libhx509-samba4.so.*
  805. %{_libdir}/samba/libinterfaces-samba4.so
  806. %{_libdir}/samba/libiov-buf-samba4.so
  807. %{_libdir}/samba/libkrb5-samba4.so.*
  808. %{_libdir}/samba/libkrb5samba-samba4.so
  809. %{_libdir}/samba/libldbsamba-samba4.so
  810. %{_libdir}/samba/liblibcli-lsa3-samba4.so
  811. %{_libdir}/samba/liblibcli-netlogon3-samba4.so
  812. %{_libdir}/samba/liblibsmb-samba4.so
  813. %{_libdir}/samba/libmessages-dgm-samba4.so
  814. %{_libdir}/samba/libmessages-util-samba4.so
  815. %{_libdir}/samba/libmsghdr-samba4.so
  816. %{_libdir}/samba/libmsrpc3-samba4.so
  817. %{_libdir}/samba/libnon-posix-acls-samba4.so
  818. %{_libdir}/samba/libndr-samba-samba4.so
  819. %{_libdir}/samba/libndr-samba4.so
  820. %{_libdir}/samba/libnet-keytab-samba4.so
  821. %{_libdir}/samba/libnetif-samba4.so
  822. %{_libdir}/samba/libnpa-tstream-samba4.so
  823. %{_libdir}/samba/libnss-info-samba4.so
  824. %{_libdir}/samba/libposix-eadb-samba4.so
  825. %{_libdir}/samba/libprinting-migrate-samba4.so
  826. %{_libdir}/samba/libprocess-model-samba4.so
  827. %{_libdir}/samba/libregistry-samba4.so
  828. %{_libdir}/samba/libreplace-samba4.so
  829. %{_libdir}/samba/libroken-samba4.so.*
  830. %{_libdir}/samba/libsamba-cluster-support-samba4.so
  831. %{_libdir}/samba/libsamba-debug-samba4.so
  832. %{_libdir}/samba/libsamba-modules-samba4.so
  833. %{_libdir}/samba/libsamba-python-samba4.so
  834. %{_libdir}/samba/libsamba-security-samba4.so
  835. %{_libdir}/samba/libsamba-sockets-samba4.so
  836. %{_libdir}/samba/libsamba3-util-samba4.so
  837. %{_libdir}/samba/libsamdb-common-samba4.so
  838. %{_libdir}/samba/libsecrets3-samba4.so
  839. %{_libdir}/samba/libserver-role-samba4.so
  840. %{_libdir}/samba/libservice-samba4.so
  841. %{_libdir}/samba/libshares-samba4.so
  842. %{_libdir}/samba/libsmb-transport-samba4.so
  843. %{_libdir}/samba/libsmbclient-raw-samba4.so
  844. %{_libdir}/samba/libsmbd-base-samba4.so
  845. %{_libdir}/samba/libsmbd-conn-samba4.so
  846. %{_libdir}/samba/libsmbd-shim-samba4.so
  847. %{_libdir}/samba/libsmbldaphelper-samba4.so
  848. %{_libdir}/samba/libsmbpasswdparser-samba4.so
  849. %{_libdir}/samba/libsocket-blocking-samba4.so
  850. %{_libdir}/samba/libsys-rw-samba4.so
  851. %{_libdir}/samba/libtalloc-report-samba4.so
  852. %{_libdir}/samba/libtdb-wrap-samba4.so
  853. %{_libdir}/samba/libtrusts-util-samba4.so
  854. %{_libdir}/samba/libutil-cmdline-samba4.so
  855. %{_libdir}/samba/libutil-reg-samba4.so
  856. %{_libdir}/samba/libutil-setid-samba4.so
  857. %{_libdir}/samba/libutil-tdb-samba4.so
  858. %{_libdir}/samba/libwind-samba4.so.*
  859. %{_libdir}/samba/libxattr-tdb-samba4.so
  860. %if ! %with_libsmbclient
  861. %{_libdir}/libsmbclient.so.*
  862. %{_libdir}/libsmbsharemodes.so.*
  863. %{_mandir}/man7/libsmbclient.7.gz
  864. # ja manual
  865. %{_mandir}/ja/man7/libsmbclient.7.gz
  866. %endif # ! with_libsmbclient
  867. %if ! %with_libwbclient
  868. %{_libdir}/libwbclient.so.*
  869. %{_libdir}/samba/libwinbind-client.so
  870. %endif # ! with_libwbclient
  871. ## --------------------------------------------------------------------
  872. %files common
  873. %defattr(-,root,root)
  874. #%{_libdir}/samba/charset ???
  875. #%{_sysconfdir}/tmpfiles.d/samba.conf
  876. %{_bindir}/net
  877. %{_bindir}/pdbedit
  878. %{_bindir}/profiles
  879. %{_bindir}/smbcontrol
  880. %{_bindir}/testparm
  881. #%{_datadir}/samba/codepages
  882. %dir /var/run/samba
  883. %dir /var/run/winbindd
  884. %dir /var/lib/samba
  885. %attr(700,root,root) %dir /var/lib/samba/private
  886. %attr(755,root,root) %dir /var/lib/samba/msg
  887. %attr(755,root,root) %dir %{_sysconfdir}/samba
  888. %config(noreplace) %{_sysconfdir}/samba/smb.conf
  889. %config(noreplace) %{_sysconfdir}/samba/lmhosts
  890. %config(noreplace) %{_sysconfdir}/sysconfig/samba
  891. %{_mandir}/man1/profiles.1.gz
  892. %{_mandir}/man1/smbcontrol.1.gz
  893. %{_mandir}/man1/testparm.1.gz
  894. %{_mandir}/man5/lmhosts.5.gz
  895. %{_mandir}/man5/smb.conf.5.gz
  896. %{_mandir}/man8/net.8.gz
  897. %{_mandir}/man8/pdbedit.8.gz
  898. # ja manuals
  899. %{_mandir}/ja/man1/profiles.1.gz
  900. %{_mandir}/ja/man1/smbcontrol.1.gz
  901. %{_mandir}/ja/man1/testparm.1.gz
  902. %{_mandir}/ja/man5/lmhosts.5.gz
  903. %{_mandir}/ja/man5/smb.conf.5.gz
  904. %{_mandir}/ja/man8/net.8.gz
  905. %{_mandir}/ja/man8/pdbedit.8.gz
  906. # common libraries
  907. %{_libdir}/samba/libgenrand-samba4.so
  908. %{_libdir}/samba/libpopt-samba3-samba4.so
  909. %{_libdir}/samba/libserver-id-db-samba4.so
  910. %{_libdir}/samba/libtime-basic-samba4.so
  911. %{_libdir}/samba/pdb
  912. ## --------------------------------------------------------------------
  913. %files dc-libs
  914. %defattr(-,root,root)
  915. # dc
  916. %{_libdir}/libdcerpc-samr.so.*
  917. %{_libdir}/libdcerpc-server.so.*
  918. %{_libdir}/libsamba-policy.so.*
  919. %{_libdir}/samba/libHDB-SAMBA4-samba4.so
  920. %{_libdir}/samba/libdnsserver-common-samba4.so
  921. %{_libdir}/samba/libsamba-net-samba4.so
  922. ## --------------------------------------------------------------------
  923. %files dc
  924. %defattr(-,root,root)
  925. %{_bindir}/samba-tool
  926. %{_sbindir}/samba
  927. %{_sbindir}/samba_kcc
  928. %{_sbindir}/samba_dnsupdate
  929. %{_sbindir}/samba_spnupdate
  930. %{_sbindir}/samba_upgradedns
  931. %{_initrddir}/samba
  932. %{_libdir}/samba/auth/samba4.so
  933. %{_libdir}/samba/bind9
  934. %{_libdir}/samba/gensec
  935. %{_libdir}/samba/libheimntlm-samba4.so.*
  936. %{_libdir}/samba/libkdc-samba4.so.*
  937. %{_libdir}/samba/libpac-samba4.so
  938. %{_libdir}/samba/ldb
  939. %{_libdir}/samba/process_model
  940. %{_libdir}/samba/service
  941. %dir /var/lib/samba/sysvol
  942. %{_datadir}/samba/setup
  943. %{_mandir}/man8/samba.8*
  944. %{_mandir}/man8/samba-tool.8*
  945. # ja manuals
  946. %{_mandir}/ja/man8/samba.8*
  947. %{_mandir}/ja/man8/samba-tool.8*
  948. ## --------------------------------------------------------------------
  949. %files winbind
  950. %defattr(-,root,root)
  951. #%{_bindir}/wbinfo3
  952. %{_libdir}/samba/idmap
  953. %{_libdir}/samba/nss_info
  954. %{_libdir}/samba/libnss-info-samba4.so
  955. %{_libdir}/samba/libidmap-samba4.so
  956. %{_sbindir}/winbindd
  957. %attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged
  958. %config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
  959. %{_mandir}/man5/pam_winbind.conf.5*
  960. %{_mandir}/man8/winbindd.8*
  961. %{_mandir}/man8/idmap_*.8*
  962. #%{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo
  963. %{_initrddir}/winbind
  964. # ja manuals
  965. %{_mandir}/ja/man5/pam_winbind.conf.5*
  966. %{_mandir}/ja/man8/winbindd.8*
  967. %{_mandir}/ja/man8/idmap_*.8*
  968. ## --------------------------------------------------------------------
  969. %files winbind-krb5-locator
  970. %defattr(-,root,root)
  971. %ghost %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
  972. %{_libdir}/winbind_krb5_locator.so
  973. %{_mandir}/man7/winbind_krb5_locator.7*
  974. # ja manual
  975. %{_mandir}/ja/man7/winbind_krb5_locator.7*
  976. ## --------------------------------------------------------------------
  977. %files winbind-clients
  978. %defattr(-,root,root)
  979. %{_bindir}/ntlm_auth
  980. #%{_bindir}/ntlm_auth3
  981. %{_bindir}/wbinfo
  982. %{_libdir}/libnss_winbind.so*
  983. %{_libdir}/libnss_wins.so*
  984. #/%{smb_lib}/libnss_winbind.so.2
  985. #/%{smb_lib}/libnss_wins.so.2
  986. /%{_lib}/security/pam_winbind.so
  987. %{_mandir}/man1/ntlm_auth.1.gz
  988. %{_mandir}/man1/wbinfo.1.gz
  989. %{_mandir}/man8/pam_winbind.8.gz
  990. # ja manuals
  991. %{_mandir}/ja/man1/ntlm_auth.1.gz
  992. %{_mandir}/ja/man1/wbinfo.1.gz
  993. %{_mandir}/ja/man8/pam_winbind.8.gz
  994. ## --------------------------------------------------------------------
  995. %files client
  996. %defattr(-,root,root)
  997. %{_bindir}/cifsdd
  998. %{_bindir}/dbwrap_tool
  999. %{_bindir}/findsmb
  1000. %{_bindir}/nmblookup
  1001. %{_bindir}/oLschema2ldif
  1002. %{_bindir}/regdiff
  1003. %{_bindir}/regpatch
  1004. %{_bindir}/regshell
  1005. %{_bindir}/regtree
  1006. %{_bindir}/rpcclient
  1007. %{_bindir}/samba-regedit
  1008. %{_bindir}/sharesec
  1009. %{_bindir}/smbcacls
  1010. %{_bindir}/smbclient
  1011. %{_bindir}/smbcquotas
  1012. #%{_bindir}/smbfilter
  1013. %{_bindir}/smbget
  1014. #%{_bindir}/findsmg
  1015. #%{_bindir}/smbtar
  1016. #%{_bindir}/smbiconv
  1017. %{_bindir}/smbpasswd
  1018. %{_bindir}/smbprint
  1019. %{_bindir}/smbspool
  1020. %{_bindir}/smbtar
  1021. %{_bindir}/smbtree
  1022. #%{_bindir}/split_tokens
  1023. #%exclude %{_libdir}/samba/libldb-cmdline.so
  1024. %{_libexecdir}/samba/smbspool_krb5_wrapper
  1025. %{_mandir}/man1/dbwrap_tool.1.gz
  1026. %{_mandir}/man1/findsmb.1.gz
  1027. %{_mandir}/man1/log2pcap.1.gz
  1028. %{_mandir}/man1/nmblookup.1.gz
  1029. %{_mandir}/man1/oLschema2ldif.1.gz
  1030. %{_mandir}/man1/regdiff.1.gz
  1031. %{_mandir}/man1/regpatch.1.gz
  1032. %{_mandir}/man1/regshell.1.gz
  1033. %{_mandir}/man1/regtree.1.gz
  1034. %{_mandir}/man1/rpcclient.1.gz
  1035. %{_mandir}/man1/sharesec.1.gz
  1036. %{_mandir}/man1/smbcacls.1.gz
  1037. %{_mandir}/man1/smbclient.1.gz
  1038. %{_mandir}/man1/smbcquotas.1.gz
  1039. %{_mandir}/man1/smbget.1.gz
  1040. %{_mandir}/man1/smbtar.1.gz
  1041. %{_mandir}/man1/smbtree.1.gz
  1042. %{_mandir}/man5/smbgetrc.5.gz
  1043. %{_mandir}/man5/smbpasswd.5.gz
  1044. %{_mandir}/man8/cifsdd.8.gz
  1045. %{_mandir}/man8/samba-regedit.8.gz
  1046. %{_mandir}/man8/smbpasswd.8.gz
  1047. %{_mandir}/man8/smbspool.8.gz
  1048. %{_mandir}/man8/smbspool_krb5_wrapper.8.gz
  1049. #ja manuals
  1050. %{_mandir}/ja/man1/dbwrap_tool.1.gz
  1051. %{_mandir}/ja/man1/findsmb.1.gz
  1052. %{_mandir}/ja/man1/log2pcap.1.gz
  1053. %{_mandir}/ja/man1/nmblookup.1.gz
  1054. %{_mandir}/ja/man1/rpcclient.1.gz
  1055. %{_mandir}/ja/man1/sharesec.1.gz
  1056. %{_mandir}/ja/man1/smbcacls.1.gz
  1057. %{_mandir}/ja/man1/smbclient.1.gz
  1058. %{_mandir}/ja/man1/smbcquotas.1.gz
  1059. %{_mandir}/ja/man1/smbget.1.gz
  1060. %{_mandir}/ja/man1/smbtar.1.gz
  1061. %{_mandir}/ja/man1/smbtree.1.gz
  1062. %{_mandir}/ja/man5/smbgetrc.5.gz
  1063. %{_mandir}/ja/man5/smbpasswd.5.gz
  1064. %{_mandir}/ja/man8/cifsdd.8.gz
  1065. %{_mandir}/ja/man8/samba-regedit.8.gz
  1066. %{_mandir}/ja/man8/smbpasswd.8.gz
  1067. %{_mandir}/ja/man8/smbspool.8.gz
  1068. %{_mandir}/ja/man8/smbspool_krb5_wrapper.8.gz
  1069. ## --------------------------------------------------------------------
  1070. %files test
  1071. %defattr(-,root,root)
  1072. %{_bindir}/gentest
  1073. %{_bindir}/locktest
  1074. %{_bindir}/masktest
  1075. %{_bindir}/ndrdump
  1076. %{_bindir}/smbtorture
  1077. %{_mandir}/man1/gentest.1*
  1078. %{_mandir}/man1/locktest.1*
  1079. %{_mandir}/man1/masktest.1*
  1080. %{_mandir}/man1/ndrdump.1*
  1081. %{_mandir}/man1/smbtorture.1*
  1082. %{_mandir}/man1/vfstest.1*
  1083. %{_libdir}/samba/libdlz-bind9-for-torture-samba4.so
  1084. %{_libdir}/samba/libtorture-samba4.so
  1085. # ja manual
  1086. %{_mandir}/ja/man1/vfstest.1*
  1087. ## --------------------------------------------------------------------
  1088. %files devel
  1089. %defattr(-,root,root)
  1090. %{_includedir}/samba-4.0/charset.h
  1091. %{_includedir}/samba-4.0/core/doserr.h
  1092. %{_includedir}/samba-4.0/core/error.h
  1093. %{_includedir}/samba-4.0/core/hresult.h
  1094. %{_includedir}/samba-4.0/core/ntstatus.h
  1095. %{_includedir}/samba-4.0/core/werror.h
  1096. %{_includedir}/samba-4.0/credentials.h
  1097. %{_includedir}/samba-4.0/dcerpc.h
  1098. %{_includedir}/samba-4.0/domain_credentials.h
  1099. %{_includedir}/samba-4.0/gen_ndr/atsvc.h
  1100. %{_includedir}/samba-4.0/gen_ndr/auth.h
  1101. %{_includedir}/samba-4.0/gen_ndr/dcerpc.h
  1102. %{_includedir}/samba-4.0/gen_ndr/krb5pac.h
  1103. %{_includedir}/samba-4.0/gen_ndr/lsa.h
  1104. %{_includedir}/samba-4.0/gen_ndr/misc.h
  1105. %{_includedir}/samba-4.0/gen_ndr/nbt.h
  1106. %{_includedir}/samba-4.0/gen_ndr/drsblobs.h
  1107. %{_includedir}/samba-4.0/gen_ndr/drsuapi.h
  1108. %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h
  1109. %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h
  1110. %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h
  1111. %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h
  1112. %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h
  1113. %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h
  1114. %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h
  1115. %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h
  1116. %{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h
  1117. %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h
  1118. %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h
  1119. %{_includedir}/samba-4.0/gen_ndr/netlogon.h
  1120. %{_includedir}/samba-4.0/gen_ndr/samr.h
  1121. %{_includedir}/samba-4.0/gen_ndr/security.h
  1122. %{_includedir}/samba-4.0/gen_ndr/server_id.h
  1123. %{_includedir}/samba-4.0/gen_ndr/svcctl.h
  1124. %{_includedir}/samba-4.0/ldb_wrap.h
  1125. %{_includedir}/samba-4.0/lookup_sid.h
  1126. %{_includedir}/samba-4.0/machine_sid.h
  1127. %{_includedir}/samba-4.0/ndr.h
  1128. %dir %{_includedir}/samba-4.0/ndr
  1129. %{_includedir}/samba-4.0/ndr/ndr_dcerpc.h
  1130. %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h
  1131. %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h
  1132. %{_includedir}/samba-4.0/ndr/ndr_krb5pac.h
  1133. %{_includedir}/samba-4.0/ndr/ndr_svcctl.h
  1134. %{_includedir}/samba-4.0/ndr/ndr_nbt.h
  1135. %{_includedir}/samba-4.0/netapi.h
  1136. %{_includedir}/samba-4.0/param.h
  1137. %{_includedir}/samba-4.0/passdb.h
  1138. %{_includedir}/samba-4.0/policy.h
  1139. %{_includedir}/samba-4.0/rpc_common.h
  1140. %{_includedir}/samba-4.0/samba/session.h
  1141. %{_includedir}/samba-4.0/samba/version.h
  1142. %{_includedir}/samba-4.0/share.h
  1143. %{_includedir}/samba-4.0/smb2_lease_struct.h
  1144. %{_includedir}/samba-4.0/smbconf.h
  1145. %{_includedir}/samba-4.0/smb_ldap.h
  1146. %{_includedir}/samba-4.0/smbldap.h
  1147. %{_includedir}/samba-4.0/tdr.h
  1148. %{_includedir}/samba-4.0/tsocket.h
  1149. %{_includedir}/samba-4.0/tsocket_internal.h
  1150. %dir %{_includedir}/samba-4.0/util
  1151. %{_includedir}/samba-4.0/util/attr.h
  1152. %{_includedir}/samba-4.0/util/blocking.h
  1153. %{_includedir}/samba-4.0/util/byteorder.h
  1154. %{_includedir}/samba-4.0/util/data_blob.h
  1155. %{_includedir}/samba-4.0/util/debug.h
  1156. %{_includedir}/samba-4.0/util/fault.h
  1157. %{_includedir}/samba-4.0/util/genrand.h
  1158. %{_includedir}/samba-4.0/util/idtree.h
  1159. %{_includedir}/samba-4.0/util/idtree_random.h
  1160. %{_includedir}/samba-4.0/util/memory.h
  1161. %{_includedir}/samba-4.0/util/safe_string.h
  1162. %{_includedir}/samba-4.0/util/signal.h
  1163. %{_includedir}/samba-4.0/util/string_wrappers.h
  1164. %{_includedir}/samba-4.0/util/substitute.h
  1165. %{_includedir}/samba-4.0/util/talloc_stack.h
  1166. %{_includedir}/samba-4.0/util/tevent_ntstatus.h
  1167. %{_includedir}/samba-4.0/util/tevent_unix.h
  1168. %{_includedir}/samba-4.0/util/tevent_werror.h
  1169. %{_includedir}/samba-4.0/util/time.h
  1170. %{_includedir}/samba-4.0/util_ldb.h
  1171. %{_libdir}/libdcerpc-binding.so
  1172. %{_libdir}/libdcerpc-samr.so
  1173. %{_libdir}/libdcerpc.so
  1174. %{_libdir}/libndr-krb5pac.so
  1175. %{_libdir}/libndr-nbt.so
  1176. %{_libdir}/libndr-standard.so
  1177. %{_libdir}/libndr.so
  1178. %{_libdir}/libnetapi.so
  1179. %{_libdir}/libsamba-credentials.so
  1180. %{_libdir}/libsamba-hostconfig.so
  1181. %{_libdir}/libsamba-passdb.so
  1182. %{_libdir}/libsamba-policy.so
  1183. %{_libdir}/libsamba-util.so
  1184. %{_libdir}/libsamdb.so
  1185. %{_libdir}/libsmbconf.so
  1186. %{_libdir}/libsmbldap.so
  1187. %{_libdir}/libtevent-util.so
  1188. %{_libdir}/pkgconfig/dcerpc.pc
  1189. %{_libdir}/pkgconfig/dcerpc_samr.pc
  1190. %{_libdir}/pkgconfig/ndr.pc
  1191. %{_libdir}/pkgconfig/ndr_krb5pac.pc
  1192. %{_libdir}/pkgconfig/ndr_nbt.pc
  1193. %{_libdir}/pkgconfig/ndr_standard.pc
  1194. %{_libdir}/pkgconfig/netapi.pc
  1195. %{_libdir}/pkgconfig/samba-credentials.pc
  1196. %{_libdir}/pkgconfig/samba-hostconfig.pc
  1197. %{_libdir}/pkgconfig/samba-policy.pc
  1198. %{_libdir}/pkgconfig/samba-util.pc
  1199. %{_libdir}/pkgconfig/samdb.pc
  1200. %{_includedir}/samba-4.0/dcerpc_server.h
  1201. %{_libdir}/libdcerpc-server.so
  1202. %{_libdir}/pkgconfig/dcerpc_server.pc
  1203. ## --------------------------------------------------------------------
  1204. %files python
  1205. %defattr(-,root,root,-)
  1206. %{python_sitearch}/*
  1207. #%exclude %{python_sitearch}/_ldb.so
  1208. #%exclude %{python_sitearch}/_tevent.so
  1209. ## --------------------------------------------------------------------
  1210. %files pidl
  1211. %defattr(-,root,root,-)
  1212. %{perl_vendorlib}/Parse/*
  1213. %{_mandir}/man1/pidl.1.gz
  1214. %{_mandir}/man3/Parse::Pidl::Wireshark::NDR.3pm.gz
  1215. %{_mandir}/man3/Parse::Pidl::Wireshark::Conformance.3pm.gz
  1216. %{_mandir}/man3/Parse::Pidl::Dump.3pm.gz
  1217. %{_mandir}/man3/Parse::Pidl::NDR.3pm.gz
  1218. %{_mandir}/man3/Parse::Pidl::Util.3pm.gz
  1219. %attr(755,root,root) %{_bindir}/pidl
  1220. ## --------------------------------------------------------------------
  1221. %if %with_libsmbclient
  1222. %files -n libsmbclient
  1223. %defattr(-,root,root)
  1224. %{_libdir}/libsmbclient.so.*
  1225. %{_mandir}/man7/libsmbclient.7*
  1226. # ja manual
  1227. %{_mandir}/ja/man7/libsmbclient.7*
  1228. ## --------------------------------------------------------------------
  1229. %files -n libsmbclient-devel
  1230. %defattr(-,root,root)
  1231. %{_includedir}/samba-4.0/libsmbclient.h
  1232. %{_libdir}/libsmbclient.so
  1233. %{_libdir}/pkgconfig/smbclient.pc
  1234. #%{_mandir}/man7/libsmbclient.7*
  1235. %endif # with_libsmbclient
  1236. ## --------------------------------------------------------------------
  1237. %if %with_libwbclient
  1238. %files -n libwbclient
  1239. %defattr(-,root,root)
  1240. %{_libdir}/samba/libwinbind-client-samba4.so
  1241. %{_libdir}/samba/wbclient/libwbclient.so.*
  1242. ## --------------------------------------------------------------------
  1243. %files -n libwbclient-devel
  1244. %defattr(-,root,root)
  1245. %{_includedir}/samba-4.0/wbclient.h
  1246. %{_libdir}/samba/wbclient/libwbclient.so
  1247. %{_libdir}/pkgconfig/wbclient.pc
  1248. %endif # with_libwbclient
  1249. %if %build_compat32
  1250. ## --------------------------------------------------------------------
  1251. %files -n compat32-samba-libs
  1252. %defattr(-,root,root)
  1253. %{_libdir}/libdcerpc-binding.so.*
  1254. %{_libdir}/libdcerpc.so.*
  1255. %{_libdir}/libsamba-errors.so*
  1256. %{_libdir}/libndr-krb5pac.so.*
  1257. %{_libdir}/libndr-nbt.so.*
  1258. %{_libdir}/libndr-standard.so.*
  1259. %{_libdir}/libndr.so.*
  1260. %{_libdir}/libnetapi.so.*
  1261. %{_libdir}/libsamba-credentials.so.*
  1262. %{_libdir}/libsamba-hostconfig.so.*
  1263. %{_libdir}/libsamba-passdb.so.*
  1264. %{_libdir}/libsamba-util.so.*
  1265. %{_libdir}/libsamdb.so.*
  1266. %{_libdir}/libsmbconf.so.*
  1267. %{_libdir}/libsmbldap.so.*
  1268. %{_libdir}/libtevent-util.so.*
  1269. # libraries needed by the public libraries
  1270. %dir %{_libdir}/samba
  1271. %{_libdir}/samba/libCHARSET3-samba4.so
  1272. %{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
  1273. %{_libdir}/samba/libMESSAGING-samba4.so
  1274. %{_libdir}/samba/libaddns-samba4.so
  1275. %{_libdir}/samba/libads-samba4.so
  1276. %{_libdir}/samba/libasn1-samba4.so.*
  1277. %{_libdir}/samba/libasn1util-samba4.so
  1278. %{_libdir}/samba/libauth-sam-reply-samba4.so
  1279. %{_libdir}/samba/libauth-samba4.so
  1280. %{_libdir}/samba/libauth-unix-token-samba4.so
  1281. %{_libdir}/samba/libauth4-samba4.so
  1282. %{_libdir}/samba/libauthkrb5-samba4.so
  1283. %{_libdir}/samba/libcli-cldap-samba4.so
  1284. %{_libdir}/samba/libcli-ldap-common-samba4.so
  1285. %{_libdir}/samba/libcli-ldap-samba4.so
  1286. %{_libdir}/samba/libcli-nbt-samba4.so
  1287. %{_libdir}/samba/libcli-smb-common-samba4.so
  1288. %{_libdir}/samba/libcli-spoolss-samba4.so
  1289. %{_libdir}/samba/libcliauth-samba4.so
  1290. %{_libdir}/samba/libcluster-samba4.so
  1291. %{_libdir}/samba/libcmdline-credentials-samba4.so
  1292. %{_libdir}/samba/libdb-glue-samba4.so
  1293. %{_libdir}/samba/libdbwrap-samba4.so
  1294. %{_libdir}/samba/libdcerpc-samba-samba4.so
  1295. %{_libdir}/samba/libdcerpc-samba4.so
  1296. %{_libdir}/samba/libdfs-server-ad-samba4.so
  1297. %{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so
  1298. %{_libdir}/samba/libdsdb-module-samba4.so
  1299. %{_libdir}/samba/libevents-samba4.so
  1300. %{_libdir}/samba/libflag-mapping-samba4.so
  1301. %{_libdir}/samba/libgenrand-samba4.so
  1302. %{_libdir}/samba/libgensec-samba4.so
  1303. %{_libdir}/samba/libgpo-samba4.so
  1304. %{_libdir}/samba/libgse-samba4.so
  1305. %{_libdir}/samba/libgssapi-samba4.so.*
  1306. %{_libdir}/samba/libhcrypto-samba4.so.*
  1307. %{_libdir}/samba/libhdb-samba4.so.*
  1308. %{_libdir}/samba/libheimbase-samba4.so.*
  1309. %{_libdir}/samba/libhttp-samba4.so
  1310. %{_libdir}/samba/libhx509-samba4.so.*
  1311. %{_libdir}/samba/libinterfaces-samba4.so
  1312. %{_libdir}/samba/libiov-buf-samba4.so
  1313. %{_libdir}/samba/libkrb5-samba4.so.*
  1314. %{_libdir}/samba/libkrb5samba-samba4.so
  1315. %{_libdir}/samba/libldbsamba-samba4.so
  1316. %{_libdir}/samba/liblibcli-lsa3-samba4.so
  1317. %{_libdir}/samba/liblibcli-netlogon3-samba4.so
  1318. %{_libdir}/samba/liblibsmb-samba4.so
  1319. %{_libdir}/samba/libmessages-dgm-samba4.so
  1320. %{_libdir}/samba/libmessages-util-samba4.so
  1321. %{_libdir}/samba/libmsghdr-samba4.so
  1322. %{_libdir}/samba/libmsrpc3-samba4.so
  1323. %{_libdir}/samba/libnon-posix-acls-samba4.so
  1324. %{_libdir}/samba/libndr-samba-samba4.so
  1325. %{_libdir}/samba/libndr-samba4.so
  1326. %{_libdir}/samba/libnet-keytab-samba4.so
  1327. %{_libdir}/samba/libnetif-samba4.so
  1328. %{_libdir}/samba/libnpa-tstream-samba4.so
  1329. %{_libdir}/samba/libnss-info-samba4.so
  1330. %{_libdir}/samba/libpopt-samba3-samba4.so
  1331. %{_libdir}/samba/libposix-eadb-samba4.so
  1332. %{_libdir}/samba/libprinting-migrate-samba4.so
  1333. %{_libdir}/samba/libprocess-model-samba4.so
  1334. %{_libdir}/samba/libregistry-samba4.so
  1335. %{_libdir}/samba/libreplace-samba4.so
  1336. %{_libdir}/samba/libroken-samba4.so.*
  1337. %{_libdir}/samba/libsamba-cluster-support-samba4.so
  1338. %{_libdir}/samba/libsamba-debug-samba4.so
  1339. %{_libdir}/samba/libsamba-modules-samba4.so
  1340. %{_libdir}/samba/libsamba-security-samba4.so
  1341. %{_libdir}/samba/libsamba-sockets-samba4.so
  1342. %{_libdir}/samba/libsamba3-util-samba4.so
  1343. %{_libdir}/samba/libsamdb-common-samba4.so
  1344. %{_libdir}/samba/libsecrets3-samba4.so
  1345. %{_libdir}/samba/libserver-role-samba4.so
  1346. %{_libdir}/samba/libserver-id-db-samba4.so
  1347. %{_libdir}/samba/libservice-samba4.so
  1348. %{_libdir}/samba/libshares-samba4.so
  1349. %{_libdir}/samba/libsmb-transport-samba4.so
  1350. %{_libdir}/samba/libsmbclient-raw-samba4.so
  1351. %{_libdir}/samba/libsmbd-base-samba4.so
  1352. %{_libdir}/samba/libsmbd-conn-samba4.so
  1353. %{_libdir}/samba/libsmbd-shim-samba4.so
  1354. %{_libdir}/samba/libsmbldaphelper-samba4.so
  1355. %{_libdir}/samba/libsmbpasswdparser-samba4.so
  1356. %{_libdir}/samba/libsocket-blocking-samba4.so
  1357. %{_libdir}/samba/libsys-rw-samba4.so
  1358. %{_libdir}/samba/libtalloc-report-samba4.so
  1359. %{_libdir}/samba/libtdb-wrap-samba4.so
  1360. %{_libdir}/samba/libtime-basic-samba4.so
  1361. %{_libdir}/samba/libtrusts-util-samba4.so
  1362. %{_libdir}/samba/libutil-cmdline-samba4.so
  1363. %{_libdir}/samba/libutil-reg-samba4.so
  1364. %{_libdir}/samba/libutil-setid-samba4.so
  1365. %{_libdir}/samba/libutil-tdb-samba4.so
  1366. %{_libdir}/samba/libwind-samba4.so.*
  1367. %{_libdir}/samba/libxattr-tdb-samba4.so
  1368. ## --------------------------------------------------------------------
  1369. %files -n compat32-libwbclient
  1370. %defattr(755,root,root)
  1371. %{_libdir}/samba/libwinbind-client-samba4.so
  1372. %{_libdir}/samba/wbclient/libwbclient.so.*
  1373. ## --------------------------------------------------------------------
  1374. %files -n compat32-libsmbclient
  1375. %defattr(755,root,root)
  1376. %{_libdir}/libsmbclient.so.*
  1377. %endif
  1378. %changelog
  1379. * Mon Jul 17 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.6-1
  1380. - new upstream release.
  1381. - updated samba-ja-docs.
  1382. * Mon May 29 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.4-1
  1383. - new upstream release.
  1384. * Mon May 1 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.3-1
  1385. - new upstream release.
  1386. * Thu Mar 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.0-1
  1387. - new upstream release.
  1388. * Tue Dec 20 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.3-1
  1389. - new upstream release.
  1390. * Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.2-1
  1391. - new upstream release.
  1392. - updated samba-ja-docs.
  1393. * Fri Jul 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.5-1
  1394. - new upstream release.
  1395. - updated samba-ja-docs.
  1396. * Wed Jun 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.4-1
  1397. - new upstream release.
  1398. - updated samba-ja-docs.
  1399. * Tue May 3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.3-1
  1400. - new upstream release.
  1401. - updated samba-ja-docs.
  1402. * Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.2-1
  1403. - new upstream release.
  1404. * Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.0-1
  1405. - new upstream release.
  1406. * Thu Mar 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.6-1
  1407. - new upstream release.
  1408. - updated samba-ja-docs.
  1409. * Wed Feb 24 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.5-1
  1410. - new upstream release.
  1411. * Sat Jan 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.4-1
  1412. - new upstream release.
  1413. * Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-3
  1414. - built with gnutls-3.4.x.
  1415. * Sun Dec 20 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-2
  1416. - built with libldb-1.1.25.
  1417. * Thu Dec 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-1
  1418. - new upstream release.
  1419. - fixed missing %%changelog.
  1420. * Wed Dec 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.2-1
  1421. - new upstream release.
  1422. * Fri Oct 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.1-1
  1423. - new upstream release.
  1424. * Sat Sep 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.0-1
  1425. - new upstream release.
  1426. - built without libbsd.
  1427. * Sat Sep 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.4-1
  1428. - new upstream release.
  1429. * Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.3-1
  1430. - new upstream release.
  1431. * Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.2-1
  1432. - new upstream release.
  1433. * Fri Apr 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.1-1
  1434. - new upstream release.
  1435. * Thu Apr 16 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-2
  1436. - added subpackage compat32-samba-libs and samba-dc-libs.
  1437. - fixed %%files.
  1438. * Sat Mar 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-1
  1439. - new upstream release.
  1440. * Tue Feb 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.17-1
  1441. - new upstream release.
  1442. * Sun Jan 25 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.16-1
  1443. - new upstream release.
  1444. * Mon Jan 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.15-1
  1445. - new upstream release.
  1446. * Wed Dec 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.14-1
  1447. - new upstream release.
  1448. - re-enabled samba-ja-docs.
  1449. * Tue Dec 2 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-3
  1450. - fixed Group typo involved by previous release
  1451. * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-2
  1452. - moved common, libs, python, liibsmbclient and libwbclient packages to System Environment/Libraries Group
  1453. * Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.11-1
  1454. - new upstream release.
  1455. * Wed Mar 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.6-1
  1456. - new upstream release.
  1457. - removed samba-ja-docs (docs-ja for 4.1.x has not released yet).
  1458. * Mon Dec 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.3-1
  1459. - new upstream release.
  1460. * Thu Nov 28 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.2-1
  1461. - new upstream release.
  1462. - removed a sub package "samba-swat" (removed in upstream).
  1463. - %%post was made to fix the permission of TLS key (CVE-2013-4476).
  1464. * Wed Oct 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.10-1
  1465. - new upstream release.
  1466. * Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.9-1
  1467. - new upstream release.
  1468. * Tue Mar 26 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.4-1
  1469. - new upstream release.
  1470. - fixed dependency.
  1471. - added documents from samba-docs-ja-4.0.0-1.
  1472. * Mon Mar 04 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-2
  1473. - fixed directory to place private data.
  1474. * Sun Mar 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-1
  1475. - new upstream release.
  1476. - fixed dates of %%changelog.
  1477. * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.0-1
  1478. - new upstream release.
  1479. * Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.15-1
  1480. - new upstream release. (to fix CVE-2012-2111)
  1481. - added charset options to smb.conf.
  1482. * Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.14-1
  1483. - new upstream release. (to fix CVE-2012-1182)
  1484. * Tue Aug 09 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.11-1
  1485. - new upstream release. (to fix BTS:1189)
  1486. * Sat Jul 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
  1487. - new upstream release. (to fix CVE-2011-2522 and CVE-2011-2694)
  1488. * Mon Jul 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-3
  1489. - updated Source6.
  1490. * Fri Mar 25 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-2
  1491. - fix smb.conf(5).
  1492. * Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
  1493. - new upstream release.
  1494. - updated patches.
  1495. - added subpackages 'winbind-krb5-locator' and 'winbind-client'.
  1496. - dropped tdb and talloc subpackages became independent packages.
  1497. - dropped {,u}mount.cifs were included in cifs-utils.
  1498. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.3.10-13
  1499. - rebuilt with rpm-4.8.1 for pkg-config
  1500. - changed spec file name as vine style
  1501. - dropt script lines in %%build that no work
  1502. * Sun Feb 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
  1503. - add patch1000 for fix CVE-2010-0547 (cifs.mount)
  1504. * Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
  1505. - new upstream release.
  1506. * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
  1507. - added 'Packager' tag.
  1508. * Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
  1509. - new upstream release.
  1510. - added '--disable-fam' option.
  1511. - added 'compat32-*' subpackages.
  1512. - added 'libuuid-devel' to 'BuildRequires:'.
  1513. * Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
  1514. - new upstream release.
  1515. * Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
  1516. - new upstream release.
  1517. * Thu Jun 4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
  1518. - increased release number for libtalloc/libtdb.
  1519. * Tue Jun 2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
  1520. - fixed dependency.
  1521. - fixed modulepath.
  1522. * Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
  1523. - new upstream release.
  1524. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
  1525. - rebuilt with openldap-2.4.11
  1526. * Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
  1527. - samba-doc: changed Group to Applications/Documentation
  1528. - samba-winbind-devel: changed Group to Development/Libraries
  1529. - libsmbclient: changed Group to System Environment/Libraries
  1530. - libsmbclient-devel: changed Group to Development/Libraries
  1531. - libtalloc: changed Group to System Environment/Libraries
  1532. - libtalloc-devel: changed Group to Development/Libraries
  1533. - libtdb: fixed summary
  1534. changed Group to System Environment/Libraries
  1535. - libtdb-devel: changed Group to Development/Libraries
  1536. * Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
  1537. - new upstream release
  1538. * Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
  1539. - new upstream release
  1540. - drop jp patch
  1541. - use UTF-8 as default charset
  1542. - rename samba-libsmbclient to libsmbclient
  1543. * Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
  1544. - new upstream release.
  1545. - remove gamin-devel from BuildRequires: (no longer needed).
  1546. * Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
  1547. - BuildRequires: gamin-devel (see [wishes:0127])
  1548. * Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
  1549. - [SECURITY FIX] add security patches (#50-52)
  1550. - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
  1551. - CVE-2007-2446: multiple heap overflows allow remote code execution
  1552. - CVE-2007-2447: remote command injection vulnerability
  1553. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
  1554. - apply upstream patches (#0-5)
  1555. - fix an issues with servers set to "security = share" and Vista clients
  1556. that send NTLMv2 responses
  1557. - fixe several point-n-print bugs with Vista clients
  1558. - fix failure when using the Vista backup utility
  1559. - fix expansion of the %a smb.conf variable for Vista clients
  1560. - fix MS-DFS referrals with Windows Vista clients
  1561. - fix for Vista failing to delete directories on a Samba share
  1562. - display service start/stop messages ([VineSeed:13299])
  1563. * Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
  1564. - [SECURITY FIX] new upstream release
  1565. - CVE-2007-0452: potential denial of service bug in smbd
  1566. - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
  1567. - CVE-2007-0454: format string bug in afsacl.so vfs plugin
  1568. * Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
  1569. - new upstream release
  1570. * Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
  1571. - disable swat (via inetd) by default
  1572. - fix code for editing %%{_sysconfdir}/inetd.conf
  1573. * Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
  1574. - fix dependencies:
  1575. - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
  1576. - drop PreReq: gawk from -client
  1577. - drop PreReq: inetd from -swat
  1578. - drop Requires: tcp_wrappers from -swat (is needed by inetd)
  1579. - fix %%post etc...
  1580. - drop code for editing /etc/services: no more needed
  1581. - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
  1582. from %%triggerin swat -- inetd to %%post swat
  1583. - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
  1584. * Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
  1585. - new upstream release
  1586. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
  1587. - rebuilt with openldap-2.3.27-0vl1
  1588. * Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
  1589. - new upstream release
  1590. * Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
  1591. - new upstream release
  1592. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
  1593. - [SECURITY] new upstream release
  1594. - Memory exhaustion DoS against smbd (CVE-2006-3403)
  1595. - update patches
  1596. - buildroot.patch (#100)
  1597. - logfiles.patch (#103)
  1598. - smb.conf.patch (#106)
  1599. - update filter-requires-samba.sh (source999)
  1600. - get rid of bogus dependency on perl(Unicode::MapUTF8)
  1601. * Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
  1602. - new upstream release
  1603. - renumber patches
  1604. - 000- for upstream patches
  1605. - 050- for security patches
  1606. - 100- for generic patches
  1607. - update logfiles.patch (#103)
  1608. - drop warning.patch (#104)
  1609. - not apply hex.patch (#105)
  1610. - add smb.conf.patch (#106)
  1611. - drop samba.log (source1), smb.conf (source2)
  1612. - use samba.pamd.stack instead of samba.pamd
  1613. - define macro: pkgingdir
  1614. - add files:
  1615. - samba-client
  1616. - %%{_bindir}/{smbget,eventlogadm}
  1617. - samba-common:
  1618. - %%{_bindir}/tdbtool
  1619. - separate development files to samba-libsmbclient-devel
  1620. - change groups
  1621. * Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
  1622. - remove unneeded dependencies
  1623. - update filter-requires-samba.sh (source999)
  1624. - overwrite __find_requires instead of __perl_requires
  1625. * Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
  1626. - rebuild with readline-5.1
  1627. * Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
  1628. - separate doc package with %%docpkg
  1629. - use %%htmlview instead of %%browser
  1630. * Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
  1631. - add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
  1632. * Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
  1633. - new upstream release
  1634. - install %%{_sysconfdir}/xinetd.d/swat
  1635. - update filter-requires-samba.sh
  1636. - add swat.desktop.in instead of swat.desktop
  1637. - switch browser by %%browser
  1638. - drop i18n patches
  1639. - update logfiles.patch (#3)
  1640. - add warning.patch (#4)
  1641. * Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
  1642. - fix samba.log
  1643. - thanks, K. Moriyama [VinePlus:02606]
  1644. - remove docs/manpages from %%doc
  1645. * Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
  1646. - new upstream release
  1647. - update struplower_m_i18n.patch (#102)
  1648. - drop obsolete patch (#10)
  1649. * Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
  1650. - [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
  1651. - add samba-3.0.9-CAN-2004-1154.patch (#10)
  1652. - update patch (#102)
  1653. * Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
  1654. - new upstream release
  1655. - drop obsolete patches (#10,11,110)
  1656. - update patches (#3,102)
  1657. * Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
  1658. - [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
  1659. - add samba-3.0.7-CAN-2004-0882.patch (patch11)
  1660. - update Source URL
  1661. * Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
  1662. - [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
  1663. - add samba-3.0.7-CAN-2004-0930.patch (patch10)
  1664. * Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
  1665. - update samba.log, {smb,winbind}.init
  1666. - use *.log as logfile name instead of log.* (patch3)
  1667. * Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
  1668. - change directories from %%{_localstatedir}/lock/samba
  1669. - LOCKDIR: %%{_localstatedir}/cache/samba
  1670. - PIDDIR: %%{_localstatedir}/run
  1671. - restart {smb,winbind} at postun (upgrade)
  1672. - samba-common
  1673. - convert smbpasswd at triggerpostun -- samba < 3.0.7
  1674. - add convert_smbpasswd
  1675. - add PreReq: gawk
  1676. * Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
  1677. - add docs_ja (source101) from 3.0.5-16ml
  1678. * Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
  1679. - new upstream release (shift to 3.0 series)
  1680. - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
  1681. - drop obsolete paches, configure options
  1682. - update buildroot.patch
  1683. - add I18N patches (#101-)
  1684. - update smb.conf
  1685. - add URL
  1686. - use more macros
  1687. - change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
  1688. - move %%{_localstatedir}/log/samba, smbpasswd to samba-common
  1689. - move smbspool, smbcacls, rpcclient to samba-client
  1690. - update descriptions
  1691. * Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
  1692. - new upstream release
  1693. * Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
  1694. - 2.2.11-ja-1.0beta1
  1695. - drop patch10
  1696. - add BuildPreReq: openssl-devel
  1697. - swat
  1698. - add PreReq/Requires: inetd
  1699. - add swat.desktop
  1700. * Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
  1701. - fix changelog
  1702. * Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
  1703. - [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
  1704. - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
  1705. - add BuildPreReq: cups-devel
  1706. - add Prereq: chkconfig mktemp psmisc (instead of each files)
  1707. * Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
  1708. - new upstream release
  1709. * Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
  1710. - 2.2.9-ja-1.0beta1
  1711. - add BuildPreReq: readline-devel
  1712. * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
  1713. - add ldconfig in %%post/%%postun script for libsmbclient
  1714. * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
  1715. - add libsmbclient subpackage.
  1716. * Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
  1717. - new upstream release.
  1718. * Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
  1719. - fix smb.conf (SAMBADOC's path)
  1720. * Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
  1721. - tentatively skip to build examples/VFS on alpha
  1722. * Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
  1723. - new upstream release.
  1724. * Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
  1725. - fix smb.conf
  1726. - fix smbadduser
  1727. * Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
  1728. - new upstream version
  1729. * Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
  1730. - added smbinit-vine.patch
  1731. -- added '-D' option in smbd and nmbd
  1732. * Thu Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
  1733. - New upstream version
  1734. -- security fix.
  1735. * Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1736. - 2.2.7a.ja-1.0vl5
  1737. - merged from SPEC for RH60 by samba-jp.
  1738. * Mon Feb 17 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1739. - 2.2.7a.ja-1.0vl4.beta1
  1740. - fix 'Requires:'.
  1741. * Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1742. - 2.2.7a.ja-1.0vl3.alpha1
  1743. - disable --with-tdbsam.
  1744. * Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1745. - 2.2.7a.ja-1.0vl2.alpha1
  1746. - modify %%post script for new password database.
  1747. * Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1748. - 2.2.7a.ja-1.0vl1.alpha1
  1749. * Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1750. - 2.2.6.ja-1.0vl1.alpha2
  1751. - apply alpha2 patch.
  1752. * Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1753. - 2.2.6.ja-1.0vl1.alpha1
  1754. - remove swat from package 'samba'.
  1755. * Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1756. - 2.2.6.ja-1.0vl0.alpha1
  1757. - enable winbind modules.
  1758. - change numbering rule.
  1759. * Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1760. - 2.2.6_ja_0.alpha1-0vl1
  1761. * Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1762. - 2.2.4_ja_0.alpha1.3-0vl1
  1763. * Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1764. - 2.2.2_ja_1.1-0vl1
  1765. - disable winbind modules (2.2.2 or earlier has critical bugs).
  1766. - modify 'Requires:'.
  1767. * Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1768. - 2.2.2_ja_1.1-0vl0
  1769. - shift sources to 2.2.x.
  1770. - add debugging mode for '%%files' section.
  1771. - modify spec largely because of too many difference between 2.0.x and 2.2.x.
  1772. - . exchange %%prep, %%build, %%install section with samba-jp's spec.
  1773. - . create a package 'samba-swat'.
  1774. - . move smbclient and nmblookup to samba-common.
  1775. - . move testprns to package 'samba' because it's checking tool for
  1776. - server on LOCALHOST.
  1777. - . move '%%post' to '%%post swat'.
  1778. - . disable '%%post common'.
  1779. * Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
  1780. - 2.0.10_ja_1.2
  1781. * Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
  1782. - 2.0.10_ja_1.1-0vl4
  1783. - eliminate executable bit in %%doc to erase perl/sh requirement
  1784. * Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
  1785. - 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
  1786. - patch swat/ja/help/welcome.html to hide some missing matter
  1787. - also remove docs/zh_{CN,TW} files in %%doc
  1788. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
  1789. - for VineSeed
  1790. - deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
  1791. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
  1792. - 2.0.10_ja_1.1
  1793. - for 2.1.x update
  1794. * Fri Aug 17 2001 <sagami@vinelinux.org>
  1795. - 2.0.10_ja_1.0-0vl2
  1796. - remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
  1797. * Mon Jul 09 2001 <sagami@vinelinux.org>
  1798. - 2.0.10_ja_1.0-0vl1: includes secrity fix
  1799. (http://www.samba.org/samba/whatsnew/macroexploit.html)
  1800. - remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
  1801. * Thu May 31 2001 <sagami@vinelinux.org>
  1802. - 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
  1803. - added BuildPreReq = pam-devel for Vine 2.1.5+
  1804. - fixed init script to match our current/old style
  1805. - eliminate CVS related files from %%doc
  1806. * Thu Apr 19 2001 <sagami@vinelinux.org>
  1807. - 2.0.7_ja_2.2-0vl1
  1808. * Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  1809. - 2.0.7_ja_1.3-0vl2
  1810. - rebuilt with readline2
  1811. - use better macros (although not almost complete... needs comfirmation)
  1812. * Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
  1813. - 2.0.7_ja_1.3-0vl1
  1814. * Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  1815. - 2.0.7_ja_1.2.1-0vl2
  1816. - fixed missing Changelog.ja (was Chagelog.ja)
  1817. * Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
  1818. - updated to 2.0.7-ja-1.2.1
  1819. * Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1820. - updated to 2.0.7-ja-1.2
  1821. * Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1822. - added some Japanese documents to %doc
  1823. * Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1824. - updated to 2.0.7-ja-1.0
  1825. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1826. - updated to 2.0.7-ja-0.99
  1827. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1828. - added rpccilent
  1829. - modified tcpdconf for stability.
  1830. * Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1831. - first test release for Vine based on RH6.2 spec file.
  1832. - activated swat in default for only localhost.
  1833. * Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
  1834. - fix trigger, again.
  1835. * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
  1836. - fix trigger.
  1837. * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
  1838. - turn on quota support
  1839. * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
  1840. - rebuild to fox dependencies
  1841. - man pages are compressed
  1842. * Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
  1843. - munge post scripts slightly
  1844. * Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
  1845. - turn on mmap again. Wheee.
  1846. - ship smbmount on alpha
  1847. * Mon Dec 6 1999 Bill Nottingham <notting@redhat.com>
  1848. - turn off mmap. ;)
  1849. * Wed Dec 1 1999 Bill Nottingham <notting@redhat.com>
  1850. - change /var/log/samba to 0700
  1851. - turn on mmap support
  1852. * Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
  1853. - update to 2.0.6
  1854. * Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
  1855. - add a %defattr for -common
  1856. * Tue Oct 5 1999 Bill Nottingham <notting@redhat.com>
  1857. - shift some files into -client
  1858. - remove /home/samba from package.
  1859. * Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
  1860. - initscript oopsie. killproc <name> -HUP, not other way around.
  1861. * Sun Sep 26 1999 Bill Nottingham <notting@redhat.com>
  1862. - script cleanups. Again.
  1863. * Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
  1864. - add a patch to fix dropped reconnection attempts
  1865. * Mon Sep 6 1999 Jeff Johnson <jbj@redhat.com>
  1866. - use cp rather than mv to preserve /etc/services perms (#4938 et al).
  1867. - use mktemp to generate /etc/tmp.XXXXXX file name.
  1868. - add prereqs on sed/mktemp/killall (need to move killall to /bin).
  1869. - fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
  1870. * Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
  1871. - sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
  1872. * Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
  1873. - fix typo in mount.smb
  1874. * Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
  1875. - add a %trigger to work around (sort of) broken scripts in
  1876. previous releases
  1877. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  1878. - initscript munging
  1879. * Mon Aug 9 1999 Bill Nottingham <notting@redhat.com>
  1880. - add domain parsing to mount.smb
  1881. * Fri Aug 6 1999 Bill Nottingham <notting@redhat.com>
  1882. - add a -common package, shuffle files around.
  1883. * Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
  1884. - add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
  1885. * Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
  1886. - update to 2.0.5
  1887. - fix mount.smb - smbmount options changed again.........
  1888. - fix postun. oops.
  1889. - update some stuff from the samba team's spec file.
  1890. * Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
  1891. - split off clients into separate package
  1892. - don't run samba by default
  1893. * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
  1894. - fix one problem with mount.smb script
  1895. - fix smbpasswd on sparc with a really ugly kludge
  1896. * Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
  1897. - fixed logrotate script
  1898. * Tue May 25 1999 Bill Nottingham <notting@redhat.com>
  1899. - turn of 64-bit locking on 32-bit platforms
  1900. * Thu May 20 1999 Bill Nottingham <notting@redhat.com>
  1901. - so many releases, so little time
  1902. - explicitly uncomment 'printing = bsd' in sample config
  1903. * Tue May 18 1999 Bill Nottingham <notting@redhat.com>
  1904. - update to 2.0.4a
  1905. - fix mount.smb arg ordering
  1906. * Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
  1907. - go back to stop/start for restart (-HUP didn't work in testing)
  1908. * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
  1909. - add a mount.smb to make smb mounting a little easier.
  1910. - smb filesystems apparently don't work on alpha. Oops.
  1911. * Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
  1912. - always create codepages
  1913. * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
  1914. - logrotate changes
  1915. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  1916. - auto rebuild in the new build environment (release 3)
  1917. * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
  1918. - updated init script to use graceful restart (not stop/start)
  1919. * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
  1920. - update to 2.0.3
  1921. * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
  1922. - update to 2.0.2
  1923. * Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
  1924. - swat swat
  1925. * Tue Feb 9 1999 Bill Nottingham <notting@redhat.com>
  1926. - fix bash2 breakage in post script
  1927. * Fri Feb 5 1999 Bill Nottingham <notting@redhat.com>
  1928. - update to 2.0.0
  1929. * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
  1930. - make sure all binaries are stripped
  1931. * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
  1932. - update to 1.9.18p10.
  1933. - fix %triggerpostun.
  1934. * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
  1935. - updated postun triggerscript to check $0
  1936. - clear /etc/codepages from %preun instead of %postun
  1937. * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
  1938. - made the %postun script a tad less agressive; no reason to remove
  1939. the logs or lock file (after all, if the lock file is still there,
  1940. samba is still running)
  1941. - the %postun and %preun should only exectute if this is the final
  1942. removal
  1943. - migrated %triggerpostun from Red Hat's samba package to work around
  1944. packaging problems in some Red Hat samba releases
  1945. * Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
  1946. - minor tidy up in preparation for release of 1.9.18p5
  1947. - added findsmb utility from SGI package
  1948. * Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
  1949. - Updated version and codepage info.
  1950. - Release to test name resolve order
  1951. * Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
  1952. - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
  1953. - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
  1954. - Compounded make line
  1955. - Updated smb.init restart mechanism
  1956. - Use compound mkdir -p line instead of individual calls to mkdir
  1957. - Fixed smb.conf file path for log files
  1958. - Fixed smb.conf file path for incoming smb print spool directory
  1959. - Added a number of options to smb.conf file
  1960. - Added smbadduser command (missed from all previous RPMs) - Doooh!
  1961. - Added smbuser file and smb.conf file updates for username map