samba-vl.spec 69 KB

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