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

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

samba-3.5.8-1

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