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

Revision 12027, 79.2 KB checked in by tomop, 5 years ago (diff)

samba-4.9.4-1

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