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

Revision 11163, 78.1 KB checked in by tomop, 7 years ago (diff)

samba-4.6.6-1

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