samba-vl.spec 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120
  1. %define samba_version 4.1.14
  2. %define doc_version 4.1.8-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. 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/docs-xml/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_btrfs.8.gz
  645. %{_mandir}/ja/man8/vfs_cacheprime.8.gz
  646. %{_mandir}/ja/man8/vfs_cap.8.gz
  647. %{_mandir}/ja/man8/vfs_catia.8.gz
  648. %{_mandir}/ja/man8/vfs_commit.8.gz
  649. %{_mandir}/ja/man8/vfs_crossrename.8.gz
  650. %{_mandir}/ja/man8/vfs_default_quota.8.gz
  651. %{_mandir}/ja/man8/vfs_dirsort.8.gz
  652. %{_mandir}/ja/man8/vfs_extd_audit.8.gz
  653. %{_mandir}/ja/man8/vfs_fake_perms.8.gz
  654. %{_mandir}/ja/man8/vfs_fileid.8.gz
  655. %{_mandir}/ja/man8/vfs_full_audit.8.gz
  656. %{_mandir}/ja/man8/vfs_gpfs.8.gz
  657. %{_mandir}/ja/man8/vfs_linux_xfs_sgid.8.gz
  658. %{_mandir}/ja/man8/vfs_media_harmony.8.gz
  659. %{_mandir}/ja/man8/vfs_netatalk.8.gz
  660. %{_mandir}/ja/man8/vfs_notify_fam.8.gz
  661. %{_mandir}/ja/man8/vfs_prealloc.8.gz
  662. %{_mandir}/ja/man8/vfs_preopen.8.gz
  663. %{_mandir}/ja/man8/vfs_readahead.8.gz
  664. %{_mandir}/ja/man8/vfs_readonly.8.gz
  665. %{_mandir}/ja/man8/vfs_recycle.8.gz
  666. %{_mandir}/ja/man8/vfs_scannedonly.8.gz
  667. %{_mandir}/ja/man8/vfs_shadow_copy.8.gz
  668. %{_mandir}/ja/man8/vfs_shadow_copy2.8.gz
  669. %{_mandir}/ja/man8/vfs_smb_traffic_analyzer.8.gz
  670. %{_mandir}/ja/man8/vfs_streams_depot.8.gz
  671. %{_mandir}/ja/man8/vfs_streams_xattr.8.gz
  672. %{_mandir}/ja/man8/vfs_syncops.8.gz
  673. %{_mandir}/ja/man8/vfs_time_audit.8.gz
  674. %{_mandir}/ja/man8/vfs_tsmsm.8.gz
  675. %{_mandir}/ja/man8/vfs_xattr_tdb.8.gz
  676. %{_mandir}/ja/man8/vfs_zfsacl.8.gz
  677. ## --------------------------------------------------------------------
  678. %files libs
  679. %defattr(-,root,root)
  680. %{_libdir}/libdcerpc-atsvc.so.*
  681. %{_libdir}/libdcerpc-binding.so.*
  682. %{_libdir}/libdcerpc-samr.so.*
  683. %{_libdir}/libdcerpc.so.*
  684. %{_libdir}/libgensec.so.*
  685. %{_libdir}/libndr-krb5pac.so.*
  686. %{_libdir}/libndr-nbt.so.*
  687. %{_libdir}/libndr-standard.so.*
  688. %{_libdir}/libndr.so.*
  689. %{_libdir}/libregistry.so.*
  690. %{_libdir}/libsamba-credentials.so.*
  691. %{_libdir}/libsamba-hostconfig.so.*
  692. %{_libdir}/libsamba-policy.so.*
  693. %{_libdir}/libsamba-util.so.*
  694. %{_libdir}/libsamdb.so.*
  695. %{_libdir}/libsmbclient-raw.so.*
  696. %{_libdir}/libsmbconf.so.*
  697. %{_libdir}/libsmbldap.so.*
  698. %{_libdir}/libtevent-util.so.*
  699. %{_libdir}/libpdb.so.*
  700. # libraries needed by the public libraries
  701. %{_libdir}/samba/libCHARSET3.so
  702. %{_libdir}/samba/libMESSAGING.so
  703. %{_libdir}/samba/libLIBWBCLIENT_OLD.so
  704. %{_libdir}/samba/libaddns.so
  705. %{_libdir}/samba/libads.so
  706. %{_libdir}/samba/libasn1util.so
  707. %{_libdir}/samba/libauth4.so
  708. %{_libdir}/samba/libauth_sam_reply.so
  709. %{_libdir}/samba/libauth_unix_token.so
  710. %{_libdir}/samba/libauthkrb5.so
  711. %{_libdir}/samba/libccan.so
  712. %{_libdir}/samba/libcli-ldap-common.so
  713. %{_libdir}/samba/libcli-ldap.so
  714. %{_libdir}/samba/libcli-nbt.so
  715. %{_libdir}/samba/libcli_cldap.so
  716. %{_libdir}/samba/libcli_smb_common.so
  717. %{_libdir}/samba/libcli_spoolss.so
  718. %{_libdir}/samba/libcliauth.so
  719. #%{_libdir}/samba/libclidns.so
  720. %{_libdir}/samba/libcluster.so
  721. %{_libdir}/samba/libcmdline-credentials.so
  722. #%{_libdir}/samba/libcom_err-samba4.so.0
  723. #%{_libdir}/samba/libcom_err-samba4.so.0.25
  724. %{_libdir}/samba/libdbwrap.so
  725. %{_libdir}/samba/libdcerpc-samba.so
  726. %{_libdir}/samba/libdcerpc-samba4.so
  727. %{_libdir}/samba/libdfs_server_ad.so
  728. %{_libdir}/samba/liberrors.so
  729. %{_libdir}/samba/libevents.so
  730. %{_libdir}/samba/libflag_mapping.so
  731. %{_libdir}/samba/libgpo.so
  732. %{_libdir}/samba/libgse.so
  733. %{_libdir}/samba/libinterfaces.so
  734. %{_libdir}/samba/libiniparser.so
  735. %{_libdir}/samba/libkrb5samba.so
  736. %{_libdir}/samba/libldbsamba.so
  737. %{_libdir}/samba/liblibcli_lsa3.so
  738. %{_libdir}/samba/liblibcli_netlogon3.so
  739. %{_libdir}/samba/liblibsmb.so
  740. %{_libdir}/samba/libsmb_transport.so
  741. %{_libdir}/samba/libmsrpc3.so
  742. %{_libdir}/samba/libndr-samba.so
  743. %{_libdir}/samba/libndr-samba4.so
  744. %{_libdir}/samba/libnet_keytab.so
  745. %{_libdir}/samba/libnetif.so
  746. %{_libdir}/samba/libnon_posix_acls.so
  747. %{_libdir}/samba/libnpa_tstream.so
  748. #%{_libdir}/samba/libpopt.so
  749. %{_libdir}/samba/libposix_eadb.so
  750. %{_libdir}/samba/libprocess_model.so
  751. %{_libdir}/samba/libreplace.so
  752. %{_libdir}/samba/libsamba-modules.so
  753. %{_libdir}/samba/libsamba-net.so
  754. %{_libdir}/samba/libsamba-security.so
  755. %{_libdir}/samba/libsamba-sockets.so
  756. %{_libdir}/samba/libsamba_python.so
  757. %{_libdir}/samba/libsamdb-common.so
  758. %{_libdir}/samba/libsecrets3.so
  759. %{_libdir}/samba/libserver-role.so
  760. %{_libdir}/samba/libservice.so
  761. %{_libdir}/samba/libshares.so
  762. %{_libdir}/samba/libsamba3-util.so
  763. %{_libdir}/samba/libsmbd_base.so
  764. %{_libdir}/samba/libsmbd_conn.so
  765. %{_libdir}/samba/libsmbd_shim.so
  766. %{_libdir}/samba/libsmbldaphelper.so
  767. %{_libdir}/samba/libsmbpasswdparser.so
  768. %{_libdir}/samba/libsmbregistry.so
  769. %{_libdir}/samba/libsocket_wrapper.so
  770. %{_libdir}/samba/libtdb-wrap.so
  771. %{_libdir}/samba/libtdb_compat.so
  772. %{_libdir}/samba/libtrusts_util.so
  773. %{_libdir}/samba/libutil_cmdline.so
  774. %if %{with_ntdb}
  775. %{_libdir}/samba/libutil_ntdb.so
  776. %endif
  777. %{_libdir}/samba/libutil_reg.so
  778. %{_libdir}/samba/libutil_setid.so
  779. %{_libdir}/samba/libutil_tdb.so
  780. %{_libdir}/samba/libuid_wrapper.so
  781. %{_libdir}/samba/libxattr_tdb.so
  782. %{_libdir}/samba/libdb-glue.so
  783. %{_libdir}/samba/libHDB_SAMBA4.so
  784. %{_libdir}/samba/libasn1-samba4.so.8
  785. %{_libdir}/samba/libasn1-samba4.so.8.0.0
  786. %{_libdir}/samba/libgssapi-samba4.so.2
  787. %{_libdir}/samba/libgssapi-samba4.so.2.0.0
  788. %{_libdir}/samba/libhcrypto-samba4.so.5
  789. %{_libdir}/samba/libhcrypto-samba4.so.5.0.1
  790. %{_libdir}/samba/libhdb-samba4.so.11
  791. %{_libdir}/samba/libhdb-samba4.so.11.0.2
  792. %{_libdir}/samba/libheimbase-samba4.so.1
  793. %{_libdir}/samba/libheimbase-samba4.so.1.0.0
  794. %{_libdir}/samba/libhx509-samba4.so.5
  795. %{_libdir}/samba/libhx509-samba4.so.5.0.0
  796. %{_libdir}/samba/libkrb5-samba4.so.26
  797. %{_libdir}/samba/libkrb5-samba4.so.26.0.0
  798. %{_libdir}/samba/libroken-samba4.so.19
  799. %{_libdir}/samba/libroken-samba4.so.19.0.1
  800. %{_libdir}/samba/libwind-samba4.so.0
  801. %{_libdir}/samba/libwind-samba4.so.0.0.0
  802. %if %{with_ntdb}
  803. %{_libdir}/samba/libntdb.so.*
  804. %endif
  805. %if ! %with_libsmbclient
  806. %{_libdir}/libsmbclient.so.*
  807. %{_libdir}/libsmbsharemodes.so.*
  808. %{_mandir}/man7/libsmbclient.7.gz
  809. # ja manual
  810. %{_mandir}/ja/man7/libsmbclient.7.gz
  811. %endif # ! with_libsmbclient
  812. %if ! %with_libwbclient
  813. %{_libdir}/libwbclient.so.*
  814. %{_libdir}/samba/libwinbind-client.so
  815. %endif # ! with_libwbclient
  816. ## --------------------------------------------------------------------
  817. %files common
  818. %defattr(-,root,root)
  819. #%{_libdir}/samba/charset ???
  820. #%{_sysconfdir}/tmpfiles.d/samba.conf
  821. %{_bindir}/net
  822. %{_bindir}/pdbedit
  823. %{_bindir}/profiles
  824. %{_bindir}/smbcontrol
  825. %{_bindir}/testparm
  826. %{_libdir}/libnetapi.so.*
  827. %{_libdir}/samba/libprinting_migrate.so
  828. %{_datadir}/samba/codepages
  829. %dir /var/run/samba
  830. %dir /var/run/winbindd
  831. %dir /var/lib/samba
  832. %dir /var/cache/samba
  833. %attr(700,root,root) %dir /var/lib/samba/private
  834. %attr(755,root,root) %dir %{_sysconfdir}/samba
  835. %config(noreplace) %{_sysconfdir}/samba/smb.conf
  836. %config(noreplace) %{_sysconfdir}/samba/lmhosts
  837. %config(noreplace) %{_sysconfdir}/samba/smbusers
  838. %config(noreplace) %{_sysconfdir}/sysconfig/samba
  839. %{_mandir}/man1/profiles.1.gz
  840. %{_mandir}/man1/smbcontrol.1.gz
  841. %{_mandir}/man1/testparm.1.gz
  842. %{_mandir}/man5/lmhosts.5.gz
  843. %{_mandir}/man5/smb.conf.5.gz
  844. %{_mandir}/man8/net.8.gz
  845. %{_mandir}/man8/pdbedit.8.gz
  846. # ja manuals
  847. %{_mandir}/ja/man1/profiles.1.gz
  848. %{_mandir}/ja/man1/smbcontrol.1.gz
  849. %{_mandir}/ja/man1/testparm.1.gz
  850. %{_mandir}/ja/man5/lmhosts.5.gz
  851. %{_mandir}/ja/man5/smb.conf.5.gz
  852. %{_mandir}/ja/man8/net.8.gz
  853. %{_mandir}/ja/man8/pdbedit.8.gz
  854. # common libraries
  855. %{_libdir}/samba/libauth.so
  856. %{_libdir}/samba/libpopt_samba3.so
  857. %{_libdir}/samba/pdb
  858. %if %with_pam_smbpass
  859. /%{_lib}/security/pam_smbpass.so
  860. %endif
  861. ## --------------------------------------------------------------------
  862. %files dc
  863. %defattr(-,root,root)
  864. #%{_bindir}/samba-dig
  865. %{_bindir}/samba-tool
  866. %{_sbindir}/samba_kcc
  867. %{_sbindir}/samba
  868. %{_sbindir}/samba_dnsupdate
  869. %{_sbindir}/samba_spnupdate
  870. %{_sbindir}/samba_upgradedns
  871. %{_initrddir}/samba
  872. %{_libdir}/libdcerpc-server.so.*
  873. %{_libdir}/mit_samba.so
  874. %{_libdir}/samba/bind9/dlz_bind9.so
  875. %{_libdir}/samba/bind9/dlz_bind9_9.so
  876. %{_libdir}/samba/bind9/dlz_bind9_10.so
  877. %{_libdir}/samba/ldb
  878. %{_libdir}/samba/libdlz_bind9_for_torture.so
  879. %{_libdir}/samba/libdnsserver_common.so
  880. %{_libdir}/samba/libdsdb-module.so
  881. %{_libdir}/samba/libheimntlm-samba4.so.1
  882. %{_libdir}/samba/libheimntlm-samba4.so.1.0.1
  883. %{_libdir}/samba/libkdc-samba4.so.2
  884. %{_libdir}/samba/libkdc-samba4.so.2.0.0
  885. %{_libdir}/samba/libntvfs.so
  886. %{_libdir}/samba/libpac.so
  887. %{_libdir}/samba/gensec
  888. %{_libdir}/samba/process_model
  889. %{_libdir}/samba/service
  890. %dir /var/lib/samba/sysvol
  891. %{_datadir}/samba/setup
  892. %{_mandir}/man8/samba.8.gz
  893. %{_mandir}/man8/samba-tool.8.gz
  894. #%{_mandir}/man3/ldb.3.gz
  895. # ja manuals
  896. %{_mandir}/ja/man8/samba.8.gz
  897. %{_mandir}/ja/man8/samba-tool.8.gz
  898. ## --------------------------------------------------------------------
  899. %files winbind
  900. %defattr(-,root,root)
  901. #%{_bindir}/wbinfo3
  902. %{_libdir}/samba/idmap
  903. %{_libdir}/samba/nss_info
  904. %{_libdir}/samba/libnss_info.so
  905. %{_libdir}/samba/libnss_wrapper.so
  906. %{_libdir}/samba/libidmap.so
  907. %{_sbindir}/winbindd
  908. %attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged
  909. %config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
  910. %{_mandir}/man5/pam_winbind.conf.5.gz
  911. %{_mandir}/man8/winbindd.8.gz
  912. %{_mandir}/man8/idmap_*.8*
  913. #%{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo
  914. %{_initrddir}/winbind
  915. # ja manuals
  916. %{_mandir}/ja/man5/pam_winbind.conf.5.gz
  917. %{_mandir}/ja/man8/winbindd.8.gz
  918. %{_mandir}/ja/man8/idmap_*.8*
  919. ## --------------------------------------------------------------------
  920. %files winbind-krb5-locator
  921. %defattr(-,root,root)
  922. %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
  923. %{_mandir}/man7/winbind_krb5_locator.7.gz
  924. # ja manual
  925. %{_mandir}/ja/man7/winbind_krb5_locator.7.gz
  926. ## --------------------------------------------------------------------
  927. %files winbind-clients
  928. %defattr(-,root,root)
  929. %{_bindir}/ntlm_auth
  930. #%{_bindir}/ntlm_auth3
  931. %{_bindir}/wbinfo
  932. %{_libdir}/libnss_winbind.so*
  933. %{_libdir}/libnss_wins.so*
  934. #/%{smb_lib}/libnss_winbind.so.2
  935. #/%{smb_lib}/libnss_wins.so.2
  936. /%{_lib}/security/pam_winbind.so
  937. %{_mandir}/man1/ntlm_auth.1.gz
  938. %{_mandir}/man1/wbinfo.1.gz
  939. %{_mandir}/man8/pam_winbind.8.gz
  940. # ja manuals
  941. %{_mandir}/ja/man1/ntlm_auth.1.gz
  942. %{_mandir}/ja/man1/wbinfo.1.gz
  943. %{_mandir}/ja/man8/pam_winbind.8.gz
  944. ## --------------------------------------------------------------------
  945. %files client
  946. %defattr(-,root,root)
  947. %{_bindir}/cifsdd
  948. %{_bindir}/dbwrap_tool
  949. #%{_bindir}/debug2html
  950. #%{_bindir}/log2pcap
  951. %{_bindir}/nmblookup
  952. %{_bindir}/nmblookup4
  953. %{_bindir}/oLschema2ldif
  954. %{_bindir}/regdiff
  955. %{_bindir}/regpatch
  956. %{_bindir}/regshell
  957. %{_bindir}/regtree
  958. %{_bindir}/rpcclient
  959. %{_bindir}/samba-regedit
  960. %{_bindir}/sharesec
  961. %{_bindir}/smbcacls
  962. %{_bindir}/smbclient
  963. %{_bindir}/smbclient4
  964. %{_bindir}/smbcquotas
  965. #%{_bindir}/smbfilter
  966. %{_bindir}/smbget
  967. #%{_bindir}/findsmg
  968. #%{_bindir}/smbtar
  969. #%{_bindir}/smbiconv
  970. %{_bindir}/smbpasswd
  971. %{_bindir}/smbspool
  972. %{_bindir}/smbta-util
  973. %{_bindir}/smbtar
  974. %{_bindir}/smbtree
  975. #%{_bindir}/split_tokens
  976. %exclude %{_libdir}/samba/libldb-cmdline.so
  977. %{_mandir}/man1/dbwrap_tool.1.gz
  978. %{_mandir}/man1/findsmb.1.gz
  979. %{_mandir}/man1/log2pcap.1.gz
  980. %{_mandir}/man1/nmblookup.1.gz
  981. %{_mandir}/man1/nmblookup4.1.gz
  982. %{_mandir}/man1/oLschema2ldif.1.gz
  983. %{_mandir}/man1/regdiff.1.gz
  984. %{_mandir}/man1/regpatch.1.gz
  985. %{_mandir}/man1/regshell.1.gz
  986. %{_mandir}/man1/regtree.1.gz
  987. %{_mandir}/man1/rpcclient.1.gz
  988. %{_mandir}/man1/sharesec.1.gz
  989. %{_mandir}/man1/smbcacls.1.gz
  990. %{_mandir}/man1/smbclient.1.gz
  991. %{_mandir}/man1/smbcquotas.1.gz
  992. %{_mandir}/man1/smbget.1.gz
  993. %{_mandir}/man1/smbtar.1.gz
  994. %{_mandir}/man1/smbtree.1.gz
  995. %{_mandir}/man5/smbgetrc.5.gz
  996. %{_mandir}/man5/smbpasswd.5.gz
  997. %{_mandir}/man8/samba-regedit.8.gz
  998. %{_mandir}/man8/smbpasswd.8.gz
  999. %{_mandir}/man8/smbspool.8.gz
  1000. %{_mandir}/man8/smbta-util.8.gz
  1001. #ja manuals
  1002. %{_mandir}/ja/man1/dbwrap_tool.1.gz
  1003. %{_mandir}/ja/man1/findsmb.1.gz
  1004. %{_mandir}/ja/man1/log2pcap.1.gz
  1005. %{_mandir}/ja/man1/nmblookup.1.gz
  1006. %{_mandir}/ja/man1/rpcclient.1.gz
  1007. %{_mandir}/ja/man1/sharesec.1.gz
  1008. %{_mandir}/ja/man1/smbcacls.1.gz
  1009. %{_mandir}/ja/man1/smbclient.1.gz
  1010. %{_mandir}/ja/man1/smbcquotas.1.gz
  1011. %{_mandir}/ja/man1/smbget.1.gz
  1012. %{_mandir}/ja/man1/smbtar.1.gz
  1013. %{_mandir}/ja/man1/smbtree.1.gz
  1014. %{_mandir}/ja/man5/smbgetrc.5.gz
  1015. %{_mandir}/ja/man5/smbpasswd.5.gz
  1016. %{_mandir}/ja/man8/samba-regedit.8.gz
  1017. %{_mandir}/ja/man8/smbpasswd.8.gz
  1018. %{_mandir}/ja/man8/smbspool.8.gz
  1019. %{_mandir}/ja/man8/smbta-util.8.gz
  1020. %if %{with_ntdb}
  1021. %{_bindir}/ntdbbackup
  1022. %{_bindir}/ntdbdump
  1023. %{_bindir}/ntdbrestore
  1024. %{_bindir}/ntdbtool
  1025. %{_mandir}/man3/ntdb.3.gz
  1026. %{_mandir}/man8/ntdbbackup.8.gz
  1027. %{_mandir}/man8/ntdbdump.8.gz
  1028. %{_mandir}/man8/ntdbrestore.8.gz
  1029. %{_mandir}/man8/ntdbtool.8.gz
  1030. %%endif
  1031. ## --------------------------------------------------------------------
  1032. %files test
  1033. %defattr(-,root,root)
  1034. #%{_bindir}/asystest
  1035. #%{_bindir}/dbwrap_torture
  1036. %{_bindir}/gentest
  1037. %{_bindir}/locktest
  1038. #%{_bindir}/locktest2
  1039. #%{_bindir}/locktest3
  1040. %{_bindir}/masktest
  1041. #%{_bindir}/masktest3
  1042. #%{_bindir}/msgtest
  1043. %{_bindir}/ndrdump
  1044. #%{_bindir}/nsstest
  1045. #%{_bindir}/pdbtest
  1046. #%{_bindir}/pthreadpooltest
  1047. #%{_bindir}/rpc_open_tcp
  1048. #%{_bindir}/smbconftort
  1049. %{_bindir}/smbtorture
  1050. #%{_bindir}/smbtorture3
  1051. #%{_bindir}/test_lp_load
  1052. #%{_bindir}/timelimit
  1053. #%{_bindir}/versiontest
  1054. #%{_bindir}/vfstest
  1055. #%{_bindir}/vlp
  1056. %{_libdir}/libtorture.so.*
  1057. %{_libdir}/samba/libsubunit.so
  1058. #%{_libdir}/samba/libdlz_bind9_for_torture.so
  1059. %{_mandir}/man1/gentest.1.gz
  1060. %{_mandir}/man1/locktest.1.gz
  1061. %{_mandir}/man1/masktest.1.gz
  1062. %{_mandir}/man1/ndrdump.1.gz
  1063. %{_mandir}/man1/smbtorture.1.gz
  1064. %{_mandir}/man1/vfstest.1.gz
  1065. # ja manual
  1066. %{_mandir}/ja/man1/vfstest.1.gz
  1067. ## --------------------------------------------------------------------
  1068. %files devel
  1069. %defattr(-,root,root)
  1070. %{_includedir}/samba-4.0/charset.h
  1071. %{_includedir}/samba-4.0/core/doserr.h
  1072. %{_includedir}/samba-4.0/core/error.h
  1073. %{_includedir}/samba-4.0/core/ntstatus.h
  1074. %{_includedir}/samba-4.0/core/werror.h
  1075. %{_includedir}/samba-4.0/credentials.h
  1076. %{_includedir}/samba-4.0/dcerpc.h
  1077. %{_includedir}/samba-4.0/dlinklist.h
  1078. %{_includedir}/samba-4.0/domain_credentials.h
  1079. %{_includedir}/samba-4.0/gen_ndr/atsvc.h
  1080. %{_includedir}/samba-4.0/gen_ndr/auth.h
  1081. %{_includedir}/samba-4.0/gen_ndr/dcerpc.h
  1082. %{_includedir}/samba-4.0/gen_ndr/epmapper.h
  1083. %{_includedir}/samba-4.0/gen_ndr/krb5pac.h
  1084. %{_includedir}/samba-4.0/gen_ndr/lsa.h
  1085. %{_includedir}/samba-4.0/gen_ndr/mgmt.h
  1086. %{_includedir}/samba-4.0/gen_ndr/misc.h
  1087. %{_includedir}/samba-4.0/gen_ndr/nbt.h
  1088. %{_includedir}/samba-4.0/gen_ndr/drsblobs.h
  1089. %{_includedir}/samba-4.0/gen_ndr/drsuapi.h
  1090. %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h
  1091. %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h
  1092. %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h
  1093. %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc_c.h
  1094. %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h
  1095. %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper.h
  1096. %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper_c.h
  1097. %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h
  1098. %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt.h
  1099. %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt_c.h
  1100. %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h
  1101. %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h
  1102. %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h
  1103. %{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h
  1104. %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h
  1105. %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h
  1106. %{_includedir}/samba-4.0/gen_ndr/netlogon.h
  1107. %{_includedir}/samba-4.0/gen_ndr/samr.h
  1108. %{_includedir}/samba-4.0/gen_ndr/security.h
  1109. %{_includedir}/samba-4.0/gen_ndr/server_id.h
  1110. %{_includedir}/samba-4.0/gen_ndr/svcctl.h
  1111. %{_includedir}/samba-4.0/gensec.h
  1112. %{_includedir}/samba-4.0/ldap-util.h
  1113. %{_includedir}/samba-4.0/ldap_errors.h
  1114. %{_includedir}/samba-4.0/ldap_message.h
  1115. %{_includedir}/samba-4.0/ldap_ndr.h
  1116. %{_includedir}/samba-4.0/ldb_wrap.h
  1117. %{_includedir}/samba-4.0/lookup_sid.h
  1118. %{_includedir}/samba-4.0/machine_sid.h
  1119. %{_includedir}/samba-4.0/ndr.h
  1120. %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h
  1121. %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h
  1122. %{_includedir}/samba-4.0/ndr/ndr_svcctl.h
  1123. %{_includedir}/samba-4.0/ndr/ndr_nbt.h
  1124. %{_includedir}/samba-4.0/netapi.h
  1125. %{_includedir}/samba-4.0/param.h
  1126. %{_includedir}/samba-4.0/passdb.h
  1127. %{_includedir}/samba-4.0/policy.h
  1128. %{_includedir}/samba-4.0/read_smb.h
  1129. %{_includedir}/samba-4.0/registry.h
  1130. %{_includedir}/samba-4.0/roles.h
  1131. %{_includedir}/samba-4.0/rpc_common.h
  1132. %{_includedir}/samba-4.0/samba/session.h
  1133. %{_includedir}/samba-4.0/samba/version.h
  1134. %{_includedir}/samba-4.0/share.h
  1135. %{_includedir}/samba-4.0/smb2.h
  1136. %{_includedir}/samba-4.0/smb2_constants.h
  1137. %{_includedir}/samba-4.0/smb2_create_blob.h
  1138. %{_includedir}/samba-4.0/smb2_lease.h
  1139. %{_includedir}/samba-4.0/smb2_signing.h
  1140. %{_includedir}/samba-4.0/smb_cli.h
  1141. %{_includedir}/samba-4.0/smb_cliraw.h
  1142. %{_includedir}/samba-4.0/smb_common.h
  1143. %{_includedir}/samba-4.0/smb_composite.h
  1144. %{_includedir}/samba-4.0/smbconf.h
  1145. %{_includedir}/samba-4.0/smb_constants.h
  1146. %{_includedir}/samba-4.0/smb_ldap.h
  1147. %{_includedir}/samba-4.0/smbldap.h
  1148. %{_includedir}/samba-4.0/smb_raw.h
  1149. %{_includedir}/samba-4.0/smb_raw_interfaces.h
  1150. %{_includedir}/samba-4.0/smb_raw_signing.h
  1151. %{_includedir}/samba-4.0/smb_raw_trans2.h
  1152. %{_includedir}/samba-4.0/smb_request.h
  1153. %{_includedir}/samba-4.0/smb_seal.h
  1154. %{_includedir}/samba-4.0/smb_signing.h
  1155. %{_includedir}/samba-4.0/smb_unix_ext.h
  1156. %{_includedir}/samba-4.0/smb_util.h
  1157. %{_includedir}/samba-4.0/tdr.h
  1158. %{_includedir}/samba-4.0/torture.h
  1159. %{_includedir}/samba-4.0/tsocket.h
  1160. %{_includedir}/samba-4.0/tsocket_internal.h
  1161. %{_includedir}/samba-4.0/samba_util.h
  1162. %{_includedir}/samba-4.0/util/attr.h
  1163. %{_includedir}/samba-4.0/util/byteorder.h
  1164. %{_includedir}/samba-4.0/util/data_blob.h
  1165. %{_includedir}/samba-4.0/util/debug.h
  1166. %{_includedir}/samba-4.0/util/memory.h
  1167. %{_includedir}/samba-4.0/util/safe_string.h
  1168. %{_includedir}/samba-4.0/util/string_wrappers.h
  1169. %{_includedir}/samba-4.0/util/talloc_stack.h
  1170. %{_includedir}/samba-4.0/util/tevent_ntstatus.h
  1171. %{_includedir}/samba-4.0/util/tevent_unix.h
  1172. %{_includedir}/samba-4.0/util/tevent_werror.h
  1173. %{_includedir}/samba-4.0/util/time.h
  1174. %{_includedir}/samba-4.0/util/xfile.h
  1175. %{_includedir}/samba-4.0/util_ldb.h
  1176. %{_libdir}/libdcerpc-atsvc.so
  1177. %{_libdir}/libdcerpc-binding.so
  1178. %{_libdir}/libdcerpc-samr.so
  1179. %{_libdir}/libdcerpc.so
  1180. %{_libdir}/libgensec.so
  1181. %{_libdir}/libndr-krb5pac.so
  1182. %{_libdir}/libndr-nbt.so
  1183. %{_libdir}/libndr-standard.so
  1184. %{_libdir}/libndr.so
  1185. %{_libdir}/libnetapi.so
  1186. %{_libdir}/libregistry.so
  1187. %{_libdir}/libsamba-credentials.so
  1188. %{_libdir}/libsamba-hostconfig.so
  1189. %{_libdir}/libsamba-policy.so
  1190. %{_libdir}/libsamba-util.so
  1191. %{_libdir}/libsamdb.so
  1192. %{_libdir}/libsmbclient-raw.so
  1193. %{_libdir}/libsmbconf.so
  1194. %{_libdir}/libsmbldap.so
  1195. %{_libdir}/libtevent-util.so
  1196. %{_libdir}/libtorture.so
  1197. %{_libdir}/libpdb.so
  1198. #%{_libdir}/samba/libdlz_bind9_for_torture.so
  1199. #%{_libdir}/pkgconfig/dcerpc.pc
  1200. #%{_libdir}/pkgconfig/dcerpc_atsvc.pc
  1201. #%{_libdir}/pkgconfig/dcerpc_samr.pc
  1202. #%{_libdir}/pkgconfig/gensec.pc
  1203. #%{_libdir}/pkgconfig/ndr.pc
  1204. #%{_libdir}/pkgconfig/ndr_krb5pac.pc
  1205. #%{_libdir}/pkgconfig/ndr_nbt.pc
  1206. #%{_libdir}/pkgconfig/ndr_standard.pc
  1207. #%{_libdir}/pkgconfig/netapi.pc
  1208. #%{_libdir}/pkgconfig/registry.pc
  1209. #%{_libdir}/pkgconfig/samba-credentials.pc
  1210. #%{_libdir}/pkgconfig/samba-hostconfig.pc
  1211. #%{_libdir}/pkgconfig/samba-policy.pc
  1212. #%{_libdir}/pkgconfig/samba-util.pc
  1213. #%{_libdir}/pkgconfig/samdb.pc
  1214. #%{_libdir}/pkgconfig/smbclient-raw.pc
  1215. #%{_libdir}/pkgconfig/talloc.pc
  1216. #%{_libdir}/pkgconfig/tevent.pc
  1217. #%{_libdir}/pkgconfig/torture.pc
  1218. %{_includedir}/samba-4.0/dcerpc_server.h
  1219. %{_libdir}/libdcerpc-server.so
  1220. #%{_libdir}/pkgconfig/dcerpc_server.pc
  1221. %if %with_talloc
  1222. %{_includedir}/samba-4.0/pytalloc.h
  1223. %endif
  1224. %if ! %with_libsmbclient
  1225. %{_includedir}/samba-4.0/libsmbclient.h
  1226. %{_includedir}/samba-4.0/smb_share_modes.h
  1227. %endif # ! with_libsmbclient
  1228. %if ! %with_libwbclient
  1229. %{_libdir}/libwbclient.so
  1230. %{_includedir}/samba-4.0/wbclient.h
  1231. %endif # ! with_libwbclient
  1232. ## --------------------------------------------------------------------
  1233. %files python
  1234. %defattr(-,root,root,-)
  1235. %{python_sitearch}/*
  1236. %exclude %{python_sitearch}/ldb.so
  1237. %exclude %{python_sitearch}/_tevent.so
  1238. ## --------------------------------------------------------------------
  1239. %files pidl
  1240. %defattr(-,root,root,-)
  1241. %{perl_vendorlib}/Parse/*
  1242. %{_mandir}/man1/pidl.1.gz
  1243. %{_mandir}/man3/Parse::Pidl::Wireshark::NDR.3pm.gz
  1244. %{_mandir}/man3/Parse::Pidl::Wireshark::Conformance.3pm.gz
  1245. %{_mandir}/man3/Parse::Pidl::Dump.3pm.gz
  1246. %{_mandir}/man3/Parse::Pidl::NDR.3pm.gz
  1247. %{_mandir}/man3/Parse::Pidl::Util.3pm.gz
  1248. %attr(755,root,root) %{_bindir}/pidl
  1249. ## --------------------------------------------------------------------
  1250. %if %with_libsmbclient
  1251. %files -n libsmbclient
  1252. %defattr(-,root,root)
  1253. %{_libdir}/libsmbclient.so.*
  1254. %{_libdir}/libsmbsharemodes.so.*
  1255. %{_mandir}/man7/libsmbclient.7.gz
  1256. # ja manual
  1257. %{_mandir}/ja/man7/libsmbclient.7.gz
  1258. ## --------------------------------------------------------------------
  1259. %files -n libsmbclient-devel
  1260. %defattr(-,root,root)
  1261. %{_includedir}/samba-4.0/libsmbclient.h
  1262. %{_includedir}/samba-4.0/smb_share_modes.h
  1263. %{_libdir}/libsmbclient.so
  1264. %{_libdir}/libsmbsharemodes.so
  1265. %{_libdir}/pkgconfig/smbclient.pc
  1266. %{_libdir}/pkgconfig/smbsharemodes.pc
  1267. #%{_mandir}/man7/libsmbclient.7*
  1268. %endif # with_libsmbclient
  1269. ## --------------------------------------------------------------------
  1270. %if %with_libwbclient
  1271. %files -n libwbclient
  1272. %defattr(-,root,root)
  1273. %{_libdir}/libwbclient.so.*
  1274. %{_libdir}/samba/libwinbind-client.so
  1275. ## --------------------------------------------------------------------
  1276. %files -n libwbclient-devel
  1277. %defattr(-,root,root)
  1278. %{_includedir}/samba-4.0/wbclient.h
  1279. %{_libdir}/libwbclient.so
  1280. %{_libdir}/pkgconfig/wbclient.pc
  1281. %endif # with_libwbclient
  1282. %if %build_compat32
  1283. ## --------------------------------------------------------------------
  1284. %files -n compat32-libwbclient
  1285. %defattr(755,root,root)
  1286. %{_libdir}/libwbclient.so.*
  1287. %{_libdir}/samba/libwinbind-client.so
  1288. ## --------------------------------------------------------------------
  1289. %files -n compat32-libsmbclient
  1290. %attr(755,root,root) %{_libdir}/libsmbclient.so.*
  1291. %attr(755,root,root) %{_libdir}/libsmbsharemodes.so.*
  1292. %endif
  1293. %changelog
  1294. * Wed Dec 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.14-1
  1295. - new upstream release.
  1296. - re-enabled samba-ja-docs.
  1297. * Tue Dec 2 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-3
  1298. - fixed Group typo involved by previous release
  1299. * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-2
  1300. - moved common, libs, python, liibsmbclient and libwbclient packages to System Environment/Libraries Group
  1301. * Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.11-1
  1302. - new upstream release.
  1303. * Wed Mar 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.6-1
  1304. - new upstream release.
  1305. - removed samba-ja-docs (docs-ja for 4.1.x has not released yet).
  1306. * Mon Dec 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.3-1
  1307. - new upstream release.
  1308. * Thu Nov 28 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.2-1
  1309. - new upstream release.
  1310. - removed a sub package "samba-swat" (removed in upstream).
  1311. - %%post was made to fix the permission of TLS key (CVE-2013-4476).
  1312. * Wed Oct 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.10-1
  1313. - new upstream release.
  1314. * Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.9-1
  1315. - new upstream release.
  1316. * Tue Mar 26 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.4-1
  1317. - new upstream release.
  1318. - fixed dependency.
  1319. - added documents from samba-docs-ja-4.0.0-1.
  1320. * Mon Mar 04 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-2
  1321. - fixed directory to place private data.
  1322. * Sun Mar 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-1
  1323. - new upstream release.
  1324. - fixed dates of %%changelog.
  1325. * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.0-1
  1326. - new upstream release.
  1327. * Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.15-1
  1328. - new upstream release. (to fix CVE-2012-2111)
  1329. - added charset options to smb.conf.
  1330. * Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.14-1
  1331. - new upstream release. (to fix CVE-2012-1182)
  1332. * Tue Aug 09 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.11-1
  1333. - new upstream release. (to fix BTS:1189)
  1334. * Sat Jul 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
  1335. - new upstream release. (to fix CVE-2011-2522 and CVE-2011-2694)
  1336. * Mon Jul 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-3
  1337. - updated Source6.
  1338. * Fri Mar 25 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-2
  1339. - fix smb.conf(5).
  1340. * Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
  1341. - new upstream release.
  1342. - updated patches.
  1343. - added subpackages 'winbind-krb5-locator' and 'winbind-client'.
  1344. - dropped tdb and talloc subpackages became independent packages.
  1345. - dropped {,u}mount.cifs were included in cifs-utils.
  1346. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.3.10-13
  1347. - rebuilt with rpm-4.8.1 for pkg-config
  1348. - changed spec file name as vine style
  1349. - dropt script lines in %%build that no work
  1350. * Sun Feb 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
  1351. - add patch1000 for fix CVE-2010-0547 (cifs.mount)
  1352. * Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
  1353. - new upstream release.
  1354. * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
  1355. - added 'Packager' tag.
  1356. * Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
  1357. - new upstream release.
  1358. - added '--disable-fam' option.
  1359. - added 'compat32-*' subpackages.
  1360. - added 'libuuid-devel' to 'BuildRequires:'.
  1361. * Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
  1362. - new upstream release.
  1363. * Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
  1364. - new upstream release.
  1365. * Thu Jun 4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
  1366. - increased release number for libtalloc/libtdb.
  1367. * Tue Jun 2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
  1368. - fixed dependency.
  1369. - fixed modulepath.
  1370. * Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
  1371. - new upstream release.
  1372. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
  1373. - rebuilt with openldap-2.4.11
  1374. * Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
  1375. - samba-doc: changed Group to Applications/Documentation
  1376. - samba-winbind-devel: changed Group to Development/Libraries
  1377. - libsmbclient: changed Group to System Environment/Libraries
  1378. - libsmbclient-devel: changed Group to Development/Libraries
  1379. - libtalloc: changed Group to System Environment/Libraries
  1380. - libtalloc-devel: changed Group to Development/Libraries
  1381. - libtdb: fixed summary
  1382. changed Group to System Environment/Libraries
  1383. - libtdb-devel: changed Group to Development/Libraries
  1384. * Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
  1385. - new upstream release
  1386. * Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
  1387. - new upstream release
  1388. - drop jp patch
  1389. - use UTF-8 as default charset
  1390. - rename samba-libsmbclient to libsmbclient
  1391. * Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
  1392. - new upstream release.
  1393. - remove gamin-devel from BuildRequires: (no longer needed).
  1394. * Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
  1395. - BuildRequires: gamin-devel (see [wishes:0127])
  1396. * Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
  1397. - [SECURITY FIX] add security patches (#50-52)
  1398. - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
  1399. - CVE-2007-2446: multiple heap overflows allow remote code execution
  1400. - CVE-2007-2447: remote command injection vulnerability
  1401. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
  1402. - apply upstream patches (#0-5)
  1403. - fix an issues with servers set to "security = share" and Vista clients
  1404. that send NTLMv2 responses
  1405. - fixe several point-n-print bugs with Vista clients
  1406. - fix failure when using the Vista backup utility
  1407. - fix expansion of the %a smb.conf variable for Vista clients
  1408. - fix MS-DFS referrals with Windows Vista clients
  1409. - fix for Vista failing to delete directories on a Samba share
  1410. - display service start/stop messages ([VineSeed:13299])
  1411. * Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
  1412. - [SECURITY FIX] new upstream release
  1413. - CVE-2007-0452: potential denial of service bug in smbd
  1414. - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
  1415. - CVE-2007-0454: format string bug in afsacl.so vfs plugin
  1416. * Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
  1417. - new upstream release
  1418. * Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
  1419. - disable swat (via inetd) by default
  1420. - fix code for editing %%{_sysconfdir}/inetd.conf
  1421. * Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
  1422. - fix dependencies:
  1423. - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
  1424. - drop PreReq: gawk from -client
  1425. - drop PreReq: inetd from -swat
  1426. - drop Requires: tcp_wrappers from -swat (is needed by inetd)
  1427. - fix %%post etc...
  1428. - drop code for editing /etc/services: no more needed
  1429. - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
  1430. from %%triggerin swat -- inetd to %%post swat
  1431. - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
  1432. * Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
  1433. - new upstream release
  1434. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
  1435. - rebuilt with openldap-2.3.27-0vl1
  1436. * Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
  1437. - new upstream release
  1438. * Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
  1439. - new upstream release
  1440. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
  1441. - [SECURITY] new upstream release
  1442. - Memory exhaustion DoS against smbd (CVE-2006-3403)
  1443. - update patches
  1444. - buildroot.patch (#100)
  1445. - logfiles.patch (#103)
  1446. - smb.conf.patch (#106)
  1447. - update filter-requires-samba.sh (source999)
  1448. - get rid of bogus dependency on perl(Unicode::MapUTF8)
  1449. * Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
  1450. - new upstream release
  1451. - renumber patches
  1452. - 000- for upstream patches
  1453. - 050- for security patches
  1454. - 100- for generic patches
  1455. - update logfiles.patch (#103)
  1456. - drop warning.patch (#104)
  1457. - not apply hex.patch (#105)
  1458. - add smb.conf.patch (#106)
  1459. - drop samba.log (source1), smb.conf (source2)
  1460. - use samba.pamd.stack instead of samba.pamd
  1461. - define macro: pkgingdir
  1462. - add files:
  1463. - samba-client
  1464. - %%{_bindir}/{smbget,eventlogadm}
  1465. - samba-common:
  1466. - %%{_bindir}/tdbtool
  1467. - separate development files to samba-libsmbclient-devel
  1468. - change groups
  1469. * Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
  1470. - remove unneeded dependencies
  1471. - update filter-requires-samba.sh (source999)
  1472. - overwrite __find_requires instead of __perl_requires
  1473. * Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
  1474. - rebuild with readline-5.1
  1475. * Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
  1476. - separate doc package with %%docpkg
  1477. - use %%htmlview instead of %%browser
  1478. * Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
  1479. - add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
  1480. * Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
  1481. - new upstream release
  1482. - install %%{_sysconfdir}/xinetd.d/swat
  1483. - update filter-requires-samba.sh
  1484. - add swat.desktop.in instead of swat.desktop
  1485. - switch browser by %%browser
  1486. - drop i18n patches
  1487. - update logfiles.patch (#3)
  1488. - add warning.patch (#4)
  1489. * Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
  1490. - fix samba.log
  1491. - thanks, K. Moriyama [VinePlus:02606]
  1492. - remove docs/manpages from %%doc
  1493. * Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
  1494. - new upstream release
  1495. - update struplower_m_i18n.patch (#102)
  1496. - drop obsolete patch (#10)
  1497. * Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
  1498. - [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
  1499. - add samba-3.0.9-CAN-2004-1154.patch (#10)
  1500. - update patch (#102)
  1501. * Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
  1502. - new upstream release
  1503. - drop obsolete patches (#10,11,110)
  1504. - update patches (#3,102)
  1505. * Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
  1506. - [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
  1507. - add samba-3.0.7-CAN-2004-0882.patch (patch11)
  1508. - update Source URL
  1509. * Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
  1510. - [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
  1511. - add samba-3.0.7-CAN-2004-0930.patch (patch10)
  1512. * Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
  1513. - update samba.log, {smb,winbind}.init
  1514. - use *.log as logfile name instead of log.* (patch3)
  1515. * Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
  1516. - change directories from %%{_localstatedir}/lock/samba
  1517. - LOCKDIR: %%{_localstatedir}/cache/samba
  1518. - PIDDIR: %%{_localstatedir}/run
  1519. - restart {smb,winbind} at postun (upgrade)
  1520. - samba-common
  1521. - convert smbpasswd at triggerpostun -- samba < 3.0.7
  1522. - add convert_smbpasswd
  1523. - add PreReq: gawk
  1524. * Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
  1525. - add docs_ja (source101) from 3.0.5-16ml
  1526. * Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
  1527. - new upstream release (shift to 3.0 series)
  1528. - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
  1529. - drop obsolete paches, configure options
  1530. - update buildroot.patch
  1531. - add I18N patches (#101-)
  1532. - update smb.conf
  1533. - add URL
  1534. - use more macros
  1535. - change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
  1536. - move %%{_localstatedir}/log/samba, smbpasswd to samba-common
  1537. - move smbspool, smbcacls, rpcclient to samba-client
  1538. - update descriptions
  1539. * Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
  1540. - new upstream release
  1541. * Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
  1542. - 2.2.11-ja-1.0beta1
  1543. - drop patch10
  1544. - add BuildPreReq: openssl-devel
  1545. - swat
  1546. - add PreReq/Requires: inetd
  1547. - add swat.desktop
  1548. * Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
  1549. - fix changelog
  1550. * Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
  1551. - [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
  1552. - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
  1553. - add BuildPreReq: cups-devel
  1554. - add Prereq: chkconfig mktemp psmisc (instead of each files)
  1555. * Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
  1556. - new upstream release
  1557. * Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
  1558. - 2.2.9-ja-1.0beta1
  1559. - add BuildPreReq: readline-devel
  1560. * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
  1561. - add ldconfig in %%post/%%postun script for libsmbclient
  1562. * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
  1563. - add libsmbclient subpackage.
  1564. * Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
  1565. - new upstream release.
  1566. * Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
  1567. - fix smb.conf (SAMBADOC's path)
  1568. * Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
  1569. - tentatively skip to build examples/VFS on alpha
  1570. * Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
  1571. - new upstream release.
  1572. * Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
  1573. - fix smb.conf
  1574. - fix smbadduser
  1575. * Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
  1576. - new upstream version
  1577. * Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
  1578. - added smbinit-vine.patch
  1579. -- added '-D' option in smbd and nmbd
  1580. * Thu Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
  1581. - New upstream version
  1582. -- security fix.
  1583. * Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1584. - 2.2.7a.ja-1.0vl5
  1585. - merged from SPEC for RH60 by samba-jp.
  1586. * Mon Feb 17 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1587. - 2.2.7a.ja-1.0vl4.beta1
  1588. - fix 'Requires:'.
  1589. * Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1590. - 2.2.7a.ja-1.0vl3.alpha1
  1591. - disable --with-tdbsam.
  1592. * Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1593. - 2.2.7a.ja-1.0vl2.alpha1
  1594. - modify %%post script for new password database.
  1595. * Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1596. - 2.2.7a.ja-1.0vl1.alpha1
  1597. * Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1598. - 2.2.6.ja-1.0vl1.alpha2
  1599. - apply alpha2 patch.
  1600. * Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1601. - 2.2.6.ja-1.0vl1.alpha1
  1602. - remove swat from package 'samba'.
  1603. * Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1604. - 2.2.6.ja-1.0vl0.alpha1
  1605. - enable winbind modules.
  1606. - change numbering rule.
  1607. * Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1608. - 2.2.6_ja_0.alpha1-0vl1
  1609. * Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1610. - 2.2.4_ja_0.alpha1.3-0vl1
  1611. * Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1612. - 2.2.2_ja_1.1-0vl1
  1613. - disable winbind modules (2.2.2 or earlier has critical bugs).
  1614. - modify 'Requires:'.
  1615. * Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  1616. - 2.2.2_ja_1.1-0vl0
  1617. - shift sources to 2.2.x.
  1618. - add debugging mode for '%%files' section.
  1619. - modify spec largely because of too many difference between 2.0.x and 2.2.x.
  1620. - . exchange %%prep, %%build, %%install section with samba-jp's spec.
  1621. - . create a package 'samba-swat'.
  1622. - . move smbclient and nmblookup to samba-common.
  1623. - . move testprns to package 'samba' because it's checking tool for
  1624. - server on LOCALHOST.
  1625. - . move '%%post' to '%%post swat'.
  1626. - . disable '%%post common'.
  1627. * Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
  1628. - 2.0.10_ja_1.2
  1629. * Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
  1630. - 2.0.10_ja_1.1-0vl4
  1631. - eliminate executable bit in %%doc to erase perl/sh requirement
  1632. * Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
  1633. - 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
  1634. - patch swat/ja/help/welcome.html to hide some missing matter
  1635. - also remove docs/zh_{CN,TW} files in %%doc
  1636. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
  1637. - for VineSeed
  1638. - deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
  1639. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
  1640. - 2.0.10_ja_1.1
  1641. - for 2.1.x update
  1642. * Fri Aug 17 2001 <sagami@vinelinux.org>
  1643. - 2.0.10_ja_1.0-0vl2
  1644. - remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
  1645. * Mon Jul 09 2001 <sagami@vinelinux.org>
  1646. - 2.0.10_ja_1.0-0vl1: includes secrity fix
  1647. (http://www.samba.org/samba/whatsnew/macroexploit.html)
  1648. - remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
  1649. * Thu May 31 2001 <sagami@vinelinux.org>
  1650. - 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
  1651. - added BuildPreReq = pam-devel for Vine 2.1.5+
  1652. - fixed init script to match our current/old style
  1653. - eliminate CVS related files from %%doc
  1654. * Thu Apr 19 2001 <sagami@vinelinux.org>
  1655. - 2.0.7_ja_2.2-0vl1
  1656. * Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  1657. - 2.0.7_ja_1.3-0vl2
  1658. - rebuilt with readline2
  1659. - use better macros (although not almost complete... needs comfirmation)
  1660. * Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
  1661. - 2.0.7_ja_1.3-0vl1
  1662. * Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  1663. - 2.0.7_ja_1.2.1-0vl2
  1664. - fixed missing Changelog.ja (was Chagelog.ja)
  1665. * Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
  1666. - updated to 2.0.7-ja-1.2.1
  1667. * Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1668. - updated to 2.0.7-ja-1.2
  1669. * Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1670. - added some Japanese documents to %doc
  1671. * Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1672. - updated to 2.0.7-ja-1.0
  1673. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1674. - updated to 2.0.7-ja-0.99
  1675. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1676. - added rpccilent
  1677. - modified tcpdconf for stability.
  1678. * Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  1679. - first test release for Vine based on RH6.2 spec file.
  1680. - activated swat in default for only localhost.
  1681. * Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
  1682. - fix trigger, again.
  1683. * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
  1684. - fix trigger.
  1685. * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
  1686. - turn on quota support
  1687. * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
  1688. - rebuild to fox dependencies
  1689. - man pages are compressed
  1690. * Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
  1691. - munge post scripts slightly
  1692. * Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
  1693. - turn on mmap again. Wheee.
  1694. - ship smbmount on alpha
  1695. * Mon Dec 6 1999 Bill Nottingham <notting@redhat.com>
  1696. - turn off mmap. ;)
  1697. * Wed Dec 1 1999 Bill Nottingham <notting@redhat.com>
  1698. - change /var/log/samba to 0700
  1699. - turn on mmap support
  1700. * Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
  1701. - update to 2.0.6
  1702. * Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
  1703. - add a %defattr for -common
  1704. * Tue Oct 5 1999 Bill Nottingham <notting@redhat.com>
  1705. - shift some files into -client
  1706. - remove /home/samba from package.
  1707. * Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
  1708. - initscript oopsie. killproc <name> -HUP, not other way around.
  1709. * Sun Sep 26 1999 Bill Nottingham <notting@redhat.com>
  1710. - script cleanups. Again.
  1711. * Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
  1712. - add a patch to fix dropped reconnection attempts
  1713. * Mon Sep 6 1999 Jeff Johnson <jbj@redhat.com>
  1714. - use cp rather than mv to preserve /etc/services perms (#4938 et al).
  1715. - use mktemp to generate /etc/tmp.XXXXXX file name.
  1716. - add prereqs on sed/mktemp/killall (need to move killall to /bin).
  1717. - fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
  1718. * Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
  1719. - sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
  1720. * Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
  1721. - fix typo in mount.smb
  1722. * Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
  1723. - add a %trigger to work around (sort of) broken scripts in
  1724. previous releases
  1725. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  1726. - initscript munging
  1727. * Mon Aug 9 1999 Bill Nottingham <notting@redhat.com>
  1728. - add domain parsing to mount.smb
  1729. * Fri Aug 6 1999 Bill Nottingham <notting@redhat.com>
  1730. - add a -common package, shuffle files around.
  1731. * Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
  1732. - add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
  1733. * Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
  1734. - update to 2.0.5
  1735. - fix mount.smb - smbmount options changed again.........
  1736. - fix postun. oops.
  1737. - update some stuff from the samba team's spec file.
  1738. * Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
  1739. - split off clients into separate package
  1740. - don't run samba by default
  1741. * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
  1742. - fix one problem with mount.smb script
  1743. - fix smbpasswd on sparc with a really ugly kludge
  1744. * Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
  1745. - fixed logrotate script
  1746. * Tue May 25 1999 Bill Nottingham <notting@redhat.com>
  1747. - turn of 64-bit locking on 32-bit platforms
  1748. * Thu May 20 1999 Bill Nottingham <notting@redhat.com>
  1749. - so many releases, so little time
  1750. - explicitly uncomment 'printing = bsd' in sample config
  1751. * Tue May 18 1999 Bill Nottingham <notting@redhat.com>
  1752. - update to 2.0.4a
  1753. - fix mount.smb arg ordering
  1754. * Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
  1755. - go back to stop/start for restart (-HUP didn't work in testing)
  1756. * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
  1757. - add a mount.smb to make smb mounting a little easier.
  1758. - smb filesystems apparently don't work on alpha. Oops.
  1759. * Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
  1760. - always create codepages
  1761. * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
  1762. - logrotate changes
  1763. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  1764. - auto rebuild in the new build environment (release 3)
  1765. * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
  1766. - updated init script to use graceful restart (not stop/start)
  1767. * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
  1768. - update to 2.0.3
  1769. * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
  1770. - update to 2.0.2
  1771. * Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
  1772. - swat swat
  1773. * Tue Feb 9 1999 Bill Nottingham <notting@redhat.com>
  1774. - fix bash2 breakage in post script
  1775. * Fri Feb 5 1999 Bill Nottingham <notting@redhat.com>
  1776. - update to 2.0.0
  1777. * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
  1778. - make sure all binaries are stripped
  1779. * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
  1780. - update to 1.9.18p10.
  1781. - fix %triggerpostun.
  1782. * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
  1783. - updated postun triggerscript to check $0
  1784. - clear /etc/codepages from %preun instead of %postun
  1785. * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
  1786. - made the %postun script a tad less agressive; no reason to remove
  1787. the logs or lock file (after all, if the lock file is still there,
  1788. samba is still running)
  1789. - the %postun and %preun should only exectute if this is the final
  1790. removal
  1791. - migrated %triggerpostun from Red Hat's samba package to work around
  1792. packaging problems in some Red Hat samba releases
  1793. * Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
  1794. - minor tidy up in preparation for release of 1.9.18p5
  1795. - added findsmb utility from SGI package
  1796. * Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
  1797. - Updated version and codepage info.
  1798. - Release to test name resolve order
  1799. * Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
  1800. - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
  1801. - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
  1802. - Compounded make line
  1803. - Updated smb.init restart mechanism
  1804. - Use compound mkdir -p line instead of individual calls to mkdir
  1805. - Fixed smb.conf file path for log files
  1806. - Fixed smb.conf file path for incoming smb print spool directory
  1807. - Added a number of options to smb.conf file
  1808. - Added smbadduser command (missed from all previous RPMs) - Doooh!
  1809. - Added smbuser file and smb.conf file updates for username map