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

Revision 12277, 81.3 KB checked in by tomop, 5 years ago (diff)

updated 22 packages

Cython-0.29.13-1

alsa-lib-1.1.9-1

alsa-plugins-1.1.9-1

alsa-tools-1.1.7-1

alsa-utils-1.1.9-1

cairo-1.16.0-1

evince-3.30.3-1

expat-2.2.9-1

file-roller-3.30.1-1

gtk-doc-1.32-2

libplist-2.0.0-1

libsndfile-1.0.28-1

ncurses-6.1-2

openssh-8.1p1-1

python-2.7.16-5

python3-3.5.7-4

rsync-3.1.3-1

samba-4.10.9-1

sudo-1.8.28-1

sysstat-12.1.7-1

tix-8.4.3-5

zabbix-4.0.13-1

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