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

Revision 9411, 72.9 KB checked in by tomop, 9 years ago (diff)

samba-4.2.0-1, etc.

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