source: projects/specs/branches/6/s/samba/samba-vl.spec @ 10325

Revision 10325, 48.6 KB checked in by tomop, 8 years ago (diff)

samba-3.6.25-4

Line 
1%define tdb_version 1.2.9
2%define talloc_version 2.0.5
3%define samba_version 3.6.25
4%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
5
6%define samba_release 4
7
8%define samba_source source3
9
10Summary: The Samba Suite of programs
11Summary(ja): Samba スイート
12Name: samba
13Version: %{samba_version}
14Release: %{samba_release}%{?_dist_release}
15License: GPLv3+ and LGPLv3+
16Group: System Environment/Daemons
17URL: http://www.samba.org/
18
19Source: http://www.samba.org/samba/ftp/%{name}-%{version}.tar.gz
20
21# Vine specific replacement-files
22Source1: samba.log
23Source2: samba.xinetd
24Source3: swat.desktop
25Source4: samba.sysconfig
26Source5: smb.init
27Source6: samba.pamd
28Source7: smbprint
29Source8: winbind.init
30Source9: smb.conf.default
31Source10: nmb.init
32Source11: pam_winbind.conf
33
34# fixed manual
35Source100: smb.conf.5
36
37# Don't depend on Net::LDAP
38Source999: filter-requires-samba.sh
39
40# upstream patches.  Applied first so that they'll break our patches rather
41# than the other way around
42# (none right now)
43
44# generic patches
45Patch102: samba-3.2.0pre1-pipedir.patch
46Patch104: samba-3.0.0rc3-nmbd-netbiosname.patch
47# The passwd part has been applied, but not the group part
48Patch107: samba-3.2.0pre1-grouppwd.patch
49Patch200: samba-3.2.5-inotify.patch
50
51# security patches
52Patch1000: CVE-2015-5252-v3-6-bso11395.patch
53Patch1001: CVE-2015-5296-v3-6-bso11536.patch
54Patch1002: CVE-2015-5299-v3-6-bso11529.patch
55Patch1003: CVE-2015-5330-v3-6-bso11599.patch
56Patch1004: CVE-2015-7560-v3-6.patch
57Patch1005: CVE-preparation-v3-6.patch
58Patch1006: CVE-2016-2110-v3-6.patch
59Patch1007: CVE-2016-2111-v3-6.patch
60Patch1008: CVE-2016-2112-v3-6.patch
61Patch1009: CVE-2016-2115-v3-6.patch
62Patch1010: CVE-2016-2118-v3-6.patch
63Patch1011: CVE-2015-5370-v3-6.patch
64
65Requires(pre): samba-common = %{version}-%{release}
66Requires: pam >= 0:0.64
67Requires: logrotate >= 0:3.4
68Requires: krb5-libs, libacl, libattr
69BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
70Requires(post): /sbin/chkconfig, /sbin/service
71Requires(preun): /sbin/chkconfig, /sbin/service
72BuildRequires: net-tools
73BuildRequires: pam-devel, readline-devel, ncurses-devel, libacl-devel
74BuildRequires: krb5-devel, openldap-devel, openssl-devel, cups-devel
75BuildRequires: autoconf, gawk, popt-devel, gtk2-devel, libcap-devel
76BuildRequires: libtalloc-devel, libtdb-devel
77
78%if %{?_dist_release}!="vl5"
79BuildRequires: libuuid-devel
80%endif
81
82# Working around perl dependency problem from docs
83%define __perl_requires %{SOURCE999}
84
85Vendor:         Project Vine
86Distribution:   Vine Linux
87Packager:       tomop
88
89%description
90Samba is the suite of programs by which a lot of PC-related machines
91share files, printers, and other information (such as lists of
92available files and printers). The Windows NT, OS/2, and Linux
93operating systems support this natively, and add-on packages can
94enable the same thing for DOS, Windows, VMS, UNIX of all kinds, MVS,
95and more. This package provides an SMB/CIFS server that can be used to
96provide network services to SMB/CIFS clients.
97Samba uses NetBIOS over TCP/IP (NetBT) protocols and does NOT
98need the NetBEUI (Microsoft Raw NetBIOS frame) protocol.
99
100%description -l ja
101Samba は Microsoft Windows や OS/2、その他の Linux マシンを含む SMB/CIFS
102クライアントにネットワークファイル・プリンタ共有サービスを提供します。
103Samba は NetBIOS over TCP/IP (NetBT, NBT) プロトコルを使用しますので、
104NetBUEI (Microsoft Raw NetBIOS frame) プロトコルは必要ありません。
105
106
107%package client
108Summary: Samba client programs
109Summary(ja): Samba クライアントプログラム
110Group: Applications/System
111Requires: samba-common = %{samba_version}-%{release}
112Obsoletes: smbfs
113
114%description client
115The samba-client package provides some SMB/CIFS clients to complement
116the built-in SMB/CIFS filesystem in Linux. These clients allow access
117of SMB/CIFS shares and printing to SMB/CIFS printers.
118
119%description client -l ja
120samba-client は Linux カーネルがサポートしている SMB ファイルシステム
121機能を操作する SMB クライアントを提供します。
122これらは SMB 共有のアクセスと SMB プリンタへの印刷を実現します。
123
124
125%package common
126Summary: Files used by both Samba servers and clients
127Summary(ja): Samba サーバーとクライアントの両方に使用されるファイル
128Requires: libtdb >= %{tdb_version}
129Requires: libtalloc >= %{talloc_version}
130Group: Applications/System
131Requires(pre): /usr/sbin/groupadd
132Requires(post): /sbin/chkconfig, /sbin/service, coreutils
133Requires(preun): /sbin/chkconfig, /sbin/service
134
135%description common
136Samba-common provides files necessary for both the server and client
137packages of Samba.
138
139%description common -l ja
140samba-common は Samba のサーバーとクライアントの両方のパッケージで
141使用される共通のファイルを提供します。
142
143%package tevent-devel
144Summary: libtevent library and headers from Samba
145Group: Applications/System
146Requires: samba-common = %{samba_version}-%{release}
147
148%description tevent-devel
149This package provides headers and library to compile with libtevent.
150
151%package winbind
152Summary: Samba winbind
153Group: Applications/System
154Requires: samba-common = %{samba_version}-%{release}
155Requires(pre): /usr/sbin/groupadd
156Requires(post): /sbin/chkconfig, /sbin/service, coreutils
157Requires(preun): /sbin/chkconfig, /sbin/service
158
159%description winbind
160The samba-winbind package provides the winbind daemon, a NSS library, a PAM
161module and some client tools. Winbind enables Linux to be a full member in
162Windows domains and to use Windows user and group accounts on Linux.
163
164
165%package winbind-krb5-locator
166Summary: Samba winbind krb5 locator
167Requires: samba-winbind-clients = %{samba_version}-%{release}
168Group: Applications/System
169
170%description winbind-krb5-locator
171The winbind krb5 locator is a plugin for the system kerberos library to allow
172the local kerberos library to use the same KDC as samba and winbind use
173
174
175%package winbind-clients
176Summary: Samba winbind clients
177Group: Applications/System
178
179%description winbind-clients
180The samba-winbind-clients package provides the NSS library and a PAM
181module necessary to communicate to the Winbind Daemon
182
183
184%package winbind-devel
185Summary: Developer tools for the winbind library
186Group: Development/Libraries
187Requires: samba-winbind = %{samba_version}-%{release}
188Requires: samba-tevent-devel = %{samba_version}-%{release}
189
190%description winbind-devel
191The samba-winbind package provides developer tools for the wbclient library.
192
193
194%package swat
195Summary: The Samba SMB server Web configuration program
196Summary(ja): Web ベースの Samba サーバ設定ツール
197Group: Applications/System
198Requires: samba = %{samba_version}-%{release}, xinetd
199
200%description swat
201The samba-swat package includes the new SWAT (Samba Web Administration
202Tool), for remotely managing Samba's smb.conf file using your favorite
203Web browser.
204
205%description swat -l ja
206SWAT (Samba Web Administration Tool) を使うと、Samba の管理をお好きな Web
207ブラウザで行うことができるようになります。
208
209%package doc
210Summary: Documentation for the Samba suite
211Group: Applications/Documentation
212Requires: samba-common = %{samba_version}-%{release}
213
214%description doc
215The samba-doc package includes all the non-manpage documentation for the
216Samba suite.
217
218
219%package domainjoin-gui
220Summary: Domainjoin GUI
221Group: Applications/System
222Requires: samba-common = %{samba_version}-%{release}, gtk2
223
224%description domainjoin-gui
225The samba-domainjoin-gui package includes a domainjoin gtk application.
226
227
228%package -n libsmbclient
229Summary: The SMB client library
230Summary(ja): SMB クライアントライブラリ
231Group: System Environment/Libraries
232Obsoletes: samba-libsmbclient < 3.1
233Provides: samba-libsmbclient = %{samba_version}-%{release}
234
235%description -n libsmbclient
236The libsmbclient contains the SMB client library from the Samba suite.
237
238%description -n libsmbclient -l ja
239libsmbclient は Samba クライアントの機能を提供するライブラリを
240提供します。
241
242%if %build_compat32
243
244%package -n compat32-libsmbclient
245Summary: The SMB client library
246Summary(ja): SMB クライアントライブラリ
247Group: System Environment/Libraries
248Provides: compat32-samba-libsmbclient = %{samba_version}-%{release}
249
250%description -n compat32-libsmbclient
251The libsmbclient contains the SMB client library from the Samba suite.
252
253%description -n compat32-libsmbclient -l ja
254libsmbclient は Samba クライアントの機能を提供するライブラリを
255提供します。
256
257%package -n compat32-samba-winbind
258Summary: Samba winbind
259Group: Applications/System
260Requires: samba-common = %{samba_version}-%{release}
261Requires(pre): /usr/sbin/groupadd
262Requires(post): /sbin/chkconfig, /sbin/service, coreutils
263Requires(preun): /sbin/chkconfig, /sbin/service
264
265%description -n compat32-samba-winbind
266The samba-winbind package provides the winbind daemon, a NSS library, a PAM
267module and some client tools. Winbind enables Linux to be a full member in
268Windows domains and to use Windows user and group accounts on Linux.
269
270%package -n compat32-libtevent
271Summary: The tevent library
272Summary(ja): Tevent ライブラリ
273Group: System Environment/Libraries
274Provides: compat32-samba-libtevent = %{samba_version}-%{release}
275
276%description -n compat32-libtevent
277Tevent is an event system based on the talloc memory management library.
278
279%endif
280# if build_compat32 end
281
282%package -n libsmbclient-devel
283Summary: Developer tools for the SMB client library
284Summary(ja): SMB クライアントライブラリ開発用ファイル
285Group: Development/Libraries
286Requires: libsmbclient = %{samba_version}-%{release}
287Requires: samba-tevent-devel = %{samba_version}-%{release}
288Obsoletes: samba-libsmbclient-devel < 3.1
289Provides: samba-libsmbclient-devel = %{samba_version}-%{release}
290
291%description -n libsmbclient-devel
292The libsmbclient-devel package contains the header files and libraries needed to
293develop programs that link against the SMB client library in the Samba suite.
294
295%description -n libsmbclient-devel -l ja
296libsmbclient-devel は Samba クライアントの機能を提供するライブラリを
297使ったアプリケーションを開発するためのファイルを提供します。
298
299
300%prep
301%setup -q
302
303# copy Red Hat specific scripts
304mkdir packaging/Vine
305cp packaging/RHEL/setup/smbusers packaging/Vine/
306cp %{SOURCE5} packaging/Vine/
307cp %{SOURCE6} packaging/Vine/
308cp %{SOURCE7} packaging/Vine/
309cp %{SOURCE8} packaging/Vine/winbind.init
310cp %{SOURCE9} packaging/Vine/
311cp %{SOURCE10} packaging/Vine/
312cp %{SOURCE11} packaging/Vine/
313
314# Upstream patches
315#(none)
316# generic patches
317%patch102 -p1 -b .pipedir
318#%patch103 -p1 -b .logfiles
319#%patch104 -p1 -b .nmbd-netbiosname # FIXME: does not apply
320%patch107 -p1 -b .grouppwd
321%patch200 -p0 -b .inotify
322
323# security patches
324%patch1000 -p1
325%patch1001 -p1
326%patch1002 -p1
327%patch1003 -p1
328%patch1004 -p1
329%patch1005 -p1
330%patch1006 -p1
331%patch1007 -p1
332%patch1008 -p1
333%patch1009 -p1
334%patch1010 -p1
335%patch1011 -p1
336
337mv %samba_source/VERSION %samba_source/VERSION.orig
338sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{release}\"/' < %samba_source/VERSION.orig > %samba_source/VERSION
339cd %samba_source
340script/mkversion.sh
341cd ..
342
343#Remove smbldap-tools, they are already packaged separately in Fedora
344rm -fr examples/LDAP/smbldap-tools-*/
345
346
347%build
348cd %samba_source
349sh autogen.sh
350%ifarch i386 sparc
351RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
352%endif
353%ifarch ia64
354#libtoolize --copy --force     # get it to recognize IA-64
355#autoheader
356#autoconf
357EXTRA="-D_LARGEFILE64_SOURCE"
358%endif
359CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DLDAP_DEPRECATED" %configure \
360        --with-dnsupdate \
361        --with-ads \
362        --with-acl-support \
363        --with-automount \
364        --with-dnsupdate \
365        --with-libsmbclient \
366        --with-libsmbsharemodes \
367        --with-mmap \
368        --with-pam \
369        --with-pam_smbpass \
370        --with-quotas \
371        --with-sendfile-support \
372        --with-syslog \
373        --with-utmp \
374        --with-vfs \
375        --with-winbind \
376        --without-smbwrapper \
377        --with-lockdir=/var/lib/samba \
378        --with-piddir=/var/run \
379        --with-mandir=%{_mandir} \
380        --with-privatedir=/var/lib/samba/private \
381        --with-logfilebase=/var/log/samba \
382        --with-libdir=%{_libdir} \
383        --with-modulesdir=%{_libdir}/samba \
384        --with-configdir=%{_sysconfdir}/samba \
385        --with-pammodulesdir=%{_lib}/security \
386        --with-swatdir=%{_datadir}/swat \
387        --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2 \
388    --with-cluster-support=auto \
389    --with-libtalloc=no \
390    --enable-external-libtalloc=yes \
391    --with-libtdb=no \
392        --disable-fam
393#    --enable-external-libtdb=yes \
394#    --with-aio-support \
395
396make idl_full
397
398make pch
399
400make LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{samba_version}/%samba_source/bin \
401        %{?_smp_mflags} \
402        all ../nsswitch/libnss_wins.so modules \
403        test_pam_modules test_nss_modules test_shlibs
404
405make LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{samba_version}/%samba_source/bin \
406        %{?_smp_mflags} \
407        -C lib/netapi/examples
408
409make debug2html smbfilter
410
411%install
412rm -rf $RPM_BUILD_ROOT
413
414build_libdir="$RPM_BUILD_ROOT%{_libdir}"
415
416mkdir -p $RPM_BUILD_ROOT/sbin
417mkdir -p $RPM_BUILD_ROOT/usr/{sbin,bin}
418mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
419mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{pam.d,logrotate.d,security}
420mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
421mkdir -p $RPM_BUILD_ROOT/var/lib/samba
422mkdir -p $RPM_BUILD_ROOT/var/lib/samba/private
423mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged
424mkdir -p $RPM_BUILD_ROOT/var/lib/samba/scripts
425mkdir -p $RPM_BUILD_ROOT/var/log/samba/old
426mkdir -p $RPM_BUILD_ROOT/var/spool/samba
427mkdir -p $RPM_BUILD_ROOT/%{_datadir}/swat/using_samba
428mkdir -p $RPM_BUILD_ROOT/var/run/winbindd
429mkdir -p $RPM_BUILD_ROOT/%{_libdir}/samba
430mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
431
432cd %samba_source
433
434%makeinstall \
435        BINDIR=$RPM_BUILD_ROOT%{_bindir} \
436        BASEDIR=$RPM_BUILD_ROOT%{_prefix} \
437        SBINDIR=$RPM_BUILD_ROOT%{_sbindir} \
438        DATADIR=$RPM_BUILD_ROOT%{_datadir} \
439        LOCKDIR=$RPM_BUILD_ROOT/var/lib/samba \
440        PRIVATEDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba \
441        LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
442        MODULESDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
443        CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba \
444        PAMMODULESDIR=$RPM_BUILD_ROOT/%{_lib}/security \
445        MANDIR=$RPM_BUILD_ROOT%{_mandir} \
446        VARDIR=$RPM_BUILD_ROOT/var/log/samba \
447        CODEPAGEDIR=$RPM_BUILD_ROOT%{_libdir}/samba \
448        SWATDIR=$RPM_BUILD_ROOT%{_datadir}/swat \
449        SAMBABOOK=$RPM_BUILD_ROOT%{_datadir}/swat/using_samba \
450        PIDDIR=$RPM_BUILD_ROOT/var/run
451
452cd ..
453
454# Install other stuff
455install -m644 packaging/Vine/smb.conf.default $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
456install -m755 %samba_source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
457install -m644 packaging/Vine/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
458install -m755 packaging/Vine/smbprint $RPM_BUILD_ROOT%{_bindir}
459install -m755 packaging/Vine/smb.init $RPM_BUILD_ROOT%{_initrddir}/smb
460install -m755 packaging/Vine/nmb.init $RPM_BUILD_ROOT%{_initrddir}/nmb
461install -m755 packaging/Vine/winbind.init $RPM_BUILD_ROOT%{_initrddir}/winbind
462install -m644 packaging/Vine/pam_winbind.conf $RPM_BUILD_ROOT%{_sysconfdir}/security
463#ln -s ../..%{_initrddir}/smb  $RPM_BUILD_ROOT%{_sbindir}/samba
464install -m644 packaging/Vine/samba.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/samba
465install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/samba
466echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
467mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema
468install -m644 examples/LDAP/samba.schema $RPM_BUILD_ROOT%{_sysconfdir}/openldap/schema/samba.schema
469
470# winbind
471mkdir -p $RPM_BUILD_ROOT%{_libdir}
472install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
473ln -sf /%{_lib}/libnss_winbind.so.2  $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so
474install -m 755 nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
475ln -sf /%{_lib}/libnss_wins.so.2  $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so
476
477# winbind krb5 locator
478#mkdir -p $RPM_BUILD_ROOT%{_libdir}/krb5/plugins/libkrb5
479install -d -m 0755 %{buildroot}%{_libdir}/krb5/plugins/libkrb5
480install -m 755 source3/bin/winbind_krb5_locator.so $RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
481
482# libraries {
483mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}
484
485# make install puts libraries in the wrong place
486# (but at least gets the versioning right now)
487
488list="smbclient smbsharemodes netapi wbclient"
489for i in $list; do
490    install -m 644 %samba_source/pkgconfig/$i.pc $build_libdir/pkgconfig/ || true
491done
492
493
494/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/
495
496# }
497
498mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
499install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
500
501mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
502install -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba
503
504install -m 755 %samba_source/lib/netapi/examples/bin/netdomjoin-gui $RPM_BUILD_ROOT/%{_sbindir}/netdomjoin-gui
505mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}
506install -m 644 %samba_source/lib/netapi/examples/netdomjoin-gui/samba.ico $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/samba.ico
507install -m 644 %samba_source/lib/netapi/examples/netdomjoin-gui/logo.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/logo.png
508install -m 644 %samba_source/lib/netapi/examples/netdomjoin-gui/logo-small.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}/logo-small.png
509
510#install -m644 %{SOURCE100} $RPM_BUILD_ROOT%{_mandir}/man5/
511
512rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/editreg.1*
513rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
514rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1*
515#rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbget.1*
516rm -f $RPM_BUILD_ROOT%{_mandir}/man5/smbgetrc.5*
517rm -f $RPM_BUILD_ROOT%{_mandir}/man1/vfstest.1*
518rm -f $RPM_BUILD_ROOT%{_mandir}/man1/testprns.1*
519rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmount.8*
520rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbmnt.8*
521rm -f $RPM_BUILD_ROOT%{_mandir}/man8/smbumount.8*
522rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{u,}mount.cifs.8*
523rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{u,}cifs.upcall.8*
524
525rm -f $RPM_BUILD_ROOT%{_sbindir}/{u,}mount.cifs
526rm -f $RPM_BUILD_ROOT%{_sbindir}/cifs.upcall
527
528#Rename ldb tools, as samba3 has an old copy of ldb.
529#mv -f $RPM_BUILD_ROOT%{_bindir}/ldbadd $RPM_BUILD_ROOT%{_bindir}/ldb3add
530#mv -f $RPM_BUILD_ROOT%{_bindir}/ldbdel $RPM_BUILD_ROOT%{_bindir}/ldb3del
531#mv -f $RPM_BUILD_ROOT%{_bindir}/ldbmodify $RPM_BUILD_ROOT%{_bindir}/ldb3modify
532#mv -f $RPM_BUILD_ROOT%{_bindir}/ldbsearch $RPM_BUILD_ROOT%{_bindir}/ldb3search
533#mv -f $RPM_BUILD_ROOT%{_bindir}/ldbrename $RPM_BUILD_ROOT%{_bindir}/ldb3rename
534#mv -f $RPM_BUILD_ROOT%{_bindir}/ldbedit $RPM_BUILD_ROOT%{_bindir}/ldb3edit
535#mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbadd.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3add.1
536#mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbdel.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3del.1
537#mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbedit.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3edit.1
538#mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbmodify.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3modify.1
539#mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbsearch.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3search.1
540#mv -f $RPM_BUILD_ROOT%{_mandir}/man1/ldbrename.1 $RPM_BUILD_ROOT%{_mandir}/man1/ldb3rename.1
541
542#rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.so.*
543#rm -f $RPM_BUILD_ROOT%{_includedir}/talloc.h
544#rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.so
545#rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/talloc.pc
546
547#rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.so.*
548#rm -f $RPM_BUILD_ROOT%{_includedir}/tdb.h
549#rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.so
550#rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/tdb.pc
551rm -f $RPM_BUILD_ROOT%{_bindir}/tdbbackup
552rm -f $RPM_BUILD_ROOT%{_bindir}/tdbdump
553rm -f $RPM_BUILD_ROOT%{_bindir}/tdbtool
554rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8*
555rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8*
556rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8*
557
558%clean
559rm -rf $RPM_BUILD_ROOT
560
561#%pre
562
563%post
564/sbin/chkconfig --add smb
565/sbin/chkconfig --add nmb
566if [ "$1" -ge "1" ]; then
567        /sbin/service smb condrestart >/dev/null 2>&1 || :
568        /sbin/service nmb condrestart >/dev/null 2>&1 || :
569fi
570exit 0
571
572%preun
573if [ $1 = 0 ] ; then
574    /sbin/service smb stop >/dev/null 2>&1 || :
575    /sbin/service nmb stop >/dev/null 2>&1 || :
576    /sbin/chkconfig --del smb
577    /sbin/chkconfig --del nmb
578fi
579exit 0
580
581#%postun
582
583
584%pre winbind
585/usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
586
587%post winbind
588/sbin/chkconfig --add winbind
589
590if [ "$1" -ge "1" ]; then
591        /sbin/service winbind condrestart >/dev/null 2>&1 || :
592fi
593
594%post common
595/sbin/ldconfig
596
597%preun winbind
598if [ $1 = 0 ] ; then
599    /sbin/service winbind stop >/dev/null 2>&1 || :
600    /sbin/chkconfig --del winbind
601fi
602exit 0
603
604%postun common
605/sbin/ldconfig
606
607
608%post -n libsmbclient
609/sbin/ldconfig
610
611%postun -n libsmbclient
612/sbin/ldconfig
613
614%if %build_compat32
615
616%post -n compat32-libsmbclient
617/sbin/ldconfig
618
619%postun -n compat32-libsmbclient
620/sbin/ldconfig
621
622%endif
623
624%files
625%defattr(-,root,root)
626%{_sbindir}/smbd
627%{_sbindir}/nmbd
628%{_bindir}/mksmbpasswd.sh
629%{_bindir}/smbstatus
630%{_bindir}/smbta-util
631%{_bindir}/eventlogadm
632%config(noreplace) %{_sysconfdir}/samba/smbusers
633%attr(755,root,root) %{_initrddir}/smb
634%attr(755,root,root) %{_initrddir}/nmb
635%config(noreplace) %{_sysconfdir}/logrotate.d/samba
636%config(noreplace) %{_sysconfdir}/pam.d/samba
637%{_mandir}/man7/samba.7*
638%{_mandir}/man8/nmbd.8*
639%{_mandir}/man8/smbd.8*
640%{_mandir}/man8/smbta-util.8*
641%{_mandir}/man8/eventlogadm.8*
642%{_mandir}/man8/vfs_*.8*
643%{_libdir}/samba/vfs
644%{_libdir}/samba/auth
645%{_libdir}/samba/charset
646%attr(1777,root,root) %dir /var/spool/samba
647%dir %{_sysconfdir}/openldap/schema
648%{_sysconfdir}/openldap/schema/samba.schema
649
650%doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
651%doc examples/printing
652
653%files swat
654%defattr(-,root,root)
655%config(noreplace) %{_sysconfdir}/xinetd.d/swat
656%{_datadir}/swat
657%{_sbindir}/swat
658%{_mandir}/man8/swat.8*
659%attr(755,root,root) %{_libdir}/samba/*.msg
660
661%files client
662%defattr(-,root,root)
663%{_bindir}/rpcclient
664%{_bindir}/smbcacls
665%{_bindir}/findsmb
666%{_bindir}/smbget
667%{_bindir}/nmblookup
668%{_bindir}/smbclient
669%{_bindir}/smbprint
670%{_bindir}/smbspool
671%{_bindir}/smbtar
672%{_bindir}/smbtree
673%{_bindir}/sharesec
674%{_mandir}/man1/findsmb.1*
675%{_mandir}/man1/nmblookup.1*
676%{_mandir}/man1/rpcclient.1*
677%{_mandir}/man1/smbcacls.1*
678%{_mandir}/man1/smbclient.1*
679%{_mandir}/man1/smbtar.1*
680%{_mandir}/man1/smbtree.1*
681%{_mandir}/man1/smbget.1*
682%{_mandir}/man1/sharesec.1*
683%{_mandir}/man8/smbspool.8*
684
685%files common
686%defattr(-,root,root)
687%attr(755,root,root) /%{_lib}/security/pam_smbpass.so
688%dir %{_libdir}/samba
689%{_libdir}/samba/lowcase.dat
690%{_libdir}/samba/upcase.dat
691%{_libdir}/samba/valid.dat
692%{_libdir}/libnetapi.so
693%{_libdir}/libtevent.so.*
694%attr(755,root,root) %{_libdir}/libnetapi.so.*
695%{_includedir}/netapi.h
696%{_libdir}/pkgconfig/netapi.pc
697%{_bindir}/net
698%{_bindir}/testparm
699%{_bindir}/smbpasswd
700%{_bindir}/pdbedit
701%{_bindir}/profiles
702%{_bindir}/smbcquotas
703%{_bindir}/smbcontrol
704#%{_bindir}/ldb3add
705#%{_bindir}/ldb3del
706#%{_bindir}/ldb3edit
707#%{_bindir}/ldb3modify
708#%{_bindir}/ldb3search
709#%{_bindir}/ldb3rename
710%dir /var/lib/samba
711%attr(700,root,root) %dir /var/lib/samba/private
712%dir /var/lib/samba/scripts
713%config(noreplace) %{_sysconfdir}/samba/smb.conf
714%config(noreplace) %{_sysconfdir}/samba/lmhosts
715%config(noreplace) %{_sysconfdir}/sysconfig/samba
716%dir %{_sysconfdir}/samba
717%attr(0700,root,root) %dir /var/log/samba
718%attr(0700,root,root) %dir /var/log/samba/old
719#%{_mandir}/man1/ldb3add.1.gz
720#%{_mandir}/man1/ldb3del.1.gz
721#%{_mandir}/man1/ldb3edit.1.gz
722#%{_mandir}/man1/ldb3modify.1.gz
723#%{_mandir}/man1/ldb3search.1.gz
724#%{_mandir}/man1/ldb3rename.1.gz
725%{_mandir}/man1/profiles.1*
726%{_mandir}/man1/smbcquotas.1*
727%{_mandir}/man1/smbcontrol.1*
728#%{_mandir}/man1/vfstest.1*
729%{_mandir}/man1/testparm.1*
730%{_mandir}/man1/smbstatus.1*
731%{_mandir}/man5/smbpasswd.5*
732%{_mandir}/man5/smb.conf.5*
733%{_mandir}/man5/lmhosts.5*
734%{_mandir}/man8/smbpasswd.8*
735%{_mandir}/man8/pdbedit.8*
736%{_mandir}/man8/net.8*
737%{_datadir}/locale/*/LC_MESSAGES/net.mo
738
739%doc README COPYING Manifest
740%doc WHATSNEW.txt Roadmap
741
742%files tevent-devel
743%defattr(-,root,root)
744%{_libdir}/libtevent.so
745%{_includedir}/tevent*.h
746
747%files winbind
748%defattr(-,root,root)
749%{_bindir}/ntlm_auth
750%{_bindir}/wbinfo
751%{_libdir}/samba/idmap
752%{_libdir}/samba/nss_info
753%{_sbindir}/winbindd
754%dir /var/run/winbindd
755%attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged
756%config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
757%{_initrddir}/winbind
758%{_mandir}/man1/ntlm_auth.1*
759%{_mandir}/man1/wbinfo.1*
760%{_mandir}/man5/pam_winbind.conf.5*
761%{_mandir}/man8/pam_winbind.8*
762%{_mandir}/man8/winbindd.8*
763%{_mandir}/man8/idmap_*.8*
764%{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo
765
766%files winbind-krb5-locator
767%{_mandir}/man7/winbind_krb5_locator.7*
768%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
769
770%files winbind-clients
771%defattr(-,root,root)
772%{_libdir}/libnss_winbind.so
773/%{_lib}/libnss_winbind.so.2
774%{_libdir}/libnss_wins.so
775/%{_lib}/libnss_wins.so.2
776/%{_lib}/security/pam_winbind.so
777%attr(755,root,root) %{_libdir}/libwbclient.so.*
778
779%files winbind-devel
780%defattr(-,root,root)
781%{_includedir}/wbclient.h
782#%{_includedir}/wbc_async.h
783%{_libdir}/libwbclient.so
784%{_libdir}/pkgconfig/wbclient.pc
785
786%files doc
787%defattr(-,root,root)
788%doc docs/Samba3-Developers-Guide.pdf docs/Samba3-ByExample.pdf
789%doc docs/Samba3-HOWTO.pdf
790%doc docs/htmldocs
791
792%files -n libsmbclient
793%defattr(-,root,root)
794%attr(755,root,root) %{_libdir}/libsmbclient.so.*
795%attr(755,root,root) %{_libdir}/libsmbsharemodes.so.*
796
797%files -n libsmbclient-devel
798%defattr(-,root,root)
799%{_includedir}/libsmbclient.h
800%{_includedir}/smb_share_modes.h
801%{_libdir}/libsmbclient.so
802%{_libdir}/libsmbsharemodes.so
803%{_libdir}/pkgconfig/smbclient.pc
804%{_libdir}/pkgconfig/smbsharemodes.pc
805%{_mandir}/man7/libsmbclient.7*
806
807%files domainjoin-gui
808%defattr(-,root,root)
809%{_sbindir}/netdomjoin-gui
810%dir %{_datadir}/pixmaps/samba
811%{_datadir}/pixmaps/samba/samba.ico
812%{_datadir}/pixmaps/samba/logo.png
813%{_datadir}/pixmaps/samba/logo-small.png
814
815%if %build_compat32
816
817%files -n compat32-%{name}-winbind
818%attr(755,root,root) %{_libdir}/libwbclient.so.*
819
820%files -n compat32-libsmbclient
821%attr(755,root,root) %{_libdir}/libsmbclient.so.*
822%attr(755,root,root) %{_libdir}/libsmbsharemodes.so.*
823
824%files -n compat32-libtevent
825%attr(755,root,root) %{_libdir}/libtevent.so.*
826
827%endif
828
829%changelog
830* Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.25-4
831- added Patch1003-1011.
832  - CVE-2015-5330
833  - CVE-2015-7560
834  - CVE-2015-5370
835  - CVE-2016-2110
836  - CVE-2016-2111
837  - CVE-2016-2112
838  - CVE-2016-2115
839  - CVE-2016-2118
840
841* Sun Jan  3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.25-3
842- added patchs to fix CVE-2015-5252, CVE-2015-5296 and CVE-2015-5296.
843
844* Thu Apr  9 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.6.25-2
845- add compat32-libtevent package
846
847* Mon Feb 23 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.6.25-1
848- new upstream release with security fix (CVE-2015-0240)
849
850* Mon Jun 23 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.6.24-1
851- new upstream release with security fix (CVE-2014-0244,3493)
852
853* Sat Mar 15 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.6.23-1
854- new upstream release with security fix (CVE-2013-4496)
855
856* Sun Jan 05 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.22-1
857- new upstream release.
858
859* Tue Sep 17 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.5.22-1
860- new upstream release for fix CVE-2013-4124
861
862* Fri Feb 15 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.21-1
863- new upstream release.
864
865* Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.15-1
866- new upstream release. (to fix CVE-2012-2111)
867- added charset options to smb.conf.
868
869* Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.14-1
870- new upstream release. (to fix CVE-2012-1182)
871
872* Tue Aug 09 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.11-1
873- new upstream release. (to fix BTS:1189)
874
875* Sat Jul 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
876- new upstream release. (to fix CVE-2011-2522 and CVE-2011-2694)
877
878* Mon Jul 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-3
879- updated Source6.
880
881* Fri Mar 25 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-2
882- fix smb.conf(5).
883
884* Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
885- new upstream release.
886- updated patches.
887- added subpackages 'winbind-krb5-locator' and 'winbind-client'.
888- dropped tdb and talloc subpackages became independent packages.
889- dropped {,u}mount.cifs were included in cifs-utils.
890
891* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.3.10-13
892- rebuilt with rpm-4.8.1 for pkg-config
893- changed spec file name as vine style
894- dropt script lines in %%build that no work
895
896* Sun Feb  7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
897- add patch1000 for fix CVE-2010-0547 (cifs.mount)
898
899* Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
900- new upstream release.
901
902* Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
903- added 'Packager' tag.
904
905* Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
906- new upstream release.
907- added '--disable-fam' option.
908- added 'compat32-*' subpackages.
909- added 'libuuid-devel' to 'BuildRequires:'.
910
911* Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
912- new upstream release.
913
914* Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
915- new upstream release.
916
917* Thu Jun  4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
918- increased release number for libtalloc/libtdb.
919
920* Tue Jun  2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
921- fixed dependency.
922- fixed modulepath.
923
924* Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
925- new upstream release.
926
927* Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
928- rebuilt with openldap-2.4.11
929
930* Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
931- samba-doc: changed Group to Applications/Documentation
932- samba-winbind-devel: changed Group to Development/Libraries
933- libsmbclient: changed Group to System Environment/Libraries
934- libsmbclient-devel: changed Group to Development/Libraries
935- libtalloc: changed Group to System Environment/Libraries
936- libtalloc-devel: changed Group to Development/Libraries
937- libtdb: fixed summary
938          changed Group to System Environment/Libraries
939- libtdb-devel: changed Group to Development/Libraries
940
941* Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
942- new upstream release
943
944* Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
945- new upstream release
946- drop jp patch
947- use UTF-8 as default charset
948- rename samba-libsmbclient to libsmbclient
949
950* Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
951- new upstream release.
952- remove gamin-devel from BuildRequires: (no longer needed).
953
954* Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
955- BuildRequires: gamin-devel (see [wishes:0127])
956
957* Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
958- [SECURITY FIX] add security patches (#50-52)
959  - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
960  - CVE-2007-2446: multiple heap overflows allow remote code execution
961  - CVE-2007-2447: remote command injection vulnerability
962
963* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
964- apply upstream patches (#0-5)
965  - fix an issues with servers set to "security = share" and Vista clients
966    that send NTLMv2 responses
967  - fixe several point-n-print bugs with Vista clients
968  - fix failure when using the Vista backup utility
969  - fix expansion of the %a smb.conf variable for Vista clients
970  - fix MS-DFS referrals with Windows Vista clients
971  - fix for Vista failing to delete directories on a Samba share
972- display service start/stop messages ([VineSeed:13299])
973
974* Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
975- [SECURITY FIX] new upstream release
976  - CVE-2007-0452: potential denial of service bug in smbd
977  - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
978  - CVE-2007-0454: format string bug in afsacl.so vfs plugin
979
980* Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
981- new upstream release
982
983* Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
984- disable swat (via inetd) by default
985- fix code for editing %%{_sysconfdir}/inetd.conf
986
987* Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
988- fix dependencies:
989  - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
990  - drop PreReq: gawk from -client
991  - drop PreReq: inetd from -swat
992  - drop Requires: tcp_wrappers from -swat (is needed by inetd)
993- fix %%post etc...
994  - drop code for editing /etc/services: no more needed
995  - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
996    from %%triggerin swat -- inetd to %%post swat
997  - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
998
999* Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
1000- new upstream release
1001
1002* Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
1003- rebuilt with openldap-2.3.27-0vl1
1004
1005* Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
1006- new upstream release
1007
1008* Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
1009- new upstream release
1010
1011* Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
1012- [SECURITY] new upstream release
1013  - Memory exhaustion DoS against smbd (CVE-2006-3403)
1014- update patches
1015  - buildroot.patch (#100)
1016  - logfiles.patch (#103)
1017  - smb.conf.patch (#106)
1018- update filter-requires-samba.sh (source999)
1019  - get rid of bogus dependency on perl(Unicode::MapUTF8)
1020
1021* Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
1022- new upstream release
1023- renumber patches
1024  - 000- for upstream patches
1025  - 050- for security patches
1026  - 100- for generic patches
1027- update logfiles.patch (#103)
1028- drop warning.patch (#104)
1029- not apply hex.patch (#105)
1030- add smb.conf.patch (#106)
1031- drop samba.log (source1), smb.conf (source2)
1032- use samba.pamd.stack instead of samba.pamd
1033- define macro: pkgingdir
1034- add files:
1035  - samba-client
1036    - %%{_bindir}/{smbget,eventlogadm}
1037  - samba-common:
1038    - %%{_bindir}/tdbtool
1039- separate development files to samba-libsmbclient-devel
1040- change groups
1041
1042* Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
1043- remove unneeded dependencies
1044  - update filter-requires-samba.sh (source999)
1045  - overwrite __find_requires instead of __perl_requires
1046
1047* Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
1048- rebuild with readline-5.1
1049
1050* Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
1051- separate doc package with %%docpkg
1052- use %%htmlview instead of %%browser
1053
1054* Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
1055- add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
1056
1057* Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
1058- new upstream release
1059- install %%{_sysconfdir}/xinetd.d/swat
1060- update filter-requires-samba.sh
1061- add swat.desktop.in instead of swat.desktop
1062  - switch browser by %%browser
1063- drop i18n patches
1064- update logfiles.patch (#3)
1065- add warning.patch (#4)
1066
1067* Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
1068- fix samba.log
1069  - thanks, K. Moriyama [VinePlus:02606]
1070- remove docs/manpages from %%doc
1071
1072* Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
1073- new upstream release
1074- update struplower_m_i18n.patch (#102)
1075- drop obsolete patch (#10)
1076
1077* Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
1078- [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
1079  - add samba-3.0.9-CAN-2004-1154.patch (#10)
1080- update patch (#102)
1081
1082* Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
1083- new upstream release
1084- drop obsolete patches (#10,11,110)
1085- update patches (#3,102)
1086
1087* Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
1088- [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
1089  - add samba-3.0.7-CAN-2004-0882.patch (patch11)
1090- update Source URL
1091
1092* Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
1093- [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
1094  - add samba-3.0.7-CAN-2004-0930.patch (patch10)
1095
1096* Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
1097- update samba.log, {smb,winbind}.init
1098- use *.log as logfile name instead of log.* (patch3)
1099
1100* Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
1101- change directories from %%{_localstatedir}/lock/samba
1102  - LOCKDIR: %%{_localstatedir}/cache/samba
1103  - PIDDIR:  %%{_localstatedir}/run
1104- restart {smb,winbind} at postun (upgrade)
1105- samba-common
1106  - convert smbpasswd at triggerpostun -- samba < 3.0.7
1107  - add convert_smbpasswd
1108  - add PreReq: gawk
1109
1110* Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
1111- add docs_ja (source101) from 3.0.5-16ml
1112
1113* Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
1114- new upstream release (shift to 3.0 series)
1115  - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
1116  - drop obsolete paches, configure options
1117  - update buildroot.patch
1118  - add I18N patches (#101-)
1119  - update smb.conf
1120- add URL
1121- use more macros
1122- change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
1123- move %%{_localstatedir}/log/samba, smbpasswd to samba-common
1124- move smbspool, smbcacls, rpcclient to samba-client
1125- update descriptions
1126
1127* Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
1128- new upstream release
1129
1130* Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
1131- 2.2.11-ja-1.0beta1
1132  - drop patch10
1133- add BuildPreReq: openssl-devel
1134- swat
1135  - add PreReq/Requires: inetd
1136  - add swat.desktop
1137
1138* Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
1139- fix changelog
1140
1141* Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
1142- [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
1143  - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
1144- add BuildPreReq: cups-devel
1145- add Prereq: chkconfig mktemp psmisc (instead of each files)
1146
1147* Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
1148- new upstream release
1149
1150* Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
1151- 2.2.9-ja-1.0beta1
1152- add BuildPreReq: readline-devel
1153
1154* Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
1155- add ldconfig in %%post/%%postun script for libsmbclient
1156
1157* Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
1158- add libsmbclient subpackage.
1159
1160* Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
1161- new upstream release.
1162
1163* Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
1164- fix smb.conf (SAMBADOC's path)
1165
1166* Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
1167- tentatively skip to build examples/VFS on alpha
1168
1169* Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
1170- new upstream release.
1171
1172* Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
1173- fix smb.conf
1174- fix smbadduser
1175
1176* Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
1177- new upstream version
1178
1179* Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
1180- added smbinit-vine.patch
1181        -- added '-D' option in smbd and nmbd
1182
1183* Thu Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
1184- New upstream version
1185        -- security fix.
1186
1187* Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1188- 2.2.7a.ja-1.0vl5
1189- merged from SPEC for RH60 by samba-jp.
1190
1191* Mon Feb 17  2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1192- 2.2.7a.ja-1.0vl4.beta1
1193- fix 'Requires:'.
1194
1195* Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1196- 2.2.7a.ja-1.0vl3.alpha1
1197- disable --with-tdbsam.
1198
1199* Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1200- 2.2.7a.ja-1.0vl2.alpha1
1201- modify %%post script for new password database.
1202
1203* Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1204- 2.2.7a.ja-1.0vl1.alpha1
1205
1206* Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1207- 2.2.6.ja-1.0vl1.alpha2
1208- apply alpha2 patch.
1209
1210* Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1211- 2.2.6.ja-1.0vl1.alpha1
1212- remove swat from package 'samba'.
1213
1214* Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1215- 2.2.6.ja-1.0vl0.alpha1
1216- enable winbind modules.
1217- change numbering rule.
1218
1219* Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1220- 2.2.6_ja_0.alpha1-0vl1
1221
1222* Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1223- 2.2.4_ja_0.alpha1.3-0vl1
1224
1225* Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1226- 2.2.2_ja_1.1-0vl1
1227- disable winbind modules (2.2.2 or earlier has critical bugs).
1228- modify 'Requires:'.
1229
1230* Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1231- 2.2.2_ja_1.1-0vl0
1232- shift sources to 2.2.x.
1233- add debugging mode for '%%files' section.
1234- modify spec largely because of too many difference between 2.0.x and 2.2.x.
1235-  . exchange %%prep, %%build, %%install section with samba-jp's spec.
1236-  . create a package 'samba-swat'.
1237-  . move smbclient and nmblookup to samba-common.
1238-  . move testprns to package 'samba' because it's checking tool for
1239-    server on LOCALHOST.
1240-  . move '%%post' to '%%post swat'.
1241-  . disable '%%post common'.
1242
1243* Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
1244- 2.0.10_ja_1.2
1245
1246* Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
1247- 2.0.10_ja_1.1-0vl4
1248- eliminate executable bit in %%doc to erase perl/sh requirement
1249
1250* Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
1251- 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
1252- patch swat/ja/help/welcome.html to hide some missing matter
1253- also remove docs/zh_{CN,TW} files in %%doc
1254
1255* Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
1256- for VineSeed
1257- deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
1258
1259* Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
1260- 2.0.10_ja_1.1
1261- for 2.1.x update
1262
1263* Fri Aug 17 2001 <sagami@vinelinux.org>
1264- 2.0.10_ja_1.0-0vl2
1265- remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
1266
1267* Mon Jul 09 2001 <sagami@vinelinux.org>
1268- 2.0.10_ja_1.0-0vl1: includes secrity fix
1269 (http://www.samba.org/samba/whatsnew/macroexploit.html)
1270- remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
1271
1272* Thu May 31 2001 <sagami@vinelinux.org>
1273- 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
1274- added BuildPreReq = pam-devel for Vine 2.1.5+
1275- fixed init script to match our current/old style
1276- eliminate CVS related files from %%doc
1277
1278* Thu Apr 19 2001 <sagami@vinelinux.org>
1279- 2.0.7_ja_2.2-0vl1
1280
1281* Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
1282- 2.0.7_ja_1.3-0vl2
1283- rebuilt with readline2
1284- use better macros (although not almost complete... needs comfirmation)
1285
1286* Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
1287- 2.0.7_ja_1.3-0vl1
1288
1289* Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
1290- 2.0.7_ja_1.2.1-0vl2
1291- fixed missing Changelog.ja (was Chagelog.ja)
1292
1293* Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
1294- updated to 2.0.7-ja-1.2.1
1295
1296* Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1297- updated to 2.0.7-ja-1.2
1298
1299* Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1300- added some Japanese documents to %doc
1301
1302* Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1303- updated to 2.0.7-ja-1.0
1304
1305* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1306- updated to 2.0.7-ja-0.99
1307
1308* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1309- added rpccilent
1310- modified tcpdconf for stability.
1311
1312* Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1313- first test release for Vine based on RH6.2 spec file.
1314- activated swat in default for only localhost.
1315
1316* Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
1317- fix trigger, again.
1318
1319* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
1320- fix trigger.
1321
1322* Fri Feb  4 2000 Bill Nottingham <notting@redhat.com>
1323- turn on quota support
1324
1325* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
1326- rebuild to fox dependencies
1327- man pages are compressed
1328
1329* Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
1330- munge post scripts slightly
1331
1332* Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
1333- turn on mmap again. Wheee.
1334- ship smbmount on alpha
1335
1336* Mon Dec  6 1999 Bill Nottingham <notting@redhat.com>
1337- turn off mmap. ;)
1338
1339* Wed Dec  1 1999 Bill Nottingham <notting@redhat.com>
1340- change /var/log/samba to 0700
1341- turn on mmap support
1342
1343* Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
1344- update to 2.0.6
1345
1346* Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
1347- add a %defattr for -common
1348
1349* Tue Oct  5 1999 Bill Nottingham <notting@redhat.com>
1350- shift some files into -client
1351- remove /home/samba from package.
1352
1353* Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
1354- initscript oopsie. killproc <name> -HUP, not other way around.
1355
1356* Sun Sep 26 1999 Bill Nottingham <notting@redhat.com>
1357- script cleanups. Again.
1358
1359* Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
1360- add a patch to fix dropped reconnection attempts
1361
1362* Mon Sep  6 1999 Jeff Johnson <jbj@redhat.com>
1363- use cp rather than mv to preserve /etc/services perms (#4938 et al).
1364- use mktemp to generate /etc/tmp.XXXXXX file name.
1365- add prereqs on sed/mktemp/killall (need to move killall to /bin).
1366- fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
1367
1368* Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
1369- sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
1370
1371* Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
1372- fix typo in mount.smb
1373
1374* Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
1375- add a %trigger to work around (sort of) broken scripts in
1376  previous releases
1377
1378* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
1379- initscript munging
1380
1381* Mon Aug  9 1999 Bill Nottingham <notting@redhat.com>
1382- add domain parsing to mount.smb
1383
1384* Fri Aug  6 1999 Bill Nottingham <notting@redhat.com>
1385- add a -common package, shuffle files around.
1386
1387* Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
1388- add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
1389
1390* Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
1391- update to 2.0.5
1392- fix mount.smb - smbmount options changed again.........
1393- fix postun. oops.
1394- update some stuff from the samba team's spec file.
1395
1396* Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
1397- split off clients into separate package
1398- don't run samba by default
1399
1400* Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
1401- fix one problem with mount.smb script
1402- fix smbpasswd on sparc with a really ugly kludge
1403
1404* Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
1405- fixed logrotate script
1406
1407* Tue May 25 1999 Bill Nottingham <notting@redhat.com>
1408- turn of 64-bit locking on 32-bit platforms
1409
1410* Thu May 20 1999 Bill Nottingham <notting@redhat.com>
1411- so many releases, so little time
1412- explicitly uncomment 'printing = bsd' in sample config
1413
1414* Tue May 18 1999 Bill Nottingham <notting@redhat.com>
1415- update to 2.0.4a
1416- fix mount.smb arg ordering
1417
1418* Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
1419- go back to stop/start for restart (-HUP didn't work in testing)
1420
1421* Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
1422- add a mount.smb to make smb mounting a little easier.
1423- smb filesystems apparently don't work on alpha. Oops.
1424
1425* Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
1426- always create codepages
1427
1428* Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
1429- logrotate changes
1430
1431* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
1432- auto rebuild in the new build environment (release 3)
1433
1434* Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
1435- updated init script to use graceful restart (not stop/start)
1436
1437* Tue Mar  9 1999 Bill Nottingham <notting@redhat.com>
1438- update to 2.0.3
1439
1440* Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
1441- update to 2.0.2
1442
1443* Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
1444- swat swat
1445
1446* Tue Feb  9 1999 Bill Nottingham <notting@redhat.com>
1447- fix bash2 breakage in post script
1448
1449* Fri Feb  5 1999 Bill Nottingham <notting@redhat.com>
1450- update to 2.0.0
1451
1452* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
1453- make sure all binaries are stripped
1454
1455* Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
1456- update to 1.9.18p10.
1457- fix %triggerpostun.
1458
1459* Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
1460- updated postun triggerscript to check $0
1461- clear /etc/codepages from %preun instead of %postun
1462
1463* Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
1464- made the %postun script a tad less agressive; no reason to remove
1465  the logs or lock file (after all, if the lock file is still there,
1466  samba is still running)
1467- the %postun and %preun should only exectute if this is the final
1468  removal
1469- migrated %triggerpostun from Red Hat's samba package to work around
1470  packaging problems in some Red Hat samba releases
1471
1472* Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
1473- minor tidy up in preparation for release of 1.9.18p5
1474- added findsmb utility from SGI package
1475
1476* Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
1477- Updated version and codepage info.
1478- Release to test name resolve order
1479
1480* Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
1481- Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
1482- Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
1483- Compounded make line
1484- Updated smb.init restart mechanism
1485- Use compound mkdir -p line instead of individual calls to mkdir
1486- Fixed smb.conf file path for log files
1487- Fixed smb.conf file path for incoming smb print spool directory
1488- Added a number of options to smb.conf file
1489- Added smbadduser command (missed from all previous RPMs) - Doooh!
1490- Added smbuser file and smb.conf file updates for username map
1491
Note: See TracBrowser for help on using the repository browser.