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

Revision 8598, 46.9 KB checked in by iwamoto, 10 years ago (diff)

samba: update to 3.6.24

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