source: projects/specs/trunk/s/samba/samba-vl.spec @ 7511

Revision 7511, 64.7 KB checked in by tomop, 11 years ago (diff)

samba-4.0.3-1

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