samba-vl.spec 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383
  1. %define tdb_version 1.2.9
  2. %define talloc_version 2.0.5
  3. %define samba_version 3.5.8
  4. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  5. %define samba_release 2
  6. %define samba_source source3
  7. Summary: The Samba Suite of programs
  8. Summary(ja): Samba スイート
  9. Name: samba
  10. Version: %{samba_version}
  11. Release: %{samba_release}%{?_dist_release}
  12. License: GPLv3+ and LGPLv3+
  13. Group: System Environment/Daemons
  14. URL: http://www.samba.org/
  15. Source: http://www.samba.org/samba/ftp/%{name}-%{version}.tar.gz
  16. # Vine specific replacement-files
  17. Source1: samba.log
  18. Source2: samba.xinetd
  19. Source3: swat.desktop
  20. Source4: samba.sysconfig
  21. Source5: smb.init
  22. Source6: samba.pamd
  23. Source7: smbprint
  24. Source8: winbind.init
  25. Source9: smb.conf.default
  26. Source10: nmb.init
  27. Source11: pam_winbind.conf
  28. # fixed manual
  29. Source100: smb.conf.5
  30. # Don't depend on Net::LDAP
  31. Source999: filter-requires-samba.sh
  32. # upstream patches. Applied first so that they'll break our patches rather
  33. # than the other way around
  34. # (none right now)
  35. # generic patches
  36. Patch102: samba-3.2.0pre1-pipedir.patch
  37. Patch104: samba-3.0.0rc3-nmbd-netbiosname.patch
  38. # The passwd part has been applied, but not the group part
  39. Patch107: samba-3.2.0pre1-grouppwd.patch
  40. Patch200: samba-3.2.5-inotify.patch
  41. Requires(pre): samba-common = %{version}-%{release}
  42. Requires: pam >= 0:0.64
  43. Requires: logrotate >= 0:3.4
  44. Requires: krb5-libs, libacl, libattr
  45. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  46. Requires(post): /sbin/chkconfig, /sbin/service
  47. Requires(preun): /sbin/chkconfig, /sbin/service
  48. BuildRequires: net-tools
  49. BuildRequires: pam-devel, readline-devel, ncurses-devel, libacl-devel
  50. BuildRequires: krb5-devel, openldap-devel, openssl-devel, cups-devel
  51. BuildRequires: autoconf, gawk, popt-devel, gtk2-devel, libcap-devel
  52. BuildRequires: libtalloc-devel, libtdb-devel
  53. %if %{?_dist_release}!="vl5"
  54. BuildRequires: libuuid-devel
  55. %endif
  56. # Working around perl dependency problem from docs
  57. %define __perl_requires %{SOURCE999}
  58. Vendor: Project Vine
  59. Distribution: Vine Linux
  60. Packager: tomop
  61. %description
  62. Samba is the suite of programs by which a lot of PC-related machines
  63. share files, printers, and other information (such as lists of
  64. available files and printers). The Windows NT, OS/2, and Linux
  65. operating systems support this natively, and add-on packages can
  66. enable the same thing for DOS, Windows, VMS, UNIX of all kinds, MVS,
  67. and more. This package provides an SMB/CIFS server that can be used to
  68. provide network services to SMB/CIFS clients.
  69. Samba uses NetBIOS over TCP/IP (NetBT) protocols and does NOT
  70. need the NetBEUI (Microsoft Raw NetBIOS frame) protocol.
  71. %description -l ja
  72. Samba は Microsoft Windows や OS/2、その他の Linux マシンを含む SMB/CIFS
  73. クライアントにネットワークファイル・プリンタ共有サービスを提供します。
  74. Samba は NetBIOS over TCP/IP (NetBT, NBT) プロトコルを使用しますので、
  75. NetBUEI (Microsoft Raw NetBIOS frame) プロトコルは必要ありません。
  76. %package client
  77. Summary: Samba client programs
  78. Summary(ja): Samba クライアントプログラム
  79. Group: Applications/System
  80. Requires: samba-common = %{samba_version}-%{release}
  81. Obsoletes: smbfs
  82. %description client
  83. The samba-client package provides some SMB/CIFS clients to complement
  84. the built-in SMB/CIFS filesystem in Linux. These clients allow access
  85. of SMB/CIFS shares and printing to SMB/CIFS printers.
  86. %description client -l ja
  87. samba-client は Linux カーネルがサポートしている SMB ファイルシステム
  88. 機能を操作する SMB クライアントを提供します。
  89. これらは SMB 共有のアクセスと SMB プリンタへの印刷を実現します。
  90. %package common
  91. Summary: Files used by both Samba servers and clients
  92. Summary(ja): Samba サーバーとクライアントの両方に使用されるファイル
  93. Requires: libtdb >= %{tdb_version}
  94. Requires: libtalloc >= %{talloc_version}
  95. Group: Applications/System
  96. Requires(pre): /usr/sbin/groupadd
  97. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  98. Requires(preun): /sbin/chkconfig, /sbin/service
  99. %description common
  100. Samba-common provides files necessary for both the server and client
  101. packages of Samba.
  102. %description common -l ja
  103. samba-common は Samba のサーバーとクライアントの両方のパッケージで
  104. 使用される共通のファイルを提供します。
  105. %package winbind
  106. Summary: Samba winbind
  107. Group: Applications/System
  108. Requires: samba-common = %{samba_version}-%{release}
  109. Requires(pre): /usr/sbin/groupadd
  110. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  111. Requires(preun): /sbin/chkconfig, /sbin/service
  112. %description winbind
  113. The samba-winbind package provides the winbind daemon, a NSS library, a PAM
  114. module and some client tools. Winbind enables Linux to be a full member in
  115. Windows domains and to use Windows user and group accounts on Linux.
  116. %package winbind-krb5-locator
  117. Summary: Samba winbind krb5 locator
  118. Requires: samba-winbind-clients = %{samba_version}-%{release}
  119. Group: Applications/System
  120. %description winbind-krb5-locator
  121. The winbind krb5 locator is a plugin for the system kerberos library to allow
  122. the local kerberos library to use the same KDC as samba and winbind use
  123. %package winbind-clients
  124. Summary: Samba winbind clients
  125. Group: Applications/System
  126. %description winbind-clients
  127. The samba-winbind-clients package provides the NSS library and a PAM
  128. module necessary to communicate to the Winbind Daemon
  129. %package winbind-devel
  130. Summary: Developer tools for the winbind library
  131. Group: Development/Libraries
  132. Requires: samba-winbind = %{samba_version}-%{release}
  133. %description winbind-devel
  134. The samba-winbind package provides developer tools for the wbclient library.
  135. %package swat
  136. Summary: The Samba SMB server Web configuration program
  137. Summary(ja): Web ベースの Samba サーバ設定ツール
  138. Group: Applications/System
  139. Requires: samba = %{samba_version}-%{release}, xinetd
  140. %description swat
  141. The samba-swat package includes the new SWAT (Samba Web Administration
  142. Tool), for remotely managing Samba's smb.conf file using your favorite
  143. Web browser.
  144. %description swat -l ja
  145. SWAT (Samba Web Administration Tool) を使うと、Samba の管理をお好きな Web
  146. ブラウザで行うことができるようになります。
  147. %package doc
  148. Summary: Documentation for the Samba suite
  149. Group: Applications/Documentation
  150. Requires: samba-common = %{samba_version}-%{release}
  151. %description doc
  152. The samba-doc package includes all the non-manpage documentation for the
  153. Samba suite.
  154. %package domainjoin-gui
  155. Summary: Domainjoin GUI
  156. Group: Applications/System
  157. Requires: samba-common = %{samba_version}-%{release}, gtk2
  158. %description domainjoin-gui
  159. The samba-domainjoin-gui package includes a domainjoin gtk application.
  160. %package -n libsmbclient
  161. Summary: The SMB client library
  162. Summary(ja): SMB クライアントライブラリ
  163. Group: System Environment/Libraries
  164. Obsoletes: samba-libsmbclient < 3.1
  165. Provides: samba-libsmbclient = %{samba_version}-%{release}
  166. %description -n libsmbclient
  167. The libsmbclient contains the SMB client library from the Samba suite.
  168. %description -n libsmbclient -l ja
  169. libsmbclient は Samba クライアントの機能を提供するライブラリを
  170. 提供します。
  171. %if %build_compat32
  172. %package -n compat32-libsmbclient
  173. Summary: The SMB client library
  174. Summary(ja): SMB クライアントライブラリ
  175. Group: System Environment/Libraries
  176. Provides: compat32-samba-libsmbclient = %{samba_version}-%{release}
  177. %description -n compat32-libsmbclient
  178. The libsmbclient contains the SMB client library from the Samba suite.
  179. %description -n compat32-libsmbclient -l ja
  180. libsmbclient は Samba クライアントの機能を提供するライブラリを
  181. 提供します。
  182. %package -n compat32-samba-winbind
  183. Summary: Samba winbind
  184. Group: Applications/System
  185. Requires: samba-common = %{samba_version}-%{release}
  186. Requires(pre): /usr/sbin/groupadd
  187. Requires(post): /sbin/chkconfig, /sbin/service, coreutils
  188. Requires(preun): /sbin/chkconfig, /sbin/service
  189. %description -n compat32-samba-winbind
  190. The samba-winbind package provides the winbind daemon, a NSS library, a PAM
  191. module and some client tools. Winbind enables Linux to be a full member in
  192. Windows domains and to use Windows user and group accounts on Linux.
  193. %endif
  194. %package -n libsmbclient-devel
  195. Summary: Developer tools for the SMB client library
  196. Summary(ja): SMB クライアントライブラリ開発用ファイル
  197. Group: Development/Libraries
  198. Requires: libsmbclient = %{samba_version}-%{release}
  199. Obsoletes: samba-libsmbclient-devel < 3.1
  200. Provides: samba-libsmbclient-devel = %{samba_version}-%{release}
  201. %description -n libsmbclient-devel
  202. The libsmbclient-devel package contains the header files and libraries needed to
  203. develop programs that link against the SMB client library in the Samba suite.
  204. %description -n libsmbclient-devel -l ja
  205. libsmbclient-devel は Samba クライアントの機能を提供するライブラリを
  206. 使ったアプリケーションを開発するためのファイルを提供します。
  207. %prep
  208. %setup -q
  209. # copy Red Hat specific scripts
  210. mkdir packaging/Vine
  211. cp packaging/RHEL/setup/smbusers packaging/Vine/
  212. cp %{SOURCE5} packaging/Vine/
  213. cp %{SOURCE6} packaging/Vine/
  214. cp %{SOURCE7} packaging/Vine/
  215. cp %{SOURCE8} packaging/Vine/winbind.init
  216. cp %{SOURCE9} packaging/Vine/
  217. cp %{SOURCE10} packaging/Vine/
  218. cp %{SOURCE11} packaging/Vine/
  219. # Upstream patches
  220. #(none)
  221. # generic patches
  222. %patch102 -p1 -b .pipedir
  223. #%patch103 -p1 -b .logfiles
  224. #%patch104 -p1 -b .nmbd-netbiosname # FIXME: does not apply
  225. %patch107 -p1 -b .grouppwd
  226. %patch200 -p0 -b .inotify
  227. mv %samba_source/VERSION %samba_source/VERSION.orig
  228. sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{release}\"/' < %samba_source/VERSION.orig > %samba_source/VERSION
  229. cd %samba_source
  230. script/mkversion.sh
  231. cd ..
  232. #Remove smbldap-tools, they are already packaged separately in Fedora
  233. rm -fr examples/LDAP/smbldap-tools-*/
  234. %build
  235. cd %samba_source
  236. sh autogen.sh
  237. %ifarch i386 sparc
  238. RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
  239. %endif
  240. %ifarch ia64
  241. #libtoolize --copy --force # get it to recognize IA-64
  242. #autoheader
  243. #autoconf
  244. EXTRA="-D_LARGEFILE64_SOURCE"
  245. %endif
  246. CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" %configure \
  247. --with-dnsupdate \
  248. --with-ads \
  249. --with-acl-support \
  250. --with-automount \
  251. --with-dnsupdate \
  252. --with-libsmbclient \
  253. --with-libsmbsharemodes \
  254. --with-mmap \
  255. --with-pam \
  256. --with-pam_smbpass \
  257. --with-quotas \
  258. --with-sendfile-support \
  259. --with-syslog \
  260. --with-utmp \
  261. --with-vfs \
  262. --with-winbind \
  263. --without-smbwrapper \
  264. --with-lockdir=/var/lib/samba \
  265. --with-piddir=/var/run \
  266. --with-mandir=%{_mandir} \
  267. --with-privatedir=/var/lib/samba/private \
  268. --with-logfilebase=/var/log/samba \
  269. --with-libdir=%{_libdir} \
  270. --with-modulesdir=%{_libdir}/samba \
  271. --with-configdir=%{_sysconfdir}/samba \
  272. --with-pammodulesdir=%{_lib}/security \
  273. --with-swatdir=%{_datadir}/swat \
  274. --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2 \
  275. --with-cluster-support=auto \
  276. --with-libtalloc=no \
  277. --enable-external-libtalloc=yes \
  278. --with-libtdb=no
  279. # --enable-external-libtdb=yes \
  280. # --with-aio-support \
  281. make pch
  282. make LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{samba_version}/%samba_source/bin \
  283. %{?_smp_mflags} \
  284. all ../nsswitch/libnss_wins.so modules \
  285. test_pam_modules test_nss_modules test_shlibs
  286. make LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{samba_version}/%samba_source/bin \
  287. %{?_smp_mflags} \
  288. -C lib/netapi/examples
  289. make debug2html smbfilter
  290. %install
  291. rm -rf $RPM_BUILD_ROOT
  292. build_libdir="$RPM_BUILD_ROOT%{_libdir}"
  293. mkdir -p $RPM_BUILD_ROOT/sbin
  294. mkdir -p $RPM_BUILD_ROOT/usr/{sbin,bin}
  295. mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
  296. mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{pam.d,logrotate.d,security}
  297. mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
  298. mkdir -p $RPM_BUILD_ROOT/var/lib/samba
  299. mkdir -p $RPM_BUILD_ROOT/var/lib/samba/private
  300. mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged
  301. mkdir -p $RPM_BUILD_ROOT/var/lib/samba/scripts
  302. mkdir -p $RPM_BUILD_ROOT/var/log/samba/old
  303. mkdir -p $RPM_BUILD_ROOT/var/spool/samba
  304. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/swat/using_samba
  305. mkdir -p $RPM_BUILD_ROOT/var/run/winbindd
  306. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/samba
  307. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  308. cd %samba_source
  309. %makeinstall \
  310. BINDIR=$RPM_BUILD_ROOT%{_bindir} \
  311. BASEDIR=$RPM_BUILD_ROOT%{_prefix} \
  312. SBINDIR=$RPM_BUILD_ROOT%{_sbindir} \
  313. DATADIR=$RPM_BUILD_ROOT%{_datadir} \
  314. LOCKDIR=$RPM_BUILD_ROOT/var/lib/samba \
  315. PRIVATEDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba \
  316. LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
  317. MODULESDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
  318. CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba \
  319. PAMMODULESDIR=$RPM_BUILD_ROOT/%{_lib}/security \
  320. MANDIR=$RPM_BUILD_ROOT%{_mandir} \
  321. VARDIR=$RPM_BUILD_ROOT/var/log/samba \
  322. CODEPAGEDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
  323. SWATDIR=$RPM_BUILD_ROOT%{_datadir}/swat \
  324. SAMBABOOK=$RPM_BUILD_ROOT%{_datadir}/swat/using_samba \
  325. PIDDIR=$RPM_BUILD_ROOT/var/run
  326. cd ..
  327. # Install other stuff
  328. install -m644 packaging/Vine/smb.conf.default $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
  329. install -m755 %samba_source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
  330. install -m644 packaging/Vine/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
  331. install -m755 packaging/Vine/smbprint $RPM_BUILD_ROOT%{_bindir}
  332. install -m755 packaging/Vine/smb.init $RPM_BUILD_ROOT%{_initrddir}/smb
  333. install -m755 packaging/Vine/nmb.init $RPM_BUILD_ROOT%{_initrddir}/nmb
  334. install -m755 packaging/Vine/winbind.init $RPM_BUILD_ROOT%{_initrddir}/winbind
  335. install -m644 packaging/Vine/pam_winbind.conf $RPM_BUILD_ROOT%{_sysconfdir}/security
  336. #ln -s ../..%{_initrddir}/smb $RPM_BUILD_ROOT%{_sbindir}/samba
  337. install -m644 packaging/Vine/samba.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/samba
  338. install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/samba
  339. echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
  340. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema
  341. install -m644 examples/LDAP/samba.schema $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/samba.schema
  342. # winbind
  343. mkdir -p $RPM_BUILD_ROOT%{_libdir}
  344. install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
  345. ln -sf /%{_lib}/libnss_winbind.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so
  346. install -m 755 nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
  347. ln -sf /%{_lib}/libnss_wins.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so
  348. # winbind krb5 locator
  349. #mkdir -p $RPM_BUILD_ROOT%{_libdir}/krb5/plugins/libkrb5
  350. install -d -m 0755 %{buildroot}%{_libdir}/krb5/plugins/libkrb5
  351. install -m 755 source3/bin/winbind_krb5_locator.so $RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
  352. # libraries {
  353. mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}
  354. # make install puts libraries in the wrong place
  355. # (but at least gets the versioning right now)
  356. list="smbclient smbsharemodes netapi wbclient"
  357. for i in $list; do
  358. install -m 644 %samba_source/pkgconfig/$i.pc $build_libdir/pkgconfig/ || true
  359. done
  360. /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/
  361. # }
  362. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
  363. install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
  364. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
  365. install -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba
  366. install -m 755 %samba_source/lib/netapi/examples/bin/netdomjoin-gui $RPM_BUILD_ROOT/%{_sbindir}/netdomjoin-gui
  367. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}
  368. install -m 644 %samba_source/lib/netapi/examples/netdomjoin-gui/samba.ico $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/samba.ico
  369. install -m 644 %samba_source/lib/netapi/examples/netdomjoin-gui/logo.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/logo.png
  370. install -m 644 %samba_source/lib/netapi/examples/netdomjoin-gui/logo-small.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/logo-small.png
  371. install -m644 %{SOURCE100} $RPM_BUILD_ROOT%{_mandir}/man5/
  372. rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/editreg.1*
  373. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
  374. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1*
  375. #rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbget.1*
  376. rm -f $RPM_BUILD_ROOT%{_mandir}/man5/smbgetrc.5*
  377. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/vfstest.1*
  378. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/testprns.1*
  379. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmount.8*
  380. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmnt.8*
  381. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbumount.8*
  382. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{u,}mount.cifs.8*
  383. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{u,}cifs.upcall.8*
  384. rm -f $RPM_BUILD_ROOT%{_sbindir}/{u,}mount.cifs
  385. rm -f $RPM_BUILD_ROOT%{_sbindir}/cifs.upcall
  386. #Rename ldb tools, as samba3 has an old copy of ldb.
  387. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbadd $RPM_BUILD_ROOT%{_bindir}/ldb3add
  388. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbdel $RPM_BUILD_ROOT%{_bindir}/ldb3del
  389. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbmodify $RPM_BUILD_ROOT%{_bindir}/ldb3modify
  390. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbsearch $RPM_BUILD_ROOT%{_bindir}/ldb3search
  391. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbrename $RPM_BUILD_ROOT%{_bindir}/ldb3rename
  392. mv -f $RPM_BUILD_ROOT%{_bindir}/ldbedit $RPM_BUILD_ROOT%{_bindir}/ldb3edit
  393. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbadd.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3add.1
  394. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbdel.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3del.1
  395. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbedit.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3edit.1
  396. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbmodify.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3modify.1
  397. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbsearch.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3search.1
  398. mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbrename.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3rename.1
  399. #rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.so.*
  400. #rm -f $RPM_BUILD_ROOT%{_includedir}/talloc.h
  401. #rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.so
  402. #rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/talloc.pc
  403. #rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.so.*
  404. #rm -f $RPM_BUILD_ROOT%{_includedir}/tdb.h
  405. #rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.so
  406. #rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/tdb.pc
  407. rm -f $RPM_BUILD_ROOT%{_bindir}/tdbbackup
  408. rm -f $RPM_BUILD_ROOT%{_bindir}/tdbdump
  409. rm -f $RPM_BUILD_ROOT%{_bindir}/tdbtool
  410. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8*
  411. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8*
  412. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8*
  413. %clean
  414. rm -rf $RPM_BUILD_ROOT
  415. #%pre
  416. %post
  417. /sbin/chkconfig --add smb
  418. /sbin/chkconfig --add nmb
  419. if [ "$1" -ge "1" ]; then
  420. /sbin/service smb condrestart >/dev/null 2>&1 || :
  421. /sbin/service nmb condrestart >/dev/null 2>&1 || :
  422. fi
  423. exit 0
  424. %preun
  425. if [ $1 = 0 ] ; then
  426. /sbin/service smb stop >/dev/null 2>&1 || :
  427. /sbin/service nmb stop >/dev/null 2>&1 || :
  428. /sbin/chkconfig --del smb
  429. /sbin/chkconfig --del nmb
  430. fi
  431. exit 0
  432. #%postun
  433. %pre winbind
  434. /usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
  435. %post winbind
  436. /sbin/chkconfig --add winbind
  437. if [ "$1" -ge "1" ]; then
  438. /sbin/service winbind condrestart >/dev/null 2>&1 || :
  439. fi
  440. %post common
  441. /sbin/ldconfig
  442. %preun winbind
  443. if [ $1 = 0 ] ; then
  444. /sbin/service winbind stop >/dev/null 2>&1 || :
  445. /sbin/chkconfig --del winbind
  446. fi
  447. exit 0
  448. %postun common
  449. /sbin/ldconfig
  450. %post -n libsmbclient
  451. /sbin/ldconfig
  452. %postun -n libsmbclient
  453. /sbin/ldconfig
  454. %if %build_compat32
  455. %post -n compat32-libsmbclient
  456. /sbin/ldconfig
  457. %postun -n compat32-libsmbclient
  458. /sbin/ldconfig
  459. %endif
  460. %files
  461. %defattr(-,root,root)
  462. %{_sbindir}/smbd
  463. %{_sbindir}/nmbd
  464. %{_bindir}/mksmbpasswd.sh
  465. %{_bindir}/smbstatus
  466. %{_bindir}/eventlogadm
  467. %config(noreplace) %{_sysconfdir}/samba/smbusers
  468. %attr(755,root,root) %{_initrddir}/smb
  469. %attr(755,root,root) %{_initrddir}/nmb
  470. %config(noreplace) %{_sysconfdir}/logrotate.d/samba
  471. %config(noreplace) %{_sysconfdir}/pam.d/samba
  472. %{_mandir}/man7/samba.7*
  473. %{_mandir}/man8/nmbd.8*
  474. %{_mandir}/man8/smbd.8*
  475. %{_mandir}/man8/eventlogadm.8*
  476. %{_mandir}/man8/vfs_*.8*
  477. %{_libdir}/samba/vfs
  478. %{_libdir}/samba/auth
  479. %{_libdir}/samba/charset
  480. %attr(1777,root,root) %dir /var/spool/samba
  481. %dir %{_sysconfdir}/openldap/schema
  482. %{_sysconfdir}/openldap/schema/samba.schema
  483. %doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
  484. %doc examples/printing
  485. %files swat
  486. %defattr(-,root,root)
  487. %config(noreplace) %{_sysconfdir}/xinetd.d/swat
  488. %{_datadir}/swat
  489. %{_sbindir}/swat
  490. %{_mandir}/man8/swat.8*
  491. %attr(755,root,root) %{_libdir}/samba/*.msg
  492. %files client
  493. %defattr(-,root,root)
  494. %{_bindir}/rpcclient
  495. %{_bindir}/smbcacls
  496. %{_bindir}/findsmb
  497. %{_bindir}/smbget
  498. %{_bindir}/nmblookup
  499. %{_bindir}/smbclient
  500. %{_bindir}/smbprint
  501. %{_bindir}/smbspool
  502. %{_bindir}/smbtar
  503. %{_bindir}/smbtree
  504. %{_bindir}/sharesec
  505. %{_mandir}/man1/findsmb.1*
  506. %{_mandir}/man1/nmblookup.1*
  507. %{_mandir}/man1/rpcclient.1*
  508. %{_mandir}/man1/smbcacls.1*
  509. %{_mandir}/man1/smbclient.1*
  510. %{_mandir}/man1/smbtar.1*
  511. %{_mandir}/man1/smbtree.1*
  512. %{_mandir}/man1/smbget.1*
  513. %{_mandir}/man1/sharesec.1*
  514. %{_mandir}/man8/smbspool.8*
  515. %files common
  516. %defattr(-,root,root)
  517. %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
  518. %dir %{_libdir}/samba
  519. %{_libdir}/samba/lowcase.dat
  520. %{_libdir}/samba/upcase.dat
  521. %{_libdir}/samba/valid.dat
  522. %{_libdir}/libnetapi.so
  523. %attr(755,root,root) %{_libdir}/libnetapi.so.*
  524. %{_includedir}/netapi.h
  525. %{_libdir}/pkgconfig/netapi.pc
  526. %{_bindir}/net
  527. %{_bindir}/testparm
  528. %{_bindir}/smbpasswd
  529. %{_bindir}/pdbedit
  530. %{_bindir}/profiles
  531. %{_bindir}/smbcquotas
  532. %{_bindir}/smbcontrol
  533. %{_bindir}/ldb3add
  534. %{_bindir}/ldb3del
  535. %{_bindir}/ldb3edit
  536. %{_bindir}/ldb3modify
  537. %{_bindir}/ldb3search
  538. %{_bindir}/ldb3rename
  539. %dir /var/lib/samba
  540. %attr(700,root,root) %dir /var/lib/samba/private
  541. %dir /var/lib/samba/scripts
  542. %config(noreplace) %{_sysconfdir}/samba/smb.conf
  543. %config(noreplace) %{_sysconfdir}/samba/lmhosts
  544. %config(noreplace) %{_sysconfdir}/sysconfig/samba
  545. %dir %{_sysconfdir}/samba
  546. %attr(0700,root,root) %dir /var/log/samba
  547. %attr(0700,root,root) %dir /var/log/samba/old
  548. %{_mandir}/man1/ldb3add.1.gz
  549. %{_mandir}/man1/ldb3del.1.gz
  550. %{_mandir}/man1/ldb3edit.1.gz
  551. %{_mandir}/man1/ldb3modify.1.gz
  552. %{_mandir}/man1/ldb3search.1.gz
  553. %{_mandir}/man1/ldb3rename.1.gz
  554. %{_mandir}/man1/profiles.1*
  555. %{_mandir}/man1/smbcquotas.1*
  556. %{_mandir}/man1/smbcontrol.1*
  557. #%{_mandir}/man1/vfstest.1*
  558. %{_mandir}/man1/testparm.1*
  559. %{_mandir}/man1/smbstatus.1*
  560. %{_mandir}/man5/smbpasswd.5*
  561. %{_mandir}/man5/smb.conf.5*
  562. %{_mandir}/man5/lmhosts.5*
  563. %{_mandir}/man8/smbpasswd.8*
  564. %{_mandir}/man8/pdbedit.8*
  565. %{_mandir}/man8/net.8*
  566. %{_datadir}/locale/*/LC_MESSAGES/net.mo
  567. %doc README COPYING Manifest
  568. %doc WHATSNEW.txt Roadmap
  569. %files winbind
  570. %defattr(-,root,root)
  571. %{_bindir}/ntlm_auth
  572. %{_bindir}/wbinfo
  573. %{_libdir}/samba/idmap
  574. %{_libdir}/samba/nss_info
  575. %{_sbindir}/winbindd
  576. %dir /var/run/winbindd
  577. %attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged
  578. %config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
  579. %{_initrddir}/winbind
  580. %{_mandir}/man1/ntlm_auth.1*
  581. %{_mandir}/man1/wbinfo.1*
  582. %{_mandir}/man5/pam_winbind.conf.5*
  583. %{_mandir}/man8/pam_winbind.8*
  584. %{_mandir}/man8/winbindd.8*
  585. %{_mandir}/man8/idmap_*.8*
  586. %{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo
  587. %files winbind-krb5-locator
  588. %{_mandir}/man7/winbind_krb5_locator.7*
  589. %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
  590. %files winbind-clients
  591. %defattr(-,root,root)
  592. %{_libdir}/libnss_winbind.so
  593. /%{_lib}/libnss_winbind.so.2
  594. %{_libdir}/libnss_wins.so
  595. /%{_lib}/libnss_wins.so.2
  596. /%{_lib}/security/pam_winbind.so
  597. %attr(755,root,root) %{_libdir}/libwbclient.so.*
  598. %files winbind-devel
  599. %defattr(-,root,root)
  600. %{_includedir}/wbclient.h
  601. %{_includedir}/wbc_async.h
  602. %{_libdir}/libwbclient.so
  603. %{_libdir}/pkgconfig/wbclient.pc
  604. %files doc
  605. %defattr(-,root,root)
  606. %doc docs/Samba3-Developers-Guide.pdf docs/Samba3-ByExample.pdf
  607. %doc docs/Samba3-HOWTO.pdf
  608. %doc docs/htmldocs
  609. %files -n libsmbclient
  610. %defattr(-,root,root)
  611. %attr(755,root,root) %{_libdir}/libsmbclient.so.*
  612. %attr(755,root,root) %{_libdir}/libsmbsharemodes.so.*
  613. %files -n libsmbclient-devel
  614. %defattr(-,root,root)
  615. %{_includedir}/libsmbclient.h
  616. %{_includedir}/smb_share_modes.h
  617. %{_libdir}/libsmbclient.so
  618. %{_libdir}/libsmbsharemodes.so
  619. %{_libdir}/pkgconfig/smbclient.pc
  620. %{_libdir}/pkgconfig/smbsharemodes.pc
  621. %{_mandir}/man7/libsmbclient.7*
  622. %files domainjoin-gui
  623. %defattr(-,root,root)
  624. %{_sbindir}/netdomjoin-gui
  625. %dir %{_datadir}/pixmaps/samba
  626. %{_datadir}/pixmaps/samba/samba.ico
  627. %{_datadir}/pixmaps/samba/logo.png
  628. %{_datadir}/pixmaps/samba/logo-small.png
  629. %if %build_compat32
  630. %files -n compat32-%{name}-winbind
  631. %attr(755,root,root) %{_libdir}/libwbclient.so.*
  632. %files -n compat32-libsmbclient
  633. %attr(755,root,root) %{_libdir}/libsmbclient.so.*
  634. %attr(755,root,root) %{_libdir}/libsmbsharemodes.so.*
  635. %endif
  636. %changelog
  637. * Fri Mar 25 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-2
  638. - fix smb.conf(5).
  639. * Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
  640. - new upstream release.
  641. - updated patches.
  642. - added subpackages 'winbind-krb5-locator' and 'winbind-client'.
  643. - dropped tdb and talloc subpackages became independent packages.
  644. - dropped {,u}mount.cifs were included in cifs-utils.
  645. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.3.10-13
  646. - rebuilt with rpm-4.8.1 for pkg-config
  647. - changed spec file name as vine style
  648. - dropt script lines in %%build that no work
  649. * Sun Feb 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
  650. - add patch1000 for fix CVE-2010-0547 (cifs.mount)
  651. * Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
  652. - new upstream release.
  653. * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
  654. - added 'Packager' tag.
  655. * Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
  656. - new upstream release.
  657. - added '--disable-fam' option.
  658. - added 'compat32-*' subpackages.
  659. - added 'libuuid-devel' to 'BuildRequires:'.
  660. * Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
  661. - new upstream release.
  662. * Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
  663. - new upstream release.
  664. * Thu Jun 4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
  665. - increased release number for libtalloc/libtdb.
  666. * Tue Jun 2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
  667. - fixed dependency.
  668. - fixed modulepath.
  669. * Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
  670. - new upstream release.
  671. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
  672. - rebuilt with openldap-2.4.11
  673. * Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
  674. - samba-doc: changed Group to Applications/Documentation
  675. - samba-winbind-devel: changed Group to Development/Libraries
  676. - libsmbclient: changed Group to System Environment/Libraries
  677. - libsmbclient-devel: changed Group to Development/Libraries
  678. - libtalloc: changed Group to System Environment/Libraries
  679. - libtalloc-devel: changed Group to Development/Libraries
  680. - libtdb: fixed summary
  681. changed Group to System Environment/Libraries
  682. - libtdb-devel: changed Group to Development/Libraries
  683. * Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
  684. - new upstream release
  685. * Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
  686. - new upstream release
  687. - drop jp patch
  688. - use UTF-8 as default charset
  689. - rename samba-libsmbclient to libsmbclient
  690. * Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
  691. - new upstream release.
  692. - remove gamin-devel from BuildRequires: (no longer needed).
  693. * Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
  694. - BuildRequires: gamin-devel (see [wishes:0127])
  695. * Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
  696. - [SECURITY FIX] add security patches (#50-52)
  697. - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
  698. - CVE-2007-2446: multiple heap overflows allow remote code execution
  699. - CVE-2007-2447: remote command injection vulnerability
  700. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
  701. - apply upstream patches (#0-5)
  702. - fix an issues with servers set to "security = share" and Vista clients
  703. that send NTLMv2 responses
  704. - fixe several point-n-print bugs with Vista clients
  705. - fix failure when using the Vista backup utility
  706. - fix expansion of the %a smb.conf variable for Vista clients
  707. - fix MS-DFS referrals with Windows Vista clients
  708. - fix for Vista failing to delete directories on a Samba share
  709. - display service start/stop messages ([VineSeed:13299])
  710. * Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
  711. - [SECURITY FIX] new upstream release
  712. - CVE-2007-0452: potential denial of service bug in smbd
  713. - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
  714. - CVE-2007-0454: format string bug in afsacl.so vfs plugin
  715. * Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
  716. - new upstream release
  717. * Sun Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
  718. - disable swat (via inetd) by default
  719. - fix code for editing %%{_sysconfdir}/inetd.conf
  720. * Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
  721. - fix dependencies:
  722. - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
  723. - drop PreReq: gawk from -client
  724. - drop PreReq: inetd from -swat
  725. - drop Requires: tcp_wrappers from -swat (is needed by inetd)
  726. - fix %%post etc...
  727. - drop code for editing /etc/services: no more needed
  728. - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
  729. from %%triggerin swat -- inetd to %%post swat
  730. - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
  731. * Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
  732. - new upstream release
  733. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
  734. - rebuilt with openldap-2.3.27-0vl1
  735. * Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
  736. - new upstream release
  737. * Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
  738. - new upstream release
  739. * Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
  740. - [SECURITY] new upstream release
  741. - Memory exhaustion DoS against smbd (CVE-2006-3403)
  742. - update patches
  743. - buildroot.patch (#100)
  744. - logfiles.patch (#103)
  745. - smb.conf.patch (#106)
  746. - update filter-requires-samba.sh (source999)
  747. - get rid of bogus dependency on perl(Unicode::MapUTF8)
  748. * Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
  749. - new upstream release
  750. - renumber patches
  751. - 000- for upstream patches
  752. - 050- for security patches
  753. - 100- for generic patches
  754. - update logfiles.patch (#103)
  755. - drop warning.patch (#104)
  756. - not apply hex.patch (#105)
  757. - add smb.conf.patch (#106)
  758. - drop samba.log (source1), smb.conf (source2)
  759. - use samba.pamd.stack instead of samba.pamd
  760. - define macro: pkgingdir
  761. - add files:
  762. - samba-client
  763. - %%{_bindir}/{smbget,eventlogadm}
  764. - samba-common:
  765. - %%{_bindir}/tdbtool
  766. - separate development files to samba-libsmbclient-devel
  767. - change groups
  768. * Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
  769. - remove unneeded dependencies
  770. - update filter-requires-samba.sh (source999)
  771. - overwrite __find_requires instead of __perl_requires
  772. * Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
  773. - rebuild with readline-5.1
  774. * Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
  775. - separate doc package with %%docpkg
  776. - use %%htmlview instead of %%browser
  777. * Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
  778. - add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
  779. * Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
  780. - new upstream release
  781. - install %%{_sysconfdir}/xinetd.d/swat
  782. - update filter-requires-samba.sh
  783. - add swat.desktop.in instead of swat.desktop
  784. - switch browser by %%browser
  785. - drop i18n patches
  786. - update logfiles.patch (#3)
  787. - add warning.patch (#4)
  788. * Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
  789. - fix samba.log
  790. - thanks, K. Moriyama [VinePlus:02606]
  791. - remove docs/manpages from %%doc
  792. * Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
  793. - new upstream release
  794. - update struplower_m_i18n.patch (#102)
  795. - drop obsolete patch (#10)
  796. * Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
  797. - [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
  798. - add samba-3.0.9-CAN-2004-1154.patch (#10)
  799. - update patch (#102)
  800. * Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
  801. - new upstream release
  802. - drop obsolete patches (#10,11,110)
  803. - update patches (#3,102)
  804. * Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
  805. - [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
  806. - add samba-3.0.7-CAN-2004-0882.patch (patch11)
  807. - update Source URL
  808. * Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
  809. - [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
  810. - add samba-3.0.7-CAN-2004-0930.patch (patch10)
  811. * Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
  812. - update samba.log, {smb,winbind}.init
  813. - use *.log as logfile name instead of log.* (patch3)
  814. * Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
  815. - change directories from %%{_localstatedir}/lock/samba
  816. - LOCKDIR: %%{_localstatedir}/cache/samba
  817. - PIDDIR: %%{_localstatedir}/run
  818. - restart {smb,winbind} at postun (upgrade)
  819. - samba-common
  820. - convert smbpasswd at triggerpostun -- samba < 3.0.7
  821. - add convert_smbpasswd
  822. - add PreReq: gawk
  823. * Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
  824. - add docs_ja (source101) from 3.0.5-16ml
  825. * Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
  826. - new upstream release (shift to 3.0 series)
  827. - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
  828. - drop obsolete paches, configure options
  829. - update buildroot.patch
  830. - add I18N patches (#101-)
  831. - update smb.conf
  832. - add URL
  833. - use more macros
  834. - change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
  835. - move %%{_localstatedir}/log/samba, smbpasswd to samba-common
  836. - move smbspool, smbcacls, rpcclient to samba-client
  837. - update descriptions
  838. * Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
  839. - new upstream release
  840. * Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
  841. - 2.2.11-ja-1.0beta1
  842. - drop patch10
  843. - add BuildPreReq: openssl-devel
  844. - swat
  845. - add PreReq/Requires: inetd
  846. - add swat.desktop
  847. * Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
  848. - fix changelog
  849. * Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
  850. - [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
  851. - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
  852. - add BuildPreReq: cups-devel
  853. - add Prereq: chkconfig mktemp psmisc (instead of each files)
  854. * Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
  855. - new upstream release
  856. * Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
  857. - 2.2.9-ja-1.0beta1
  858. - add BuildPreReq: readline-devel
  859. * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
  860. - add ldconfig in %%post/%%postun script for libsmbclient
  861. * Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
  862. - add libsmbclient subpackage.
  863. * Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
  864. - new upstream release.
  865. * Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
  866. - fix smb.conf (SAMBADOC's path)
  867. * Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
  868. - tentatively skip to build examples/VFS on alpha
  869. * Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
  870. - new upstream release.
  871. * Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
  872. - fix smb.conf
  873. - fix smbadduser
  874. * Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
  875. - new upstream version
  876. * Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
  877. - added smbinit-vine.patch
  878. -- added '-D' option in smbd and nmbd
  879. * Fri Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
  880. - New upstream version
  881. -- security fix.
  882. * Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  883. - 2.2.7a.ja-1.0vl5
  884. - merged from SPEC for RH60 by samba-jp.
  885. * Mon Feb 17 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  886. - 2.2.7a.ja-1.0vl4.beta1
  887. - fix 'Requires:'.
  888. * Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  889. - 2.2.7a.ja-1.0vl3.alpha1
  890. - disable --with-tdbsam.
  891. * Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  892. - 2.2.7a.ja-1.0vl2.alpha1
  893. - modify %%post script for new password database.
  894. * Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  895. - 2.2.7a.ja-1.0vl1.alpha1
  896. * Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  897. - 2.2.6.ja-1.0vl1.alpha2
  898. - apply alpha2 patch.
  899. * Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  900. - 2.2.6.ja-1.0vl1.alpha1
  901. - remove swat from package 'samba'.
  902. * Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  903. - 2.2.6.ja-1.0vl0.alpha1
  904. - enable winbind modules.
  905. - change numbering rule.
  906. * Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  907. - 2.2.6_ja_0.alpha1-0vl1
  908. * Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  909. - 2.2.4_ja_0.alpha1.3-0vl1
  910. * Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  911. - 2.2.2_ja_1.1-0vl1
  912. - disable winbind modules (2.2.2 or earlier has critical bugs).
  913. - modify 'Requires:'.
  914. * Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  915. - 2.2.2_ja_1.1-0vl0
  916. - shift sources to 2.2.x.
  917. - add debugging mode for '%%files' section.
  918. - modify spec largely because of too many difference between 2.0.x and 2.2.x.
  919. - . exchange %%prep, %%build, %%install section with samba-jp's spec.
  920. - . create a package 'samba-swat'.
  921. - . move smbclient and nmblookup to samba-common.
  922. - . move testprns to package 'samba' because it's checking tool for
  923. - server on LOCALHOST.
  924. - . move '%%post' to '%%post swat'.
  925. - . disable '%%post common'.
  926. * Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
  927. - 2.0.10_ja_1.2
  928. * Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
  929. - 2.0.10_ja_1.1-0vl4
  930. - eliminate executable bit in %%doc to erase perl/sh requirement
  931. * Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
  932. - 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
  933. - patch swat/ja/help/welcome.html to hide some missing matter
  934. - also remove docs/zh_{CN,TW} files in %%doc
  935. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
  936. - for VineSeed
  937. - deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
  938. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
  939. - 2.0.10_ja_1.1
  940. - for 2.1.x update
  941. * Fri Aug 17 2001 <sagami@vinelinux.org>
  942. - 2.0.10_ja_1.0-0vl2
  943. - remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
  944. * Mon Jul 09 2001 <sagami@vinelinux.org>
  945. - 2.0.10_ja_1.0-0vl1: includes secrity fix
  946. (http://www.samba.org/samba/whatsnew/macroexploit.html)
  947. - remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
  948. * Thu May 31 2001 <sagami@vinelinux.org>
  949. - 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
  950. - added BuildPreReq = pam-devel for Vine 2.1.5+
  951. - fixed init script to match our current/old style
  952. - eliminate CVS related files from %%doc
  953. * Thu Apr 19 2001 <sagami@vinelinux.org>
  954. - 2.0.7_ja_2.2-0vl1
  955. * Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  956. - 2.0.7_ja_1.3-0vl2
  957. - rebuilt with readline2
  958. - use better macros (although not almost complete... needs comfirmation)
  959. * Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
  960. - 2.0.7_ja_1.3-0vl1
  961. * Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  962. - 2.0.7_ja_1.2.1-0vl2
  963. - fixed missing Changelog.ja (was Chagelog.ja)
  964. * Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
  965. - updated to 2.0.7-ja-1.2.1
  966. * Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  967. - updated to 2.0.7-ja-1.2
  968. * Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  969. - added some Japanese documents to %doc
  970. * Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  971. - updated to 2.0.7-ja-1.0
  972. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  973. - updated to 2.0.7-ja-0.99
  974. * Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  975. - added rpccilent
  976. - modified tcpdconf for stability.
  977. * Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  978. - first test release for Vine based on RH6.2 spec file.
  979. - activated swat in default for only localhost.
  980. * Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
  981. - fix trigger, again.
  982. * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
  983. - fix trigger.
  984. * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
  985. - turn on quota support
  986. * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
  987. - rebuild to fox dependencies
  988. - man pages are compressed
  989. * Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
  990. - munge post scripts slightly
  991. * Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
  992. - turn on mmap again. Wheee.
  993. - ship smbmount on alpha
  994. * Mon Dec 6 1999 Bill Nottingham <notting@redhat.com>
  995. - turn off mmap. ;)
  996. * Wed Dec 1 1999 Bill Nottingham <notting@redhat.com>
  997. - change /var/log/samba to 0700
  998. - turn on mmap support
  999. * Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
  1000. - update to 2.0.6
  1001. * Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
  1002. - add a %defattr for -common
  1003. * Tue Oct 5 1999 Bill Nottingham <notting@redhat.com>
  1004. - shift some files into -client
  1005. - remove /home/samba from package.
  1006. * Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
  1007. - initscript oopsie. killproc <name> -HUP, not other way around.
  1008. * Sat Sep 26 1999 Bill Nottingham <notting@redhat.com>
  1009. - script cleanups. Again.
  1010. * Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
  1011. - add a patch to fix dropped reconnection attempts
  1012. * Mon Sep 6 1999 Jeff Johnson <jbj@redhat.com>
  1013. - use cp rather than mv to preserve /etc/services perms (#4938 et al).
  1014. - use mktemp to generate /etc/tmp.XXXXXX file name.
  1015. - add prereqs on sed/mktemp/killall (need to move killall to /bin).
  1016. - fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
  1017. * Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
  1018. - sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
  1019. * Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
  1020. - fix typo in mount.smb
  1021. * Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
  1022. - add a %trigger to work around (sort of) broken scripts in
  1023. previous releases
  1024. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  1025. - initscript munging
  1026. * Mon Aug 9 1999 Bill Nottingham <notting@redhat.com>
  1027. - add domain parsing to mount.smb
  1028. * Fri Aug 6 1999 Bill Nottingham <notting@redhat.com>
  1029. - add a -common package, shuffle files around.
  1030. * Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
  1031. - add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
  1032. * Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
  1033. - update to 2.0.5
  1034. - fix mount.smb - smbmount options changed again.........
  1035. - fix postun. oops.
  1036. - update some stuff from the samba team's spec file.
  1037. * Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
  1038. - split off clients into separate package
  1039. - don't run samba by default
  1040. * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
  1041. - fix one problem with mount.smb script
  1042. - fix smbpasswd on sparc with a really ugly kludge
  1043. * Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
  1044. - fixed logrotate script
  1045. * Tue May 25 1999 Bill Nottingham <notting@redhat.com>
  1046. - turn of 64-bit locking on 32-bit platforms
  1047. * Thu May 20 1999 Bill Nottingham <notting@redhat.com>
  1048. - so many releases, so little time
  1049. - explicitly uncomment 'printing = bsd' in sample config
  1050. * Tue May 18 1999 Bill Nottingham <notting@redhat.com>
  1051. - update to 2.0.4a
  1052. - fix mount.smb arg ordering
  1053. * Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
  1054. - go back to stop/start for restart (-HUP didn't work in testing)
  1055. * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
  1056. - add a mount.smb to make smb mounting a little easier.
  1057. - smb filesystems apparently don't work on alpha. Oops.
  1058. * Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
  1059. - always create codepages
  1060. * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
  1061. - logrotate changes
  1062. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  1063. - auto rebuild in the new build environment (release 3)
  1064. * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
  1065. - updated init script to use graceful restart (not stop/start)
  1066. * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
  1067. - update to 2.0.3
  1068. * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
  1069. - update to 2.0.2
  1070. * Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
  1071. - swat swat
  1072. * Tue Feb 9 1999 Bill Nottingham <notting@redhat.com>
  1073. - fix bash2 breakage in post script
  1074. * Fri Feb 5 1999 Bill Nottingham <notting@redhat.com>
  1075. - update to 2.0.0
  1076. * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
  1077. - make sure all binaries are stripped
  1078. * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
  1079. - update to 1.9.18p10.
  1080. - fix %triggerpostun.
  1081. * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
  1082. - updated postun triggerscript to check $0
  1083. - clear /etc/codepages from %preun instead of %postun
  1084. * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
  1085. - made the %postun script a tad less agressive; no reason to remove
  1086. the logs or lock file (after all, if the lock file is still there,
  1087. samba is still running)
  1088. - the %postun and %preun should only exectute if this is the final
  1089. removal
  1090. - migrated %triggerpostun from Red Hat's samba package to work around
  1091. packaging problems in some Red Hat samba releases
  1092. * Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
  1093. - minor tidy up in preparation for release of 1.9.18p5
  1094. - added findsmb utility from SGI package
  1095. * Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
  1096. - Updated version and codepage info.
  1097. - Release to test name resolve order
  1098. * Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
  1099. - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
  1100. - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
  1101. - Compounded make line
  1102. - Updated smb.init restart mechanism
  1103. - Use compound mkdir -p line instead of individual calls to mkdir
  1104. - Fixed smb.conf file path for log files
  1105. - Fixed smb.conf file path for incoming smb print spool directory
  1106. - Added a number of options to smb.conf file
  1107. - Added smbadduser command (missed from all previous RPMs) - Doooh!
  1108. - Added smbuser file and smb.conf file updates for username map