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