samba-vl.spec 69 KB

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