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

Revision 9749, 78.7 KB checked in by tomop, 9 years ago (diff)

samba-4.2.4-1

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