samba-vl.spec 68 KB

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