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

Revision 12080, 80.6 KB checked in by tomop, 5 years ago (diff)

samba-4.10.2-1

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