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

Revision 12363, 82.7 KB checked in by tomop, 4 years ago (diff)

updated 6 packages

NetworkManager-1.22.10-1

initscripts-8.91.16-2

jitterentropy-2.2.0-3

rng-tools-6.10-4

samba-4.12.0-2

sysfsutils-2.1.0-5

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