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

Revision 10364, 77.4 KB checked in by tomop, 8 years ago (diff)

samba-4.4.4-1

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