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

Revision 10042, 78.3 KB checked in by tomop, 8 years ago (diff)

libldb-1.1.26-1, libtevent-0.9.28-1, samba-4.3.5-1

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