samba-vl.spec 68 KB

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