samba-vl.spec 45 KB

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