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

Revision 10219, 77.2 KB checked in by tomop, 8 years ago (diff)

samba-4.4.3-1

RevLine 
[10219]1%define samba_version 4.4.3
2%define doc_version 4.2.11-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*
[9773]882%exclude %{_mandir}/ja/man8/vfs_notify_fam.8*
[9411]883%{_mandir}/ja/man8/vfs_prealloc.8*
884%{_mandir}/ja/man8/vfs_preopen.8*
885%{_mandir}/ja/man8/vfs_readahead.8*
886%{_mandir}/ja/man8/vfs_readonly.8*
887%{_mandir}/ja/man8/vfs_recycle.8*
[10179]888%exclude %{_mandir}/ja/man8/vfs_scannedonly.8*
[9411]889%{_mandir}/ja/man8/vfs_shadow_copy.8*
890%{_mandir}/ja/man8/vfs_shadow_copy2.8*
[10179]891%exclude %{_mandir}/ja/man8/vfs_smb_traffic_analyzer.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*
[10219]898%{_mandir}/ja/man8/vfs_worm.8*
[9411]899%{_mandir}/ja/man8/vfs_xattr_tdb.8*
900%{_mandir}/ja/man8/vfs_zfsacl.8*
[521]901
[7511]902## --------------------------------------------------------------------
903%files libs
[521]904%defattr(-,root,root)
[7511]905%{_libdir}/libdcerpc-binding.so.*
906%{_libdir}/libdcerpc.so.*
907%{_libdir}/libndr-krb5pac.so.*
908%{_libdir}/libndr-nbt.so.*
909%{_libdir}/libndr-standard.so.*
910%{_libdir}/libndr.so.*
[9411]911%{_libdir}/libnetapi.so.*
[7511]912%{_libdir}/libsamba-credentials.so.*
[10179]913%{_libdir}/libsamba-errors.so*
[7511]914%{_libdir}/libsamba-hostconfig.so.*
[9517]915%{_libdir}/libsamba-passdb.so.*
[7511]916%{_libdir}/libsamba-util.so.*
917%{_libdir}/libsamdb.so.*
918%{_libdir}/libsmbconf.so.*
[9517]919%{_libdir}/libsmbldap.so.*
[10179]920%{_libdir}/libtevent-unix-util.so.*
[9411]921%{_libdir}/libtevent-util.so.*
[521]922
[7511]923# libraries needed by the public libraries
[9411]924%dir %{_libdir}/samba
925%{_libdir}/samba/libCHARSET3-samba4.so
[9517]926%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
[9411]927%{_libdir}/samba/libMESSAGING-samba4.so
928%{_libdir}/samba/libaddns-samba4.so
929%{_libdir}/samba/libads-samba4.so
[9517]930%{_libdir}/samba/libasn1-samba4.so.*
[9411]931%{_libdir}/samba/libasn1util-samba4.so
[9517]932%{_libdir}/samba/libauth-sam-reply-samba4.so
[9411]933%{_libdir}/samba/libauth-samba4.so
934%{_libdir}/samba/libauth-unix-token-samba4.so
935%{_libdir}/samba/libauth4-samba4.so
936%{_libdir}/samba/libauthkrb5-samba4.so
937%{_libdir}/samba/libcli-cldap-samba4.so
938%{_libdir}/samba/libcli-ldap-common-samba4.so
939%{_libdir}/samba/libcli-ldap-samba4.so
940%{_libdir}/samba/libcli-nbt-samba4.so
941%{_libdir}/samba/libcli-smb-common-samba4.so
942%{_libdir}/samba/libcli-spoolss-samba4.so
943%{_libdir}/samba/libcliauth-samba4.so
944%{_libdir}/samba/libcluster-samba4.so
945%{_libdir}/samba/libcmdline-credentials-samba4.so
[10179]946%{_libdir}/samba/libcom_err-samba4.so*
[9517]947%{_libdir}/samba/libdb-glue-samba4.so
[9411]948%{_libdir}/samba/libdbwrap-samba4.so
949%{_libdir}/samba/libdcerpc-samba-samba4.so
[7511]950%{_libdir}/samba/libdcerpc-samba4.so
[9517]951%{_libdir}/samba/libdfs-server-ad-samba4.so
952%{_libdir}/samba/libdsdb-module-samba4.so
[9411]953%{_libdir}/samba/libevents-samba4.so
954%{_libdir}/samba/libflag-mapping-samba4.so
[10179]955%{_libdir}/samba/libgensec-samba4.so
[9411]956%{_libdir}/samba/libgpo-samba4.so
957%{_libdir}/samba/libgse-samba4.so
[9517]958%{_libdir}/samba/libgssapi-samba4.so.*
959%{_libdir}/samba/libhcrypto-samba4.so.*
960%{_libdir}/samba/libhdb-samba4.so.*
961%{_libdir}/samba/libheimbase-samba4.so.*
[9411]962%{_libdir}/samba/libhttp-samba4.so
[9517]963%{_libdir}/samba/libhx509-samba4.so.*
[9411]964%{_libdir}/samba/libinterfaces-samba4.so
[9773]965%{_libdir}/samba/libiov-buf-samba4.so
[9517]966%{_libdir}/samba/libkrb5-samba4.so.*
[9411]967%{_libdir}/samba/libkrb5samba-samba4.so
968%{_libdir}/samba/libldbsamba-samba4.so
969%{_libdir}/samba/liblibcli-lsa3-samba4.so
970%{_libdir}/samba/liblibcli-netlogon3-samba4.so
971%{_libdir}/samba/liblibsmb-samba4.so
[9773]972%{_libdir}/samba/libmessages-dgm-samba4.so
973%{_libdir}/samba/libmessages-util-samba4.so
974%{_libdir}/samba/libmsghdr-samba4.so
[9411]975%{_libdir}/samba/libmsrpc3-samba4.so
[9517]976%{_libdir}/samba/libnon-posix-acls-samba4.so
[9411]977%{_libdir}/samba/libndr-samba-samba4.so
[7511]978%{_libdir}/samba/libndr-samba4.so
[9411]979%{_libdir}/samba/libnet-keytab-samba4.so
980%{_libdir}/samba/libnetif-samba4.so
981%{_libdir}/samba/libnpa-tstream-samba4.so
[9517]982%{_libdir}/samba/libnss-info-samba4.so
983%{_libdir}/samba/libntvfs-samba4.so
984%{_libdir}/samba/libposix-eadb-samba4.so
[9411]985%{_libdir}/samba/libprinting-migrate-samba4.so
[9517]986%{_libdir}/samba/libprocess-model-samba4.so
[10179]987%{_libdir}/samba/libregistry-samba4.so
[9411]988%{_libdir}/samba/libreplace-samba4.so
[9517]989%{_libdir}/samba/libroken-samba4.so.*
[9411]990%{_libdir}/samba/libsamba-cluster-support-samba4.so
991%{_libdir}/samba/libsamba-debug-samba4.so
992%{_libdir}/samba/libsamba-modules-samba4.so
[9773]993%{_libdir}/samba/libsamba-python-samba4.so
[9411]994%{_libdir}/samba/libsamba-security-samba4.so
995%{_libdir}/samba/libsamba-sockets-samba4.so
996%{_libdir}/samba/libsamba3-util-samba4.so
997%{_libdir}/samba/libsamdb-common-samba4.so
998%{_libdir}/samba/libsecrets3-samba4.so
999%{_libdir}/samba/libserver-role-samba4.so
[9517]1000%{_libdir}/samba/libservice-samba4.so
[9411]1001%{_libdir}/samba/libshares-samba4.so
1002%{_libdir}/samba/libsmb-transport-samba4.so
[10179]1003%{_libdir}/samba/libsmbclient-raw-samba4.so
[9411]1004%{_libdir}/samba/libsmbd-base-samba4.so
1005%{_libdir}/samba/libsmbd-conn-samba4.so
1006%{_libdir}/samba/libsmbd-shim-samba4.so
1007%{_libdir}/samba/libsmbldaphelper-samba4.so
1008%{_libdir}/samba/libsmbpasswdparser-samba4.so
1009%{_libdir}/samba/libsmbregistry-samba4.so
1010%{_libdir}/samba/libsocket-blocking-samba4.so
[9773]1011%{_libdir}/samba/libsys-rw-samba4.so
1012%{_libdir}/samba/libtalloc-report-samba4.so
[9411]1013%{_libdir}/samba/libtdb-wrap-samba4.so
1014%{_libdir}/samba/libtrusts-util-samba4.so
1015%{_libdir}/samba/libutil-cmdline-samba4.so
1016%{_libdir}/samba/libutil-reg-samba4.so
1017%{_libdir}/samba/libutil-setid-samba4.so
1018%{_libdir}/samba/libutil-tdb-samba4.so
[9517]1019%{_libdir}/samba/libwind-samba4.so.*
[9411]1020%{_libdir}/samba/libxattr-tdb-samba4.so
[521]1021
[7511]1022%if ! %with_libsmbclient
1023%{_libdir}/libsmbclient.so.*
1024%{_libdir}/libsmbsharemodes.so.*
1025%{_mandir}/man7/libsmbclient.7.gz
[7596]1026# ja manual
[9136]1027%{_mandir}/ja/man7/libsmbclient.7.gz
[7511]1028%endif # ! with_libsmbclient
1029
1030%if ! %with_libwbclient
1031%{_libdir}/libwbclient.so.*
1032%{_libdir}/samba/libwinbind-client.so
1033%endif # ! with_libwbclient
1034
1035## --------------------------------------------------------------------
[521]1036%files common
1037%defattr(-,root,root)
[7511]1038#%{_libdir}/samba/charset ???
1039#%{_sysconfdir}/tmpfiles.d/samba.conf
[521]1040%{_bindir}/net
1041%{_bindir}/pdbedit
1042%{_bindir}/profiles
1043%{_bindir}/smbcontrol
[7511]1044%{_bindir}/testparm
[9773]1045#%{_datadir}/samba/codepages
[7511]1046%dir /var/run/samba
1047%dir /var/run/winbindd
[521]1048%dir /var/lib/samba
[7596]1049%attr(700,root,root) %dir /var/lib/samba/private
[9773]1050%attr(755,root,root) %dir /var/lib/samba/msg
[7511]1051%attr(755,root,root) %dir %{_sysconfdir}/samba
[521]1052%config(noreplace) %{_sysconfdir}/samba/smb.conf
1053%config(noreplace) %{_sysconfdir}/samba/lmhosts
1054%config(noreplace) %{_sysconfdir}/sysconfig/samba
[7511]1055%{_mandir}/man1/profiles.1.gz
1056%{_mandir}/man1/smbcontrol.1.gz
1057%{_mandir}/man1/testparm.1.gz
1058%{_mandir}/man5/lmhosts.5.gz
1059%{_mandir}/man5/smb.conf.5.gz
1060%{_mandir}/man8/net.8.gz
1061%{_mandir}/man8/pdbedit.8.gz
[7596]1062# ja manuals
[9136]1063%{_mandir}/ja/man1/profiles.1.gz
1064%{_mandir}/ja/man1/smbcontrol.1.gz
1065%{_mandir}/ja/man1/testparm.1.gz
1066%{_mandir}/ja/man5/lmhosts.5.gz
1067%{_mandir}/ja/man5/smb.conf.5.gz
1068%{_mandir}/ja/man8/net.8.gz
1069%{_mandir}/ja/man8/pdbedit.8.gz
[521]1070
[7511]1071# common libraries
[9773]1072%{_libdir}/samba/libgenrand-samba4.so
[9411]1073%{_libdir}/samba/libpopt-samba3-samba4.so
[9773]1074%{_libdir}/samba/libserver-id-db-samba4.so
1075%{_libdir}/samba/libtime-basic-samba4.so
[7511]1076%{_libdir}/samba/pdb
[521]1077
[7511]1078## --------------------------------------------------------------------
[9517]1079%files dc-libs
1080%defattr(-,root,root)
1081# dc
1082%{_libdir}/libdcerpc-samr.so.*
1083%{_libdir}/libdcerpc-server.so.*
1084%{_libdir}/libsamba-policy.so.*
1085%{_libdir}/samba/libHDB-SAMBA4-samba4.so
1086%{_libdir}/samba/libdnsserver-common-samba4.so
1087%{_libdir}/samba/libsamba-net-samba4.so
1088
1089## --------------------------------------------------------------------
[7511]1090%files dc
1091%defattr(-,root,root)
1092%{_bindir}/samba-tool
[9411]1093%{_sbindir}/samba
[7511]1094%{_sbindir}/samba_kcc
1095%{_sbindir}/samba_dnsupdate
1096%{_sbindir}/samba_spnupdate
1097%{_sbindir}/samba_upgradedns
1098%{_initrddir}/samba
[9411]1099%{_libdir}/samba/auth/samba4.so
[9773]1100%{_libdir}/samba/bind9
[7511]1101%{_libdir}/samba/gensec
[9411]1102%{_libdir}/samba/libheimntlm-samba4.so.*
1103%{_libdir}/samba/libkdc-samba4.so.*
1104%{_libdir}/samba/libpac-samba4.so
[9773]1105%{_libdir}/samba/ldb
[7511]1106%{_libdir}/samba/process_model
1107%{_libdir}/samba/service
1108%dir /var/lib/samba/sysvol
1109%{_datadir}/samba/setup
[9411]1110%{_mandir}/man8/samba.8*
1111%{_mandir}/man8/samba-tool.8*
[7596]1112# ja manuals
[9411]1113%{_mandir}/ja/man8/samba.8*
1114%{_mandir}/ja/man8/samba-tool.8*
[7511]1115
1116## --------------------------------------------------------------------
[521]1117%files winbind
[3094]1118%defattr(-,root,root)
[7511]1119#%{_bindir}/wbinfo3
[521]1120%{_libdir}/samba/idmap
1121%{_libdir}/samba/nss_info
[9411]1122%{_libdir}/samba/libnss-info-samba4.so
1123%{_libdir}/samba/libidmap-samba4.so
[521]1124%{_sbindir}/winbindd
1125%attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged
1126%config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
[9411]1127%{_mandir}/man5/pam_winbind.conf.5*
1128%{_mandir}/man8/winbindd.8*
[7511]1129%{_mandir}/man8/idmap_*.8*
1130#%{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo
[521]1131%{_initrddir}/winbind
[7596]1132# ja manuals
[9411]1133%{_mandir}/ja/man5/pam_winbind.conf.5*
1134%{_mandir}/ja/man8/winbindd.8*
[9136]1135%{_mandir}/ja/man8/idmap_*.8*
[521]1136
[7511]1137## --------------------------------------------------------------------
[3094]1138%files winbind-krb5-locator
[7511]1139%defattr(-,root,root)
[9411]1140%ghost %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
1141%{_libdir}/winbind_krb5_locator.so
1142%{_mandir}/man7/winbind_krb5_locator.7*
[7596]1143# ja manual
[9411]1144%{_mandir}/ja/man7/winbind_krb5_locator.7*
[3094]1145
[7511]1146## --------------------------------------------------------------------
[3094]1147%files winbind-clients
1148%defattr(-,root,root)
[7511]1149%{_bindir}/ntlm_auth
1150#%{_bindir}/ntlm_auth3
1151%{_bindir}/wbinfo
1152%{_libdir}/libnss_winbind.so*
1153%{_libdir}/libnss_wins.so*
1154#/%{smb_lib}/libnss_winbind.so.2
1155#/%{smb_lib}/libnss_wins.so.2
[3094]1156/%{_lib}/security/pam_winbind.so
[7511]1157%{_mandir}/man1/ntlm_auth.1.gz
1158%{_mandir}/man1/wbinfo.1.gz
1159%{_mandir}/man8/pam_winbind.8.gz
[7596]1160# ja manuals
[9136]1161%{_mandir}/ja/man1/ntlm_auth.1.gz
1162%{_mandir}/ja/man1/wbinfo.1.gz
1163%{_mandir}/ja/man8/pam_winbind.8.gz
[3094]1164
[7511]1165## --------------------------------------------------------------------
1166%files client
[3094]1167%defattr(-,root,root)
[7511]1168%{_bindir}/cifsdd
1169%{_bindir}/dbwrap_tool
1170#%{_bindir}/debug2html
1171#%{_bindir}/log2pcap
1172%{_bindir}/nmblookup
1173%{_bindir}/oLschema2ldif
1174%{_bindir}/regdiff
1175%{_bindir}/regpatch
1176%{_bindir}/regshell
1177%{_bindir}/regtree
1178%{_bindir}/rpcclient
[8035]1179%{_bindir}/samba-regedit
[7511]1180%{_bindir}/sharesec
1181%{_bindir}/smbcacls
1182%{_bindir}/smbclient
1183%{_bindir}/smbcquotas
1184#%{_bindir}/smbfilter
1185%{_bindir}/smbget
1186#%{_bindir}/findsmg
1187#%{_bindir}/smbtar
1188#%{_bindir}/smbiconv
1189%{_bindir}/smbpasswd
[9411]1190%{_bindir}/smbprint
[7511]1191%{_bindir}/smbspool
[7885]1192%{_bindir}/smbtar
[7511]1193%{_bindir}/smbtree
1194#%{_bindir}/split_tokens
[9411]1195#%exclude %{_libdir}/samba/libldb-cmdline.so
[10179]1196%{_libexecdir}/samba/smbspool_krb5_wrapper
[7596]1197%{_mandir}/man1/dbwrap_tool.1.gz
[7511]1198%{_mandir}/man1/findsmb.1.gz
1199%{_mandir}/man1/log2pcap.1.gz
1200%{_mandir}/man1/nmblookup.1.gz
1201%{_mandir}/man1/oLschema2ldif.1.gz
1202%{_mandir}/man1/regdiff.1.gz
1203%{_mandir}/man1/regpatch.1.gz
1204%{_mandir}/man1/regshell.1.gz
1205%{_mandir}/man1/regtree.1.gz
1206%{_mandir}/man1/rpcclient.1.gz
1207%{_mandir}/man1/sharesec.1.gz
1208%{_mandir}/man1/smbcacls.1.gz
1209%{_mandir}/man1/smbclient.1.gz
1210%{_mandir}/man1/smbcquotas.1.gz
1211%{_mandir}/man1/smbget.1.gz
1212%{_mandir}/man1/smbtar.1.gz
1213%{_mandir}/man1/smbtree.1.gz
1214%{_mandir}/man5/smbgetrc.5.gz
1215%{_mandir}/man5/smbpasswd.5.gz
[10179]1216%{_mandir}/man8/cifsdd.8.gz
[8035]1217%{_mandir}/man8/samba-regedit.8.gz
[7511]1218%{_mandir}/man8/smbpasswd.8.gz
1219%{_mandir}/man8/smbspool.8.gz
[10042]1220%{_mandir}/man8/smbspool_krb5_wrapper.8.gz
[7596]1221#ja manuals
[9136]1222%{_mandir}/ja/man1/dbwrap_tool.1.gz
1223%{_mandir}/ja/man1/findsmb.1.gz
1224%{_mandir}/ja/man1/log2pcap.1.gz
1225%{_mandir}/ja/man1/nmblookup.1.gz
1226%{_mandir}/ja/man1/rpcclient.1.gz
1227%{_mandir}/ja/man1/sharesec.1.gz
1228%{_mandir}/ja/man1/smbcacls.1.gz
1229%{_mandir}/ja/man1/smbclient.1.gz
1230%{_mandir}/ja/man1/smbcquotas.1.gz
1231%{_mandir}/ja/man1/smbget.1.gz
1232%{_mandir}/ja/man1/smbtar.1.gz
1233%{_mandir}/ja/man1/smbtree.1.gz
1234%{_mandir}/ja/man5/smbgetrc.5.gz
1235%{_mandir}/ja/man5/smbpasswd.5.gz
1236%{_mandir}/ja/man8/samba-regedit.8.gz
1237%{_mandir}/ja/man8/smbpasswd.8.gz
1238%{_mandir}/ja/man8/smbspool.8.gz
[10179]1239%exclude %{_mandir}/ja/man8/smbta-util.8.gz
[7511]1240
1241## --------------------------------------------------------------------
1242%files test
1243%defattr(-,root,root)
1244%{_bindir}/gentest
1245%{_bindir}/locktest
1246%{_bindir}/masktest
1247%{_bindir}/ndrdump
1248%{_bindir}/smbtorture
[9411]1249%{_mandir}/man1/gentest.1*
1250%{_mandir}/man1/locktest.1*
1251%{_mandir}/man1/masktest.1*
1252%{_mandir}/man1/ndrdump.1*
1253%{_mandir}/man1/smbtorture.1*
1254%{_mandir}/man1/vfstest.1*
1255
1256%{_libdir}/samba/libdlz-bind9-for-torture-samba4.so
[10179]1257%{_libdir}/samba/libtorture-samba4.so
[9411]1258
[7596]1259# ja manual
[9411]1260%{_mandir}/ja/man1/vfstest.1*
[7511]1261
1262## --------------------------------------------------------------------
1263%files devel
1264%defattr(-,root,root)
1265%{_includedir}/samba-4.0/charset.h
1266%{_includedir}/samba-4.0/core/doserr.h
1267%{_includedir}/samba-4.0/core/error.h
[9411]1268%{_includedir}/samba-4.0/core/hresult.h
[7511]1269%{_includedir}/samba-4.0/core/ntstatus.h
1270%{_includedir}/samba-4.0/core/werror.h
1271%{_includedir}/samba-4.0/credentials.h
1272%{_includedir}/samba-4.0/dcerpc.h
1273%{_includedir}/samba-4.0/domain_credentials.h
1274%{_includedir}/samba-4.0/gen_ndr/atsvc.h
1275%{_includedir}/samba-4.0/gen_ndr/auth.h
1276%{_includedir}/samba-4.0/gen_ndr/dcerpc.h
1277%{_includedir}/samba-4.0/gen_ndr/krb5pac.h
1278%{_includedir}/samba-4.0/gen_ndr/lsa.h
1279%{_includedir}/samba-4.0/gen_ndr/misc.h
1280%{_includedir}/samba-4.0/gen_ndr/nbt.h
1281%{_includedir}/samba-4.0/gen_ndr/drsblobs.h
1282%{_includedir}/samba-4.0/gen_ndr/drsuapi.h
1283%{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h
1284%{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h
1285%{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h
1286%{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h
1287%{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h
1288%{_includedir}/samba-4.0/gen_ndr/ndr_misc.h
1289%{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h
1290%{_includedir}/samba-4.0/gen_ndr/ndr_samr.h
1291%{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h
1292%{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h
1293%{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h
1294%{_includedir}/samba-4.0/gen_ndr/netlogon.h
1295%{_includedir}/samba-4.0/gen_ndr/samr.h
1296%{_includedir}/samba-4.0/gen_ndr/security.h
1297%{_includedir}/samba-4.0/gen_ndr/server_id.h
1298%{_includedir}/samba-4.0/gen_ndr/svcctl.h
1299%{_includedir}/samba-4.0/ldb_wrap.h
1300%{_includedir}/samba-4.0/lookup_sid.h
1301%{_includedir}/samba-4.0/machine_sid.h
1302%{_includedir}/samba-4.0/ndr.h
[9411]1303%dir %{_includedir}/samba-4.0/ndr
1304%{_includedir}/samba-4.0/ndr/ndr_dcerpc.h
[7511]1305%{_includedir}/samba-4.0/ndr/ndr_drsblobs.h
1306%{_includedir}/samba-4.0/ndr/ndr_drsuapi.h
1307%{_includedir}/samba-4.0/ndr/ndr_svcctl.h
1308%{_includedir}/samba-4.0/ndr/ndr_nbt.h
1309%{_includedir}/samba-4.0/netapi.h
1310%{_includedir}/samba-4.0/param.h
1311%{_includedir}/samba-4.0/passdb.h
1312%{_includedir}/samba-4.0/policy.h
1313%{_includedir}/samba-4.0/rpc_common.h
1314%{_includedir}/samba-4.0/samba/session.h
1315%{_includedir}/samba-4.0/samba/version.h
1316%{_includedir}/samba-4.0/share.h
[9411]1317%{_includedir}/samba-4.0/smb2_lease_struct.h
[7511]1318%{_includedir}/samba-4.0/smbconf.h
1319%{_includedir}/samba-4.0/smb_ldap.h
1320%{_includedir}/samba-4.0/smbldap.h
1321%{_includedir}/samba-4.0/tdr.h
1322%{_includedir}/samba-4.0/tsocket.h
1323%{_includedir}/samba-4.0/tsocket_internal.h
[9411]1324%dir %{_includedir}/samba-4.0/util
[7511]1325%{_includedir}/samba-4.0/util/attr.h
[9411]1326%{_includedir}/samba-4.0/util/blocking.h
[7511]1327%{_includedir}/samba-4.0/util/byteorder.h
1328%{_includedir}/samba-4.0/util/data_blob.h
1329%{_includedir}/samba-4.0/util/debug.h
[9411]1330%{_includedir}/samba-4.0/util/fault.h
[9773]1331%{_includedir}/samba-4.0/util/genrand.h
[9411]1332%{_includedir}/samba-4.0/util/idtree.h
1333%{_includedir}/samba-4.0/util/idtree_random.h
[7511]1334%{_includedir}/samba-4.0/util/memory.h
1335%{_includedir}/samba-4.0/util/safe_string.h
[9411]1336%{_includedir}/samba-4.0/util/signal.h
[7511]1337%{_includedir}/samba-4.0/util/string_wrappers.h
[9411]1338%{_includedir}/samba-4.0/util/substitute.h
[7511]1339%{_includedir}/samba-4.0/util/talloc_stack.h
1340%{_includedir}/samba-4.0/util/tevent_ntstatus.h
1341%{_includedir}/samba-4.0/util/tevent_unix.h
1342%{_includedir}/samba-4.0/util/tevent_werror.h
1343%{_includedir}/samba-4.0/util/time.h
1344%{_includedir}/samba-4.0/util/xfile.h
1345%{_includedir}/samba-4.0/util_ldb.h
1346%{_libdir}/libdcerpc-binding.so
1347%{_libdir}/libdcerpc-samr.so
1348%{_libdir}/libdcerpc.so
1349%{_libdir}/libndr-krb5pac.so
1350%{_libdir}/libndr-nbt.so
1351%{_libdir}/libndr-standard.so
1352%{_libdir}/libndr.so
1353%{_libdir}/libnetapi.so
1354%{_libdir}/libsamba-credentials.so
1355%{_libdir}/libsamba-hostconfig.so
[9411]1356%{_libdir}/libsamba-passdb.so
[7511]1357%{_libdir}/libsamba-policy.so
1358%{_libdir}/libsamba-util.so
1359%{_libdir}/libsamdb.so
1360%{_libdir}/libsmbconf.so
1361%{_libdir}/libsmbldap.so
1362%{_libdir}/libtevent-util.so
[10179]1363%{_libdir}/libtevent-unix-util.so
[9411]1364%{_libdir}/pkgconfig/dcerpc.pc
1365%{_libdir}/pkgconfig/dcerpc_samr.pc
1366%{_libdir}/pkgconfig/ndr.pc
1367%{_libdir}/pkgconfig/ndr_krb5pac.pc
1368%{_libdir}/pkgconfig/ndr_nbt.pc
1369%{_libdir}/pkgconfig/ndr_standard.pc
1370%{_libdir}/pkgconfig/netapi.pc
1371%{_libdir}/pkgconfig/samba-credentials.pc
1372%{_libdir}/pkgconfig/samba-hostconfig.pc
1373%{_libdir}/pkgconfig/samba-policy.pc
1374%{_libdir}/pkgconfig/samba-util.pc
1375%{_libdir}/pkgconfig/samdb.pc
[7511]1376
1377%{_includedir}/samba-4.0/dcerpc_server.h
1378%{_libdir}/libdcerpc-server.so
[9411]1379%{_libdir}/pkgconfig/dcerpc_server.pc
[7511]1380
1381## --------------------------------------------------------------------
1382%files python
1383%defattr(-,root,root,-)
1384%{python_sitearch}/*
[9411]1385#%exclude %{python_sitearch}/_ldb.so
1386#%exclude %{python_sitearch}/_tevent.so
[7511]1387
1388## --------------------------------------------------------------------
1389%files pidl
1390%defattr(-,root,root,-)
[8910]1391%{perl_vendorlib}/Parse/*
[7511]1392%{_mandir}/man1/pidl.1.gz
1393%{_mandir}/man3/Parse::Pidl::Wireshark::NDR.3pm.gz
1394%{_mandir}/man3/Parse::Pidl::Wireshark::Conformance.3pm.gz
1395%{_mandir}/man3/Parse::Pidl::Dump.3pm.gz
1396%{_mandir}/man3/Parse::Pidl::NDR.3pm.gz
1397%{_mandir}/man3/Parse::Pidl::Util.3pm.gz
1398%attr(755,root,root) %{_bindir}/pidl
1399
1400## --------------------------------------------------------------------
1401%if %with_libsmbclient
[521]1402%files -n libsmbclient
[3094]1403%defattr(-,root,root)
[7511]1404%{_libdir}/libsmbclient.so.*
[9411]1405%{_mandir}/man7/libsmbclient.7*
[7596]1406# ja manual
[9411]1407%{_mandir}/ja/man7/libsmbclient.7*
[521]1408
[7511]1409## --------------------------------------------------------------------
[521]1410%files -n libsmbclient-devel
[3094]1411%defattr(-,root,root)
[7511]1412%{_includedir}/samba-4.0/libsmbclient.h
[521]1413%{_libdir}/libsmbclient.so
1414%{_libdir}/pkgconfig/smbclient.pc
[7511]1415#%{_mandir}/man7/libsmbclient.7*
1416%endif # with_libsmbclient
[521]1417
[7511]1418## --------------------------------------------------------------------
1419%if %with_libwbclient
1420%files -n libwbclient
[3094]1421%defattr(-,root,root)
[9517]1422%{_libdir}/samba/libwinbind-client-samba4.so
[9411]1423%{_libdir}/samba/wbclient/libwbclient.so.*
[521]1424
[7511]1425## --------------------------------------------------------------------
1426%files -n libwbclient-devel
1427%defattr(-,root,root)
1428%{_includedir}/samba-4.0/wbclient.h
[9411]1429%{_libdir}/samba/wbclient/libwbclient.so
[7511]1430%{_libdir}/pkgconfig/wbclient.pc
1431%endif # with_libwbclient
1432
[521]1433%if %build_compat32
1434
[7511]1435## --------------------------------------------------------------------
[9517]1436%files -n compat32-samba-libs
1437%defattr(-,root,root)
1438%{_libdir}/libdcerpc-binding.so.*
1439%{_libdir}/libdcerpc.so.*
[10179]1440%{_libdir}/libsamba-errors.so*
[9517]1441%{_libdir}/libndr-krb5pac.so.*
1442%{_libdir}/libndr-nbt.so.*
1443%{_libdir}/libndr-standard.so.*
1444%{_libdir}/libndr.so.*
1445%{_libdir}/libnetapi.so.*
1446%{_libdir}/libsamba-credentials.so.*
1447%{_libdir}/libsamba-hostconfig.so.*
1448%{_libdir}/libsamba-passdb.so.*
1449%{_libdir}/libsamba-util.so.*
1450%{_libdir}/libsamdb.so.*
1451%{_libdir}/libsmbconf.so.*
1452%{_libdir}/libsmbldap.so.*
1453%{_libdir}/libtevent-util.so.*
1454
1455# libraries needed by the public libraries
1456%dir %{_libdir}/samba
1457%{_libdir}/samba/libCHARSET3-samba4.so
1458%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
1459%{_libdir}/samba/libMESSAGING-samba4.so
1460%{_libdir}/samba/libaddns-samba4.so
1461%{_libdir}/samba/libads-samba4.so
1462%{_libdir}/samba/libasn1-samba4.so.*
1463%{_libdir}/samba/libasn1util-samba4.so
1464%{_libdir}/samba/libauth-sam-reply-samba4.so
1465%{_libdir}/samba/libauth-samba4.so
1466%{_libdir}/samba/libauth-unix-token-samba4.so
1467%{_libdir}/samba/libauth4-samba4.so
1468%{_libdir}/samba/libauthkrb5-samba4.so
1469%{_libdir}/samba/libcli-cldap-samba4.so
1470%{_libdir}/samba/libcli-ldap-common-samba4.so
1471%{_libdir}/samba/libcli-ldap-samba4.so
1472%{_libdir}/samba/libcli-nbt-samba4.so
1473%{_libdir}/samba/libcli-smb-common-samba4.so
1474%{_libdir}/samba/libcli-spoolss-samba4.so
1475%{_libdir}/samba/libcliauth-samba4.so
1476%{_libdir}/samba/libcluster-samba4.so
1477%{_libdir}/samba/libcmdline-credentials-samba4.so
1478%{_libdir}/samba/libdb-glue-samba4.so
1479%{_libdir}/samba/libdbwrap-samba4.so
1480%{_libdir}/samba/libdcerpc-samba-samba4.so
1481%{_libdir}/samba/libdcerpc-samba4.so
1482%{_libdir}/samba/libdfs-server-ad-samba4.so
1483%{_libdir}/samba/libdsdb-module-samba4.so
1484%{_libdir}/samba/libevents-samba4.so
1485%{_libdir}/samba/libflag-mapping-samba4.so
[9773]1486%{_libdir}/samba/libgenrand-samba4.so
[10179]1487%{_libdir}/samba/libgensec-samba4.so
[9517]1488%{_libdir}/samba/libgpo-samba4.so
1489%{_libdir}/samba/libgse-samba4.so
1490%{_libdir}/samba/libgssapi-samba4.so.*
1491%{_libdir}/samba/libhcrypto-samba4.so.*
1492%{_libdir}/samba/libhdb-samba4.so.*
1493%{_libdir}/samba/libheimbase-samba4.so.*
1494%{_libdir}/samba/libhttp-samba4.so
1495%{_libdir}/samba/libhx509-samba4.so.*
1496%{_libdir}/samba/libinterfaces-samba4.so
[9773]1497%{_libdir}/samba/libiov-buf-samba4.so
[9517]1498%{_libdir}/samba/libkrb5-samba4.so.*
1499%{_libdir}/samba/libkrb5samba-samba4.so
1500%{_libdir}/samba/libldbsamba-samba4.so
1501%{_libdir}/samba/liblibcli-lsa3-samba4.so
1502%{_libdir}/samba/liblibcli-netlogon3-samba4.so
1503%{_libdir}/samba/liblibsmb-samba4.so
[9773]1504%{_libdir}/samba/libmessages-dgm-samba4.so
1505%{_libdir}/samba/libmessages-util-samba4.so
1506%{_libdir}/samba/libmsghdr-samba4.so
[9517]1507%{_libdir}/samba/libmsrpc3-samba4.so
1508%{_libdir}/samba/libnon-posix-acls-samba4.so
1509%{_libdir}/samba/libndr-samba-samba4.so
1510%{_libdir}/samba/libndr-samba4.so
1511%{_libdir}/samba/libnet-keytab-samba4.so
1512%{_libdir}/samba/libnetif-samba4.so
1513%{_libdir}/samba/libnpa-tstream-samba4.so
1514%{_libdir}/samba/libnss-info-samba4.so
1515%{_libdir}/samba/libntvfs-samba4.so
1516%{_libdir}/samba/libpopt-samba3-samba4.so
1517%{_libdir}/samba/libposix-eadb-samba4.so
1518%{_libdir}/samba/libprinting-migrate-samba4.so
1519%{_libdir}/samba/libprocess-model-samba4.so
[10179]1520%{_libdir}/samba/libregistry-samba4.so
[9517]1521%{_libdir}/samba/libreplace-samba4.so
1522%{_libdir}/samba/libroken-samba4.so.*
1523%{_libdir}/samba/libsamba-cluster-support-samba4.so
1524%{_libdir}/samba/libsamba-debug-samba4.so
1525%{_libdir}/samba/libsamba-modules-samba4.so
1526%{_libdir}/samba/libsamba-security-samba4.so
1527%{_libdir}/samba/libsamba-sockets-samba4.so
1528%{_libdir}/samba/libsamba3-util-samba4.so
1529%{_libdir}/samba/libsamdb-common-samba4.so
1530%{_libdir}/samba/libsecrets3-samba4.so
1531%{_libdir}/samba/libserver-role-samba4.so
[9773]1532%{_libdir}/samba/libserver-id-db-samba4.so
[9517]1533%{_libdir}/samba/libservice-samba4.so
1534%{_libdir}/samba/libshares-samba4.so
1535%{_libdir}/samba/libsmb-transport-samba4.so
[10179]1536%{_libdir}/samba/libsmbclient-raw-samba4.so
[9517]1537%{_libdir}/samba/libsmbd-base-samba4.so
1538%{_libdir}/samba/libsmbd-conn-samba4.so
1539%{_libdir}/samba/libsmbd-shim-samba4.so
1540%{_libdir}/samba/libsmbldaphelper-samba4.so
1541%{_libdir}/samba/libsmbpasswdparser-samba4.so
1542%{_libdir}/samba/libsmbregistry-samba4.so
1543%{_libdir}/samba/libsocket-blocking-samba4.so
[9773]1544%{_libdir}/samba/libsys-rw-samba4.so
1545%{_libdir}/samba/libtalloc-report-samba4.so
[9517]1546%{_libdir}/samba/libtdb-wrap-samba4.so
[9773]1547%{_libdir}/samba/libtime-basic-samba4.so
[9517]1548%{_libdir}/samba/libtrusts-util-samba4.so
1549%{_libdir}/samba/libutil-cmdline-samba4.so
1550%{_libdir}/samba/libutil-reg-samba4.so
1551%{_libdir}/samba/libutil-setid-samba4.so
1552%{_libdir}/samba/libutil-tdb-samba4.so
1553%{_libdir}/samba/libwind-samba4.so.*
1554%{_libdir}/samba/libxattr-tdb-samba4.so
1555
1556## --------------------------------------------------------------------
[7511]1557%files -n compat32-libwbclient
1558%defattr(755,root,root)
[9517]1559%{_libdir}/samba/libwinbind-client-samba4.so
[9411]1560%{_libdir}/samba/wbclient/libwbclient.so.*
[521]1561
[7511]1562## --------------------------------------------------------------------
[521]1563%files -n compat32-libsmbclient
[9517]1564%defattr(755,root,root)
1565%{_libdir}/libsmbclient.so.*
[521]1566
1567%endif
1568
1569%changelog
[10219]1570* Tue May  3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.3-1
1571- new upstream release.
1572- updated samba-ja-docs.
1573
[10179]1574* Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.2-1
1575- new upstream release.
1576
1577* Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4.0-1
1578- new upstream release.
1579
[10061]1580* Thu Mar 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.6-1
1581- new upstream release.
1582- updated samba-ja-docs.
1583
[10042]1584* Wed Feb 24 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.5-1
1585- new upstream release.
1586
[9958]1587* Sat Jan 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.4-1
1588- new upstream release.
1589
[9905]1590* Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-3
1591- built with gnutls-3.4.x.
1592
[9886]1593* Sun Dec 20 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-2
1594- built with libldb-1.1.25.
1595
[9872]1596* Thu Dec 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.3-1
1597- new upstream release.
1598- fixed missing %%changelog.
1599
1600* Wed Dec  2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.2-1
1601- new upstream release.
1602
1603* Fri Oct 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.1-1
1604- new upstream release.
1605
[9773]1606* Sat Sep 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.0-1
1607- new upstream release.
1608- built without libbsd.
1609
[9749]1610* Sat Sep 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.4-1
1611- new upstream release.
1612
[9673]1613* Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.3-1
1614- new upstream release.
1615
[9599]1616* Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.2-1
1617- new upstream release.
1618
[9517]1619* Fri Apr 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.1-1
[9411]1620- new upstream release.
1621
[9517]1622* Thu Apr 16 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-2
1623- added subpackage compat32-samba-libs and samba-dc-libs.
1624- fixed %%files.
1625
1626* Sat Mar 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-1
1627- new upstream release.
1628
[9377]1629* Tue Feb 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.17-1
1630- new upstream release.
1631
[9360]1632* Sun Jan 25 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.16-1
1633- new upstream release.
1634
[9255]1635* Mon Jan 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.15-1
1636- new upstream release.
1637
[9136]1638* Wed Dec 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.14-1
1639- new upstream release.
1640- re-enabled samba-ja-docs.
1641
[9129]1642* Tue Dec  2 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-3
1643- fixed Group typo involved by previous release
1644
[9127]1645* Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.1.11-2
1646- moved common, libs, python, liibsmbclient and libwbclient packages to System Environment/Libraries Group
1647
[8910]1648* Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.11-1
1649- new upstream release.
1650
[8304]1651* Wed Mar 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.6-1
1652- new upstream release.
1653- removed samba-ja-docs (docs-ja for 4.1.x has not released yet).
1654
[8035]1655* Mon Dec 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.3-1
1656- new upstream release.
1657
1658* Thu Nov 28 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.2-1
1659- new upstream release.
1660- removed a sub package "samba-swat" (removed in upstream).
1661- %%post was made to fix the permission of TLS key (CVE-2013-4476).
1662
[7885]1663* Wed Oct 09 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.10-1
1664- new upstream release.
1665
1666* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.9-1
1667- new upstream release.
1668
[7596]1669* Tue Mar 26 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.4-1
1670- new upstream release.
1671- fixed dependency.
1672- added documents from samba-docs-ja-4.0.0-1.
1673
1674* Mon Mar 04 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-2
1675- fixed directory to place private data.
1676
[7511]1677* Sun Mar 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.3-1
1678- new upstream release.
[7596]1679- fixed dates of %%changelog.
[7511]1680
1681* Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.0-1
1682- new upstream release.
1683
[6121]1684* Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.15-1
1685- new upstream release. (to fix CVE-2012-2111)
1686- added charset options to smb.conf.
1687
[6021]1688* Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.14-1
1689- new upstream release. (to fix CVE-2012-1182)
1690
[4556]1691* Tue Aug 09 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.11-1
1692- new upstream release. (to fix BTS:1189)
1693
[4451]1694* Sat Jul 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
1695- new upstream release. (to fix CVE-2011-2522 and CVE-2011-2694)
1696
[4345]1697* Mon Jul 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-3
1698- updated Source6.
1699
[3099]1700* Fri Mar 25 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-2
1701- fix smb.conf(5).
1702
[3094]1703* Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
1704- new upstream release.
1705- updated patches.
1706- added subpackages 'winbind-krb5-locator' and 'winbind-client'.
1707- dropped tdb and talloc subpackages became independent packages.
1708- dropped {,u}mount.cifs were included in cifs-utils.
1709
[1981]1710* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.3.10-13
1711- rebuilt with rpm-4.8.1 for pkg-config
1712- changed spec file name as vine style
1713- dropt script lines in %%build that no work
1714
[521]1715* Sun Feb  7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
1716- add patch1000 for fix CVE-2010-0547 (cifs.mount)
1717
1718* Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
1719- new upstream release.
1720
1721* Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
1722- added 'Packager' tag.
1723
1724* Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
1725- new upstream release.
1726- added '--disable-fam' option.
1727- added 'compat32-*' subpackages.
1728- added 'libuuid-devel' to 'BuildRequires:'.
1729
1730* Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
1731- new upstream release.
1732
1733* Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
1734- new upstream release.
1735
1736* Thu Jun  4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
1737- increased release number for libtalloc/libtdb.
1738
1739* Tue Jun  2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
1740- fixed dependency.
1741- fixed modulepath.
1742
1743* Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
1744- new upstream release.
1745
1746* Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
1747- rebuilt with openldap-2.4.11
1748
1749* Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
1750- samba-doc: changed Group to Applications/Documentation
1751- samba-winbind-devel: changed Group to Development/Libraries
1752- libsmbclient: changed Group to System Environment/Libraries
1753- libsmbclient-devel: changed Group to Development/Libraries
1754- libtalloc: changed Group to System Environment/Libraries
1755- libtalloc-devel: changed Group to Development/Libraries
1756- libtdb: fixed summary
1757          changed Group to System Environment/Libraries
1758- libtdb-devel: changed Group to Development/Libraries
1759
1760* Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
1761- new upstream release
1762
1763* Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
1764- new upstream release
1765- drop jp patch
1766- use UTF-8 as default charset
1767- rename samba-libsmbclient to libsmbclient
1768
1769* Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
1770- new upstream release.
1771- remove gamin-devel from BuildRequires: (no longer needed).
1772
1773* Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
1774- BuildRequires: gamin-devel (see [wishes:0127])
1775
1776* Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
1777- [SECURITY FIX] add security patches (#50-52)
1778  - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
1779  - CVE-2007-2446: multiple heap overflows allow remote code execution
1780  - CVE-2007-2447: remote command injection vulnerability
1781
1782* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
1783- apply upstream patches (#0-5)
1784  - fix an issues with servers set to "security = share" and Vista clients
1785    that send NTLMv2 responses
1786  - fixe several point-n-print bugs with Vista clients
1787  - fix failure when using the Vista backup utility
1788  - fix expansion of the %a smb.conf variable for Vista clients
1789  - fix MS-DFS referrals with Windows Vista clients
1790  - fix for Vista failing to delete directories on a Samba share
1791- display service start/stop messages ([VineSeed:13299])
1792
1793* Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
1794- [SECURITY FIX] new upstream release
1795  - CVE-2007-0452: potential denial of service bug in smbd
1796  - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
1797  - CVE-2007-0454: format string bug in afsacl.so vfs plugin
1798
1799* Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
1800- new upstream release
1801
[7511]1802* Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
[521]1803- disable swat (via inetd) by default
1804- fix code for editing %%{_sysconfdir}/inetd.conf
1805
1806* Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
1807- fix dependencies:
1808  - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
1809  - drop PreReq: gawk from -client
1810  - drop PreReq: inetd from -swat
1811  - drop Requires: tcp_wrappers from -swat (is needed by inetd)
1812- fix %%post etc...
1813  - drop code for editing /etc/services: no more needed
1814  - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
1815    from %%triggerin swat -- inetd to %%post swat
1816  - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
1817
1818* Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
1819- new upstream release
1820
1821* Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
1822- rebuilt with openldap-2.3.27-0vl1
1823
1824* Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
1825- new upstream release
1826
1827* Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
1828- new upstream release
1829
1830* Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
1831- [SECURITY] new upstream release
1832  - Memory exhaustion DoS against smbd (CVE-2006-3403)
1833- update patches
1834  - buildroot.patch (#100)
1835  - logfiles.patch (#103)
1836  - smb.conf.patch (#106)
1837- update filter-requires-samba.sh (source999)
1838  - get rid of bogus dependency on perl(Unicode::MapUTF8)
1839
1840* Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
1841- new upstream release
1842- renumber patches
1843  - 000- for upstream patches
1844  - 050- for security patches
1845  - 100- for generic patches
1846- update logfiles.patch (#103)
1847- drop warning.patch (#104)
1848- not apply hex.patch (#105)
1849- add smb.conf.patch (#106)
1850- drop samba.log (source1), smb.conf (source2)
1851- use samba.pamd.stack instead of samba.pamd
1852- define macro: pkgingdir
1853- add files:
1854  - samba-client
1855    - %%{_bindir}/{smbget,eventlogadm}
1856  - samba-common:
1857    - %%{_bindir}/tdbtool
1858- separate development files to samba-libsmbclient-devel
1859- change groups
1860
1861* Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
1862- remove unneeded dependencies
1863  - update filter-requires-samba.sh (source999)
1864  - overwrite __find_requires instead of __perl_requires
1865
1866* Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
1867- rebuild with readline-5.1
1868
1869* Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
1870- separate doc package with %%docpkg
1871- use %%htmlview instead of %%browser
1872
1873* Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
1874- add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
1875
1876* Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
1877- new upstream release
1878- install %%{_sysconfdir}/xinetd.d/swat
1879- update filter-requires-samba.sh
1880- add swat.desktop.in instead of swat.desktop
1881  - switch browser by %%browser
1882- drop i18n patches
1883- update logfiles.patch (#3)
1884- add warning.patch (#4)
1885
1886* Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
1887- fix samba.log
1888  - thanks, K. Moriyama [VinePlus:02606]
1889- remove docs/manpages from %%doc
1890
1891* Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
1892- new upstream release
1893- update struplower_m_i18n.patch (#102)
1894- drop obsolete patch (#10)
1895
1896* Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
1897- [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
1898  - add samba-3.0.9-CAN-2004-1154.patch (#10)
1899- update patch (#102)
1900
1901* Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
1902- new upstream release
1903- drop obsolete patches (#10,11,110)
1904- update patches (#3,102)
1905
1906* Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
1907- [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
1908  - add samba-3.0.7-CAN-2004-0882.patch (patch11)
1909- update Source URL
1910
1911* Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
1912- [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
1913  - add samba-3.0.7-CAN-2004-0930.patch (patch10)
1914
1915* Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
1916- update samba.log, {smb,winbind}.init
1917- use *.log as logfile name instead of log.* (patch3)
1918
1919* Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
1920- change directories from %%{_localstatedir}/lock/samba
1921  - LOCKDIR: %%{_localstatedir}/cache/samba
1922  - PIDDIR:  %%{_localstatedir}/run
1923- restart {smb,winbind} at postun (upgrade)
1924- samba-common
1925  - convert smbpasswd at triggerpostun -- samba < 3.0.7
1926  - add convert_smbpasswd
1927  - add PreReq: gawk
1928
1929* Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
1930- add docs_ja (source101) from 3.0.5-16ml
1931
1932* Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
1933- new upstream release (shift to 3.0 series)
1934  - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
1935  - drop obsolete paches, configure options
1936  - update buildroot.patch
1937  - add I18N patches (#101-)
1938  - update smb.conf
1939- add URL
1940- use more macros
1941- change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
1942- move %%{_localstatedir}/log/samba, smbpasswd to samba-common
1943- move smbspool, smbcacls, rpcclient to samba-client
1944- update descriptions
1945
1946* Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
1947- new upstream release
1948
1949* Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
1950- 2.2.11-ja-1.0beta1
1951  - drop patch10
1952- add BuildPreReq: openssl-devel
1953- swat
1954  - add PreReq/Requires: inetd
1955  - add swat.desktop
1956
1957* Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
1958- fix changelog
1959
1960* Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
1961- [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
1962  - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
1963- add BuildPreReq: cups-devel
1964- add Prereq: chkconfig mktemp psmisc (instead of each files)
1965
1966* Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
1967- new upstream release
1968
1969* Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
1970- 2.2.9-ja-1.0beta1
1971- add BuildPreReq: readline-devel
1972
1973* Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
1974- add ldconfig in %%post/%%postun script for libsmbclient
1975
1976* Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
1977- add libsmbclient subpackage.
1978
1979* Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
1980- new upstream release.
1981
1982* Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
1983- fix smb.conf (SAMBADOC's path)
1984
1985* Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
1986- tentatively skip to build examples/VFS on alpha
1987
1988* Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
1989- new upstream release.
1990
1991* Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
1992- fix smb.conf
1993- fix smbadduser
1994
1995* Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
1996- new upstream version
1997
1998* Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
1999- added smbinit-vine.patch
2000        -- added '-D' option in smbd and nmbd
2001
[7511]2002* Thu Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
[521]2003- New upstream version
2004        -- security fix.
2005
2006* Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2007- 2.2.7a.ja-1.0vl5
2008- merged from SPEC for RH60 by samba-jp.
2009
2010* Mon Feb 17  2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2011- 2.2.7a.ja-1.0vl4.beta1
2012- fix 'Requires:'.
2013
2014* Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2015- 2.2.7a.ja-1.0vl3.alpha1
2016- disable --with-tdbsam.
2017
2018* Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2019- 2.2.7a.ja-1.0vl2.alpha1
2020- modify %%post script for new password database.
2021
2022* Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2023- 2.2.7a.ja-1.0vl1.alpha1
2024
2025* Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2026- 2.2.6.ja-1.0vl1.alpha2
2027- apply alpha2 patch.
2028
2029* Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2030- 2.2.6.ja-1.0vl1.alpha1
2031- remove swat from package 'samba'.
2032
2033* Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2034- 2.2.6.ja-1.0vl0.alpha1
2035- enable winbind modules.
2036- change numbering rule.
2037
2038* Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2039- 2.2.6_ja_0.alpha1-0vl1
2040
2041* Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2042- 2.2.4_ja_0.alpha1.3-0vl1
2043
2044* Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2045- 2.2.2_ja_1.1-0vl1
2046- disable winbind modules (2.2.2 or earlier has critical bugs).
2047- modify 'Requires:'.
2048
2049* Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
2050- 2.2.2_ja_1.1-0vl0
2051- shift sources to 2.2.x.
2052- add debugging mode for '%%files' section.
2053- modify spec largely because of too many difference between 2.0.x and 2.2.x.
2054-  . exchange %%prep, %%build, %%install section with samba-jp's spec.
2055-  . create a package 'samba-swat'.
2056-  . move smbclient and nmblookup to samba-common.
2057-  . move testprns to package 'samba' because it's checking tool for
2058-    server on LOCALHOST.
2059-  . move '%%post' to '%%post swat'.
2060-  . disable '%%post common'.
2061
2062* Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
2063- 2.0.10_ja_1.2
2064
2065* Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
2066- 2.0.10_ja_1.1-0vl4
2067- eliminate executable bit in %%doc to erase perl/sh requirement
2068
2069* Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
2070- 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
2071- patch swat/ja/help/welcome.html to hide some missing matter
2072- also remove docs/zh_{CN,TW} files in %%doc
2073
2074* Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
2075- for VineSeed
2076- deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
2077
2078* Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
2079- 2.0.10_ja_1.1
2080- for 2.1.x update
2081
2082* Fri Aug 17 2001 <sagami@vinelinux.org>
2083- 2.0.10_ja_1.0-0vl2
2084- remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
2085
2086* Mon Jul 09 2001 <sagami@vinelinux.org>
2087- 2.0.10_ja_1.0-0vl1: includes secrity fix
2088 (http://www.samba.org/samba/whatsnew/macroexploit.html)
2089- remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
2090
2091* Thu May 31 2001 <sagami@vinelinux.org>
2092- 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
2093- added BuildPreReq = pam-devel for Vine 2.1.5+
2094- fixed init script to match our current/old style
2095- eliminate CVS related files from %%doc
2096
2097* Thu Apr 19 2001 <sagami@vinelinux.org>
2098- 2.0.7_ja_2.2-0vl1
2099
2100* Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
2101- 2.0.7_ja_1.3-0vl2
2102- rebuilt with readline2
2103- use better macros (although not almost complete... needs comfirmation)
2104
2105* Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
2106- 2.0.7_ja_1.3-0vl1
2107
2108* Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
2109- 2.0.7_ja_1.2.1-0vl2
2110- fixed missing Changelog.ja (was Chagelog.ja)
2111
2112* Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
2113- updated to 2.0.7-ja-1.2.1
2114
2115* Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2116- updated to 2.0.7-ja-1.2
2117
2118* Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2119- added some Japanese documents to %doc
2120
2121* Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2122- updated to 2.0.7-ja-1.0
2123
2124* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2125- updated to 2.0.7-ja-0.99
2126
2127* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2128- added rpccilent
2129- modified tcpdconf for stability.
2130
2131* Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
2132- first test release for Vine based on RH6.2 spec file.
2133- activated swat in default for only localhost.
2134
2135* Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
2136- fix trigger, again.
2137
2138* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
2139- fix trigger.
2140
2141* Fri Feb  4 2000 Bill Nottingham <notting@redhat.com>
2142- turn on quota support
2143
2144* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
2145- rebuild to fox dependencies
2146- man pages are compressed
2147
2148* Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
2149- munge post scripts slightly
2150
2151* Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
2152- turn on mmap again. Wheee.
2153- ship smbmount on alpha
2154
2155* Mon Dec  6 1999 Bill Nottingham <notting@redhat.com>
2156- turn off mmap. ;)
2157
2158* Wed Dec  1 1999 Bill Nottingham <notting@redhat.com>
2159- change /var/log/samba to 0700
2160- turn on mmap support
2161
2162* Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
2163- update to 2.0.6
2164
2165* Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
2166- add a %defattr for -common
2167
2168* Tue Oct  5 1999 Bill Nottingham <notting@redhat.com>
2169- shift some files into -client
2170- remove /home/samba from package.
2171
2172* Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
2173- initscript oopsie. killproc <name> -HUP, not other way around.
2174
[7511]2175* Sun Sep 26 1999 Bill Nottingham <notting@redhat.com>
[521]2176- script cleanups. Again.
2177
2178* Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
2179- add a patch to fix dropped reconnection attempts
2180
2181* Mon Sep  6 1999 Jeff Johnson <jbj@redhat.com>
2182- use cp rather than mv to preserve /etc/services perms (#4938 et al).
2183- use mktemp to generate /etc/tmp.XXXXXX file name.
2184- add prereqs on sed/mktemp/killall (need to move killall to /bin).
2185- fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
2186
2187* Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
2188- sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
2189
2190* Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
2191- fix typo in mount.smb
2192
2193* Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
2194- add a %trigger to work around (sort of) broken scripts in
2195  previous releases
2196
2197* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
2198- initscript munging
2199
2200* Mon Aug  9 1999 Bill Nottingham <notting@redhat.com>
2201- add domain parsing to mount.smb
2202
2203* Fri Aug  6 1999 Bill Nottingham <notting@redhat.com>
2204- add a -common package, shuffle files around.
2205
2206* Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
2207- add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
2208
2209* Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
2210- update to 2.0.5
2211- fix mount.smb - smbmount options changed again.........
2212- fix postun. oops.
2213- update some stuff from the samba team's spec file.
2214
2215* Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
2216- split off clients into separate package
2217- don't run samba by default
2218
2219* Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
2220- fix one problem with mount.smb script
2221- fix smbpasswd on sparc with a really ugly kludge
2222
2223* Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
2224- fixed logrotate script
2225
2226* Tue May 25 1999 Bill Nottingham <notting@redhat.com>
2227- turn of 64-bit locking on 32-bit platforms
2228
2229* Thu May 20 1999 Bill Nottingham <notting@redhat.com>
2230- so many releases, so little time
2231- explicitly uncomment 'printing = bsd' in sample config
2232
2233* Tue May 18 1999 Bill Nottingham <notting@redhat.com>
2234- update to 2.0.4a
2235- fix mount.smb arg ordering
2236
2237* Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
2238- go back to stop/start for restart (-HUP didn't work in testing)
2239
2240* Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
2241- add a mount.smb to make smb mounting a little easier.
2242- smb filesystems apparently don't work on alpha. Oops.
2243
2244* Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
2245- always create codepages
2246
2247* Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
2248- logrotate changes
2249
2250* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
2251- auto rebuild in the new build environment (release 3)
2252
2253* Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
2254- updated init script to use graceful restart (not stop/start)
2255
2256* Tue Mar  9 1999 Bill Nottingham <notting@redhat.com>
2257- update to 2.0.3
2258
2259* Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
2260- update to 2.0.2
2261
2262* Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
2263- swat swat
2264
2265* Tue Feb  9 1999 Bill Nottingham <notting@redhat.com>
2266- fix bash2 breakage in post script
2267
2268* Fri Feb  5 1999 Bill Nottingham <notting@redhat.com>
2269- update to 2.0.0
2270
2271* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
2272- make sure all binaries are stripped
2273
2274* Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
2275- update to 1.9.18p10.
2276- fix %triggerpostun.
2277
2278* Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
2279- updated postun triggerscript to check $0
2280- clear /etc/codepages from %preun instead of %postun
2281
2282* Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
2283- made the %postun script a tad less agressive; no reason to remove
2284  the logs or lock file (after all, if the lock file is still there,
2285  samba is still running)
2286- the %postun and %preun should only exectute if this is the final
2287  removal
2288- migrated %triggerpostun from Red Hat's samba package to work around
2289  packaging problems in some Red Hat samba releases
2290
2291* Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
2292- minor tidy up in preparation for release of 1.9.18p5
2293- added findsmb utility from SGI package
2294
2295* Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
2296- Updated version and codepage info.
2297- Release to test name resolve order
2298
2299* Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
2300- Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
2301- Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
2302- Compounded make line
2303- Updated smb.init restart mechanism
2304- Use compound mkdir -p line instead of individual calls to mkdir
2305- Fixed smb.conf file path for log files
2306- Fixed smb.conf file path for incoming smb print spool directory
2307- Added a number of options to smb.conf file
2308- Added smbadduser command (missed from all previous RPMs) - Doooh!
2309- Added smbuser file and smb.conf file updates for username map
2310
Note: See TracBrowser for help on using the repository browser.