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

Revision 12121, 80.9 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

Line 
1%define samba_version 4.10.7
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: libtalloc <= 2.1.14
76Obsoletes: libtevent <= 0.9.37
77Obsoletes: libldb <= 1.4.6
78Obsoletes: ctdb <= 2.5.5
79
80BuildRoot: %{_tmppath}/%{name}-%{samba_version}-%{release}-root
81Requires(post): /sbin/chkconfig, /sbin/service
82Requires(preun): /sbin/chkconfig, /sbin/service
83
84BuildRequires: avahi-devel
85#BuildRequires: ctdb-devel
86BuildRequires: cups-devel
87BuildRequires: cyrus-sasl-devel
88BuildRequires: docbook-style-xsl
89BuildRequires: docbook-utils
90BuildRequires: e2fsprogs-devel
91BuildRequires: coreutils
92BuildRequires: gdb
93BuildRequires: gettext
94BuildRequires: gnutls-devel
95BuildRequires: gpgme-devel
96BuildRequires: jansson-devel
97BuildRequires: keyutils-libs-devel
98BuildRequires: krb5-devel
99BuildRequires: krb5-workstation
100#BuildRequires: ldb-tools
101BuildRequires: libacl-devel
102BuildRequires: libaio-devel
103BuildRequires: libarchive-devel
104BuildRequires: libattr-devel
105BuildRequires: libblkid-devel
106BuildConflicts: libbsd-devel
107BuildRequires: libcap-devel
108BuildRequires: libidn-devel
109#BuildRequires: libldb-devel >= 1.1.25
110BuildRequires: libpcap-devel
111BuildRequires: libtdb-devel
112#BuildRequires: libtevent-devel
113BuildRequires: libtirpc-devel
114BuildRequires: libuuid-devel
115BuildRequires: libxcrypt-devel
116BuildRequires: libxml2-devel
117BuildRequires: libxslt
118BuildRequires: ncurses-devel
119BuildRequires: net-tools
120BuildRequires: openldap-devel
121BuildRequires: pam-devel
122BuildRequires: perl(ExtUtils::MakeMaker)
123BuildRequires: perl(Parse::Yapp)
124BuildRequires: pkgconfig
125BuildRequires: popt-devel
126BuildRequires: python3-devel
127BuildRequires: python3-rpm-macros
128BuildRequires: python3-gpg
129BuildRequires: python3-tdb
130#BuildRequires: python3-ldb-devel
131#BuildRequires: python3-talloc-devel
132#BuildRequires: python3-tevent
133BuildRequires: rpcgen
134BuildRequires: readline-devel
135BuildRequires: sqlite-devel
136BuildRequires: zlib-devel
137
138#BuildRequires: libuuid-devel
139
140BuildConflicts: compat32-zlib-devel.32bit
141BuildConflicts: compat32-libuuid.32bit
142BuildConflicts: compat32-libuuid-devel.32bit
143
144# Working around perl dependency problem from docs
145#define __perl_requires %{SOURCE999}
146
147
148Vendor: Project Vine
149Distribution: Vine Linux
150Packager: tomop
151
152
153%description
154Samba is the standard Windows interoperability suite of programs
155for Linux and Unix.
156
157%description -l ja
158SambaはLinux・UNIX用の、Windowsとの標準的な相互運用性ソフトウェア群です。
159
160## --------------------------------------------------------------------
161%package client
162Summary: Samba client programs
163Summary(ja): Samba クライアントプログラム
164Group: Applications/System
165Requires: samba-common = %{samba_version}-%{release}
166Obsoletes: smbfs
167Conflicts: %{name}-client < %{samba_version}
168Provides: samba-client = %{samba_version}
169
170%description client
171The samba-client package provides some SMB/CIFS clients to complement
172the built-in SMB/CIFS filesystem in Linux. These clients allow access
173of SMB/CIFS shares and printing to SMB/CIFS printers.
174
175%description client -l ja
176samba-client は Linux カーネルがサポートしている SMB ファイルシステム
177機能を操作する SMB クライアントを提供します。
178これらは SMB 共有のアクセスと SMB プリンタへの印刷を実現します。
179
180## --------------------------------------------------------------------
181%package libs
182Summary: Samba libraries
183Summary(ja): Samba ライブラリ
184Group: System Environment/Libraries
185%if %with_libwbclient
186Requires: libwbclient
187%endif
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/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 --install %{_libdir}/libwbclient.so.%{libwbc_sover} \
813                                libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover} 10
814/sbin/ldconfig
815
816## --------------------------------------------------------------------
817
818%preun -n compat32-libwbclient
819%{_sbindir}/update-alternatives --remove libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover}
820/sbin/ldconfig
821
822%endif
823
824%files
825%defattr(-,root,root,-)
826%license COPYING
827%doc PFIF.txt README.md README.Coding README.contributing VERSION WHATSNEW.txt
828%doc docs-ja/docs-xml/output/htmldocs
829%{_bindir}/dumpmscat
830%{_bindir}/ldbadd
831%{_bindir}/ldbdel
832%{_bindir}/ldbedit
833%{_bindir}/ldbmodify
834%{_bindir}/ldbrename
835%{_bindir}/ldbsearch
836%{_bindir}/mvxattr
837%{_bindir}/smbstatus
838%{_sbindir}/eventlogadm
839%{_sbindir}/nmbd
840%{_sbindir}/smbd
841%{_libdir}/samba/auth
842%{_libdir}/samba/vfs
843%config(noreplace) %{_sysconfdir}/logrotate.d/samba
844%config(noreplace) %{_sysconfdir}/pam.d/samba
845%{_sysconfdir}/openldap/schema/samba.schema
846%attr(0700,root,root) %dir /var/log/samba
847%attr(0700,root,root) %dir /var/log/samba/old
848%attr(1777,root,root) %dir /var/spool/samba
849%{_initrddir}/nmb
850%{_initrddir}/smb
851
852%{_mandir}/man1/ldbadd.1*
853%{_mandir}/man1/ldbdel.1*
854%{_mandir}/man1/ldbedit.1*
855%{_mandir}/man1/ldbmodify.1*
856%{_mandir}/man1/ldbrename.1*
857%{_mandir}/man1/ldbsearch.1*
858%{_mandir}/man3/ldb.3*
859
860%{_mandir}/man3/talloc.3.gz
861
862%{_mandir}/man1/mvxattr.1*
863%{_mandir}/man1/smbstatus.1*
864%{_mandir}/man7/samba.7*
865%{_mandir}/man8/eventlogadm.8*
866%{_mandir}/man8/nmbd.8*
867%{_mandir}/man8/smbd.8*
868%{_mandir}/man8/vfs_acl_tdb.8*
869%{_mandir}/man8/vfs_acl_xattr.8*
870%{_mandir}/man8/vfs_aio_fork.8*
871%{_mandir}/man8/vfs_aio_pthread.8*
872%{_mandir}/man8/vfs_audit.8*
873%{_mandir}/man8/vfs_btrfs.8*
874#%{_mandir}/man8/vfs_cacheprime.8*
875%{_mandir}/man8/vfs_cap.8*
876%{_mandir}/man8/vfs_catia.8*
877#%{_mandir}/man8/vfs_ceph.8*
878%{_mandir}/man8/vfs_commit.8*
879%{_mandir}/man8/vfs_crossrename.8*
880%{_mandir}/man8/vfs_default_quota.8*
881%{_mandir}/man8/vfs_dirsort.8*
882%{_mandir}/man8/vfs_extd_audit.8*
883%{_mandir}/man8/vfs_fake_perms.8*
884%{_mandir}/man8/vfs_fileid.8*
885%{_mandir}/man8/vfs_fruit.8*
886%{_mandir}/man8/vfs_full_audit.8*
887%{_mandir}/man8/vfs_glusterfs_fuse.8*
888#%{_mandir}/man8/vfs_gpfs.8*
889%{_mandir}/man8/vfs_linux_xfs_sgid.8*
890%{_mandir}/man8/vfs_media_harmony.8*
891%{_mandir}/man8/vfs_netatalk.8*
892#%{_mandir}/man8/vfs_nfs4acl_xattr.8*
893%{_mandir}/man8/vfs_offline.8*
894#%{_mandir}/man8/vfs_prealloc.8*
895%{_mandir}/man8/vfs_preopen.8*
896%{_mandir}/man8/vfs_readahead.8*
897%{_mandir}/man8/vfs_readonly.8*
898%{_mandir}/man8/vfs_recycle.8*
899%{_mandir}/man8/vfs_shadow_copy.8*
900%{_mandir}/man8/vfs_shadow_copy2.8*
901%{_mandir}/man8/vfs_shell_snap.8*
902#%{_mandir}/man8/vfs_snapper.8*
903%{_mandir}/man8/vfs_streams_depot.8*
904%{_mandir}/man8/vfs_streams_xattr.8*
905%{_mandir}/man8/vfs_syncops.8*
906%{_mandir}/man8/vfs_time_audit.8*
907#%{_mandir}/man8/vfs_tsmsm.8*
908%{_mandir}/man8/vfs_unityed_media.8*
909%{_mandir}/man8/vfs_virusfilter.8*
910%{_mandir}/man8/vfs_worm.8*
911%{_mandir}/man8/vfs_xattr_tdb.8*
912# ja manuals
913%{_mandir}/ja/man1/mvxattr.1*
914%{_mandir}/ja/man1/smbstatus.1*
915%{_mandir}/ja/man7/samba.7*
916%{_mandir}/ja/man8/eventlogadm.8*
917%{_mandir}/ja/man8/nmbd.8*
918%{_mandir}/ja/man8/smbd.8*
919%{_mandir}/ja/man8/vfs_acl_tdb.8*
920%{_mandir}/ja/man8/vfs_acl_xattr.8*
921%{_mandir}/ja/man8/vfs_aio_fork.8*
922%{_mandir}/ja/man8/vfs_aio_pthread.8*
923%{_mandir}/ja/man8/vfs_audit.8*
924%{_mandir}/ja/man8/vfs_btrfs.8*
925%exclude %{_mandir}/ja/man8/vfs_cacheprime.8*
926%{_mandir}/ja/man8/vfs_cap.8*
927%{_mandir}/ja/man8/vfs_catia.8*
928%exclude %{_mandir}/ja/man8/vfs_ceph.8*
929%{_mandir}/ja/man8/vfs_commit.8*
930%{_mandir}/ja/man8/vfs_crossrename.8*
931%{_mandir}/ja/man8/vfs_default_quota.8*
932%{_mandir}/ja/man8/vfs_dirsort.8*
933%{_mandir}/ja/man8/vfs_extd_audit.8*
934%{_mandir}/ja/man8/vfs_fake_perms.8*
935%{_mandir}/ja/man8/vfs_fileid.8*
936%{_mandir}/ja/man8/vfs_fruit.8*
937%{_mandir}/ja/man8/vfs_full_audit.8*
938%exclude %{_mandir}/ja/man8/vfs_glusterfs.8*
939%exclude %{_mandir}/ja/man8/vfs_gpfs.8*
940%exclude %{_mandir}/ja/man8/vfs_nfs4acl_xattr.8*
941%{_mandir}/ja/man8/vfs_linux_xfs_sgid.8*
942%{_mandir}/ja/man8/vfs_media_harmony.8*
943%{_mandir}/ja/man8/vfs_netatalk.8*
944%{_mandir}/ja/man8/vfs_offline.8*
945%exclude %{_mandir}/ja/man8/vfs_prealloc.8*
946%{_mandir}/ja/man8/vfs_preopen.8*
947%{_mandir}/ja/man8/vfs_readahead.8*
948%{_mandir}/ja/man8/vfs_readonly.8*
949%{_mandir}/ja/man8/vfs_recycle.8*
950%{_mandir}/ja/man8/vfs_shadow_copy.8*
951%{_mandir}/ja/man8/vfs_shadow_copy2.8*
952%{_mandir}/ja/man8/vfs_shell_snap.8*
953%exclude %{_mandir}/ja/man8/vfs_snapper.8*
954%{_mandir}/ja/man8/vfs_streams_depot.8*
955%{_mandir}/ja/man8/vfs_streams_xattr.8*
956%{_mandir}/ja/man8/vfs_syncops.8*
957%{_mandir}/ja/man8/vfs_time_audit.8*
958%exclude %{_mandir}/ja/man8/vfs_tsmsm.8*
959%{_mandir}/ja/man8/vfs_unityed_media.8*
960%{_mandir}/ja/man8/vfs_virusfilter.8*
961%{_mandir}/ja/man8/vfs_worm.8*
962%{_mandir}/ja/man8/vfs_xattr_tdb.8*
963%{_mandir}/ja/man8/vfs_zfsacl.8*
964
965## --------------------------------------------------------------------
966%files libs
967%defattr(-,root,root)
968%{_libdir}/libdcerpc-binding.so.*
969%{_libdir}/libdcerpc.so.*
970%{_libdir}/libndr-krb5pac.so.*
971%{_libdir}/libndr-nbt.so.*
972%{_libdir}/libndr-standard.so.*
973%{_libdir}/libndr.so.*
974%{_libdir}/libnetapi.so.*
975%{_libdir}/libsamba-credentials.so.*
976%{_libdir}/libsamba-errors.so*
977%{_libdir}/libsamba-hostconfig.so.*
978%{_libdir}/libsamba-passdb.so.*
979%{_libdir}/libsamba-util.so.*
980%{_libdir}/libsamdb.so.*
981%{_libdir}/libsmbconf.so.*
982%{_libdir}/libsmbldap.so.*
983%{_libdir}/libtevent-util.so.*
984
985# talloc
986%{_libdir}/samba/libtalloc.so*
987%{_libdir}/samba/libpytalloc-util.*.so.*
988
989# tevent
990%{_libdir}/samba/libtevent.so*
991
992# ldb
993%{_libdir}/samba/libldb.so*
994%{_libdir}/samba/libldb-*.so*
995%{_libdir}/samba/libpyldb-util.*.so.*
996
997# libraries needed by the public libraries
998%dir %{_libdir}/samba
999%{_libdir}/samba/libCHARSET3-samba4.so
1000%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
1001%{_libdir}/samba/libMESSAGING-samba4.so
1002%{_libdir}/samba/libMESSAGING-SEND-samba4.so
1003%{_libdir}/samba/libaddns-samba4.so
1004%{_libdir}/samba/libads-samba4.so
1005%{_libdir}/samba/libasn1-samba4.so.*
1006%{_libdir}/samba/libasn1util-samba4.so
1007#{_libdir}/samba/libauth-sam-reply-samba4.so
1008%{_libdir}/samba/libauth-samba4.so
1009%{_libdir}/samba/libauth-unix-token-samba4.so
1010%{_libdir}/samba/libauth4-samba4.so
1011%{_libdir}/samba/libauthkrb5-samba4.so
1012%{_libdir}/samba/libcli-cldap-samba4.so
1013%{_libdir}/samba/libcli-ldap-common-samba4.so
1014%{_libdir}/samba/libcli-ldap-samba4.so
1015%{_libdir}/samba/libcli-nbt-samba4.so
1016%{_libdir}/samba/libcli-smb-common-samba4.so
1017%{_libdir}/samba/libcli-spoolss-samba4.so
1018%{_libdir}/samba/libcliauth-samba4.so
1019%{_libdir}/samba/libclidns-samba4.so
1020%{_libdir}/samba/libcluster-samba4.so
1021%{_libdir}/samba/libcmdline-contexts-samba4.so
1022%{_libdir}/samba/libcmdline-credentials-samba4.so
1023%{_libdir}/samba/libcmocka-samba4.so
1024%{_libdir}/samba/libcom_err-samba4.so*
1025%{_libdir}/samba/libcommon-auth-samba4.so
1026%{_libdir}/samba/libdb-glue-samba4.so
1027%{_libdir}/samba/libdbwrap-samba4.so
1028%{_libdir}/samba/libdcerpc-samba-samba4.so
1029%{_libdir}/samba/libdcerpc-samba4.so
1030%{_libdir}/samba/libdfs-server-ad-samba4.so
1031%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so
1032%{_libdir}/samba/libdsdb-module-samba4.so
1033%{_libdir}/samba/libevents-samba4.so
1034%{_libdir}/samba/libflag-mapping-samba4.so
1035%{_libdir}/samba/libgensec-samba4.so
1036%{_libdir}/samba/libgpext-samba4.so
1037%{_libdir}/samba/libgse-samba4.so
1038%{_libdir}/samba/libgssapi-samba4.so.*
1039%{_libdir}/samba/libhcrypto-samba4.so.*
1040%{_libdir}/samba/libhdb-samba4.so.*
1041%{_libdir}/samba/libheimbase-samba4.so.*
1042%{_libdir}/samba/libhttp-samba4.so
1043%{_libdir}/samba/libhx509-samba4.so.*
1044%{_libdir}/samba/libinterfaces-samba4.so
1045%{_libdir}/samba/libiov-buf-samba4.so
1046%{_libdir}/samba/libkrb5-samba4.so.*
1047%{_libdir}/samba/libkrb5samba-samba4.so
1048%{_libdir}/samba/libldbsamba-samba4.so
1049%{_libdir}/samba/liblibcli-lsa3-samba4.so
1050%{_libdir}/samba/liblibcli-netlogon3-samba4.so
1051%{_libdir}/samba/liblibsmb-samba4.so
1052%{_libdir}/samba/libmessages-dgm-samba4.so
1053%{_libdir}/samba/libmessages-util-samba4.so
1054%{_libdir}/samba/libmscat-samba4.so
1055%{_libdir}/samba/libmsghdr-samba4.so
1056%{_libdir}/samba/libmsrpc3-samba4.so
1057%{_libdir}/samba/libnon-posix-acls-samba4.so
1058%{_libdir}/samba/libndr-samba-samba4.so
1059%{_libdir}/samba/libndr-samba4.so
1060%{_libdir}/samba/libnet-keytab-samba4.so
1061%{_libdir}/samba/libnetif-samba4.so
1062%{_libdir}/samba/libnpa-tstream-samba4.so
1063%{_libdir}/samba/libnss-info-samba4.so
1064%{_libdir}/samba/libposix-eadb-samba4.so
1065%{_libdir}/samba/libprinting-migrate-samba4.so
1066%{_libdir}/samba/libprocess-model-samba4.so
1067%{_libdir}/samba/libregistry-samba4.so
1068%{_libdir}/samba/libreplace-samba4.so
1069%{_libdir}/samba/libroken-samba4.so.*
1070%{_libdir}/samba/libsamba-cluster-support-samba4.so
1071%{_libdir}/samba/libsamba-debug-samba4.so
1072%{_libdir}/samba/libsamba-modules-samba4.so
1073%{_libdir}/samba/libsamba-python.cpython-*-samba4.so
1074%{_libdir}/samba/libsamba-security-samba4.so
1075%{_libdir}/samba/libsamba-sockets-samba4.so
1076%{_libdir}/samba/libsamba3-util-samba4.so
1077%{_libdir}/samba/libsamdb-common-samba4.so
1078%{_libdir}/samba/libsecrets3-samba4.so
1079%{_libdir}/samba/libserver-role-samba4.so
1080%{_libdir}/samba/libservice-samba4.so
1081%{_libdir}/samba/libshares-samba4.so
1082%{_libdir}/samba/libsmb-transport-samba4.so
1083%{_libdir}/samba/libsmbclient-raw-samba4.so
1084%{_libdir}/samba/libsmbd-base-samba4.so
1085%{_libdir}/samba/libsmbd-conn-samba4.so
1086%{_libdir}/samba/libsmbd-shim-samba4.so
1087%{_libdir}/samba/libsmbldaphelper-samba4.so
1088%{_libdir}/samba/libsmbpasswdparser-samba4.so
1089%{_libdir}/samba/libsocket-blocking-samba4.so
1090%{_libdir}/samba/libsys-rw-samba4.so
1091%{_libdir}/samba/libtalloc-report-samba4.so
1092%{_libdir}/samba/libtdb-wrap-samba4.so
1093%{_libdir}/samba/libtrusts-util-samba4.so
1094%{_libdir}/samba/libutil-cmdline-samba4.so
1095%{_libdir}/samba/libutil-reg-samba4.so
1096%{_libdir}/samba/libutil-setid-samba4.so
1097%{_libdir}/samba/libutil-tdb-samba4.so
1098%{_libdir}/samba/libwind-samba4.so.*
1099%{_libdir}/samba/libxattr-tdb-samba4.so
1100
1101%if ! %with_libsmbclient
1102%{_libdir}/libsmbclient.so.*
1103%{_libdir}/libsmbsharemodes.so.*
1104%{_mandir}/man7/libsmbclient.7.gz
1105# ja manual
1106%{_mandir}/ja/man7/libsmbclient.7.gz
1107%endif # ! with_libsmbclient
1108
1109%if ! %with_libwbclient
1110%{_libdir}/libwbclient.so.*
1111%{_libdir}/samba/libwinbind-client.so
1112%endif # ! with_libwbclient
1113
1114## --------------------------------------------------------------------
1115%files common
1116%defattr(-,root,root)
1117%doc smb.conf.example
1118#%{_libdir}/samba/charset ???
1119#%{_sysconfdir}/tmpfiles.d/samba.conf
1120%{_bindir}/net
1121%{_bindir}/pdbedit
1122%{_bindir}/profiles
1123%{_bindir}/smbcontrol
1124%{_bindir}/testparm
1125#%{_datadir}/samba/codepages
1126%dir /var/run/samba
1127%dir /var/run/winbindd
1128%dir /var/lib/samba
1129%attr(700,root,root) %dir /var/lib/samba/private
1130%attr(755,root,root) %dir /var/lib/samba/msg
1131%attr(755,root,root) %dir %{_sysconfdir}/samba
1132%ghost %config(noreplace) %{_sysconfdir}/samba/smb.conf
1133%config(noreplace) %{_sysconfdir}/samba/lmhosts
1134%config(noreplace) %{_sysconfdir}/sysconfig/samba
1135%{_mandir}/man1/profiles.1.gz
1136%{_mandir}/man1/smbcontrol.1.gz
1137%{_mandir}/man1/testparm.1.gz
1138%{_mandir}/man5/lmhosts.5.gz
1139%{_mandir}/man5/smb.conf.5.gz
1140%{_mandir}/man8/net.8.gz
1141%{_mandir}/man8/pdbedit.8.gz
1142# ja manuals
1143%{_mandir}/ja/man1/profiles.1.gz
1144%{_mandir}/ja/man1/smbcontrol.1.gz
1145%{_mandir}/ja/man1/testparm.1.gz
1146%{_mandir}/ja/man5/lmhosts.5.gz
1147%{_mandir}/ja/man5/smb.conf.5.gz
1148%{_mandir}/ja/man8/net.8.gz
1149%{_mandir}/ja/man8/pdbedit.8.gz
1150
1151# common libraries
1152%{_libdir}/samba/libgenrand-samba4.so
1153%{_libdir}/samba/libpopt-samba3-cmdline-samba4.so
1154%{_libdir}/samba/libpopt-samba3-samba4.so
1155%{_libdir}/samba/libserver-id-db-samba4.so
1156%{_libdir}/samba/libtime-basic-samba4.so
1157%{_libdir}/samba/pdb
1158
1159## --------------------------------------------------------------------
1160%files dc-libs
1161%defattr(-,root,root)
1162# dc
1163%{_libdir}/libdcerpc-samr.so.*
1164%{_libdir}/libdcerpc-server.so.*
1165%{_libdir}/libsamba-policy.*.so.*
1166%{_libdir}/samba/libHDB-SAMBA4-samba4.so
1167%{_libdir}/samba/libdnsserver-common-samba4.so
1168%{_libdir}/samba/libsamba-net.cpython-*-samba4.so
1169%{_libdir}/samba/libscavenge-dns-records-samba4.so
1170
1171## --------------------------------------------------------------------
1172%files dc
1173%defattr(-,root,root)
1174%{_bindir}/samba-tool
1175%{_sbindir}/samba
1176%{_sbindir}/samba_kcc
1177%{_sbindir}/samba_dnsupdate
1178%{_sbindir}/samba-gpupdate
1179%{_sbindir}/samba_spnupdate
1180%{_sbindir}/samba_upgradedns
1181%{_initrddir}/samba
1182%{_libdir}/samba/auth/samba4.so
1183%{_libdir}/samba/bind9
1184%{_libdir}/samba/gensec
1185%{_libdir}/samba/libheimntlm-samba4.so.*
1186%{_libdir}/samba/libkdc-samba4.so.*
1187%{_libdir}/samba/libpac-samba4.so
1188%dir %{_libdir}/samba/ldb
1189%{_libdir}/samba/ldb/*
1190%{_libdir}/samba/process_model
1191%{_libdir}/samba/service
1192%dir /var/lib/samba/sysvol
1193%{_datadir}/samba/setup
1194%{_mandir}/man8/samba.8*
1195%{_mandir}/man8/samba-tool.8*
1196%{_mandir}/man8/samba-gpupdate.8*
1197# ja manuals
1198%{_mandir}/ja/man8/samba.8*
1199%{_mandir}/ja/man8/samba-tool.8*
1200
1201## --------------------------------------------------------------------
1202%files winbind
1203%defattr(-,root,root)
1204#%{_bindir}/wbinfo3
1205%{_libdir}/samba/idmap
1206%{_libdir}/samba/nss_info
1207%{_libdir}/samba/libnss-info-samba4.so
1208%{_libdir}/samba/libidmap-samba4.so
1209%{_sbindir}/winbindd
1210%attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged
1211%config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
1212%{_mandir}/man5/pam_winbind.conf.5*
1213%{_mandir}/man8/winbindd.8*
1214%{_mandir}/man8/idmap_*.8*
1215#%{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo
1216%{_initrddir}/winbind
1217# ja manuals
1218%{_mandir}/ja/man5/pam_winbind.conf.5*
1219%{_mandir}/ja/man8/winbindd.8*
1220%{_mandir}/ja/man8/idmap_*.8*
1221
1222## --------------------------------------------------------------------
1223%files winbind-krb5-locator
1224%defattr(-,root,root)
1225%ghost %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
1226%{_libdir}/samba/krb5/winbind_krb5_locator.so
1227%{_mandir}/man8/winbind_krb5_locator.8*
1228# ja manual
1229%{_mandir}/ja/man8/winbind_krb5_locator.8*
1230
1231## --------------------------------------------------------------------
1232%files winbind-clients
1233%defattr(-,root,root)
1234%{_bindir}/ntlm_auth
1235#%{_bindir}/ntlm_auth3
1236%{_bindir}/wbinfo
1237%{_libdir}/libnss_winbind.so*
1238%{_libdir}/libnss_wins.so*
1239#/%{smb_lib}/libnss_winbind.so.2
1240#/%{smb_lib}/libnss_wins.so.2
1241/%{_lib}/security/pam_winbind.so
1242%{_mandir}/man1/ntlm_auth.1.gz
1243%{_mandir}/man1/wbinfo.1.gz
1244%{_mandir}/man8/pam_winbind.8.gz
1245# ja manuals
1246%{_mandir}/ja/man1/ntlm_auth.1.gz
1247%{_mandir}/ja/man1/wbinfo.1.gz
1248%{_mandir}/ja/man8/pam_winbind.8.gz
1249
1250## --------------------------------------------------------------------
1251%files client
1252%defattr(-,root,root)
1253%{_bindir}/cifsdd
1254%{_bindir}/dbwrap_tool
1255%{_bindir}/findsmb
1256%{_bindir}/nmblookup
1257%{_bindir}/oLschema2ldif
1258%{_bindir}/regdiff
1259%{_bindir}/regpatch
1260%{_bindir}/regshell
1261%{_bindir}/regtree
1262%{_bindir}/rpcclient
1263%{_bindir}/samba-regedit
1264%{_bindir}/sharesec
1265%{_bindir}/smbcacls
1266%{_bindir}/smbclient
1267%{_bindir}/smbcquotas
1268#%{_bindir}/smbfilter
1269%{_bindir}/smbget
1270#%{_bindir}/findsmg
1271#%{_bindir}/smbtar
1272#%{_bindir}/smbiconv
1273%{_bindir}/smbpasswd
1274%{_bindir}/smbprint
1275%{_bindir}/smbspool
1276%{_bindir}/smbtar
1277%{_bindir}/smbtree
1278#%{_bindir}/split_tokens
1279#%exclude %{_libdir}/samba/libldb-cmdline.so
1280%{_libexecdir}/samba/smbspool_krb5_wrapper
1281%{_mandir}/man1/dbwrap_tool.1.gz
1282%{_mandir}/man1/findsmb.1.gz
1283%{_mandir}/man1/log2pcap.1.gz
1284%{_mandir}/man1/nmblookup.1.gz
1285%{_mandir}/man1/oLschema2ldif.1.gz
1286%{_mandir}/man1/regdiff.1.gz
1287%{_mandir}/man1/regpatch.1.gz
1288%{_mandir}/man1/regshell.1.gz
1289%{_mandir}/man1/regtree.1.gz
1290%{_mandir}/man1/rpcclient.1.gz
1291%{_mandir}/man1/sharesec.1.gz
1292%{_mandir}/man1/smbcacls.1.gz
1293%{_mandir}/man1/smbclient.1.gz
1294%{_mandir}/man1/smbcquotas.1.gz
1295%{_mandir}/man1/smbget.1.gz
1296%{_mandir}/man1/smbtar.1.gz
1297%{_mandir}/man1/smbtree.1.gz
1298%{_mandir}/man5/smbgetrc.5.gz
1299%{_mandir}/man5/smbpasswd.5.gz
1300%{_mandir}/man7/traffic_learner.7.gz
1301%{_mandir}/man7/traffic_replay.7.gz
1302%{_mandir}/man8/cifsdd.8.gz
1303%{_mandir}/man8/samba-regedit.8.gz
1304%{_mandir}/man8/smbpasswd.8.gz
1305%{_mandir}/man8/smbspool.8.gz
1306%{_mandir}/man8/smbspool_krb5_wrapper.8.gz
1307#ja manuals
1308%{_mandir}/ja/man1/dbwrap_tool.1.gz
1309%{_mandir}/ja/man1/findsmb.1.gz
1310%{_mandir}/ja/man1/log2pcap.1.gz
1311%{_mandir}/ja/man1/nmblookup.1.gz
1312%{_mandir}/ja/man1/rpcclient.1.gz
1313%{_mandir}/ja/man1/sharesec.1.gz
1314%{_mandir}/ja/man1/smbcacls.1.gz
1315%{_mandir}/ja/man1/smbclient.1.gz
1316%{_mandir}/ja/man1/smbcquotas.1.gz
1317%{_mandir}/ja/man1/smbget.1.gz
1318%{_mandir}/ja/man1/smbtar.1.gz
1319%{_mandir}/ja/man1/smbtree.1.gz
1320%{_mandir}/ja/man5/smbgetrc.5.gz
1321%{_mandir}/ja/man5/smbpasswd.5.gz
1322%{_mandir}/ja/man7/traffic_learner.7.gz
1323%{_mandir}/ja/man7/traffic_replay.7.gz
1324%{_mandir}/ja/man8/cifsdd.8.gz
1325%{_mandir}/ja/man8/samba-regedit.8.gz
1326%{_mandir}/ja/man8/smbpasswd.8.gz
1327%{_mandir}/ja/man8/smbspool.8.gz
1328%{_mandir}/ja/man8/smbspool_krb5_wrapper.8.gz
1329
1330## --------------------------------------------------------------------
1331%files test
1332%defattr(-,root,root)
1333%{_bindir}/gentest
1334%{_bindir}/locktest
1335%{_bindir}/masktest
1336%{_bindir}/ndrdump
1337%{_bindir}/smbtorture
1338%{_mandir}/man1/gentest.1*
1339%{_mandir}/man1/locktest.1*
1340%{_mandir}/man1/masktest.1*
1341%{_mandir}/man1/ndrdump.1*
1342%{_mandir}/man1/smbtorture.1*
1343%{_mandir}/man1/vfstest.1*
1344
1345%{_libdir}/samba/libdlz-bind9-for-torture-samba4.so
1346%{_libdir}/samba/libtorture-samba4.so
1347
1348# ja manual
1349%{_mandir}/ja/man1/vfstest.1*
1350
1351## --------------------------------------------------------------------
1352%files devel
1353%defattr(-,root,root)
1354%{samba_includedir}/charset.h
1355%{samba_includedir}/core/doserr.h
1356%{samba_includedir}/core/error.h
1357%{samba_includedir}/core/hresult.h
1358%{samba_includedir}/core/ntstatus.h
1359%{samba_includedir}/core/ntstatus_gen.h
1360%{samba_includedir}/core/werror.h
1361%{samba_includedir}/core/werror_gen.h
1362%{samba_includedir}/credentials.h
1363%{samba_includedir}/dcerpc.h
1364%{samba_includedir}/dcerpc_server.h
1365%{samba_includedir}/domain_credentials.h
1366%{samba_includedir}/gen_ndr/atsvc.h
1367%{samba_includedir}/gen_ndr/auth.h
1368%{samba_includedir}/gen_ndr/dcerpc.h
1369%{samba_includedir}/gen_ndr/krb5pac.h
1370%{samba_includedir}/gen_ndr/lsa.h
1371%{samba_includedir}/gen_ndr/misc.h
1372%{samba_includedir}/gen_ndr/nbt.h
1373%{samba_includedir}/gen_ndr/drsblobs.h
1374%{samba_includedir}/gen_ndr/drsuapi.h
1375%{samba_includedir}/gen_ndr/ndr_drsblobs.h
1376%{samba_includedir}/gen_ndr/ndr_drsuapi.h
1377%{samba_includedir}/gen_ndr/ndr_atsvc.h
1378%{samba_includedir}/gen_ndr/ndr_dcerpc.h
1379%{samba_includedir}/gen_ndr/ndr_krb5pac.h
1380%{samba_includedir}/gen_ndr/ndr_misc.h
1381%{samba_includedir}/gen_ndr/ndr_nbt.h
1382%{samba_includedir}/gen_ndr/ndr_samr.h
1383%{samba_includedir}/gen_ndr/ndr_samr_c.h
1384%{samba_includedir}/gen_ndr/ndr_svcctl.h
1385%{samba_includedir}/gen_ndr/ndr_svcctl_c.h
1386%{samba_includedir}/gen_ndr/netlogon.h
1387%{samba_includedir}/gen_ndr/samr.h
1388%{samba_includedir}/gen_ndr/security.h
1389%{samba_includedir}/gen_ndr/server_id.h
1390%{samba_includedir}/gen_ndr/svcctl.h
1391%{samba_includedir}/ldb_wrap.h
1392%{samba_includedir}/lookup_sid.h
1393%{samba_includedir}/machine_sid.h
1394%{samba_includedir}/ndr.h
1395%dir %{samba_includedir}/ndr
1396%{samba_includedir}/ndr/ndr_dcerpc.h
1397%{samba_includedir}/ndr/ndr_drsblobs.h
1398%{samba_includedir}/ndr/ndr_drsuapi.h
1399%{samba_includedir}/ndr/ndr_krb5pac.h
1400%{samba_includedir}/ndr/ndr_svcctl.h
1401%{samba_includedir}/ndr/ndr_nbt.h
1402%{samba_includedir}/netapi.h
1403%{samba_includedir}/param.h
1404%{samba_includedir}/passdb.h
1405%{samba_includedir}/policy.h
1406%{samba_includedir}/rpc_common.h
1407%{samba_includedir}/samba/session.h
1408%{samba_includedir}/samba/version.h
1409%{samba_includedir}/share.h
1410%{samba_includedir}/smb2_lease_struct.h
1411%{samba_includedir}/smbconf.h
1412%{samba_includedir}/smb_ldap.h
1413%{samba_includedir}/smbldap.h
1414%{samba_includedir}/tdr.h
1415%{samba_includedir}/tsocket.h
1416%{samba_includedir}/tsocket_internal.h
1417%dir %{samba_includedir}/util
1418%{samba_includedir}/util/attr.h
1419%{samba_includedir}/util/blocking.h
1420%{samba_includedir}/util/byteorder.h
1421%{samba_includedir}/util/data_blob.h
1422%{samba_includedir}/util/debug.h
1423%{samba_includedir}/util/discard.h
1424%{samba_includedir}/util/fault.h
1425%{samba_includedir}/util/genrand.h
1426%{samba_includedir}/util/idtree.h
1427%{samba_includedir}/util/idtree_random.h
1428#%{samba_includedir}/util/memory.h
1429#%{samba_includedir}/util/safe_string.h
1430%{samba_includedir}/util/signal.h
1431%{samba_includedir}/util/string_wrappers.h
1432%{samba_includedir}/util/substitute.h
1433#%{samba_includedir}/util/talloc_stack.h
1434%{samba_includedir}/util/tevent_ntstatus.h
1435%{samba_includedir}/util/tevent_unix.h
1436%{samba_includedir}/util/tevent_werror.h
1437%{samba_includedir}/util/tfork.h
1438%{samba_includedir}/util/time.h
1439%{samba_includedir}/util_ldb.h
1440%{_libdir}/libdcerpc-binding.so
1441%{_libdir}/libdcerpc-samr.so
1442%{_libdir}/libdcerpc.so
1443%{_libdir}/libndr-krb5pac.so
1444%{_libdir}/libndr-nbt.so
1445%{_libdir}/libndr-standard.so
1446%{_libdir}/libndr.so
1447%{_libdir}/libnetapi.so
1448%{_libdir}/libsamba-credentials.so
1449%{_libdir}/libsamba-hostconfig.so
1450%{_libdir}/libsamba-passdb.so
1451%{_libdir}/libsamba-policy.*.so
1452%{_libdir}/libsamba-util.so
1453%{_libdir}/libsamdb.so
1454%{_libdir}/libsmbconf.so
1455%{_libdir}/libsmbldap.so
1456%{_libdir}/libtevent-util.so
1457%{_libdir}/pkgconfig/dcerpc.pc
1458%{_libdir}/pkgconfig/dcerpc_samr.pc
1459%{_libdir}/pkgconfig/ndr.pc
1460%{_libdir}/pkgconfig/ndr_krb5pac.pc
1461%{_libdir}/pkgconfig/ndr_nbt.pc
1462%{_libdir}/pkgconfig/ndr_standard.pc
1463%{_libdir}/pkgconfig/netapi.pc
1464%{_libdir}/pkgconfig/samba-credentials.pc
1465%{_libdir}/pkgconfig/samba-hostconfig.pc
1466%{_libdir}/pkgconfig/samba-policy.*.pc
1467%{_libdir}/pkgconfig/samba-util.pc
1468%{_libdir}/pkgconfig/samdb.pc
1469
1470%{_libdir}/libdcerpc-server.so
1471%{_libdir}/pkgconfig/dcerpc_server.pc
1472
1473## --------------------------------------------------------------------
1474%files python
1475%defattr(-,root,root,-)
1476%{python3_sitearch}/*
1477#%exclude %{python_sitearch}/_ldb.so
1478#%exclude %{python_sitearch}/_tevent.so
1479
1480## --------------------------------------------------------------------
1481%files pidl
1482%defattr(-,root,root,-)
1483%{perl_vendorlib}/Parse/*
1484%{_mandir}/man1/pidl.1.gz
1485%{_mandir}/man3/Parse::Pidl::Wireshark::NDR.3pm.gz
1486%{_mandir}/man3/Parse::Pidl::Wireshark::Conformance.3pm.gz
1487%{_mandir}/man3/Parse::Pidl::Dump.3pm.gz
1488%{_mandir}/man3/Parse::Pidl::NDR.3pm.gz
1489%{_mandir}/man3/Parse::Pidl::Util.3pm.gz
1490%attr(755,root,root) %{_bindir}/pidl
1491
1492## --------------------------------------------------------------------
1493%if %with_libsmbclient
1494%files -n libsmbclient
1495%defattr(-,root,root)
1496%{_libdir}/libsmbclient.so.*
1497%{_mandir}/man7/libsmbclient.7*
1498# ja manual
1499%{_mandir}/ja/man7/libsmbclient.7*
1500
1501## --------------------------------------------------------------------
1502%files -n libsmbclient-devel
1503%defattr(-,root,root)
1504%{samba_includedir}/libsmbclient.h
1505%{_libdir}/libsmbclient.so
1506%{_libdir}/pkgconfig/smbclient.pc
1507#%{_mandir}/man7/libsmbclient.7*
1508%endif # with_libsmbclient
1509
1510## --------------------------------------------------------------------
1511%if %with_libwbclient
1512%files -n libwbclient
1513%defattr(-,root,root)
1514%{_libdir}/samba/libwinbind-client-samba4.so
1515%{_libdir}/samba/wbclient/libwbclient.so.*
1516
1517## --------------------------------------------------------------------
1518%files -n libwbclient-devel
1519%defattr(-,root,root)
1520%{samba_includedir}/wbclient.h
1521%{_libdir}/samba/wbclient/libwbclient.so
1522%{_libdir}/pkgconfig/wbclient.pc
1523%endif # with_libwbclient
1524
1525%if %build_compat32
1526
1527## --------------------------------------------------------------------
1528%files -n compat32-samba-libs
1529%defattr(-,root,root)
1530%{_libdir}/libdcerpc-binding.so.*
1531%{_libdir}/libdcerpc.so.*
1532%{_libdir}/libsamba-errors.so*
1533%{_libdir}/libndr-krb5pac.so.*
1534%{_libdir}/libndr-nbt.so.*
1535%{_libdir}/libndr-standard.so.*
1536%{_libdir}/libndr.so.*
1537%{_libdir}/libnetapi.so.*
1538%{_libdir}/libsamba-credentials.so.*
1539%{_libdir}/libsamba-hostconfig.so.*
1540%{_libdir}/libsamba-passdb.so.*
1541%{_libdir}/libsamba-util.so.*
1542%{_libdir}/libsamdb.so.*
1543%{_libdir}/libsmbconf.so.*
1544%{_libdir}/libsmbldap.so.*
1545%{_libdir}/libtevent-util.so.*
1546
1547# libraries needed by the public libraries
1548%dir %{_libdir}/samba
1549%{_libdir}/samba/libCHARSET3-samba4.so
1550%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
1551%{_libdir}/samba/libMESSAGING-samba4.so
1552%{_libdir}/samba/libMESSAGING-SEND-samba4.so
1553%{_libdir}/samba/libaddns-samba4.so
1554%{_libdir}/samba/libads-samba4.so
1555%{_libdir}/samba/libasn1-samba4.so.*
1556%{_libdir}/samba/libasn1util-samba4.so
1557#{_libdir}/samba/libauth-sam-reply-samba4.so
1558%{_libdir}/samba/libauth-samba4.so
1559%{_libdir}/samba/libauth-unix-token-samba4.so
1560%{_libdir}/samba/libauth4-samba4.so
1561%{_libdir}/samba/libauthkrb5-samba4.so
1562%{_libdir}/samba/libcli-cldap-samba4.so
1563%{_libdir}/samba/libcli-ldap-common-samba4.so
1564%{_libdir}/samba/libcli-ldap-samba4.so
1565%{_libdir}/samba/libcli-nbt-samba4.so
1566%{_libdir}/samba/libcli-smb-common-samba4.so
1567%{_libdir}/samba/libcli-spoolss-samba4.so
1568%{_libdir}/samba/libcliauth-samba4.so
1569%{_libdir}/samba/libcluster-samba4.so
1570%{_libdir}/samba/libcmdline-contexts-samba4.so
1571%{_libdir}/samba/libcmdline-credentials-samba4.so
1572%{_libdir}/samba/libcmocka-samba4.so
1573%{_libdir}/samba/libcom_err-samba4.so*
1574%{_libdir}/samba/libcommon-auth-samba4.so
1575%{_libdir}/samba/libdb-glue-samba4.so
1576%{_libdir}/samba/libdbwrap-samba4.so
1577%{_libdir}/samba/libdcerpc-samba-samba4.so
1578%{_libdir}/samba/libdcerpc-samba4.so
1579%{_libdir}/samba/libdfs-server-ad-samba4.so
1580%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so
1581%{_libdir}/samba/libdsdb-module-samba4.so
1582%{_libdir}/samba/libevents-samba4.so
1583%{_libdir}/samba/libflag-mapping-samba4.so
1584%{_libdir}/samba/libgenrand-samba4.so
1585%{_libdir}/samba/libgensec-samba4.so
1586%{_libdir}/samba/libgpext-samba4.so
1587%{_libdir}/samba/libgse-samba4.so
1588%{_libdir}/samba/libgssapi-samba4.so.*
1589%{_libdir}/samba/libhcrypto-samba4.so.*
1590%{_libdir}/samba/libhdb-samba4.so.*
1591%{_libdir}/samba/libheimbase-samba4.so.*
1592%{_libdir}/samba/libhttp-samba4.so
1593%{_libdir}/samba/libhx509-samba4.so.*
1594%{_libdir}/samba/libinterfaces-samba4.so
1595%{_libdir}/samba/libiov-buf-samba4.so
1596%{_libdir}/samba/libkrb5-samba4.so.*
1597%{_libdir}/samba/libkrb5samba-samba4.so
1598%{_libdir}/samba/libldbsamba-samba4.so
1599%{_libdir}/samba/liblibcli-lsa3-samba4.so
1600%{_libdir}/samba/liblibcli-netlogon3-samba4.so
1601%{_libdir}/samba/liblibsmb-samba4.so
1602%{_libdir}/samba/libmessages-dgm-samba4.so
1603%{_libdir}/samba/libmessages-util-samba4.so
1604%{_libdir}/samba/libmsghdr-samba4.so
1605%{_libdir}/samba/libmsrpc3-samba4.so
1606%{_libdir}/samba/libnon-posix-acls-samba4.so
1607%{_libdir}/samba/libndr-samba-samba4.so
1608%{_libdir}/samba/libndr-samba4.so
1609%{_libdir}/samba/libnet-keytab-samba4.so
1610%{_libdir}/samba/libnetif-samba4.so
1611%{_libdir}/samba/libnpa-tstream-samba4.so
1612%{_libdir}/samba/libnss-info-samba4.so
1613%{_libdir}/samba/libpopt-samba3-cmdline-samba4.so
1614%{_libdir}/samba/libpopt-samba3-samba4.so
1615%{_libdir}/samba/libposix-eadb-samba4.so
1616%{_libdir}/samba/libprinting-migrate-samba4.so
1617%{_libdir}/samba/libprocess-model-samba4.so
1618%{_libdir}/samba/libregistry-samba4.so
1619%{_libdir}/samba/libreplace-samba4.so
1620%{_libdir}/samba/libroken-samba4.so.*
1621%{_libdir}/samba/libsamba-cluster-support-samba4.so
1622%{_libdir}/samba/libsamba-debug-samba4.so
1623%{_libdir}/samba/libsamba-modules-samba4.so
1624%{_libdir}/samba/libsamba-security-samba4.so
1625%{_libdir}/samba/libsamba-sockets-samba4.so
1626%{_libdir}/samba/libsamba3-util-samba4.so
1627%{_libdir}/samba/libsamdb-common-samba4.so
1628%{_libdir}/samba/libsecrets3-samba4.so
1629%{_libdir}/samba/libserver-role-samba4.so
1630%{_libdir}/samba/libserver-id-db-samba4.so
1631%{_libdir}/samba/libservice-samba4.so
1632%{_libdir}/samba/libshares-samba4.so
1633%{_libdir}/samba/libsmb-transport-samba4.so
1634%{_libdir}/samba/libsmbclient-raw-samba4.so
1635%{_libdir}/samba/libsmbd-base-samba4.so
1636%{_libdir}/samba/libsmbd-conn-samba4.so
1637%{_libdir}/samba/libsmbd-shim-samba4.so
1638%{_libdir}/samba/libsmbldaphelper-samba4.so
1639%{_libdir}/samba/libsmbpasswdparser-samba4.so
1640%{_libdir}/samba/libsocket-blocking-samba4.so
1641%{_libdir}/samba/libsys-rw-samba4.so
1642%{_libdir}/samba/libtalloc-report-samba4.so
1643%{_libdir}/samba/libtdb-wrap-samba4.so
1644%{_libdir}/samba/libtime-basic-samba4.so
1645%{_libdir}/samba/libtrusts-util-samba4.so
1646%{_libdir}/samba/libutil-cmdline-samba4.so
1647%{_libdir}/samba/libutil-reg-samba4.so
1648%{_libdir}/samba/libutil-setid-samba4.so
1649%{_libdir}/samba/libutil-tdb-samba4.so
1650%{_libdir}/samba/libwind-samba4.so.*
1651%{_libdir}/samba/libxattr-tdb-samba4.so
1652
1653## --------------------------------------------------------------------
1654%files -n compat32-libwbclient
1655%defattr(755,root,root)
1656%{_libdir}/samba/libwinbind-client-samba4.so
1657%{_libdir}/samba/wbclient/libwbclient.so.*
1658
1659## --------------------------------------------------------------------
1660%files -n compat32-libsmbclient
1661%defattr(755,root,root)
1662%{_libdir}/libsmbclient.so.*
1663
1664%endif
1665
1666%changelog
1667* Thu Aug 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.7-1
1668- new upstream release.
1669- updated samba-ja-docs.
1670
1671* Tue May 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.3-1
1672- new upstream release.
1673
1674* Sat May 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.2-1
1675- new upstream release.
1676- switched to python3.
1677- made to use bundled lib{talloc,tevent,ldb} and ctdb.
1678
1679* Fri Jan 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.4-1
1680- new upstream release.
1681
1682* Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.3-1
1683- new upstream release.
1684- updated samba-ja-docs.
1685
1686* Wed Mar 14 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.8.0-1
1687- new upstream release.
1688
1689* Thu Mar 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.8.0-0.2.rc4
1690- new upstream release.
1691- fixed %%files for compat32-samba-libs.
1692
1693* Mon Jul 17 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.6-1
1694- new upstream release.
1695- updated samba-ja-docs.
1696
1697* Mon May 29 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.4-1
1698- new upstream release.
1699
1700* Mon May  1 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.3-1
1701- new upstream release.
1702
1703* Thu Mar 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.0-1
1704- new upstream release.
1705
1706* Tue Dec 20 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.3-1
1707- new upstream release.
1708
1709* Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.2-1
1710- new upstream release.
1711- updated samba-ja-docs.
1712
1713* Fri Jul  8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.5-1
1714- new upstream release.
1715- updated samba-ja-docs.
1716
1717* Wed Jun  8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.4-1
1718- new upstream release.
1719- updated samba-ja-docs.
1720
1721* Tue May  3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.3-1
1722- new upstream release.
1723- updated samba-ja-docs.
1724
1725* Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.2-1
1726- new upstream release.
1727
1728* Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.0-1
1729- new upstream release.
1730
1731* Thu Mar 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.6-1
1732- new upstream release.
1733- updated samba-ja-docs.
1734
1735* Wed Feb 24 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.5-1
1736- new upstream release.
1737
1738* Sat Jan 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.4-1
1739- new upstream release.
1740
1741* Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-3
1742- built with gnutls-3.4.x.
1743
1744* Sun Dec 20 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-2
1745- built with libldb-1.1.25.
1746
1747* Thu Dec 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-1
1748- new upstream release.
1749- fixed missing %%changelog.
1750
1751* Wed Dec  2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.2-1
1752- new upstream release.
1753
1754* Fri Oct 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.1-1
1755- new upstream release.
1756
1757* Sat Sep 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.0-1
1758- new upstream release.
1759- built without libbsd.
1760
1761* Sat Sep 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.4-1
1762- new upstream release.
1763
1764* Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.3-1
1765- new upstream release.
1766
1767* Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.2-1
1768- new upstream release.
1769
1770* Fri Apr 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.1-1
1771- new upstream release.
1772
1773* Thu Apr 16 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-2
1774- added subpackage compat32-samba-libs and samba-dc-libs.
1775- fixed %%files.
1776
1777* Sat Mar 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-1
1778- new upstream release.
1779
1780* Tue Feb 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.17-1
1781- new upstream release.
1782
1783* Sun Jan 25 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.16-1
1784- new upstream release.
1785
1786* Mon Jan 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.15-1
1787- new upstream release.
1788
1789* Wed Dec 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.14-1
1790- new upstream release.
1791- re-enabled samba-ja-docs.
1792
1793* Tue Dec  2 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-3
1794- fixed Group typo involved by previous release
1795
1796* Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-2
1797- moved common, libs, python, liibsmbclient and libwbclient packages to System Environment/Libraries Group
1798
1799* Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.11-1
1800- new upstream release.
1801
1802* Wed Mar 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.6-1
1803- new upstream release.
1804- removed samba-ja-docs (docs-ja for 4.1.x has not released yet).
1805
1806* Mon Dec 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.3-1
1807- new upstream release.
1808
1809* Thu Nov 28 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.2-1
1810- new upstream release.
1811- removed a sub package "samba-swat" (removed in upstream).
1812- %%post was made to fix the permission of TLS key (CVE-2013-4476).
1813
1814* Wed Oct 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.10-1
1815- new upstream release.
1816
1817* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.9-1
1818- new upstream release.
1819
1820* Tue Mar 26 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.4-1
1821- new upstream release.
1822- fixed dependency.
1823- added documents from samba-docs-ja-4.0.0-1.
1824
1825* Mon Mar 04 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-2
1826- fixed directory to place private data.
1827
1828* Sun Mar 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-1
1829- new upstream release.
1830- fixed dates of %%changelog.
1831
1832* Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.0-1
1833- new upstream release.
1834
1835* Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.15-1
1836- new upstream release. (to fix CVE-2012-2111)
1837- added charset options to smb.conf.
1838
1839* Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.14-1
1840- new upstream release. (to fix CVE-2012-1182)
1841
1842* Tue Aug 09 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.11-1
1843- new upstream release. (to fix BTS:1189)
1844
1845* Sat Jul 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
1846- new upstream release. (to fix CVE-2011-2522 and CVE-2011-2694)
1847
1848* Mon Jul 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-3
1849- updated Source6.
1850
1851* Fri Mar 25 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-2
1852- fix smb.conf(5).
1853
1854* Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
1855- new upstream release.
1856- updated patches.
1857- added subpackages 'winbind-krb5-locator' and 'winbind-client'.
1858- dropped tdb and talloc subpackages became independent packages.
1859- dropped {,u}mount.cifs were included in cifs-utils.
1860
1861* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.3.10-13
1862- rebuilt with rpm-4.8.1 for pkg-config
1863- changed spec file name as vine style
1864- dropt script lines in %%build that no work
1865
1866* Sun Feb  7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
1867- add patch1000 for fix CVE-2010-0547 (cifs.mount)
1868
1869* Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
1870- new upstream release.
1871
1872* Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
1873- added 'Packager' tag.
1874
1875* Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
1876- new upstream release.
1877- added '--disable-fam' option.
1878- added 'compat32-*' subpackages.
1879- added 'libuuid-devel' to 'BuildRequires:'.
1880
1881* Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
1882- new upstream release.
1883
1884* Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
1885- new upstream release.
1886
1887* Thu Jun  4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
1888- increased release number for libtalloc/libtdb.
1889
1890* Tue Jun  2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
1891- fixed dependency.
1892- fixed modulepath.
1893
1894* Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
1895- new upstream release.
1896
1897* Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
1898- rebuilt with openldap-2.4.11
1899
1900* Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
1901- samba-doc: changed Group to Applications/Documentation
1902- samba-winbind-devel: changed Group to Development/Libraries
1903- libsmbclient: changed Group to System Environment/Libraries
1904- libsmbclient-devel: changed Group to Development/Libraries
1905- libtalloc: changed Group to System Environment/Libraries
1906- libtalloc-devel: changed Group to Development/Libraries
1907- libtdb: fixed summary
1908          changed Group to System Environment/Libraries
1909- libtdb-devel: changed Group to Development/Libraries
1910
1911* Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
1912- new upstream release
1913
1914* Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
1915- new upstream release
1916- drop jp patch
1917- use UTF-8 as default charset
1918- rename samba-libsmbclient to libsmbclient
1919
1920* Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
1921- new upstream release.
1922- remove gamin-devel from BuildRequires: (no longer needed).
1923
1924* Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
1925- BuildRequires: gamin-devel (see [wishes:0127])
1926
1927* Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
1928- [SECURITY FIX] add security patches (#50-52)
1929  - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
1930  - CVE-2007-2446: multiple heap overflows allow remote code execution
1931  - CVE-2007-2447: remote command injection vulnerability
1932
1933* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
1934- apply upstream patches (#0-5)
1935  - fix an issues with servers set to "security = share" and Vista clients
1936    that send NTLMv2 responses
1937  - fixe several point-n-print bugs with Vista clients
1938  - fix failure when using the Vista backup utility
1939  - fix expansion of the %a smb.conf variable for Vista clients
1940  - fix MS-DFS referrals with Windows Vista clients
1941  - fix for Vista failing to delete directories on a Samba share
1942- display service start/stop messages ([VineSeed:13299])
1943
1944* Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
1945- [SECURITY FIX] new upstream release
1946  - CVE-2007-0452: potential denial of service bug in smbd
1947  - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
1948  - CVE-2007-0454: format string bug in afsacl.so vfs plugin
1949
1950* Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
1951- new upstream release
1952
1953* Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
1954- disable swat (via inetd) by default
1955- fix code for editing %%{_sysconfdir}/inetd.conf
1956
1957* Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
1958- fix dependencies:
1959  - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
1960  - drop PreReq: gawk from -client
1961  - drop PreReq: inetd from -swat
1962  - drop Requires: tcp_wrappers from -swat (is needed by inetd)
1963- fix %%post etc...
1964  - drop code for editing /etc/services: no more needed
1965  - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
1966    from %%triggerin swat -- inetd to %%post swat
1967  - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
1968
1969* Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
1970- new upstream release
1971
1972* Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
1973- rebuilt with openldap-2.3.27-0vl1
1974
1975* Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
1976- new upstream release
1977
1978* Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
1979- new upstream release
1980
1981* Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
1982- [SECURITY] new upstream release
1983  - Memory exhaustion DoS against smbd (CVE-2006-3403)
1984- update patches
1985  - buildroot.patch (#100)
1986  - logfiles.patch (#103)
1987  - smb.conf.patch (#106)
1988- update filter-requires-samba.sh (source999)
1989  - get rid of bogus dependency on perl(Unicode::MapUTF8)
1990
1991* Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
1992- new upstream release
1993- renumber patches
1994  - 000- for upstream patches
1995  - 050- for security patches
1996  - 100- for generic patches
1997- update logfiles.patch (#103)
1998- drop warning.patch (#104)
1999- not apply hex.patch (#105)
2000- add smb.conf.patch (#106)
2001- drop samba.log (source1), smb.conf (source2)
2002- use samba.pamd.stack instead of samba.pamd
2003- define macro: pkgingdir
2004- add files:
2005  - samba-client
2006    - %%{_bindir}/{smbget,eventlogadm}
2007  - samba-common:
2008    - %%{_bindir}/tdbtool
2009- separate development files to samba-libsmbclient-devel
2010- change groups
2011
2012* Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
2013- remove unneeded dependencies
2014  - update filter-requires-samba.sh (source999)
2015  - overwrite __find_requires instead of __perl_requires
2016
2017* Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
2018- rebuild with readline-5.1
2019
2020* Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
2021- separate doc package with %%docpkg
2022- use %%htmlview instead of %%browser
2023
2024* Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
2025- add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
2026
2027* Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
2028- new upstream release
2029- install %%{_sysconfdir}/xinetd.d/swat
2030- update filter-requires-samba.sh
2031- add swat.desktop.in instead of swat.desktop
2032  - switch browser by %%browser
2033- drop i18n patches
2034- update logfiles.patch (#3)
2035- add warning.patch (#4)
2036
2037* Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
2038- fix samba.log
2039  - thanks, K. Moriyama [VinePlus:02606]
2040- remove docs/manpages from %%doc
2041
2042* Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
2043- new upstream release
2044- update struplower_m_i18n.patch (#102)
2045- drop obsolete patch (#10)
2046
2047* Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
2048- [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
2049  - add samba-3.0.9-CAN-2004-1154.patch (#10)
2050- update patch (#102)
2051
2052* Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
2053- new upstream release
2054- drop obsolete patches (#10,11,110)
2055- update patches (#3,102)
2056
2057* Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
2058- [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
2059  - add samba-3.0.7-CAN-2004-0882.patch (patch11)
2060- update Source URL
2061
2062* Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
2063- [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
2064  - add samba-3.0.7-CAN-2004-0930.patch (patch10)
2065
2066* Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
2067- update samba.log, {smb,winbind}.init
2068- use *.log as logfile name instead of log.* (patch3)
2069
2070* Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
2071- change directories from %%{_localstatedir}/lock/samba
2072  - LOCKDIR: %%{_localstatedir}/cache/samba
2073  - PIDDIR:  %%{_localstatedir}/run
2074- restart {smb,winbind} at postun (upgrade)
2075- samba-common
2076  - convert smbpasswd at triggerpostun -- samba < 3.0.7
2077  - add convert_smbpasswd
2078  - add PreReq: gawk
2079
2080* Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
2081- add docs_ja (source101) from 3.0.5-16ml
2082
2083* Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
2084- new upstream release (shift to 3.0 series)
2085  - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
2086  - drop obsolete paches, configure options
2087  - update buildroot.patch
2088  - add I18N patches (#101-)
2089  - update smb.conf
2090- add URL
2091- use more macros
2092- change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
2093- move %%{_localstatedir}/log/samba, smbpasswd to samba-common
2094- move smbspool, smbcacls, rpcclient to samba-client
2095- update descriptions
2096
2097* Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
2098- new upstream release
2099
2100* Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
2101- 2.2.11-ja-1.0beta1
2102  - drop patch10
2103- add BuildPreReq: openssl-devel
2104- swat
2105  - add PreReq/Requires: inetd
2106  - add swat.desktop
2107
2108* Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
2109- fix changelog
2110
2111* Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
2112- [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
2113  - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
2114- add BuildPreReq: cups-devel
2115- add Prereq: chkconfig mktemp psmisc (instead of each files)
2116
2117* Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
2118- new upstream release
2119
2120* Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
2121- 2.2.9-ja-1.0beta1
2122- add BuildPreReq: readline-devel
2123
2124* Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
2125- add ldconfig in %%post/%%postun script for libsmbclient
2126
2127* Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
2128- add libsmbclient subpackage.
2129
2130* Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
2131- new upstream release.
2132
2133* Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
2134- fix smb.conf (SAMBADOC's path)
2135
2136* Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
2137- tentatively skip to build examples/VFS on alpha
2138
2139* Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
2140- new upstream release.
2141
2142* Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
2143- fix smb.conf
2144- fix smbadduser
2145
2146* Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
2147- new upstream version
2148
2149* Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
2150- added smbinit-vine.patch
2151        -- added '-D' option in smbd and nmbd
2152
2153* Thu Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
2154- New upstream version
2155        -- security fix.
2156
2157* Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2158- 2.2.7a.ja-1.0vl5
2159- merged from SPEC for RH60 by samba-jp.
2160
2161* Mon Feb 17  2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2162- 2.2.7a.ja-1.0vl4.beta1
2163- fix 'Requires:'.
2164
2165* Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2166- 2.2.7a.ja-1.0vl3.alpha1
2167- disable --with-tdbsam.
2168
2169* Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2170- 2.2.7a.ja-1.0vl2.alpha1
2171- modify %%post script for new password database.
2172
2173* Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2174- 2.2.7a.ja-1.0vl1.alpha1
2175
2176* Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2177- 2.2.6.ja-1.0vl1.alpha2
2178- apply alpha2 patch.
2179
2180* Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2181- 2.2.6.ja-1.0vl1.alpha1
2182- remove swat from package 'samba'.
2183
2184* Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2185- 2.2.6.ja-1.0vl0.alpha1
2186- enable winbind modules.
2187- change numbering rule.
2188
2189* Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2190- 2.2.6_ja_0.alpha1-0vl1
2191
2192* Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2193- 2.2.4_ja_0.alpha1.3-0vl1
2194
2195* Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2196- 2.2.2_ja_1.1-0vl1
2197- disable winbind modules (2.2.2 or earlier has critical bugs).
2198- modify 'Requires:'.
2199
2200* Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2201- 2.2.2_ja_1.1-0vl0
2202- shift sources to 2.2.x.
2203- add debugging mode for '%%files' section.
2204- modify spec largely because of too many difference between 2.0.x and 2.2.x.
2205-  . exchange %%prep, %%build, %%install section with samba-jp's spec.
2206-  . create a package 'samba-swat'.
2207-  . move smbclient and nmblookup to samba-common.
2208-  . move testprns to package 'samba' because it's checking tool for
2209-    server on LOCALHOST.
2210-  . move '%%post' to '%%post swat'.
2211-  . disable '%%post common'.
2212
2213* Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
2214- 2.0.10_ja_1.2
2215
2216* Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
2217- 2.0.10_ja_1.1-0vl4
2218- eliminate executable bit in %%doc to erase perl/sh requirement
2219
2220* Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
2221- 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
2222- patch swat/ja/help/welcome.html to hide some missing matter
2223- also remove docs/zh_{CN,TW} files in %%doc
2224
2225* Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
2226- for VineSeed
2227- deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
2228
2229* Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
2230- 2.0.10_ja_1.1
2231- for 2.1.x update
2232
2233* Fri Aug 17 2001 <sagami@vinelinux.org>
2234- 2.0.10_ja_1.0-0vl2
2235- remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
2236
2237* Mon Jul 09 2001 <sagami@vinelinux.org>
2238- 2.0.10_ja_1.0-0vl1: includes secrity fix
2239 (http://www.samba.org/samba/whatsnew/macroexploit.html)
2240- remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
2241
2242* Thu May 31 2001 <sagami@vinelinux.org>
2243- 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
2244- added BuildPreReq = pam-devel for Vine 2.1.5+
2245- fixed init script to match our current/old style
2246- eliminate CVS related files from %%doc
2247
2248* Thu Apr 19 2001 <sagami@vinelinux.org>
2249- 2.0.7_ja_2.2-0vl1
2250
2251* Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
2252- 2.0.7_ja_1.3-0vl2
2253- rebuilt with readline2
2254- use better macros (although not almost complete... needs comfirmation)
2255
2256* Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
2257- 2.0.7_ja_1.3-0vl1
2258
2259* Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
2260- 2.0.7_ja_1.2.1-0vl2
2261- fixed missing Changelog.ja (was Chagelog.ja)
2262
2263* Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
2264- updated to 2.0.7-ja-1.2.1
2265
2266* Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2267- updated to 2.0.7-ja-1.2
2268
2269* Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2270- added some Japanese documents to %doc
2271
2272* Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2273- updated to 2.0.7-ja-1.0
2274
2275* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2276- updated to 2.0.7-ja-0.99
2277
2278* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2279- added rpccilent
2280- modified tcpdconf for stability.
2281
2282* Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2283- first test release for Vine based on RH6.2 spec file.
2284- activated swat in default for only localhost.
2285
2286* Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
2287- fix trigger, again.
2288
2289* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
2290- fix trigger.
2291
2292* Fri Feb  4 2000 Bill Nottingham <notting@redhat.com>
2293- turn on quota support
2294
2295* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
2296- rebuild to fox dependencies
2297- man pages are compressed
2298
2299* Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
2300- munge post scripts slightly
2301
2302* Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
2303- turn on mmap again. Wheee.
2304- ship smbmount on alpha
2305
2306* Mon Dec  6 1999 Bill Nottingham <notting@redhat.com>
2307- turn off mmap. ;)
2308
2309* Wed Dec  1 1999 Bill Nottingham <notting@redhat.com>
2310- change /var/log/samba to 0700
2311- turn on mmap support
2312
2313* Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
2314- update to 2.0.6
2315
2316* Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
2317- add a %defattr for -common
2318
2319* Tue Oct  5 1999 Bill Nottingham <notting@redhat.com>
2320- shift some files into -client
2321- remove /home/samba from package.
2322
2323* Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
2324- initscript oopsie. killproc <name> -HUP, not other way around.
2325
2326* Sun Sep 26 1999 Bill Nottingham <notting@redhat.com>
2327- script cleanups. Again.
2328
2329* Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
2330- add a patch to fix dropped reconnection attempts
2331
2332* Mon Sep  6 1999 Jeff Johnson <jbj@redhat.com>
2333- use cp rather than mv to preserve /etc/services perms (#4938 et al).
2334- use mktemp to generate /etc/tmp.XXXXXX file name.
2335- add prereqs on sed/mktemp/killall (need to move killall to /bin).
2336- fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
2337
2338* Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
2339- sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
2340
2341* Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
2342- fix typo in mount.smb
2343
2344* Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
2345- add a %trigger to work around (sort of) broken scripts in
2346  previous releases
2347
2348* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
2349- initscript munging
2350
2351* Mon Aug  9 1999 Bill Nottingham <notting@redhat.com>
2352- add domain parsing to mount.smb
2353
2354* Fri Aug  6 1999 Bill Nottingham <notting@redhat.com>
2355- add a -common package, shuffle files around.
2356
2357* Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
2358- add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
2359
2360* Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
2361- update to 2.0.5
2362- fix mount.smb - smbmount options changed again.........
2363- fix postun. oops.
2364- update some stuff from the samba team's spec file.
2365
2366* Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
2367- split off clients into separate package
2368- don't run samba by default
2369
2370* Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
2371- fix one problem with mount.smb script
2372- fix smbpasswd on sparc with a really ugly kludge
2373
2374* Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
2375- fixed logrotate script
2376
2377* Tue May 25 1999 Bill Nottingham <notting@redhat.com>
2378- turn of 64-bit locking on 32-bit platforms
2379
2380* Thu May 20 1999 Bill Nottingham <notting@redhat.com>
2381- so many releases, so little time
2382- explicitly uncomment 'printing = bsd' in sample config
2383
2384* Tue May 18 1999 Bill Nottingham <notting@redhat.com>
2385- update to 2.0.4a
2386- fix mount.smb arg ordering
2387
2388* Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
2389- go back to stop/start for restart (-HUP didn't work in testing)
2390
2391* Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
2392- add a mount.smb to make smb mounting a little easier.
2393- smb filesystems apparently don't work on alpha. Oops.
2394
2395* Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
2396- always create codepages
2397
2398* Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
2399- logrotate changes
2400
2401* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
2402- auto rebuild in the new build environment (release 3)
2403
2404* Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
2405- updated init script to use graceful restart (not stop/start)
2406
2407* Tue Mar  9 1999 Bill Nottingham <notting@redhat.com>
2408- update to 2.0.3
2409
2410* Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
2411- update to 2.0.2
2412
2413* Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
2414- swat swat
2415
2416* Tue Feb  9 1999 Bill Nottingham <notting@redhat.com>
2417- fix bash2 breakage in post script
2418
2419* Fri Feb  5 1999 Bill Nottingham <notting@redhat.com>
2420- update to 2.0.0
2421
2422* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
2423- make sure all binaries are stripped
2424
2425* Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
2426- update to 1.9.18p10.
2427- fix %triggerpostun.
2428
2429* Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
2430- updated postun triggerscript to check $0
2431- clear /etc/codepages from %preun instead of %postun
2432
2433* Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
2434- made the %postun script a tad less agressive; no reason to remove
2435  the logs or lock file (after all, if the lock file is still there,
2436  samba is still running)
2437- the %postun and %preun should only exectute if this is the final
2438  removal
2439- migrated %triggerpostun from Red Hat's samba package to work around
2440  packaging problems in some Red Hat samba releases
2441
2442* Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
2443- minor tidy up in preparation for release of 1.9.18p5
2444- added findsmb utility from SGI package
2445
2446* Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
2447- Updated version and codepage info.
2448- Release to test name resolve order
2449
2450* Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
2451- Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
2452- Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
2453- Compounded make line
2454- Updated smb.init restart mechanism
2455- Use compound mkdir -p line instead of individual calls to mkdir
2456- Fixed smb.conf file path for log files
2457- Fixed smb.conf file path for incoming smb print spool directory
2458- Added a number of options to smb.conf file
2459- Added smbadduser command (missed from all previous RPMs) - Doooh!
2460- Added smbuser file and smb.conf file updates for username map
2461
Note: See TracBrowser for help on using the repository browser.