samba-vl.spec 69 KB

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