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

Revision 6120, 45.8 KB checked in by tomop, 12 years ago (diff)

samba-3.5.15-1

Line 
1%define tdb_version 1.2.9
2%define talloc_version 2.0.5
3%define samba_version 3.5.15
4%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
5
6%define samba_release 1
7
8%define samba_source source3
9
10Summary: The Samba Suite of programs
11Summary(ja): Samba スイート
12Name: samba
13Version: %{samba_version}
14Release: %{samba_release}%{?_dist_release}
15License: GPLv3+ and LGPLv3+
16Group: System Environment/Daemons
17URL: http://www.samba.org/
18
19Source: http://www.samba.org/samba/ftp/%{name}-%{version}.tar.gz
20
21# Vine specific replacement-files
22Source1: samba.log
23Source2: samba.xinetd
24Source3: swat.desktop
25Source4: samba.sysconfig
26Source5: smb.init
27Source6: samba.pamd
28Source7: smbprint
29Source8: winbind.init
30Source9: smb.conf.default
31Source10: nmb.init
32Source11: pam_winbind.conf
33
34# fixed manual
35Source100: smb.conf.5
36
37# Don't depend on Net::LDAP
38Source999: filter-requires-samba.sh
39
40# upstream patches.  Applied first so that they'll break our patches rather
41# than the other way around
42# (none right now)
43
44# generic patches
45Patch102: samba-3.2.0pre1-pipedir.patch
46Patch104: samba-3.0.0rc3-nmbd-netbiosname.patch
47# The passwd part has been applied, but not the group part
48Patch107: samba-3.2.0pre1-grouppwd.patch
49Patch200: samba-3.2.5-inotify.patch
50
51Requires(pre): samba-common = %{version}-%{release}
52Requires: pam >= 0:0.64
53Requires: logrotate >= 0:3.4
54Requires: krb5-libs, libacl, libattr
55BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
56Requires(post): /sbin/chkconfig, /sbin/service
57Requires(preun): /sbin/chkconfig, /sbin/service
58BuildRequires: net-tools
59BuildRequires: pam-devel, readline-devel, ncurses-devel, libacl-devel
60BuildRequires: krb5-devel, openldap-devel, openssl-devel, cups-devel
61BuildRequires: autoconf, gawk, popt-devel, gtk2-devel, libcap-devel
62BuildRequires: libtalloc-devel, libtdb-devel
63
64%if %{?_dist_release}!="vl5"
65BuildRequires: libuuid-devel
66%endif
67
68# Working around perl dependency problem from docs
69%define __perl_requires %{SOURCE999}
70
71
72Vendor:         Project Vine
73Distribution:   Vine Linux
74Packager:       tomop
75
76
77%description
78Samba is the suite of programs by which a lot of PC-related machines
79share files, printers, and other information (such as lists of
80available files and printers). The Windows NT, OS/2, and Linux
81operating systems support this natively, and add-on packages can
82enable the same thing for DOS, Windows, VMS, UNIX of all kinds, MVS,
83and more. This package provides an SMB/CIFS server that can be used to
84provide network services to SMB/CIFS clients.
85Samba uses NetBIOS over TCP/IP (NetBT) protocols and does NOT
86need the NetBEUI (Microsoft Raw NetBIOS frame) protocol.
87
88%description -l ja
89Samba は Microsoft Windows や OS/2、その他の Linux マシンを含む SMB/CIFS
90クライアントにネットワークファイル・プリンタ共有サービスを提供します。
91Samba は NetBIOS over TCP/IP (NetBT, NBT) プロトコルを使用しますので、
92NetBUEI (Microsoft Raw NetBIOS frame) プロトコルは必要ありません。
93
94
95%package client
96Summary: Samba client programs
97Summary(ja): Samba クライアントプログラム
98Group: Applications/System
99Requires: samba-common = %{samba_version}-%{release}
100Obsoletes: smbfs
101
102%description client
103The samba-client package provides some SMB/CIFS clients to complement
104the built-in SMB/CIFS filesystem in Linux. These clients allow access
105of SMB/CIFS shares and printing to SMB/CIFS printers.
106
107%description client -l ja
108samba-client は Linux カーネルがサポートしている SMB ファイルシステム
109機能を操作する SMB クライアントを提供します。
110これらは SMB 共有のアクセスと SMB プリンタへの印刷を実現します。
111
112
113%package common
114Summary: Files used by both Samba servers and clients
115Summary(ja): Samba サーバーとクライアントの両方に使用されるファイル
116Requires: libtdb >= %{tdb_version}
117Requires: libtalloc >= %{talloc_version}
118Group: Applications/System
119Requires(pre): /usr/sbin/groupadd
120Requires(post): /sbin/chkconfig, /sbin/service, coreutils
121Requires(preun): /sbin/chkconfig, /sbin/service
122
123%description common
124Samba-common provides files necessary for both the server and client
125packages of Samba.
126
127%description common -l ja
128samba-common は Samba のサーバーとクライアントの両方のパッケージで
129使用される共通のファイルを提供します。
130
131
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
464#install -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* Wed May 02 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.15-1
774- new upstream release. (to fix CVE-2012-2111)
775- added charset options to smb.conf.
776
777* Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.14-1
778- new upstream release. (to fix CVE-2012-1182)
779
780* Tue Aug 09 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.11-1
781- new upstream release. (to fix BTS:1189)
782
783* Sat Jul 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
784- new upstream release. (to fix CVE-2011-2522 and CVE-2011-2694)
785
786* Mon Jul 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-3
787- updated Source6.
788
789* Fri Mar 25 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-2
790- fix smb.conf(5).
791
792* Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
793- new upstream release.
794- updated patches.
795- added subpackages 'winbind-krb5-locator' and 'winbind-client'.
796- dropped tdb and talloc subpackages became independent packages.
797- dropped {,u}mount.cifs were included in cifs-utils.
798
799* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.3.10-13
800- rebuilt with rpm-4.8.1 for pkg-config
801- changed spec file name as vine style
802- dropt script lines in %%build that no work
803
804* Sun Feb  7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.3.10-12
805- add patch1000 for fix CVE-2010-0547 (cifs.mount)
806
807* Sat Jan 30 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-11
808- new upstream release.
809
810* Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-10
811- added 'Packager' tag.
812
813* Sun Oct 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.9-9
814- new upstream release.
815- added '--disable-fam' option.
816- added 'compat32-*' subpackages.
817- added 'libuuid-devel' to 'BuildRequires:'.
818
819* Thu Jul 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.7-7
820- new upstream release.
821
822* Thu Jun 25 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.6-6
823- new upstream release.
824
825* Thu Jun  4 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-5
826- increased release number for libtalloc/libtdb.
827
828* Tue Jun  2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-2
829- fixed dependency.
830- fixed modulepath.
831
832* Fri May 29 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.4-1
833- new upstream release.
834
835* Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.5-4
836- rebuilt with openldap-2.4.11
837
838* Sat Jan 17 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 3.2.5-3
839- samba-doc: changed Group to Applications/Documentation
840- samba-winbind-devel: changed Group to Development/Libraries
841- libsmbclient: changed Group to System Environment/Libraries
842- libsmbclient-devel: changed Group to Development/Libraries
843- libtalloc: changed Group to System Environment/Libraries
844- libtalloc-devel: changed Group to Development/Libraries
845- libtdb: fixed summary
846          changed Group to System Environment/Libraries
847- libtdb-devel: changed Group to Development/Libraries
848
849* Thu Dec 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-2
850- new upstream release
851
852* Sat Nov 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-1
853- new upstream release
854- drop jp patch
855- use UTF-8 as default charset
856- rename samba-libsmbclient to libsmbclient
857
858* Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.28a-1
859- new upstream release.
860- remove gamin-devel from BuildRequires: (no longer needed).
861
862* Sat Sep 15 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.24-0vl4
863- BuildRequires: gamin-devel (see [wishes:0127])
864
865* Wed May 16 2007 KAZUKI SHIMURA <ksh753@gmail.com> 3.0.24-0vl3
866- [SECURITY FIX] add security patches (#50-52)
867  - CVE-2007-2444: local SID/Name translation bug (user privilege elevation)
868  - CVE-2007-2446: multiple heap overflows allow remote code execution
869  - CVE-2007-2447: remote command injection vulnerability
870
871* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl2
872- apply upstream patches (#0-5)
873  - fix an issues with servers set to "security = share" and Vista clients
874    that send NTLMv2 responses
875  - fixe several point-n-print bugs with Vista clients
876  - fix failure when using the Vista backup utility
877  - fix expansion of the %a smb.conf variable for Vista clients
878  - fix MS-DFS referrals with Windows Vista clients
879  - fix for Vista failing to delete directories on a Samba share
880- display service start/stop messages ([VineSeed:13299])
881
882* Wed Feb 14 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.24-0vl1
883- [SECURITY FIX] new upstream release
884  - CVE-2007-0452: potential denial of service bug in smbd
885  - CVE-2007-0453: buffer overrun in NSS host lookup winbind library on Solaris
886  - CVE-2007-0454: format string bug in afsacl.so vfs plugin
887
888* Thu Dec 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23d-0vl1
889- new upstream release
890
891* Sun Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl3
892- disable swat (via inetd) by default
893- fix code for editing %%{_sysconfdir}/inetd.conf
894
895* Sun Sep 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl2
896- fix dependencies:
897  - move PreReq: mktemp, psmisc, fileutils, sed, gawk, grep to -swat
898  - drop PreReq: gawk from -client
899  - drop PreReq: inetd from -swat
900  - drop Requires: tcp_wrappers from -swat (is needed by inetd)
901- fix %%post etc...
902  - drop code for editing /etc/services: no more needed
903  - move code for editing %%{_sysconfdir}/{hosts.*,inetd.conf}
904    from %%triggerin swat -- inetd to %%post swat
905  - check if %%{_sysconfdir}/inetd.conf exist before updating at %%postun
906
907* Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23c-0vl1
908- new upstream release
909
910* Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.23b-0vl2
911- rebuilt with openldap-2.3.27-0vl1
912
913* Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23b-0vl1
914- new upstream release
915
916* Fri Jul 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23a-0vl1
917- new upstream release
918
919* Sat Jul 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.23-0vl1
920- [SECURITY] new upstream release
921  - Memory exhaustion DoS against smbd (CVE-2006-3403)
922- update patches
923  - buildroot.patch (#100)
924  - logfiles.patch (#103)
925  - smb.conf.patch (#106)
926- update filter-requires-samba.sh (source999)
927  - get rid of bogus dependency on perl(Unicode::MapUTF8)
928
929* Fri Jun 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.22-0vl1
930- new upstream release
931- renumber patches
932  - 000- for upstream patches
933  - 050- for security patches
934  - 100- for generic patches
935- update logfiles.patch (#103)
936- drop warning.patch (#104)
937- not apply hex.patch (#105)
938- add smb.conf.patch (#106)
939- drop samba.log (source1), smb.conf (source2)
940- use samba.pamd.stack instead of samba.pamd
941- define macro: pkgingdir
942- add files:
943  - samba-client
944    - %%{_bindir}/{smbget,eventlogadm}
945  - samba-common:
946    - %%{_bindir}/tdbtool
947- separate development files to samba-libsmbclient-devel
948- change groups
949
950* Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl5
951- remove unneeded dependencies
952  - update filter-requires-samba.sh (source999)
953  - overwrite __find_requires instead of __perl_requires
954
955* Tue Mar 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl4
956- rebuild with readline-5.1
957
958* Sat Aug 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl3
959- separate doc package with %%docpkg
960- use %%htmlview instead of %%browser
961
962* Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl2
963- add %%config(noreplace) against %%{_sysconfdir}/xinetd.d/swat
964
965* Fri Jul 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.14a-0vl1
966- new upstream release
967- install %%{_sysconfdir}/xinetd.d/swat
968- update filter-requires-samba.sh
969- add swat.desktop.in instead of swat.desktop
970  - switch browser by %%browser
971- drop i18n patches
972- update logfiles.patch (#3)
973- add warning.patch (#4)
974
975* Sun Jul 10 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl2
976- fix samba.log
977  - thanks, K. Moriyama [VinePlus:02606]
978- remove docs/manpages from %%doc
979
980* Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.10-0vl1
981- new upstream release
982- update struplower_m_i18n.patch (#102)
983- drop obsolete patch (#10)
984
985* Fri Dec 17 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl2
986- [SECURITY FIX] fix possible remote code execution (CAN-2004-1154)
987  - add samba-3.0.9-CAN-2004-1154.patch (#10)
988- update patch (#102)
989
990* Fri Nov 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.9-0vl1
991- new upstream release
992- drop obsolete patches (#10,11,110)
993- update patches (#3,102)
994
995* Sun Nov 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl6
996- [SECURITY FIX] fix smbd buffer overrun (CAN-2004-0882)
997  - add samba-3.0.7-CAN-2004-0882.patch (patch11)
998- update Source URL
999
1000* Tue Nov 09 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl5
1001- [SECURITY FIX] fix smbd remote DoS vulnerability (CAN-2004-0930)
1002  - add samba-3.0.7-CAN-2004-0930.patch (patch10)
1003
1004* Fri Oct 15 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl4
1005- update samba.log, {smb,winbind}.init
1006- use *.log as logfile name instead of log.* (patch3)
1007
1008* Wed Oct 06 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl3
1009- change directories from %%{_localstatedir}/lock/samba
1010  - LOCKDIR: %%{_localstatedir}/cache/samba
1011  - PIDDIR:  %%{_localstatedir}/run
1012- restart {smb,winbind} at postun (upgrade)
1013- samba-common
1014  - convert smbpasswd at triggerpostun -- samba < 3.0.7
1015  - add convert_smbpasswd
1016  - add PreReq: gawk
1017
1018* Sat Sep 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl2
1019- add docs_ja (source101) from 3.0.5-16ml
1020
1021* Wed Sep 22 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.7-0vl1
1022- new upstream release (shift to 3.0 series)
1023  - refer to 3.0.6-3 (Fedora Core), 3.0.5-16ml (MIRACLE)
1024  - drop obsolete paches, configure options
1025  - update buildroot.patch
1026  - add I18N patches (#101-)
1027  - update smb.conf
1028- add URL
1029- use more macros
1030- change LIBDIR from %%{_sysconfdir}/samba to %%{_libdir}/samba
1031- move %%{_localstatedir}/log/samba, smbpasswd to samba-common
1032- move smbspool, smbcacls, rpcclient to samba-client
1033- update descriptions
1034
1035* Wed Sep 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl1
1036- new upstream release
1037
1038* Wed Sep 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.11.ja.1.0-0vl0.beta1
1039- 2.2.11-ja-1.0beta1
1040  - drop patch10
1041- add BuildPreReq: openssl-devel
1042- swat
1043  - add PreReq/Requires: inetd
1044  - add swat.desktop
1045
1046* Sun Jul 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl3
1047- fix changelog
1048
1049* Sat Jul 24 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl2
1050- [SECURITY FIX] fix buffer overflow (CAN-2004-0686)
1051  - add samba-2.2.9-ja-1.0-mangle.patch (Patch10)
1052- add BuildPreReq: cups-devel
1053- add Prereq: chkconfig mktemp psmisc (instead of each files)
1054
1055* Thu Jun 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl1
1056- new upstream release
1057
1058* Thu May 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.9.ja.1.0-0vl0.beta1
1059- 2.2.9-ja-1.0beta1
1060- add BuildPreReq: readline-devel
1061
1062* Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl3
1063- add ldconfig in %%post/%%postun script for libsmbclient
1064
1065* Sat Jan 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8a.ja.1.1-0vl2
1066- add libsmbclient subpackage.
1067
1068* Thu Sep 11 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja.1.1-0vl1
1069- new upstream release.
1070
1071* Sat Aug 09 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.8a.ja-1.0vl3
1072- fix smb.conf (SAMBADOC's path)
1073
1074* Tue May 27 2003 Tomoya TAKA <taka@vinelinux.org> 2.2.8a.ja-1.0vl2
1075- tentatively skip to build examples/VFS on alpha
1076
1077* Tue May 27 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8a.ja-1.0vl1
1078- new upstream release.
1079
1080* Mon May 19 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.7b.ja-1.0vl2
1081- fix smb.conf
1082- fix smbadduser
1083
1084* Thu Apr 17 2003 KAZUKI SHIMURA <rito@pos.to> 2.2.7b.ja-1.0vl1
1085- new upstream version
1086
1087* Sun Mar 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl2
1088- added smbinit-vine.patch
1089        -- added '-D' option in smbd and nmbd
1090
1091* Fri Mar 20 2003 Satoshi MACHINO <machino@vinelinux.org> 2.2.7a.ja-1.1vl1
1092- New upstream version
1093        -- security fix.
1094
1095* Wed Feb 26 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1096- 2.2.7a.ja-1.0vl5
1097- merged from SPEC for RH60 by samba-jp.
1098
1099* Mon Feb 17  2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1100- 2.2.7a.ja-1.0vl4.beta1
1101- fix 'Requires:'.
1102
1103* Tue Jan 28 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1104- 2.2.7a.ja-1.0vl3.alpha1
1105- disable --with-tdbsam.
1106
1107* Sat Dec 28 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1108- 2.2.7a.ja-1.0vl2.alpha1
1109- modify %%post script for new password database.
1110
1111* Fri Dec 27 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1112- 2.2.7a.ja-1.0vl1.alpha1
1113
1114* Tue Nov 19 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1115- 2.2.6.ja-1.0vl1.alpha2
1116- apply alpha2 patch.
1117
1118* Fri Nov 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1119- 2.2.6.ja-1.0vl1.alpha1
1120- remove swat from package 'samba'.
1121
1122* Thu Nov 14 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1123- 2.2.6.ja-1.0vl0.alpha1
1124- enable winbind modules.
1125- change numbering rule.
1126
1127* Thu Oct 24 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1128- 2.2.6_ja_0.alpha1-0vl1
1129
1130* Tue Jun 11 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1131- 2.2.4_ja_0.alpha1.3-0vl1
1132
1133* Sun Mar 17 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1134- 2.2.2_ja_1.1-0vl1
1135- disable winbind modules (2.2.2 or earlier has critical bugs).
1136- modify 'Requires:'.
1137
1138* Fri Mar 15 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1139- 2.2.2_ja_1.1-0vl0
1140- shift sources to 2.2.x.
1141- add debugging mode for '%%files' section.
1142- modify spec largely because of too many difference between 2.0.x and 2.2.x.
1143-  . exchange %%prep, %%build, %%install section with samba-jp's spec.
1144-  . create a package 'samba-swat'.
1145-  . move smbclient and nmblookup to samba-common.
1146-  . move testprns to package 'samba' because it's checking tool for
1147-    server on LOCALHOST.
1148-  . move '%%post' to '%%post swat'.
1149-  . disable '%%post common'.
1150
1151* Sun Dec 02 2001 Toru Sagami <sagami@vinelinux.org>
1152- 2.0.10_ja_1.2
1153
1154* Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
1155- 2.0.10_ja_1.1-0vl4
1156- eliminate executable bit in %%doc to erase perl/sh requirement
1157
1158* Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
1159- 2.0.10_ja_1.1-0vl3: s/$RPM_BUILD_ROOT/%%{buildroot}/
1160- patch swat/ja/help/welcome.html to hide some missing matter
1161- also remove docs/zh_{CN,TW} files in %%doc
1162
1163* Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl2
1164- for VineSeed
1165- deleted %%define _syssbindir and _localedir (defined in rpmmacros in rpm-3.0.6-0vl14)
1166
1167* Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 2.0.10_ja_1.1-0vl1
1168- 2.0.10_ja_1.1
1169- for 2.1.x update
1170
1171* Fri Aug 17 2001 <sagami@vinelinux.org>
1172- 2.0.10_ja_1.0-0vl2
1173- remove almost duplicated docs/{,ja/}{manpages,yodldocs} files in %%doc
1174
1175* Mon Jul 09 2001 <sagami@vinelinux.org>
1176- 2.0.10_ja_1.0-0vl1: includes secrity fix
1177 (http://www.samba.org/samba/whatsnew/macroexploit.html)
1178- remove using_samba, HowToUseSamba and docs/ja_JP.SJIS directory from %%doc
1179
1180* Thu May 31 2001 <sagami@vinelinux.org>
1181- 2.0.9_ja_1.0-0vl1: added swat/ja/help/HowToUseSamba
1182- added BuildPreReq = pam-devel for Vine 2.1.5+
1183- fixed init script to match our current/old style
1184- eliminate CVS related files from %%doc
1185
1186* Thu Apr 19 2001 <sagami@vinelinux.org>
1187- 2.0.7_ja_2.2-0vl1
1188
1189* Thu Dec 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
1190- 2.0.7_ja_1.3-0vl2
1191- rebuilt with readline2
1192- use better macros (although not almost complete... needs comfirmation)
1193
1194* Tue Sep 19 2000 Jun Nishii <jun@vinelinux.org>
1195- 2.0.7_ja_1.3-0vl1
1196
1197* Tue Sep 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
1198- 2.0.7_ja_1.2.1-0vl2
1199- fixed missing Changelog.ja (was Chagelog.ja)
1200
1201* Tue Sep 12 2000 Jun Nishii <jun@vinelinux.org>
1202- updated to 2.0.7-ja-1.2.1
1203
1204* Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1205- updated to 2.0.7-ja-1.2
1206
1207* Tue Jul 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1208- added some Japanese documents to %doc
1209
1210* Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1211- updated to 2.0.7-ja-1.0
1212
1213* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1214- updated to 2.0.7-ja-0.99
1215
1216* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1217- added rpccilent
1218- modified tcpdconf for stability.
1219
1220* Fri May 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
1221- first test release for Vine based on RH6.2 spec file.
1222- activated swat in default for only localhost.
1223
1224* Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
1225- fix trigger, again.
1226
1227* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
1228- fix trigger.
1229
1230* Fri Feb  4 2000 Bill Nottingham <notting@redhat.com>
1231- turn on quota support
1232
1233* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
1234- rebuild to fox dependencies
1235- man pages are compressed
1236
1237* Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
1238- munge post scripts slightly
1239
1240* Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
1241- turn on mmap again. Wheee.
1242- ship smbmount on alpha
1243
1244* Mon Dec  6 1999 Bill Nottingham <notting@redhat.com>
1245- turn off mmap. ;)
1246
1247* Wed Dec  1 1999 Bill Nottingham <notting@redhat.com>
1248- change /var/log/samba to 0700
1249- turn on mmap support
1250
1251* Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
1252- update to 2.0.6
1253
1254* Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
1255- add a %defattr for -common
1256
1257* Tue Oct  5 1999 Bill Nottingham <notting@redhat.com>
1258- shift some files into -client
1259- remove /home/samba from package.
1260
1261* Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
1262- initscript oopsie. killproc <name> -HUP, not other way around.
1263
1264* Sat Sep 26 1999 Bill Nottingham <notting@redhat.com>
1265- script cleanups. Again.
1266
1267* Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
1268- add a patch to fix dropped reconnection attempts
1269
1270* Mon Sep  6 1999 Jeff Johnson <jbj@redhat.com>
1271- use cp rather than mv to preserve /etc/services perms (#4938 et al).
1272- use mktemp to generate /etc/tmp.XXXXXX file name.
1273- add prereqs on sed/mktemp/killall (need to move killall to /bin).
1274- fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
1275
1276* Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
1277- sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
1278
1279* Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
1280- fix typo in mount.smb
1281
1282* Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
1283- add a %trigger to work around (sort of) broken scripts in
1284  previous releases
1285
1286* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
1287- initscript munging
1288
1289* Mon Aug  9 1999 Bill Nottingham <notting@redhat.com>
1290- add domain parsing to mount.smb
1291
1292* Fri Aug  6 1999 Bill Nottingham <notting@redhat.com>
1293- add a -common package, shuffle files around.
1294
1295* Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
1296- add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
1297
1298* Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
1299- update to 2.0.5
1300- fix mount.smb - smbmount options changed again.........
1301- fix postun. oops.
1302- update some stuff from the samba team's spec file.
1303
1304* Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
1305- split off clients into separate package
1306- don't run samba by default
1307
1308* Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
1309- fix one problem with mount.smb script
1310- fix smbpasswd on sparc with a really ugly kludge
1311
1312* Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
1313- fixed logrotate script
1314
1315* Tue May 25 1999 Bill Nottingham <notting@redhat.com>
1316- turn of 64-bit locking on 32-bit platforms
1317
1318* Thu May 20 1999 Bill Nottingham <notting@redhat.com>
1319- so many releases, so little time
1320- explicitly uncomment 'printing = bsd' in sample config
1321
1322* Tue May 18 1999 Bill Nottingham <notting@redhat.com>
1323- update to 2.0.4a
1324- fix mount.smb arg ordering
1325
1326* Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
1327- go back to stop/start for restart (-HUP didn't work in testing)
1328
1329* Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
1330- add a mount.smb to make smb mounting a little easier.
1331- smb filesystems apparently don't work on alpha. Oops.
1332
1333* Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
1334- always create codepages
1335
1336* Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
1337- logrotate changes
1338
1339* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
1340- auto rebuild in the new build environment (release 3)
1341
1342* Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
1343- updated init script to use graceful restart (not stop/start)
1344
1345* Tue Mar  9 1999 Bill Nottingham <notting@redhat.com>
1346- update to 2.0.3
1347
1348* Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
1349- update to 2.0.2
1350
1351* Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
1352- swat swat
1353
1354* Tue Feb  9 1999 Bill Nottingham <notting@redhat.com>
1355- fix bash2 breakage in post script
1356
1357* Fri Feb  5 1999 Bill Nottingham <notting@redhat.com>
1358- update to 2.0.0
1359
1360* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
1361- make sure all binaries are stripped
1362
1363* Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
1364- update to 1.9.18p10.
1365- fix %triggerpostun.
1366
1367* Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
1368- updated postun triggerscript to check $0
1369- clear /etc/codepages from %preun instead of %postun
1370
1371* Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
1372- made the %postun script a tad less agressive; no reason to remove
1373  the logs or lock file (after all, if the lock file is still there,
1374  samba is still running)
1375- the %postun and %preun should only exectute if this is the final
1376  removal
1377- migrated %triggerpostun from Red Hat's samba package to work around
1378  packaging problems in some Red Hat samba releases
1379
1380* Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
1381- minor tidy up in preparation for release of 1.9.18p5
1382- added findsmb utility from SGI package
1383
1384* Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
1385- Updated version and codepage info.
1386- Release to test name resolve order
1387
1388* Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
1389- Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
1390- Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
1391- Compounded make line
1392- Updated smb.init restart mechanism
1393- Use compound mkdir -p line instead of individual calls to mkdir
1394- Fixed smb.conf file path for log files
1395- Fixed smb.conf file path for incoming smb print spool directory
1396- Added a number of options to smb.conf file
1397- Added smbadduser command (missed from all previous RPMs) - Doooh!
1398- Added smbuser file and smb.conf file updates for username map
1399
Note: See TracBrowser for help on using the repository browser.