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

Revision 12316, 81.4 KB checked in by tomop, 4 years ago (diff)

updated 22 packages

actdiag-0.5.4-1

blockdiag-1.5.4-1

clamav-0.102.1-1

ghostscript-9.27-3

git-2.24.1-1

incron-0.5.12-4

iputils-20190709-2

libsass-3.6.3-1

libxslt-1.1.34-1

nginx-1.16.1-4

nsd-4.2.4-1

nwdiag-1.0.4-1

oniguruma-6.9.4-1

php73-7.3.12-1

python-funcparserlib-0.3.6-1

python-webcolors-1.10-1

samba-4.10.10-1

seqdiag-0.9.6-1

strongswan-5.8.1-1

trousers-0.3.14-1

unbound-1.9.6-1

unrar-free-0.0.1.20140707-1

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