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

Revision 11959, 79.1 KB checked in by tomop, 5 years ago (diff)

samba-4.9.3-1 and requirements

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