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

Revision 9886, 78.0 KB checked in by tomop, 9 years ago (diff)

samba-4.3.3-2

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