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

Revision 9673, 78.6 KB checked in by tomop, 9 years ago (diff)

samba-4.2.3, etc.

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