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

Revision 12104, 80.7 KB checked in by tomop, 5 years ago (diff)

samba-4.10.3-1

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