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

Revision 10061, 78.5 KB checked in by tomop, 8 years ago (diff)

samba-4.3.6-1

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