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

Revision 11586, 78.5 KB checked in by tomop, 6 years ago (diff)

samba-4.8.0-1

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