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

Revision 3099, 45.2 KB checked in by tomop, 13 years ago (diff)

samba-3.5.8-2

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