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

Revision 8292, 46.6 KB checked in by tomop, 10 years ago (diff)

samba-3.6.22-1

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