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

Revision 10014, 47.9 KB checked in by tomop, 8 years ago (diff)

samba-3.6.25-3

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