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

Revision 12177, 81.0 KB checked in by tomop, 5 years ago (diff)

samba-4.10.8-1

Line 
1%define samba_version 4.10.8
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/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/libcluster-samba4.so
1577%{_libdir}/samba/libcmdline-contexts-samba4.so
1578%{_libdir}/samba/libcmdline-credentials-samba4.so
1579%{_libdir}/samba/libcmocka-samba4.so
1580%{_libdir}/samba/libcom_err-samba4.so*
1581%{_libdir}/samba/libcommon-auth-samba4.so
1582%{_libdir}/samba/libdb-glue-samba4.so
1583%{_libdir}/samba/libdbwrap-samba4.so
1584%{_libdir}/samba/libdcerpc-samba-samba4.so
1585%{_libdir}/samba/libdcerpc-samba4.so
1586%{_libdir}/samba/libdfs-server-ad-samba4.so
1587%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so
1588%{_libdir}/samba/libdsdb-module-samba4.so
1589%{_libdir}/samba/libevents-samba4.so
1590%{_libdir}/samba/libflag-mapping-samba4.so
1591%{_libdir}/samba/libgenrand-samba4.so
1592%{_libdir}/samba/libgensec-samba4.so
1593%{_libdir}/samba/libgpext-samba4.so
1594%{_libdir}/samba/libgse-samba4.so
1595%{_libdir}/samba/libgssapi-samba4.so.*
1596%{_libdir}/samba/libhcrypto-samba4.so.*
1597%{_libdir}/samba/libhdb-samba4.so.*
1598%{_libdir}/samba/libheimbase-samba4.so.*
1599%{_libdir}/samba/libhttp-samba4.so
1600%{_libdir}/samba/libhx509-samba4.so.*
1601%{_libdir}/samba/libinterfaces-samba4.so
1602%{_libdir}/samba/libiov-buf-samba4.so
1603%{_libdir}/samba/libkrb5-samba4.so.*
1604%{_libdir}/samba/libkrb5samba-samba4.so
1605%{_libdir}/samba/libldbsamba-samba4.so
1606%{_libdir}/samba/liblibcli-lsa3-samba4.so
1607%{_libdir}/samba/liblibcli-netlogon3-samba4.so
1608%{_libdir}/samba/liblibsmb-samba4.so
1609%{_libdir}/samba/libmessages-dgm-samba4.so
1610%{_libdir}/samba/libmessages-util-samba4.so
1611%{_libdir}/samba/libmsghdr-samba4.so
1612%{_libdir}/samba/libmsrpc3-samba4.so
1613%{_libdir}/samba/libnon-posix-acls-samba4.so
1614%{_libdir}/samba/libndr-samba-samba4.so
1615%{_libdir}/samba/libndr-samba4.so
1616%{_libdir}/samba/libnet-keytab-samba4.so
1617%{_libdir}/samba/libnetif-samba4.so
1618%{_libdir}/samba/libnpa-tstream-samba4.so
1619%{_libdir}/samba/libnss-info-samba4.so
1620%{_libdir}/samba/libpopt-samba3-cmdline-samba4.so
1621%{_libdir}/samba/libpopt-samba3-samba4.so
1622%{_libdir}/samba/libposix-eadb-samba4.so
1623%{_libdir}/samba/libprinting-migrate-samba4.so
1624%{_libdir}/samba/libprocess-model-samba4.so
1625%{_libdir}/samba/libregistry-samba4.so
1626%{_libdir}/samba/libreplace-samba4.so
1627%{_libdir}/samba/libroken-samba4.so.*
1628%{_libdir}/samba/libsamba-cluster-support-samba4.so
1629%{_libdir}/samba/libsamba-debug-samba4.so
1630%{_libdir}/samba/libsamba-modules-samba4.so
1631%{_libdir}/samba/libsamba-security-samba4.so
1632%{_libdir}/samba/libsamba-sockets-samba4.so
1633%{_libdir}/samba/libsamba3-util-samba4.so
1634%{_libdir}/samba/libsamdb-common-samba4.so
1635%{_libdir}/samba/libsecrets3-samba4.so
1636%{_libdir}/samba/libserver-role-samba4.so
1637%{_libdir}/samba/libserver-id-db-samba4.so
1638%{_libdir}/samba/libservice-samba4.so
1639%{_libdir}/samba/libshares-samba4.so
1640%{_libdir}/samba/libsmb-transport-samba4.so
1641%{_libdir}/samba/libsmbclient-raw-samba4.so
1642%{_libdir}/samba/libsmbd-base-samba4.so
1643%{_libdir}/samba/libsmbd-conn-samba4.so
1644%{_libdir}/samba/libsmbd-shim-samba4.so
1645%{_libdir}/samba/libsmbldaphelper-samba4.so
1646%{_libdir}/samba/libsmbpasswdparser-samba4.so
1647%{_libdir}/samba/libsocket-blocking-samba4.so
1648%{_libdir}/samba/libsys-rw-samba4.so
1649%{_libdir}/samba/libtalloc-report-samba4.so
1650%{_libdir}/samba/libtdb-wrap-samba4.so
1651%{_libdir}/samba/libtime-basic-samba4.so
1652%{_libdir}/samba/libtrusts-util-samba4.so
1653%{_libdir}/samba/libutil-cmdline-samba4.so
1654%{_libdir}/samba/libutil-reg-samba4.so
1655%{_libdir}/samba/libutil-setid-samba4.so
1656%{_libdir}/samba/libutil-tdb-samba4.so
1657%{_libdir}/samba/libwind-samba4.so.*
1658%{_libdir}/samba/libxattr-tdb-samba4.so
1659
1660## --------------------------------------------------------------------
1661%files -n compat32-libwbclient
1662%defattr(755,root,root)
1663%{_libdir}/samba/libwinbind-client-samba4.so
1664%{_libdir}/samba/wbclient/libwbclient.so.*
1665
1666## --------------------------------------------------------------------
1667%files -n compat32-libsmbclient
1668%defattr(755,root,root)
1669%{_libdir}/libsmbclient.so.*
1670
1671%endif
1672
1673%changelog
1674* Wed Sep 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.8-1
1675- new upstream release.
1676
1677* Thu Aug 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.7-1
1678- new upstream release.
1679- updated samba-ja-docs.
1680
1681* Tue May 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.3-1
1682- new upstream release.
1683
1684* Sat May 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.2-1
1685- new upstream release.
1686- switched to python3.
1687- made to use bundled lib{talloc,tevent,ldb} and ctdb.
1688
1689* Fri Jan 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.4-1
1690- new upstream release.
1691
1692* Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.3-1
1693- new upstream release.
1694- updated samba-ja-docs.
1695
1696* Wed Mar 14 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.8.0-1
1697- new upstream release.
1698
1699* Thu Mar 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.8.0-0.2.rc4
1700- new upstream release.
1701- fixed %%files for compat32-samba-libs.
1702
1703* Mon Jul 17 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.6-1
1704- new upstream release.
1705- updated samba-ja-docs.
1706
1707* Mon May 29 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.4-1
1708- new upstream release.
1709
1710* Mon May  1 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.3-1
1711- new upstream release.
1712
1713* Thu Mar 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.0-1
1714- new upstream release.
1715
1716* Tue Dec 20 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.3-1
1717- new upstream release.
1718
1719* Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.2-1
1720- new upstream release.
1721- updated samba-ja-docs.
1722
1723* Fri Jul  8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.5-1
1724- new upstream release.
1725- updated samba-ja-docs.
1726
1727* Wed Jun  8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.4-1
1728- new upstream release.
1729- updated samba-ja-docs.
1730
1731* Tue May  3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.3-1
1732- new upstream release.
1733- updated samba-ja-docs.
1734
1735* Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.2-1
1736- new upstream release.
1737
1738* Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.0-1
1739- new upstream release.
1740
1741* Thu Mar 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.6-1
1742- new upstream release.
1743- updated samba-ja-docs.
1744
1745* Wed Feb 24 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.5-1
1746- new upstream release.
1747
1748* Sat Jan 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.4-1
1749- new upstream release.
1750
1751* Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-3
1752- built with gnutls-3.4.x.
1753
1754* Sun Dec 20 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-2
1755- built with libldb-1.1.25.
1756
1757* Thu Dec 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-1
1758- new upstream release.
1759- fixed missing %%changelog.
1760
1761* Wed Dec  2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.2-1
1762- new upstream release.
1763
1764* Fri Oct 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.1-1
1765- new upstream release.
1766
1767* Sat Sep 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.0-1
1768- new upstream release.
1769- built without libbsd.
1770
1771* Sat Sep 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.4-1
1772- new upstream release.
1773
1774* Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.3-1
1775- new upstream release.
1776
1777* Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.2-1
1778- new upstream release.
1779
1780* Fri Apr 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.1-1
1781- new upstream release.
1782
1783* Thu Apr 16 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-2
1784- added subpackage compat32-samba-libs and samba-dc-libs.
1785- fixed %%files.
1786
1787* Sat Mar 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-1
1788- new upstream release.
1789
1790* Tue Feb 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.17-1
1791- new upstream release.
1792
1793* Sun Jan 25 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.16-1
1794- new upstream release.
1795
1796* Mon Jan 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.15-1
1797- new upstream release.
1798
1799* Wed Dec 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.14-1
1800- new upstream release.
1801- re-enabled samba-ja-docs.
1802
1803* Tue Dec  2 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-3
1804- fixed Group typo involved by previous release
1805
1806* Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-2
1807- moved common, libs, python, liibsmbclient and libwbclient packages to System Environment/Libraries Group
1808
1809* Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.11-1
1810- new upstream release.
1811
1812* Wed Mar 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.6-1
1813- new upstream release.
1814- removed samba-ja-docs (docs-ja for 4.1.x has not released yet).
1815
1816* Mon Dec 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.3-1
1817- new upstream release.
1818
1819* Thu Nov 28 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.2-1
1820- new upstream release.
1821- removed a sub package "samba-swat" (removed in upstream).
1822- %%post was made to fix the permission of TLS key (CVE-2013-4476).
1823
1824* Wed Oct 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.10-1
1825- new upstream release.
1826
1827* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.9-1
1828- new upstream release.
1829
1830* Tue Mar 26 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.4-1
1831- new upstream release.
1832- fixed dependency.
1833- added documents from samba-docs-ja-4.0.0-1.
1834
1835* Mon Mar 04 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-2
1836- fixed directory to place private data.
1837
1838* Sun Mar 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-1
1839- new upstream release.
1840- fixed dates of %%changelog.
1841
1842* Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.0-1
1843- new upstream release.
1844
1845* Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.15-1
1846- new upstream release. (to fix CVE-2012-2111)
1847- added charset options to smb.conf.
1848
1849* Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.14-1
1850- new upstream release. (to fix CVE-2012-1182)
1851
1852* Tue Aug 09 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.11-1
1853- new upstream release. (to fix BTS:1189)
1854
1855* Sat Jul 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
1856- new upstream release. (to fix CVE-2011-2522 and CVE-2011-2694)
1857
1858* Mon Jul 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-3
1859- updated Source6.
1860
1861* Fri Mar 25 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-2
1862- fix smb.conf(5).
1863
1864* Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
1865- new upstream release.
1866- updated patches.
1867- added subpackages 'winbind-krb5-locator' and 'winbind-client'.
1868- dropped tdb and talloc subpackages became independent packages.
1869- dropped {,u}mount.cifs were included in cifs-utils.
1870
1871* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.3.10-13
1872- rebuilt with rpm-4.8.1 for pkg-config
1873- changed spec file name as vine style
1874- dropt script lines in %%build that no work
1875
1876* Sun Feb  7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
1877- add patch1000 for fix CVE-2010-0547 (cifs.mount)
1878
1879* Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
1880- new upstream release.
1881
1882* Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
1883- added 'Packager' tag.
1884
1885* Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
1886- new upstream release.
1887- added '--disable-fam' option.
1888- added 'compat32-*' subpackages.
1889- added 'libuuid-devel' to 'BuildRequires:'.
1890
1891* Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
1892- new upstream release.
1893
1894* Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
1895- new upstream release.
1896
1897* Thu Jun  4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
1898- increased release number for libtalloc/libtdb.
1899
1900* Tue Jun  2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
1901- fixed dependency.
1902- fixed modulepath.
1903
1904* Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
1905- new upstream release.
1906
1907* Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
1908- rebuilt with openldap-2.4.11
1909
1910* Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
1911- samba-doc: changed Group to Applications/Documentation
1912- samba-winbind-devel: changed Group to Development/Libraries
1913- libsmbclient: changed Group to System Environment/Libraries
1914- libsmbclient-devel: changed Group to Development/Libraries
1915- libtalloc: changed Group to System Environment/Libraries
1916- libtalloc-devel: changed Group to Development/Libraries
1917- libtdb: fixed summary
1918          changed Group to System Environment/Libraries
1919- libtdb-devel: changed Group to Development/Libraries
1920
1921* Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
1922- new upstream release
1923
1924* Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
1925- new upstream release
1926- drop jp patch
1927- use UTF-8 as default charset
1928- rename samba-libsmbclient to libsmbclient
1929
1930* Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
1931- new upstream release.
1932- remove gamin-devel from BuildRequires: (no longer needed).
1933
1934* Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
1935- BuildRequires: gamin-devel (see [wishes:0127])
1936
1937* Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
1938- [SECURITY FIX] add security patches (#50-52)
1939  - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
1940  - CVE-2007-2446: multiple heap overflows allow remote code execution
1941  - CVE-2007-2447: remote command injection vulnerability
1942
1943* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
1944- apply upstream patches (#0-5)
1945  - fix an issues with servers set to "security = share" and Vista clients
1946    that send NTLMv2 responses
1947  - fixe several point-n-print bugs with Vista clients
1948  - fix failure when using the Vista backup utility
1949  - fix expansion of the %a smb.conf variable for Vista clients
1950  - fix MS-DFS referrals with Windows Vista clients
1951  - fix for Vista failing to delete directories on a Samba share
1952- display service start/stop messages ([VineSeed:13299])
1953
1954* Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
1955- [SECURITY FIX] new upstream release
1956  - CVE-2007-0452: potential denial of service bug in smbd
1957  - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
1958  - CVE-2007-0454: format string bug in afsacl.so vfs plugin
1959
1960* Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
1961- new upstream release
1962
1963* Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
1964- disable swat (via inetd) by default
1965- fix code for editing %%{_sysconfdir}/inetd.conf
1966
1967* Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
1968- fix dependencies:
1969  - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
1970  - drop PreReq: gawk from -client
1971  - drop PreReq: inetd from -swat
1972  - drop Requires: tcp_wrappers from -swat (is needed by inetd)
1973- fix %%post etc...
1974  - drop code for editing /etc/services: no more needed
1975  - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
1976    from %%triggerin swat -- inetd to %%post swat
1977  - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
1978
1979* Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
1980- new upstream release
1981
1982* Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
1983- rebuilt with openldap-2.3.27-0vl1
1984
1985* Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
1986- new upstream release
1987
1988* Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
1989- new upstream release
1990
1991* Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
1992- [SECURITY] new upstream release
1993  - Memory exhaustion DoS against smbd (CVE-2006-3403)
1994- update patches
1995  - buildroot.patch (#100)
1996  - logfiles.patch (#103)
1997  - smb.conf.patch (#106)
1998- update filter-requires-samba.sh (source999)
1999  - get rid of bogus dependency on perl(Unicode::MapUTF8)
2000
2001* Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
2002- new upstream release
2003- renumber patches
2004  - 000- for upstream patches
2005  - 050- for security patches
2006  - 100- for generic patches
2007- update logfiles.patch (#103)
2008- drop warning.patch (#104)
2009- not apply hex.patch (#105)
2010- add smb.conf.patch (#106)
2011- drop samba.log (source1), smb.conf (source2)
2012- use samba.pamd.stack instead of samba.pamd
2013- define macro: pkgingdir
2014- add files:
2015  - samba-client
2016    - %%{_bindir}/{smbget,eventlogadm}
2017  - samba-common:
2018    - %%{_bindir}/tdbtool
2019- separate development files to samba-libsmbclient-devel
2020- change groups
2021
2022* Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
2023- remove unneeded dependencies
2024  - update filter-requires-samba.sh (source999)
2025  - overwrite __find_requires instead of __perl_requires
2026
2027* Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
2028- rebuild with readline-5.1
2029
2030* Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
2031- separate doc package with %%docpkg
2032- use %%htmlview instead of %%browser
2033
2034* Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
2035- add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
2036
2037* Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
2038- new upstream release
2039- install %%{_sysconfdir}/xinetd.d/swat
2040- update filter-requires-samba.sh
2041- add swat.desktop.in instead of swat.desktop
2042  - switch browser by %%browser
2043- drop i18n patches
2044- update logfiles.patch (#3)
2045- add warning.patch (#4)
2046
2047* Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
2048- fix samba.log
2049  - thanks, K. Moriyama [VinePlus:02606]
2050- remove docs/manpages from %%doc
2051
2052* Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
2053- new upstream release
2054- update struplower_m_i18n.patch (#102)
2055- drop obsolete patch (#10)
2056
2057* Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
2058- [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
2059  - add samba-3.0.9-CAN-2004-1154.patch (#10)
2060- update patch (#102)
2061
2062* Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
2063- new upstream release
2064- drop obsolete patches (#10,11,110)
2065- update patches (#3,102)
2066
2067* Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
2068- [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
2069  - add samba-3.0.7-CAN-2004-0882.patch (patch11)
2070- update Source URL
2071
2072* Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
2073- [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
2074  - add samba-3.0.7-CAN-2004-0930.patch (patch10)
2075
2076* Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
2077- update samba.log, {smb,winbind}.init
2078- use *.log as logfile name instead of log.* (patch3)
2079
2080* Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
2081- change directories from %%{_localstatedir}/lock/samba
2082  - LOCKDIR: %%{_localstatedir}/cache/samba
2083  - PIDDIR:  %%{_localstatedir}/run
2084- restart {smb,winbind} at postun (upgrade)
2085- samba-common
2086  - convert smbpasswd at triggerpostun -- samba < 3.0.7
2087  - add convert_smbpasswd
2088  - add PreReq: gawk
2089
2090* Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
2091- add docs_ja (source101) from 3.0.5-16ml
2092
2093* Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
2094- new upstream release (shift to 3.0 series)
2095  - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
2096  - drop obsolete paches, configure options
2097  - update buildroot.patch
2098  - add I18N patches (#101-)
2099  - update smb.conf
2100- add URL
2101- use more macros
2102- change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
2103- move %%{_localstatedir}/log/samba, smbpasswd to samba-common
2104- move smbspool, smbcacls, rpcclient to samba-client
2105- update descriptions
2106
2107* Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
2108- new upstream release
2109
2110* Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
2111- 2.2.11-ja-1.0beta1
2112  - drop patch10
2113- add BuildPreReq: openssl-devel
2114- swat
2115  - add PreReq/Requires: inetd
2116  - add swat.desktop
2117
2118* Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
2119- fix changelog
2120
2121* Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
2122- [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
2123  - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
2124- add BuildPreReq: cups-devel
2125- add Prereq: chkconfig mktemp psmisc (instead of each files)
2126
2127* Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
2128- new upstream release
2129
2130* Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
2131- 2.2.9-ja-1.0beta1
2132- add BuildPreReq: readline-devel
2133
2134* Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
2135- add ldconfig in %%post/%%postun script for libsmbclient
2136
2137* Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
2138- add libsmbclient subpackage.
2139
2140* Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
2141- new upstream release.
2142
2143* Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
2144- fix smb.conf (SAMBADOC's path)
2145
2146* Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
2147- tentatively skip to build examples/VFS on alpha
2148
2149* Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
2150- new upstream release.
2151
2152* Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
2153- fix smb.conf
2154- fix smbadduser
2155
2156* Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
2157- new upstream version
2158
2159* Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
2160- added smbinit-vine.patch
2161        -- added '-D' option in smbd and nmbd
2162
2163* Thu Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
2164- New upstream version
2165        -- security fix.
2166
2167* Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2168- 2.2.7a.ja-1.0vl5
2169- merged from SPEC for RH60 by samba-jp.
2170
2171* Mon Feb 17  2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2172- 2.2.7a.ja-1.0vl4.beta1
2173- fix 'Requires:'.
2174
2175* Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2176- 2.2.7a.ja-1.0vl3.alpha1
2177- disable --with-tdbsam.
2178
2179* Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2180- 2.2.7a.ja-1.0vl2.alpha1
2181- modify %%post script for new password database.
2182
2183* Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2184- 2.2.7a.ja-1.0vl1.alpha1
2185
2186* Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2187- 2.2.6.ja-1.0vl1.alpha2
2188- apply alpha2 patch.
2189
2190* Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2191- 2.2.6.ja-1.0vl1.alpha1
2192- remove swat from package 'samba'.
2193
2194* Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2195- 2.2.6.ja-1.0vl0.alpha1
2196- enable winbind modules.
2197- change numbering rule.
2198
2199* Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2200- 2.2.6_ja_0.alpha1-0vl1
2201
2202* Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2203- 2.2.4_ja_0.alpha1.3-0vl1
2204
2205* Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2206- 2.2.2_ja_1.1-0vl1
2207- disable winbind modules (2.2.2 or earlier has critical bugs).
2208- modify 'Requires:'.
2209
2210* Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2211- 2.2.2_ja_1.1-0vl0
2212- shift sources to 2.2.x.
2213- add debugging mode for '%%files' section.
2214- modify spec largely because of too many difference between 2.0.x and 2.2.x.
2215-  . exchange %%prep, %%build, %%install section with samba-jp's spec.
2216-  . create a package 'samba-swat'.
2217-  . move smbclient and nmblookup to samba-common.
2218-  . move testprns to package 'samba' because it's checking tool for
2219-    server on LOCALHOST.
2220-  . move '%%post' to '%%post swat'.
2221-  . disable '%%post common'.
2222
2223* Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
2224- 2.0.10_ja_1.2
2225
2226* Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
2227- 2.0.10_ja_1.1-0vl4
2228- eliminate executable bit in %%doc to erase perl/sh requirement
2229
2230* Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
2231- 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
2232- patch swat/ja/help/welcome.html to hide some missing matter
2233- also remove docs/zh_{CN,TW} files in %%doc
2234
2235* Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
2236- for VineSeed
2237- deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
2238
2239* Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
2240- 2.0.10_ja_1.1
2241- for 2.1.x update
2242
2243* Fri Aug 17 2001 <sagami@vinelinux.org>
2244- 2.0.10_ja_1.0-0vl2
2245- remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
2246
2247* Mon Jul 09 2001 <sagami@vinelinux.org>
2248- 2.0.10_ja_1.0-0vl1: includes secrity fix
2249 (http://www.samba.org/samba/whatsnew/macroexploit.html)
2250- remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
2251
2252* Thu May 31 2001 <sagami@vinelinux.org>
2253- 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
2254- added BuildPreReq = pam-devel for Vine 2.1.5+
2255- fixed init script to match our current/old style
2256- eliminate CVS related files from %%doc
2257
2258* Thu Apr 19 2001 <sagami@vinelinux.org>
2259- 2.0.7_ja_2.2-0vl1
2260
2261* Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
2262- 2.0.7_ja_1.3-0vl2
2263- rebuilt with readline2
2264- use better macros (although not almost complete... needs comfirmation)
2265
2266* Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
2267- 2.0.7_ja_1.3-0vl1
2268
2269* Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
2270- 2.0.7_ja_1.2.1-0vl2
2271- fixed missing Changelog.ja (was Chagelog.ja)
2272
2273* Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
2274- updated to 2.0.7-ja-1.2.1
2275
2276* Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2277- updated to 2.0.7-ja-1.2
2278
2279* Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2280- added some Japanese documents to %doc
2281
2282* Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2283- updated to 2.0.7-ja-1.0
2284
2285* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2286- updated to 2.0.7-ja-0.99
2287
2288* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2289- added rpccilent
2290- modified tcpdconf for stability.
2291
2292* Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2293- first test release for Vine based on RH6.2 spec file.
2294- activated swat in default for only localhost.
2295
2296* Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
2297- fix trigger, again.
2298
2299* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
2300- fix trigger.
2301
2302* Fri Feb  4 2000 Bill Nottingham <notting@redhat.com>
2303- turn on quota support
2304
2305* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
2306- rebuild to fox dependencies
2307- man pages are compressed
2308
2309* Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
2310- munge post scripts slightly
2311
2312* Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
2313- turn on mmap again. Wheee.
2314- ship smbmount on alpha
2315
2316* Mon Dec  6 1999 Bill Nottingham <notting@redhat.com>
2317- turn off mmap. ;)
2318
2319* Wed Dec  1 1999 Bill Nottingham <notting@redhat.com>
2320- change /var/log/samba to 0700
2321- turn on mmap support
2322
2323* Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
2324- update to 2.0.6
2325
2326* Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
2327- add a %defattr for -common
2328
2329* Tue Oct  5 1999 Bill Nottingham <notting@redhat.com>
2330- shift some files into -client
2331- remove /home/samba from package.
2332
2333* Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
2334- initscript oopsie. killproc <name> -HUP, not other way around.
2335
2336* Sun Sep 26 1999 Bill Nottingham <notting@redhat.com>
2337- script cleanups. Again.
2338
2339* Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
2340- add a patch to fix dropped reconnection attempts
2341
2342* Mon Sep  6 1999 Jeff Johnson <jbj@redhat.com>
2343- use cp rather than mv to preserve /etc/services perms (#4938 et al).
2344- use mktemp to generate /etc/tmp.XXXXXX file name.
2345- add prereqs on sed/mktemp/killall (need to move killall to /bin).
2346- fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
2347
2348* Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
2349- sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
2350
2351* Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
2352- fix typo in mount.smb
2353
2354* Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
2355- add a %trigger to work around (sort of) broken scripts in
2356  previous releases
2357
2358* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
2359- initscript munging
2360
2361* Mon Aug  9 1999 Bill Nottingham <notting@redhat.com>
2362- add domain parsing to mount.smb
2363
2364* Fri Aug  6 1999 Bill Nottingham <notting@redhat.com>
2365- add a -common package, shuffle files around.
2366
2367* Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
2368- add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
2369
2370* Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
2371- update to 2.0.5
2372- fix mount.smb - smbmount options changed again.........
2373- fix postun. oops.
2374- update some stuff from the samba team's spec file.
2375
2376* Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
2377- split off clients into separate package
2378- don't run samba by default
2379
2380* Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
2381- fix one problem with mount.smb script
2382- fix smbpasswd on sparc with a really ugly kludge
2383
2384* Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
2385- fixed logrotate script
2386
2387* Tue May 25 1999 Bill Nottingham <notting@redhat.com>
2388- turn of 64-bit locking on 32-bit platforms
2389
2390* Thu May 20 1999 Bill Nottingham <notting@redhat.com>
2391- so many releases, so little time
2392- explicitly uncomment 'printing = bsd' in sample config
2393
2394* Tue May 18 1999 Bill Nottingham <notting@redhat.com>
2395- update to 2.0.4a
2396- fix mount.smb arg ordering
2397
2398* Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
2399- go back to stop/start for restart (-HUP didn't work in testing)
2400
2401* Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
2402- add a mount.smb to make smb mounting a little easier.
2403- smb filesystems apparently don't work on alpha. Oops.
2404
2405* Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
2406- always create codepages
2407
2408* Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
2409- logrotate changes
2410
2411* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
2412- auto rebuild in the new build environment (release 3)
2413
2414* Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
2415- updated init script to use graceful restart (not stop/start)
2416
2417* Tue Mar  9 1999 Bill Nottingham <notting@redhat.com>
2418- update to 2.0.3
2419
2420* Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
2421- update to 2.0.2
2422
2423* Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
2424- swat swat
2425
2426* Tue Feb  9 1999 Bill Nottingham <notting@redhat.com>
2427- fix bash2 breakage in post script
2428
2429* Fri Feb  5 1999 Bill Nottingham <notting@redhat.com>
2430- update to 2.0.0
2431
2432* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
2433- make sure all binaries are stripped
2434
2435* Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
2436- update to 1.9.18p10.
2437- fix %triggerpostun.
2438
2439* Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
2440- updated postun triggerscript to check $0
2441- clear /etc/codepages from %preun instead of %postun
2442
2443* Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
2444- made the %postun script a tad less agressive; no reason to remove
2445  the logs or lock file (after all, if the lock file is still there,
2446  samba is still running)
2447- the %postun and %preun should only exectute if this is the final
2448  removal
2449- migrated %triggerpostun from Red Hat's samba package to work around
2450  packaging problems in some Red Hat samba releases
2451
2452* Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
2453- minor tidy up in preparation for release of 1.9.18p5
2454- added findsmb utility from SGI package
2455
2456* Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
2457- Updated version and codepage info.
2458- Release to test name resolve order
2459
2460* Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
2461- Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
2462- Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
2463- Compounded make line
2464- Updated smb.init restart mechanism
2465- Use compound mkdir -p line instead of individual calls to mkdir
2466- Fixed smb.conf file path for log files
2467- Fixed smb.conf file path for incoming smb print spool directory
2468- Added a number of options to smb.conf file
2469- Added smbadduser command (missed from all previous RPMs) - Doooh!
2470- Added smbuser file and smb.conf file updates for username map
2471
Note: See TracBrowser for help on using the repository browser.