]>
Commit | Line | Data |
---|---|---|
51a1da35 | 1 | # TODO: tracker support (--enable-spotlight)? |
29511e6d | 2 | # |
a30908a6 AG |
3 | # Note: |
4 | # - unpredictible build failures: | |
5 | # fail: http://buildlogs.pld-linux.org//index.php?dist=th&arch=i686&ok=0&name=samba&id=8e631f35-f333-464e-b872-135db73f0a67&action=tail | |
6 | # ok: http://buildlogs.pld-linux.org//index.php?dist=th&arch=i686&ok=1&name=samba&id=1188195b-4017-48c5-8c07-f1deb41b5800&action=tail | |
7 | # | |
e4bb74d8 | 8 | # Conditional build: |
a3c4e78e | 9 | %bcond_without ads # ActiveDirectory support |
e8352ac8 | 10 | %bcond_without ceph # Ceph (RADOS) storage support |
a3c4e78e JB |
11 | %bcond_without cups # CUPS support |
12 | %bcond_without ldap # LDAP support | |
13 | %bcond_without avahi # Avahi support | |
ff9592a9 | 14 | %bcond_without dmapi # DMAPI support |
52a1c787 | 15 | %bcond_without systemd # systemd integration |
5d10c8bf | 16 | %bcond_without winexe # winexe tool |
2e1bde86 | 17 | %bcond_with system_heimdal # Use system Heimdal libraries [since samba 4.4.x build fails with heimdal 1.5.x/7.x] |
95129837 JB |
18 | %bcond_with system_libbsd # system libbsd for MD5 and strl* functions |
19 | %bcond_without system_libs # system libraries from SAMBA project (talloc,tdb,tevent,ldb) | |
ea29dc9e | 20 | %bcond_without ctdb_pcp # Performance Co-Pilot support for CTDB |
d8ad099f AM |
21 | # turn on when https://bugzilla.samba.org/show_bug.cgi?id=11764 is fixed |
22 | %bcond_with replace | |
105507bc | 23 | |
e71e0470 | 24 | %if %{with system_libs} |
616cd190 | 25 | %define ldb_ver 2.0.8 |
05b86aad | 26 | %define talloc_ver 2:2.3.0 |
5d10c8bf | 27 | %define tdb_ver 2:1.4.2 |
05b86aad | 28 | %define tevent_ver 0.10.0 |
4ecf4d28 JB |
29 | %endif |
30 | ||
b3bb030c | 31 | # dmapi-devel with xfsprogs-devel >= 4.11(?) needs largefile (64bit off_t) that isn't detected properly |
ff9592a9 AM |
32 | %ifarch %{ix86} |
33 | %undefine with_dmapi | |
34 | %endif | |
35 | ||
a3c4e78e JB |
36 | %include /usr/lib/rpm/macros.perl |
37 | ||
c38c2d9d | 38 | # NOTE: packages order is: server + additions, common, clients, libs+devel, ldap |
e00cc9d3 | 39 | %define virusfilter_version 0.1.4 |
c6a4fcd1 JR |
40 | Summary: Samba Active Directory and SMB server |
41 | Summary(pl.UTF-8): Serwer Samba Active Directory i SMB | |
c48f10a7 | 42 | Name: samba |
5d10c8bf | 43 | Version: 4.11.4 |
616cd190 | 44 | Release: 1 |
6646cd44 | 45 | Epoch: 1 |
6bef715a | 46 | License: GPL v3 |
11d2c190 | 47 | Group: Networking/Daemons |
cd8f4e60 | 48 | Source0: https://download.samba.org/pub/samba/stable/%{name}-%{version}.tar.gz |
5d10c8bf | 49 | # Source0-md5: 96fb3a5db15b5604130649445335f326 |
ba850b61 | 50 | Source1: smb.init |
46c25e95 | 51 | Source2: samba.pamd |
46c25e95 JR |
52 | Source4: samba.sysconfig |
53 | Source5: samba.logrotate | |
138aecb0 | 54 | Source6: smb.conf |
68134596 | 55 | Source7: winbind.init |
56 | Source8: winbind.sysconfig | |
cd86127c | 57 | Source9: samba.init |
e00cc9d3 JB |
58 | Source10: https://bitbucket.org/fumiyas/samba-virusfilter/downloads/samba-virusfilter-%{virusfilter_version}.tar.bz2 |
59 | # Source10-md5: 4bef017601d87f52f8c82819a3ff56ee | |
34895621 | 60 | Patch0: system-heimdal.patch |
7645ba99 JB |
61 | Patch1: %{name}-c++-nofail.patch |
62 | Patch2: %{name}-lprng-no-dot-printers.patch | |
8bd519e3 | 63 | |
0d6de682 | 64 | Patch4: unicodePwd-nthash-values-over-LDAP.patch |
3d62e122 | 65 | Patch5: %{name}-heimdal.patch |
0d6de682 | 66 | Patch6: server-role.patch |
cc54fa40 | 67 | Patch7: %{name}-bug-9816.patch |
95129837 | 68 | Patch8: %{name}-no_libbsd.patch |
08caf729 | 69 | URL: https://www.samba.org/ |
bd658e80 | 70 | BuildRequires: acl-devel |
a0d23d1e | 71 | %{?with_avahi:BuildRequires: avahi-devel} |
06383b47 | 72 | %{?with_ceph:BuildRequires: ceph-devel >= 0.73} |
da025caa | 73 | BuildRequires: cmocka-devel >= 1.1.3 |
5d10c8bf JB |
74 | %if %{with winexe} |
75 | BuildRequires: crossmingw32-gcc | |
76 | BuildRequires: crossmingw64-gcc | |
77 | %endif | |
62dc8910 | 78 | %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0} |
2dd82018 | 79 | BuildRequires: cyrus-sasl-devel >= 2 |
295b7a55 | 80 | BuildRequires: dbus-devel |
ff9592a9 | 81 | %{?with_dmapi:BuildRequires: dmapi-devel} |
d76287e7 | 82 | BuildRequires: docbook-style-xsl-nons |
2dd82018 | 83 | # just FAM API |
5b010594 | 84 | BuildRequires: gamin-devel |
ff01b4ff | 85 | BuildRequires: gdbm-devel |
a458c5bb | 86 | BuildRequires: gettext-tools |
1ae9cf92 | 87 | BuildRequires: glusterfs-devel |
c1740968 | 88 | BuildRequires: gnutls-devel >= 3.0.0 |
dbb692ff | 89 | %{?with_system_heimdal:BuildRequires: heimdal-devel >= 1.5.3-1} |
9f74dab7 | 90 | BuildRequires: iconv |
1125cc60 | 91 | BuildRequires: keyutils-devel |
a3c759b7 | 92 | BuildRequires: libaio-devel |
c1740968 | 93 | BuildRequires: libarchive-devel >= 3.1.2 |
95129837 | 94 | %{?with_system_libbsd:BuildRequires: libbsd-devel} |
2dd82018 | 95 | BuildRequires: libcap-devel |
34895621 | 96 | BuildRequires: libcom_err-devel |
53ce942a | 97 | BuildRequires: libmagic-devel |
4d8c5e20 | 98 | BuildRequires: libnscd-devel |
40d90f9e | 99 | BuildRequires: make >= 3.81 |
0f00e211 | 100 | BuildRequires: ncurses-devel >= 5.2 |
e9c7865a | 101 | BuildRequires: ncurses-ext-devel >= 5.2 |
c1740968 | 102 | BuildRequires: nss_wrapper >= 1.0.2 |
78d04323 | 103 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
793ad0f8 | 104 | BuildRequires: pam-devel >= 0.99.8.1 |
ea29dc9e | 105 | %{?with_ctdb_pcp:BuildRequires: pcp-devel} |
a3c4e78e | 106 | BuildRequires: perl-ExtUtils-MakeMaker |
2dd82018 | 107 | BuildRequires: perl-Parse-Yapp >= 1.05 |
9f74dab7 | 108 | BuildRequires: pkgconfig |
f092c096 | 109 | BuildRequires: popt-devel |
16c4fca4 | 110 | %{?with_pgsql:BuildRequires: postgresql-devel} |
05b86aad | 111 | BuildRequires: python3-devel >= 1:3.4 |
36d9044e JB |
112 | BuildRequires: python3-dns |
113 | BuildRequires: python3-iso8601 | |
05b86aad | 114 | BuildRequires: python3-modules >= 1:3.4 |
36d9044e JB |
115 | BuildRequires: python3-subunit |
116 | BuildRequires: python3-testtools | |
f092c096 | 117 | BuildRequires: readline-devel >= 4.2 |
a3c4e78e | 118 | BuildRequires: rpm-perlprov |
a3c759b7 | 119 | BuildRequires: rpm-pythonprov |
6a43f27b | 120 | BuildRequires: rpmbuild(macros) >= 1.647 |
e155c475 | 121 | BuildRequires: sed >= 4.0 |
baa92be6 | 122 | BuildRequires: socket_wrapper >= 1.1.2 |
fa56ac48 | 123 | BuildRequires: subunit-devel |
52a1c787 JB |
124 | %{?with_systemd:BuildRequires: systemd-devel} |
125 | BuildRequires: xfsprogs-devel | |
2dd82018 | 126 | BuildRequires: zlib-devel >= 1.2.3 |
e71e0470 | 127 | %if %{with system_libs} |
e71e0470 | 128 | BuildRequires: ldb-devel >= %{ldb_ver} |
da025caa AG |
129 | BuildRequires: python3-ldb-devel >= %{ldb_ver} |
130 | BuildRequires: python3-talloc-devel >= %{talloc_ver} | |
131 | BuildRequires: python3-tdb >= %{tdb_ver} | |
132 | BuildRequires: python3-tevent >= %{tevent_ver} | |
05913998 JR |
133 | BuildRequires: talloc-devel >= %{talloc_ver} |
134 | BuildRequires: tdb-devel >= %{tdb_ver} | |
135 | BuildRequires: tevent-devel >= %{tevent_ver} | |
e71e0470 | 136 | %endif |
baa92be6 | 137 | BuildRequires: uid_wrapper >= 1.1.0 |
656b05ab | 138 | Requires(post,preun): /sbin/chkconfig |
6646cd44 | 139 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
17dffdb7 | 140 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
69a33c0e | 141 | # for samba_{dnsupdate,kcc,spnupdate,upgradedns} scripts |
cd83be60 | 142 | Requires: logrotate >= 3.7-4 |
793ad0f8 | 143 | Requires: pam >= 0.99.8.1 |
cae888f2 | 144 | Requires: python3-samba = %{epoch}:%{version}-%{release} |
8bf54aa6 | 145 | Requires: rc-scripts >= 0.4.0.12 |
27879fe9 | 146 | Requires: setup >= 2.4.6-7 |
dce29ff7 | 147 | Requires: systemd-units >= 38 |
62dc8910 | 148 | # smbd links with libcups |
ac083993 | 149 | %{?with_cups:Requires: cups-lib >= 1:1.2.0} |
e765216e JR |
150 | Obsoletes: samba-doc-html |
151 | Obsoletes: samba-doc-pdf | |
05913998 | 152 | Obsoletes: samba-pdb-xml |
c6a4fcd1 | 153 | Obsoletes: samba-vfs-audit |
0c995865 | 154 | Obsoletes: samba-vfs-block |
c6a4fcd1 JR |
155 | Obsoletes: samba-vfs-cap |
156 | Obsoletes: samba-vfs-catia | |
157 | Obsoletes: samba-vfs-default_quota | |
158 | Obsoletes: samba-vfs-expand_msdfs | |
159 | Obsoletes: samba-vfs-fake_perms | |
160 | Obsoletes: samba-vfs-netatalk | |
c6a4fcd1 JR |
161 | Obsoletes: samba-vfs-readahead |
162 | Obsoletes: samba-vfs-readonly | |
0c995865 | 163 | Obsoletes: samba-vfs-recycle |
c6a4fcd1 JR |
164 | Obsoletes: samba-vfs-scannedonly |
165 | Obsoletes: samba-vfs-shadow_copy | |
c93984f5 | 166 | Obsoletes: samba3 |
c6a4fcd1 JR |
167 | Obsoletes: samba3-server |
168 | Obsoletes: samba3-vfs-audit | |
169 | Obsoletes: samba3-vfs-cap | |
170 | Obsoletes: samba3-vfs-catia | |
171 | Obsoletes: samba3-vfs-default_quota | |
172 | Obsoletes: samba3-vfs-expand_msdfs | |
173 | Obsoletes: samba3-vfs-fake_perms | |
174 | Obsoletes: samba3-vfs-netatalk | |
c6a4fcd1 JR |
175 | Obsoletes: samba3-vfs-readahead |
176 | Obsoletes: samba3-vfs-readonly | |
0c995865 | 177 | Obsoletes: samba3-vfs-recycle |
c6a4fcd1 JR |
178 | Obsoletes: samba3-vfs-scannedonly |
179 | Obsoletes: samba3-vfs-shadow_copy | |
c93984f5 | 180 | Obsoletes: samba4 |
c6a4fcd1 | 181 | Obsoletes: samba4-common-server |
da3dadf3 | 182 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1925a8b4 | 183 | |
c10bc67e | 184 | %define _sambahome /home/services/samba |
ddea14b0 | 185 | %if %{with cups} |
478e9eab | 186 | %define cups_serverbin %{_prefix}/lib/cups |
fd9d8b85 | 187 | %endif |
99795f36 | 188 | %define schemadir /usr/share/openldap/schema |
92c45d25 | 189 | |
01485082 ER |
190 | # CFLAGS modified (the second ./configure) |
191 | %undefine configure_cache | |
192 | ||
e11c6ca1 | 193 | %description |
cfa67cf6 | 194 | Samba provides an SMB server which can be used to provide network |
195 | services to SMB (sometimes called "Lan Manager") clients, including | |
196 | various versions of MS Windows, OS/2, and other Linux machines. Samba | |
197 | also provides some SMB clients, which complement the built-in SMB | |
198 | filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols | |
199 | and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol. | |
e11c6ca1 | 200 | |
96088f7b JR |
201 | %description -l pl.UTF-8 |
202 | Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia | |
203 | usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów | |
204 | takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie | |
205 | znajduje się również oprogramowanie klienckie. Samba używa protokołu | |
206 | NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma | |
207 | pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania | |
208 | haseł w standardzie MS i zarządzania bazą WINS. | |
209 | ||
c38c2d9d JB |
210 | %package vfs-ceph |
211 | Summary: VFS module to host shares on Ceph file system | |
212 | Summary(pl.UTF-8): Moduł VFS do serwowania zasobów z systemu plików Ceph | |
213 | Group: Networking/Daemons | |
214 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
ac6f9d13 | 215 | |
c38c2d9d JB |
216 | %description vfs-ceph |
217 | VFS module to host shares on Ceph file system. | |
ac6f9d13 | 218 | |
0c995865 | 219 | This module only works with the libceph.so user-space client. It is |
c38c2d9d JB |
220 | not needed if you are using the kernel client or the FUSE client. |
221 | ||
222 | %description vfs-ceph -l pl.UTF-8 | |
223 | Moduł VFS do serwowania zasobów z systemu plików Ceph. | |
224 | ||
225 | Ten moduł działa jedynie z klientem przestrzeni użytkownika | |
226 | libceph.so. Jest zbędny w przypadku używania klienta dostarczanego | |
227 | przez jądro lub FUSE. | |
228 | ||
229 | %package vfs-glusterfs | |
230 | Summary: VFS module to host shares on GlusterFS file system | |
231 | Summary(pl.UTF-8): Moduł VFS do serwowania zasobów z systemu plików GlusterFS | |
232 | Group: Networking/Daemons | |
233 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
234 | ||
235 | %description vfs-glusterfs | |
236 | VFS module to host shares on GlusterFS file system. | |
237 | ||
238 | %description vfs-glusterfs -l pl.UTF-8 | |
239 | Moduł VFS do serwowania zasobów z systemu plików GlusterFS. | |
240 | ||
ac6f9d13 | 241 | %package common |
ea8d81e5 | 242 | Summary: Files used by both Samba servers and clients |
a3c4e78e | 243 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samby |
2eedd257 | 244 | Group: Networking/Daemons |
17dffdb7 | 245 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
69a33c0e | 246 | # for samba-tool script |
cae888f2 | 247 | Requires: python3-samba = %{epoch}:%{version}-%{release} |
4f12cc62 | 248 | Obsoletes: samba3-common |
c93984f5 | 249 | Obsoletes: samba4-common |
ac6f9d13 MC |
250 | |
251 | %description common | |
252 | Samba-common provides files necessary for both the server and client | |
253 | packages of Samba. | |
254 | ||
96088f7b JR |
255 | %description common -l pl.UTF-8 |
256 | Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i | |
4ecf4d28 | 257 | klientów Samby. |
ac6f9d13 | 258 | |
c38c2d9d JB |
259 | %package client |
260 | Summary: Samba client programs | |
261 | Summary(pl.UTF-8): Klienci serwera Samba | |
262 | Group: Applications/Networking | |
263 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
264 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
dbb692ff | 265 | %{?with_system_heimdal:Requires: heimdal-libs >= 1.5.3-1} |
0c995865 | 266 | Requires: libsmbclient = %{epoch}:%{version}-%{release} |
c38c2d9d JB |
267 | Suggests: cifs-utils |
268 | Obsoletes: samba3-client | |
269 | Obsoletes: samba4-client | |
270 | Obsoletes: smbfs | |
d7a7a298 | 271 | |
c38c2d9d JB |
272 | %description client |
273 | Samba-client provides some SMB clients, which complement the build-in | |
274 | SMB filesystem in Linux. These allow accessing of SMB shares and | |
275 | printing to SMB printers. | |
d7a7a298 | 276 | |
c38c2d9d JB |
277 | %description client -l pl.UTF-8 |
278 | Samba-client dostarcza programy uzupełniające obsługę systemu plików | |
279 | SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i | |
280 | drukowanie w sieci SMB. | |
d7a7a298 | 281 | |
29511e6d | 282 | %package winbind |
29511e6d | 283 | Summary: Samba-winbind daemon, utilities and documentation |
fa1faeca | 284 | Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja |
29511e6d | 285 | Group: Networking/Daemons |
29511e6d | 286 | Requires(post,preun): /sbin/chkconfig |
8ef2303e | 287 | Requires(post,preun,postun): systemd-units >= 38 |
6646cd44 | 288 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
17dffdb7 | 289 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
8ef2303e JR |
290 | Requires: systemd-units >= 38 |
291 | Obsoletes: samba3-winbind | |
c93984f5 | 292 | Obsoletes: samba4-winbind |
c9d44e8b JB |
293 | # pam_winbind is not complete replacement, but pam_smbpass has been removed (in samba 4.4) |
294 | #Obsoletes: pam-pam_smbpass | |
29511e6d | 295 | |
296 | %description winbind | |
297 | Provides the winbind daemon and testing tools to allow authentication | |
298 | and group/user enumeration from a Windows or Samba domain controller. | |
299 | ||
96088f7b JR |
300 | %description winbind -l pl.UTF-8 |
301 | Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia | |
302 | uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny | |
4d750758 JB |
303 | Windows lub Samba. |
304 | ||
c38c2d9d JB |
305 | %package -n cups-backend-smb |
306 | Summary: CUPS backend for printing to SMB printers | |
307 | Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB | |
308 | Group: Applications/Printing | |
309 | Requires: %{name}-client = %{epoch}:%{version}-%{release} | |
310 | Requires: cups >= 1:1.2.0 | |
311 | Obsoletes: cups-backend-smb3 | |
312 | ||
313 | %description -n cups-backend-smb | |
314 | CUPS backend for printing to SMB printers. | |
315 | ||
316 | %description -n cups-backend-smb -l pl.UTF-8 | |
317 | Backend CUPS-a drukujący na drukarkach SMB. | |
318 | ||
319 | %package -n nss_wins | |
320 | Summary: Name Service Switch service for WINS | |
321 | Summary(pl.UTF-8): Usługa Name Service Switch dla WINS | |
322 | Group: Base | |
323 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
17dffdb7 | 324 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
c38c2d9d | 325 | Obsoletes: nss_wins3 |
f2b0247b | 326 | |
c38c2d9d JB |
327 | %description -n nss_wins |
328 | Provides the libnss_wins shared library which resolves NetBIOS names | |
329 | to IP addresses. | |
f2b0247b | 330 | |
c38c2d9d JB |
331 | %description -n nss_wins -l pl.UTF-8 |
332 | Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy | |
333 | IP. | |
9c05ac07 | 334 | |
c38c2d9d JB |
335 | %package -n smbget |
336 | Summary: A utility for retrieving files using the SMB protocol | |
337 | Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB | |
338 | Group: Applications/Networking | |
339 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
340 | Obsoletes: smbget3 | |
341 | ||
342 | %description -n smbget | |
343 | wget-like utility for downloading files over SMB. | |
344 | ||
345 | %description -n smbget -l pl.UTF-8 | |
346 | Narzędzie podobne do wgeta do pobierania plików protokołem SMB | |
347 | używanym w sieciach MS Windows. | |
348 | ||
349 | %package libs | |
350 | Summary: Samba shared libraries | |
351 | Summary(pl.UTF-8): Biblioteki współdzielone Samby | |
352 | Group: Libraries | |
c1740968 | 353 | Requires: gnutls >= 3.0.0 |
c38c2d9d JB |
354 | %if %{with system_libs} |
355 | Requires: ldb >= %{ldb_ver} | |
c38c2d9d JB |
356 | Requires: talloc >= %{talloc_ver} |
357 | Requires: tdb >= %{tdb_ver} | |
358 | Requires: tevent >= %{tevent_ver} | |
359 | %endif | |
e85ffa87 JB |
360 | # samba 4.11+ dropped support for python2 |
361 | Obsoletes: python-samba < 1:4.11 | |
23038e32 | 362 | Obsoletes: samba-vfs-notify_fam |
c38c2d9d JB |
363 | |
364 | %description libs | |
365 | Samba shared libraries. | |
366 | ||
367 | %description libs -l pl.UTF-8 | |
368 | Biblioteki współdzielone Samby. | |
369 | ||
370 | %package devel | |
371 | Summary: Header files for Samba | |
372 | Summary(pl.UTF-8): Pliki nagłówkowe Samby | |
373 | Group: Development/Libraries | |
374 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
375 | Obsoletes: samba3-devel | |
376 | Obsoletes: samba4-devel | |
377 | ||
378 | %description devel | |
379 | Header files for Samba. | |
380 | ||
381 | %description devel -l pl.UTF-8 | |
382 | Pliki nagłówkowe Samby. | |
383 | ||
382a477a JR |
384 | %package pidl |
385 | Summary: Perl IDL compiler | |
a3c4e78e | 386 | Summary(pl.UTF-8): Kompilator IDL w Perlu |
382a477a | 387 | Group: Development/Tools |
c93984f5 | 388 | Obsoletes: samba4-pidl |
382a477a JR |
389 | |
390 | %description pidl | |
c48f10a7 | 391 | The samba-pidl package contains the Perl IDL compiler used by Samba |
382a477a JR |
392 | and Wireshark to parse IDL and similar protocols. |
393 | ||
a3c4e78e JB |
394 | %description pidl -l pl.UTF-8 |
395 | Ten pakiet zawiera kompilator IDL napisany w Perlu, używany przez | |
396 | Sambę oraz Wiresharka to analizy IDL i podobnych protokołów. | |
397 | ||
2a79b79a AG |
398 | %package -n python3-samba |
399 | Summary: Samba modules for Python 3 | |
400 | Summary(pl.UTF-8): Moduły Samby dla Pythona 3 | |
401 | Group: Development/Languages/Python | |
402 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
403 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
05b86aad | 404 | Requires: python3 >= 1:3.4 |
2a79b79a AG |
405 | Requires: python3-dns |
406 | Requires: python3-iso8601 | |
05b86aad | 407 | Requires: python3-modules >= 1:3.4 |
2a79b79a AG |
408 | %if %{with system_libs} |
409 | Requires: python3-ldb >= %{ldb_ver} | |
410 | Requires: python3-talloc >= %{talloc_ver} | |
411 | Requires: python3-tevent >= %{tevent_ver} | |
412 | %endif | |
413 | ||
414 | %description -n python3-samba | |
415 | Samba modules for Python3. | |
416 | ||
417 | %description -n python3-samba -l pl.UTF-8 | |
418 | Moduły Samby dla Pythona 3. | |
419 | ||
382a477a JR |
420 | %package test |
421 | Summary: Testing tools for Samba servers and clients | |
a3c4e78e | 422 | Summary(pl.UTF-8): Narzędzia testowe dla serwerów i klientów Samby |
382a477a JR |
423 | Group: Applications/System |
424 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
425 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
17dffdb7 | 426 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
382a477a | 427 | Requires: %{name}-winbind = %{epoch}:%{version}-%{release} |
c93984f5 | 428 | Obsoletes: samba4-test |
23038e32 JR |
429 | Obsoletes: samba4-test-devel |
430 | Obsoletes: samba-test-devel | |
382a477a JR |
431 | |
432 | %description test | |
c48f10a7 | 433 | samba-test provides testing tools for both the server and client |
382a477a JR |
434 | packages of Samba. |
435 | ||
a3c4e78e JB |
436 | %description test -l pl.UTF-8 |
437 | Narzędzia testowe dla serwerów i klientów Samby. | |
438 | ||
fe5b5b93 | 439 | %package -n libsmbclient |
a3c4e78e JB |
440 | Summary: libsmbclient and libwbclient - Samba client libraries |
441 | Summary(pl.UTF-8): libsmbclient i libwbclient - biblioteki klienckie Samby | |
382a477a | 442 | Group: Libraries |
17dffdb7 | 443 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
fe5b5b93 | 444 | Obsoletes: samba3-libsmbclient |
382a477a | 445 | |
fe5b5b93 | 446 | %description -n libsmbclient |
a3c4e78e JB |
447 | libsmbclient and libwbclient - libraries that allow to use Samba |
448 | client functions. | |
382a477a | 449 | |
fe5b5b93 | 450 | %description -n libsmbclient -l pl.UTF-8 |
a3c4e78e JB |
451 | libsmbclient i libwbclient - biblioteki pozwalające korzystać z funcji |
452 | klienta Samby. | |
382a477a | 453 | |
fe5b5b93 | 454 | %package -n libsmbclient-devel |
a3c4e78e JB |
455 | Summary: Development files for Samba client libraries |
456 | Summary(pl.UTF-8): Pliki programistyczne bibliotek klienta Samby | |
382a477a | 457 | Group: Development/Libraries |
fe5b5b93 | 458 | Requires: libsmbclient = %{epoch}:%{version}-%{release} |
277b5368 | 459 | Obsoletes: libsmbclient-static |
fe5b5b93 | 460 | Obsoletes: samba3-libsmbclient-devel |
6646cd44 | 461 | |
fe5b5b93 | 462 | %description -n libsmbclient-devel |
a3c4e78e | 463 | Header files for libsmbclient and libwbclient libraries. |
6646cd44 | 464 | |
fe5b5b93 | 465 | %description -n libsmbclient-devel -l pl.UTF-8 |
a3c4e78e | 466 | Pliki nagłówkowe bibliotek libsmbclient i libwbclient. |
c083eea8 | 467 | |
025a78ca | 468 | %package -n openldap-schema-samba |
382a477a | 469 | Summary: Samba LDAP schema |
a3c4e78e | 470 | Summary(pl.UTF-8): Schemat LDAP dla Samby |
ed426448 | 471 | Group: Networking/Daemons |
382a477a JR |
472 | Requires(post,postun): sed >= 4.0 |
473 | Requires: openldap-servers | |
025a78ca | 474 | Obsoletes: openldap-schema-samba3 |
1601e1b5 JR |
475 | %if "%{_rpmversion}" >= "5" |
476 | BuildArch: noarch | |
477 | %endif | |
ed426448 | 478 | |
025a78ca | 479 | %description -n openldap-schema-samba |
a3c4e78e | 480 | This package contains samba.schema for OpenLDAP. |
382a477a | 481 | |
025a78ca | 482 | %description -n openldap-schema-samba -l pl.UTF-8 |
a3c4e78e | 483 | Ten pakiet zawiera schemat Samby (samba.schema) dla OpenLDAP-a. |
ed426448 | 484 | |
f5b9acfe | 485 | %package -n ctdb |
0c995865 | 486 | Summary: A Clustered Database based on Samba's Trivial Database (TDB) |
42352377 | 487 | Summary(pl.UTF-8): Klastrowa baza danych oparta na bazie danych Trivial Database z Samby (TDB) |
0c995865 | 488 | Group: Daemons |
42352377 JB |
489 | URL: http://ctdb.samba.org/ |
490 | Requires(post,preun,postun): systemd-units | |
1f1bd020 | 491 | Requires(post): /bin/systemd-tmpfiles |
2ec3c78e | 492 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
0c995865 JR |
493 | Requires: coreutils |
494 | Requires: fileutils | |
f5b9acfe | 495 | # for ps and killall |
0c995865 JR |
496 | Requires: gawk |
497 | Requires: psmisc | |
498 | Requires: sed | |
2ec3c78e JR |
499 | %if %{with system_libs} |
500 | Requires: tdb >= %{tdb_ver} | |
501 | %endif | |
f5b9acfe | 502 | # for pkill and pidof: |
0c995865 | 503 | Requires: procps |
f5b9acfe | 504 | # for netstat: |
0c995865 JR |
505 | Requires: ethtool |
506 | Requires: net-tools | |
f5b9acfe | 507 | # for ip: |
0c995865 JR |
508 | Requires: iproute2 |
509 | Requires: iptables | |
f5b9acfe | 510 | # for flock, getopt, kill: |
0c995865 | 511 | Requires: util-linux |
f5b9acfe AM |
512 | |
513 | %description -n ctdb | |
0c995865 JR |
514 | CTDB is a cluster implementation of the TDB database used by Samba and |
515 | other projects to store temporary data. If an application is already | |
516 | using TDB for temporary data it is very easy to convert that | |
517 | application to be cluster aware and use CTDB instead. | |
f5b9acfe | 518 | |
42352377 JB |
519 | %description -l pl.UTF-8 |
520 | CTDB to klastrowa implementacja bazy danych TDB używanej w Sambie oraz | |
521 | innych projektach do przechowywania danych tymczasowych. Jeśli jakaś | |
522 | aplikacja już wykorzystuje TDB do trzymania danych tymczasowych, | |
523 | bardzo przerobić ją na klastrowalną, wykorzystującą CTDB. | |
524 | ||
ea29dc9e JR |
525 | %package -n pcp-ctdb |
526 | Summary: CTDB PMDA | |
527 | Summary(pl.UTF-8): PMDA CTDB | |
528 | Group: Applications/System | |
529 | Requires: ctdb = %{epoch}:%{version}-%{release} | |
530 | Requires: pcp | |
531 | ||
532 | %description -n pcp-ctdb | |
533 | This PMDA extracts metrics from the locally running ctdbd daemon for | |
534 | export to PMCD. | |
535 | ||
536 | %description -n pcp-ctdb -l pl.UTF-8 | |
537 | Ten PMDA odczytuje pomiary z lokalnie działającego demona ctdbd w celu | |
538 | wyeksportowania do PMCD. | |
539 | ||
1925a8b4 | 540 | %prep |
0c995865 | 541 | %setup -q |
dbb692ff | 542 | %{?with_system_heimdal:%patch0 -p1} |
8932759c | 543 | %patch1 -p1 |
0d6de682 | 544 | %patch2 -p1 |
8bd519e3 | 545 | |
ce9af3e2 | 546 | %patch4 -p1 |
dbb692ff | 547 | %{?with_system_heimdal:%patch5 -p1} |
2aa9f2b6 | 548 | %patch6 -p1 |
cc54fa40 | 549 | %patch7 -p1 |
95129837 | 550 | %{!?with_system_libbsd:%patch8 -p1} |
6fb3721a | 551 | |
7645ba99 JB |
552 | %{__sed} -i -e 's|#!/usr/bin/env python|#!/usr/bin/python|' source4/scripting/bin/samba* |
553 | %{__sed} -i -e 's|#!/usr/bin/env perl|#!/usr/bin/perl|' pidl/pidl | |
7f7b5c36 | 554 | |
5a591c79 JB |
555 | %if %{with system_heimdal} |
556 | %{__mv} source4/heimdal_build/krb5-types{,-smb}.h | |
557 | %endif | |
558 | ||
1925a8b4 | 559 | %build |
34895621 JR |
560 | LDFLAGS="${LDFLAGS:-%rpmldflags}" \ |
561 | CFLAGS="${CFLAGS:-%rpmcflags}" \ | |
562 | CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \ | |
563 | FFLAGS="${FFLAGS:-%rpmcflags}" \ | |
564 | FCFLAGS="${FCFLAGS:-%rpmcflags}" \ | |
565 | CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \ | |
566 | %{?__cc:CC="%{__cc}"} \ | |
567 | %{?__cxx:CXX="%{__cxx}"} \ | |
568 | ./configure \ | |
569 | --enable-fhs \ | |
570 | --prefix=%{_prefix} \ | |
571 | --exec-prefix=%{_exec_prefix} \ | |
572 | --bindir=%{_bindir} \ | |
573 | --sbindir=%{_sbindir} \ | |
574 | --sysconfdir=%{_sysconfdir} \ | |
575 | --datadir=%{_datadir} \ | |
576 | --includedir=%{_includedir} \ | |
577 | --libdir=%{_libdir} \ | |
578 | --libexecdir=%{_libexecdir} \ | |
579 | --localstatedir=%{_localstatedir} \ | |
580 | --sharedstatedir=%{_sharedstatedir} \ | |
581 | --mandir=%{_mandir} \ | |
582 | --infodir=%{_infodir} \ | |
2e711b12 JR |
583 | --with-privatelibdir=%{_libdir}/samba \ |
584 | --with-modulesdir=%{_libdir}/samba \ | |
01485082 | 585 | --with-pammodulesdir=/%{_lib}/security \ |
34895621 JR |
586 | --with-lockdir=/var/lib/samba \ |
587 | --with-privatedir=%{_sysconfdir}/samba \ | |
dbb692ff | 588 | --disable-rpath \ |
34895621 | 589 | --disable-rpath-install \ |
d8ad099f | 590 | --builtin-libraries=%{?with_replace:replace,}ccan,samba-cluster-support \ |
b3bb030c | 591 | --bundled-libraries=NONE,iniparser,%{!?with_system_libs:talloc,tdb,ldb,tevent,pytalloc,pytalloc-util,pytdb,pytevent,pyldb,pyldb-util},%{!?with_system_heimdal:roken,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile_et,asn1_compile} \ |
d7a7a298 | 592 | --with-shared-modules=idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_rid,idmap_tdb2,auth_samba4,vfs_dfs_samba4 \ |
dbb692ff | 593 | --with-cluster-support \ |
f4f0ea2d | 594 | --with-acl-support \ |
34895621 | 595 | --with%{!?with_ads:out}-ads \ |
ea29dc9e | 596 | %{?with_ctdb_pcp:--enable-pmda} \ |
432ee34d | 597 | --with-automount \ |
ff9592a9 | 598 | --with%{!?with_dmapi:out}-dmapi \ |
34895621 JR |
599 | --with-dnsupdate \ |
600 | --with-iconv \ | |
601 | --with%{!?with_ldap:out}-ldap \ | |
d1d64cbe | 602 | --with-pam \ |
4ef99dd8 | 603 | --with-quotas \ |
e9c7865a | 604 | --with-regedit \ |
34895621 | 605 | --with-sendfile-support \ |
4ef99dd8 | 606 | --with-syslog \ |
711565cb AM |
607 | %if %{with systemd} |
608 | --with-systemd \ | |
609 | --systemd-install-services \ | |
610 | --with-systemddir=%{systemdunitdir} \ | |
611 | %else | |
612 | --without-systemd \ | |
613 | %endif | |
4ef99dd8 | 614 | --with-utmp \ |
34895621 | 615 | --with-winbind \ |
66e5c63e | 616 | --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \ |
34895621 JR |
617 | --enable-cups \ |
618 | --enable-iprint | |
1925a8b4 | 619 | |
b47280ac | 620 | %{__make} V=1 |
192f48a8 | 621 | |
6646cd44 JR |
622 | # Build PIDL for installation into vendor directories before |
623 | # 'make proto' gets to it. | |
624 | cd pidl | |
625 | %{__perl} Makefile.PL \ | |
626 | INSTALLDIRS=vendor | |
5021f739 | 627 | %{__make} |
6646cd44 | 628 | |
1925a8b4 | 629 | %install |
630 | rm -rf $RPM_BUILD_ROOT | |
cd86127c | 631 | install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd,ld.so.conf.d,env.d} \ |
2e711b12 | 632 | $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \ |
08bf002e | 633 | $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \ |
2e711b12 JR |
634 | $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \ |
635 | $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}} | |
ba850b61 | 636 | |
34895621 | 637 | %{__make} install \ |
bd658e80 | 638 | DESTDIR=$RPM_BUILD_ROOT \ |
29511e6d | 639 | CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba |
bd658e80 | 640 | |
6646cd44 | 641 | # Install PIDL |
9a90ed45 | 642 | %{__make} -C pidl install \ |
6646cd44 | 643 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
6646cd44 JR |
644 | |
645 | # Clean out crap left behind by the PIDL install | |
6646cd44 | 646 | %{__rm} -r $RPM_BUILD_ROOT%{perl_vendorlib}/Parse/Yapp |
fbf926f3 | 647 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Parse/Pidl/.packlist |
6646cd44 | 648 | |
b25f7233 | 649 | install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir} |
1925a8b4 | 650 | |
d8ad099f | 651 | :> $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ctdb |
f5b9acfe | 652 | |
0c995865 | 653 | cp -p packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf |
f5b9acfe | 654 | echo "d /var/run/ctdb 755 root root" > $RPM_BUILD_ROOT%{systemdtmpfilesdir}/ctdb.conf |
0c995865 | 655 | cp -p ctdb/config/ctdb.service $RPM_BUILD_ROOT%{systemdunitdir} |
2e711b12 | 656 | |
b25f7233 ER |
657 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb |
658 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba | |
b25f7233 ER |
659 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba |
660 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba | |
3dbf1ce9 | 661 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf |
b25f7233 ER |
662 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind |
663 | cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind | |
cd86127c JR |
664 | install -p %{SOURCE9} $RPM_BUILD_ROOT/etc/rc.d/init.d/samba |
665 | ||
666 | echo "LDB_MODULES_PATH=%{_libdir}/samba/ldb" > $RPM_BUILD_ROOT/etc/env.d/LDB_MODULES_PATH | |
29511e6d | 667 | |
34895621 JR |
668 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib} |
669 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib} | |
670 | install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir} | |
79d8a749 | 671 | |
6a2e83e0 | 672 | touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat} |
1925a8b4 | 673 | |
01485082 | 674 | echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts |
8b604b68 | 675 | |
b0c1c6a5 | 676 | %if "%{_lib}" == "lib64" |
17dffdb7 JR |
677 | echo "%{_libdir}/samba" >$RPM_BUILD_ROOT/etc/ld.so.conf.d/samba64.conf |
678 | %else | |
b069341b | 679 | echo "%{_libdir}/samba" >$RPM_BUILD_ROOT/etc/ld.so.conf.d/samba.conf |
17dffdb7 | 680 | %endif |
b069341b | 681 | |
ddea14b0 | 682 | %if %{with cups} |
fd9d8b85 JB |
683 | install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend |
684 | ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb | |
685 | %endif | |
9f6f5df1 | 686 | |
29511e6d | 687 | > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers |
8b604b68 | 688 | > $RPM_BUILD_ROOT/etc/security/blacklist.samba |
11d2c190 | 689 | |
105507bc | 690 | %if %{with ldap} |
0c995865 | 691 | cp -p examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir} |
105507bc | 692 | %endif |
99795f36 | 693 | |
7a0e596a | 694 | # remove man pages for not installed commands |
fbf926f3 | 695 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1* |
5021f739 | 696 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man7/traffic_{learner,replay}.7* |
da025caa AG |
697 | #%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_cacheprime.8* |
698 | #%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_gpfs.8* | |
699 | #%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_prealloc.8* | |
700 | #%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_tsmsm.8* | |
7a0e596a | 701 | |
23038e32 JR |
702 | # remove tests |
703 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/ctdb*_tests | |
5fe02f1e | 704 | %{__rm} -r $RPM_BUILD_ROOT%{_libexecdir}/ctdb/tests |
008e93ad | 705 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/ctdb/tests |
23038e32 | 706 | |
2a79b79a AG |
707 | %py3_comp $RPM_BUILD_ROOT%{py3_sitedir} |
708 | %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir} | |
1a8c003b | 709 | |
ea8d81e5 JB |
710 | %clean |
711 | rm -rf $RPM_BUILD_ROOT | |
9661cd11 | 712 | |
1925a8b4 | 713 | %post |
cd86127c | 714 | /sbin/chkconfig --add samba |
c6a4fcd1 | 715 | /sbin/chkconfig --add smb |
cd86127c | 716 | %service samba restart "Samba AD daemon" |
c48f10a7 | 717 | %service smb restart "Samba SMB daemons" |
dce29ff7 | 718 | %systemd_post samba.service |
c6a4fcd1 | 719 | %systemd_post smb.service nmb.service |
1925a8b4 | 720 | |
721 | %preun | |
cd86127c JR |
722 | if [ "$1" = "0" ]; then |
723 | %service samba stop | |
c6a4fcd1 | 724 | %service smb stop |
cd86127c | 725 | /sbin/chkconfig --del samba |
c6a4fcd1 | 726 | /sbin/chkconfig --del smb |
cd86127c | 727 | fi |
dce29ff7 | 728 | %systemd_preun samba.service |
c6a4fcd1 | 729 | %systemd_preun smb.service nmb.service |
dce29ff7 JR |
730 | |
731 | %postun | |
732 | %systemd_reload | |
11d2c190 | 733 | |
c48f10a7 | 734 | %triggerpostun -- samba3 |
382a477a | 735 | /sbin/chkconfig --add smb |
c48f10a7 | 736 | %service smb restart "Samba SMB daemons" |
1a90c755 | 737 | %systemd_post smb.service nmb.service |
382a477a | 738 | |
c48f10a7 JR |
739 | %triggerpostun -- samba4 |
740 | /sbin/chkconfig --add samba | |
741 | %service samba restart "Samba AD daemons" | |
742 | %systemd_post samba.service | |
743 | ||
8029aa52 AM |
744 | %triggerpostun -- samba < 1:4.9.2-3 |
745 | %{_bindir}/net groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin || : | |
746 | ||
30cb0b6f JR |
747 | %triggerpostun -- samba4 < 1:4.1.1-1 |
748 | # CVE-2013-4476 | |
749 | [ -e %{_sysconfdir}/samba/tls/key.pem ] || exit 0 | |
750 | PERMS=$(stat -c %a %{_sysconfdir}/samba/tls/key.pem) | |
751 | if [ "$PERMS" != "600" ]; then | |
752 | chmod 600 %{_sysconfdir}/samba/tls/key.pem || : | |
753 | echo "Fixed permissions of private key file %{_sysconfdir}/samba/tls/key.pem from $PERMS to 600" | |
754 | echo "Consider regenerating TLS certificate" | |
755 | echo "Removing all tls .pem files will cause an auto-regeneration with the correct permissions" | |
756 | fi | |
757 | ||
c93984f5 JR |
758 | %triggerprein common -- samba4 |
759 | cp -a %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.samba4 | |
760 | ||
761 | %triggerpostun common -- samba4 | |
762 | %{__mv} -f %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.rpmnew | |
763 | %{__mv} %{_sysconfdir}/samba/smb.conf.samba4 %{_sysconfdir}/samba/smb.conf | |
764 | ||
765 | %triggerprein common -- samba3-server | |
766 | cp -a %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.samba4 | |
767 | ||
768 | %triggerpostun common -- samba3-server | |
769 | %{__mv} -f %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.rpmnew | |
770 | %{__mv} %{_sysconfdir}/samba/smb.conf.samba4 %{_sysconfdir}/samba/smb.conf | |
771 | ||
8ef2303e | 772 | %post winbind |
a7067ae6 | 773 | /sbin/ldconfig |
29511e6d | 774 | /sbin/chkconfig --add winbind |
27879fe9 | 775 | %service winbind restart "Winbind daemon" |
dce29ff7 | 776 | %systemd_post winbind.service |
29511e6d | 777 | |
8ef2303e | 778 | %preun winbind |
29511e6d | 779 | if [ "$1" = "0" ]; then |
27879fe9 | 780 | %service winbind stop |
29511e6d | 781 | /sbin/chkconfig --del winbind |
782 | fi | |
dce29ff7 JR |
783 | %systemd_preun winbind.service |
784 | ||
8ef2303e | 785 | %postun winbind |
a7067ae6 | 786 | /sbin/ldconfig |
dce29ff7 | 787 | %systemd_reload |
29511e6d | 788 | |
c48f10a7 | 789 | %triggerpostun winbind -- samba3-winbind |
00fd225e JR |
790 | /sbin/chkconfig --add winbind |
791 | %service winbind restart "Winbind daemon" | |
792 | %systemd_post winbind.service | |
793 | ||
c38c2d9d JB |
794 | %post libs -p /sbin/ldconfig |
795 | %postun libs -p /sbin/ldconfig | |
796 | ||
0673c853 JB |
797 | %post -n libsmbclient -p /sbin/ldconfig |
798 | %postun -n libsmbclient -p /sbin/ldconfig | |
a7067ae6 | 799 | |
025a78ca | 800 | %post -n openldap-schema-samba |
c4db757c ER |
801 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) |
802 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
27879fe9 | 803 | %service -q ldap restart |
99795f36 | 804 | |
025a78ca | 805 | %postun -n openldap-schema-samba |
99795f36 | 806 | if [ "$1" = "0" ]; then |
c4db757c | 807 | %openldap_schema_unregister %{schemadir}/samba.schema |
27879fe9 | 808 | %service -q ldap restart |
99795f36 ER |
809 | fi |
810 | ||
025a78ca | 811 | %triggerpostun -n openldap-schema-samba -- openldap-schema-samba3 < 1:4.1.4-3 |
00fd225e JR |
812 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) |
813 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
814 | %service -q ldap restart | |
815 | ||
f5b9acfe | 816 | %post -n ctdb |
1f1bd020 | 817 | /bin/systemd-tmpfiles --create %{systemdtmpfilesdir}/ctdb.conf |
f5b9acfe AM |
818 | %systemd_post ctdb.service |
819 | ||
820 | %preun -n ctdb | |
821 | %systemd_preun ctdb.service | |
822 | ||
823 | %postun -n ctdb | |
824 | %systemd_reload | |
825 | ||
1925a8b4 | 826 | %files |
827 | %defattr(644,root,root,755) | |
3999f3d9 JR |
828 | %{?with_ldap:%doc examples/LDAP} |
829 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers | |
830 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba | |
831 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba | |
832 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba | |
9ff647f7 | 833 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba |
99fdb0b6 | 834 | %config(noreplace) %verify(not md5 mtime size) /etc/env.d/LDB_MODULES_PATH |
cd86127c | 835 | %attr(754,root,root) /etc/rc.d/init.d/samba |
3999f3d9 JR |
836 | %attr(754,root,root) /etc/rc.d/init.d/smb |
837 | %{systemdunitdir}/nmb.service | |
838 | %{systemdunitdir}/smb.service | |
0b940f4e JR |
839 | %{systemdunitdir}/samba.service |
840 | %{systemdtmpfilesdir}/samba.conf | |
da025caa | 841 | %attr(755,root,root) %{_bindir}/dumpmscat |
c083eea8 | 842 | %attr(755,root,root) %{_bindir}/oLschema2ldif |
ee92e647 JR |
843 | %attr(755,root,root) %{_bindir}/pdbedit |
844 | %attr(755,root,root) %{_bindir}/profiles | |
3999f3d9 JR |
845 | %attr(755,root,root) %{_bindir}/sharesec |
846 | %attr(755,root,root) %{_bindir}/smbcontrol | |
847 | %attr(755,root,root) %{_bindir}/smbstatus | |
279f0935 | 848 | %attr(755,root,root) %{_sbindir}/eventlogadm |
3999f3d9 JR |
849 | %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh |
850 | %attr(755,root,root) %{_sbindir}/nmbd | |
0b940f4e JR |
851 | %attr(755,root,root) %{_sbindir}/samba |
852 | %attr(755,root,root) %{_sbindir}/samba_dnsupdate | |
05b86aad | 853 | %attr(755,root,root) %{_sbindir}/samba_downgrade_db |
279f0935 | 854 | %attr(755,root,root) %{_sbindir}/samba-gpupdate |
7f7b5c36 | 855 | %attr(755,root,root) %{_sbindir}/samba_kcc |
0b940f4e JR |
856 | %attr(755,root,root) %{_sbindir}/samba_spnupdate |
857 | %attr(755,root,root) %{_sbindir}/samba_upgradedns | |
3999f3d9 | 858 | %attr(755,root,root) %{_sbindir}/smbd |
0b940f4e JR |
859 | %dir %{_libdir}/samba/bind9 |
860 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9.so | |
861 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_9.so | |
0643ad3f | 862 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_10.so |
008e93ad | 863 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_11.so |
da025caa | 864 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_12.so |
0b940f4e JR |
865 | %dir %{_libdir}/samba/gensec |
866 | %attr(755,root,root) %{_libdir}/samba/gensec/krb5.so | |
5a591c79 JB |
867 | %if %{with system_heimdal} |
868 | %dir %{_libdir}/samba/hdb | |
869 | %attr(755,root,root) %{_libdir}/samba/hdb/hdb_samba4.so | |
870 | %endif | |
e4310f27 | 871 | %dir %{_libdir}/samba/ldb |
e4310f27 | 872 | %attr(755,root,root) %{_libdir}/samba/ldb/aclread.so |
0b940f4e | 873 | %attr(755,root,root) %{_libdir}/samba/ldb/acl.so |
e4310f27 | 874 | %attr(755,root,root) %{_libdir}/samba/ldb/anr.so |
279f0935 | 875 | %attr(755,root,root) %{_libdir}/samba/ldb/audit_log.so |
05b86aad | 876 | %attr(755,root,root) %{_libdir}/samba/ldb/count_attrs.so |
e4310f27 JR |
877 | %attr(755,root,root) %{_libdir}/samba/ldb/descriptor.so |
878 | %attr(755,root,root) %{_libdir}/samba/ldb/dirsync.so | |
f5b9acfe | 879 | %attr(755,root,root) %{_libdir}/samba/ldb/dns_notify.so |
d8ad099f | 880 | %attr(755,root,root) %{_libdir}/samba/ldb/dsdb_notification.so |
ead5ab34 | 881 | %attr(755,root,root) %{_libdir}/samba/ldb/encrypted_secrets.so |
e4310f27 JR |
882 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_in.so |
883 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_out.so | |
884 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_store.so | |
279f0935 | 885 | %attr(755,root,root) %{_libdir}/samba/ldb/group_audit_log.so |
e4310f27 JR |
886 | %attr(755,root,root) %{_libdir}/samba/ldb/ildap.so |
887 | %attr(755,root,root) %{_libdir}/samba/ldb/instancetype.so | |
888 | %attr(755,root,root) %{_libdir}/samba/ldb/lazy_commit.so | |
889 | %attr(755,root,root) %{_libdir}/samba/ldb/ldbsamba_extensions.so | |
890 | %attr(755,root,root) %{_libdir}/samba/ldb/linked_attributes.so | |
891 | %attr(755,root,root) %{_libdir}/samba/ldb/local_password.so | |
892 | %attr(755,root,root) %{_libdir}/samba/ldb/new_partition.so | |
e4310f27 | 893 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass_attrs.so |
0b940f4e | 894 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass.so |
e4310f27 JR |
895 | %attr(755,root,root) %{_libdir}/samba/ldb/objectguid.so |
896 | %attr(755,root,root) %{_libdir}/samba/ldb/operational.so | |
da025caa | 897 | %attr(755,root,root) %{_libdir}/samba/ldb/paged_results.so |
e4310f27 JR |
898 | %attr(755,root,root) %{_libdir}/samba/ldb/partition.so |
899 | %attr(755,root,root) %{_libdir}/samba/ldb/password_hash.so | |
900 | %attr(755,root,root) %{_libdir}/samba/ldb/ranged_results.so | |
901 | %attr(755,root,root) %{_libdir}/samba/ldb/repl_meta_data.so | |
902 | %attr(755,root,root) %{_libdir}/samba/ldb/resolve_oids.so | |
903 | %attr(755,root,root) %{_libdir}/samba/ldb/rootdse.so | |
904 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sam.so | |
905 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sid.so | |
906 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_dsdb.so | |
907 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_secrets.so | |
908 | %attr(755,root,root) %{_libdir}/samba/ldb/samldb.so | |
909 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_data.so | |
910 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_load.so | |
911 | %attr(755,root,root) %{_libdir}/samba/ldb/secrets_tdb_sync.so | |
912 | %attr(755,root,root) %{_libdir}/samba/ldb/show_deleted.so | |
913 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_dn.so | |
914 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_ldap_map.so | |
915 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_delete.so | |
916 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_rename.so | |
f5b9acfe | 917 | %attr(755,root,root) %{_libdir}/samba/ldb/tombstone_reanimate.so |
ead5ab34 | 918 | %attr(755,root,root) %{_libdir}/samba/ldb/unique_object_sids.so |
e4310f27 | 919 | %attr(755,root,root) %{_libdir}/samba/ldb/update_keytab.so |
d8ad099f | 920 | %attr(755,root,root) %{_libdir}/samba/ldb/vlv.so |
e4310f27 | 921 | %attr(755,root,root) %{_libdir}/samba/ldb/wins_ldb.so |
382a477a | 922 | %dir %{_libdir}/samba/process_model |
ead5ab34 | 923 | %attr(755,root,root) %{_libdir}/samba/process_model/prefork.so |
382a477a JR |
924 | %attr(755,root,root) %{_libdir}/samba/process_model/standard.so |
925 | %dir %{_libdir}/samba/service | |
926 | %attr(755,root,root) %{_libdir}/samba/service/cldap.so | |
927 | %attr(755,root,root) %{_libdir}/samba/service/dcerpc.so | |
928 | %attr(755,root,root) %{_libdir}/samba/service/dns.so | |
929 | %attr(755,root,root) %{_libdir}/samba/service/dns_update.so | |
930 | %attr(755,root,root) %{_libdir}/samba/service/drepl.so | |
931 | %attr(755,root,root) %{_libdir}/samba/service/kcc.so | |
932 | %attr(755,root,root) %{_libdir}/samba/service/kdc.so | |
933 | %attr(755,root,root) %{_libdir}/samba/service/ldap.so | |
934 | %attr(755,root,root) %{_libdir}/samba/service/nbtd.so | |
935 | %attr(755,root,root) %{_libdir}/samba/service/ntp_signd.so | |
936 | %attr(755,root,root) %{_libdir}/samba/service/s3fs.so | |
295b7a55 | 937 | %attr(755,root,root) %{_libdir}/samba/service/winbindd.so |
382a477a | 938 | %attr(755,root,root) %{_libdir}/samba/service/wrepl.so |
d7a7a298 | 939 | %dir %{_libdir}/samba/vfs |
c6a4fcd1 | 940 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so |
d7a7a298 | 941 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so |
c6a4fcd1 | 942 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so |
c6a4fcd1 JR |
943 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_pthread.so |
944 | %attr(755,root,root) %{_libdir}/samba/vfs/audit.so | |
d7a7a298 | 945 | %attr(755,root,root) %{_libdir}/samba/vfs/btrfs.so |
c6a4fcd1 JR |
946 | %attr(755,root,root) %{_libdir}/samba/vfs/cap.so |
947 | %attr(755,root,root) %{_libdir}/samba/vfs/catia.so | |
05b86aad | 948 | %{?with_ceph:%attr(755,root,root) %{_libdir}/samba/vfs/ceph_snapshots.so} |
c6a4fcd1 JR |
949 | %attr(755,root,root) %{_libdir}/samba/vfs/commit.so |
950 | %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so | |
951 | %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so | |
d7a7a298 | 952 | %attr(755,root,root) %{_libdir}/samba/vfs/dfs_samba4.so |
c6a4fcd1 JR |
953 | %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so |
954 | %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so | |
955 | %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so | |
956 | %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so | |
d7a7a298 | 957 | %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so |
295b7a55 | 958 | %attr(755,root,root) %{_libdir}/samba/vfs/fruit.so |
c6a4fcd1 | 959 | %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so |
05b86aad | 960 | %attr(755,root,root) %{_libdir}/samba/vfs/gpfs.so |
c6a4fcd1 JR |
961 | %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so |
962 | %attr(755,root,root) %{_libdir}/samba/vfs/media_harmony.so | |
963 | %attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so | |
f5b9acfe | 964 | %attr(755,root,root) %{_libdir}/samba/vfs/offline.so |
d7a7a298 | 965 | %attr(755,root,root) %{_libdir}/samba/vfs/posix_eadb.so |
c6a4fcd1 JR |
966 | %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so |
967 | %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so | |
968 | %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so | |
969 | %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so | |
295b7a55 | 970 | %attr(755,root,root) %{_libdir}/samba/vfs/snapper.so |
c6a4fcd1 JR |
971 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so |
972 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so | |
f5b9acfe | 973 | %attr(755,root,root) %{_libdir}/samba/vfs/shell_snap.so |
c6a4fcd1 JR |
974 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so |
975 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so | |
976 | %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so | |
977 | %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so | |
f5b9acfe | 978 | %attr(755,root,root) %{_libdir}/samba/vfs/unityed_media.so |
ead5ab34 | 979 | %attr(755,root,root) %{_libdir}/samba/vfs/virusfilter.so |
295b7a55 | 980 | %attr(755,root,root) %{_libdir}/samba/vfs/worm.so |
d7a7a298 | 981 | %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so |
3999f3d9 JR |
982 | %{_datadir}/samba/setup |
983 | %{_mandir}/man1/oLschema2ldif.1* | |
984 | %{_mandir}/man1/profiles.1* | |
ee92e647 | 985 | %{_mandir}/man1/sharesec.1* |
c6a4fcd1 JR |
986 | %{_mandir}/man1/smbcontrol.1* |
987 | %{_mandir}/man1/smbstatus.1* | |
3999f3d9 | 988 | %{_mandir}/man8/eventlogadm.8* |
c6a4fcd1 | 989 | %{_mandir}/man8/nmbd.8* |
3999f3d9 JR |
990 | %{_mandir}/man8/pdbedit.8* |
991 | %{_mandir}/man8/samba.8* | |
05b86aad | 992 | %{_mandir}/man8/samba_downgrade_db.8* |
279f0935 | 993 | %{_mandir}/man8/samba-gpupdate.8* |
c6a4fcd1 JR |
994 | %{_mandir}/man8/smbd.8* |
995 | %{_mandir}/man8/smbpasswd.8* | |
c6a4fcd1 | 996 | %{_mandir}/man8/vfs_acl_tdb.8* |
d7a7a298 | 997 | %{_mandir}/man8/vfs_acl_xattr.8* |
c6a4fcd1 | 998 | %{_mandir}/man8/vfs_aio_fork.8* |
c6a4fcd1 JR |
999 | %{_mandir}/man8/vfs_aio_pthread.8* |
1000 | %{_mandir}/man8/vfs_audit.8* | |
d7a7a298 | 1001 | %{_mandir}/man8/vfs_btrfs.8* |
c6a4fcd1 JR |
1002 | %{_mandir}/man8/vfs_cap.8* |
1003 | %{_mandir}/man8/vfs_catia.8* | |
05b86aad | 1004 | %{?with_ceph:%{_mandir}/man8/vfs_ceph_snapshots.8*} |
c6a4fcd1 JR |
1005 | %{_mandir}/man8/vfs_commit.8* |
1006 | %{_mandir}/man8/vfs_crossrename.8* | |
1007 | %{_mandir}/man8/vfs_default_quota.8* | |
1008 | %{_mandir}/man8/vfs_dirsort.8* | |
1009 | %{_mandir}/man8/vfs_extd_audit.8* | |
1010 | %{_mandir}/man8/vfs_fake_perms.8* | |
d7a7a298 | 1011 | %{_mandir}/man8/vfs_fileid.8* |
295b7a55 | 1012 | %{_mandir}/man8/vfs_fruit.8* |
c6a4fcd1 | 1013 | %{_mandir}/man8/vfs_full_audit.8* |
05b86aad | 1014 | %{_mandir}/man8/vfs_gpfs.8* |
c6a4fcd1 JR |
1015 | %{_mandir}/man8/vfs_linux_xfs_sgid.8* |
1016 | %{_mandir}/man8/vfs_media_harmony.8* | |
1017 | %{_mandir}/man8/vfs_netatalk.8* | |
1018 | %{_mandir}/man8/vfs_preopen.8* | |
1019 | %{_mandir}/man8/vfs_readahead.8* | |
1020 | %{_mandir}/man8/vfs_readonly.8* | |
1021 | %{_mandir}/man8/vfs_recycle.8* | |
c6a4fcd1 JR |
1022 | %{_mandir}/man8/vfs_shadow_copy2.8* |
1023 | %{_mandir}/man8/vfs_shadow_copy.8* | |
295b7a55 | 1024 | %{_mandir}/man8/vfs_snapper.8* |
c6a4fcd1 JR |
1025 | %{_mandir}/man8/vfs_streams_depot.8* |
1026 | %{_mandir}/man8/vfs_streams_xattr.8* | |
1027 | %{_mandir}/man8/vfs_syncops.8* | |
1028 | %{_mandir}/man8/vfs_time_audit.8* | |
295b7a55 | 1029 | %{_mandir}/man8/vfs_worm.8* |
d7a7a298 | 1030 | %{_mandir}/man8/vfs_xattr_tdb.8* |
f5b9acfe AM |
1031 | %{_mandir}/man8/vfs_offline.8* |
1032 | %{_mandir}/man8/vfs_shell_snap.8* | |
1033 | %{_mandir}/man8/vfs_unityed_media.8* | |
ead5ab34 | 1034 | %{_mandir}/man8/vfs_virusfilter.8* |
c6a4fcd1 | 1035 | |
3999f3d9 JR |
1036 | %dir %{_sambahome} |
1037 | %dir /var/lib/samba | |
1038 | %ghost /var/lib/samba/*.dat | |
1039 | %dir /var/lib/samba/printing | |
1040 | ||
1041 | %attr(750,root,root) %dir /var/log/samba | |
1042 | %attr(750,root,root) %dir /var/log/samba/cores | |
1043 | %attr(750,root,root) %dir /var/log/samba/cores/smbd | |
1044 | %attr(750,root,root) %dir /var/log/samba/cores/nmbd | |
1045 | %attr(750,root,root) %dir /var/log/archive/samba | |
1046 | %attr(1777,root,root) %dir /var/spool/samba | |
1047 | ||
06383b47 | 1048 | %if %{with ceph} |
c38c2d9d | 1049 | %files vfs-ceph |
2eedd257 | 1050 | %defattr(644,root,root,755) |
c38c2d9d | 1051 | %attr(755,root,root) %{_libdir}/samba/vfs/ceph.so |
295b7a55 | 1052 | %{_mandir}/man8/vfs_ceph.8* |
06383b47 | 1053 | %endif |
c38c2d9d JB |
1054 | |
1055 | %files vfs-glusterfs | |
1056 | %defattr(644,root,root,755) | |
1057 | %attr(755,root,root) %{_libdir}/samba/vfs/glusterfs.so | |
0ebc6d9d | 1058 | %attr(755,root,root) %{_libdir}/samba/vfs/glusterfs_fuse.so |
295b7a55 | 1059 | %{_mandir}/man8/vfs_glusterfs.8* |
0ebc6d9d | 1060 | %{_mandir}/man8/vfs_glusterfs_fuse.8* |
c38c2d9d | 1061 | |
ac6f9d13 | 1062 | %files common |
2eedd257 | 1063 | %defattr(644,root,root,755) |
da025caa | 1064 | %doc BUILD_SYSTEMS.txt PFIF.txt README.cifs-utils README.Coding README.contributing README.md WHATSNEW.txt |
5a89b1cc JR |
1065 | %dir %{_sysconfdir}/samba |
1066 | %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf | |
1067 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts | |
ee92e647 JR |
1068 | %attr(755,root,root) %{_bindir}/dbwrap_tool |
1069 | %attr(755,root,root) %{_bindir}/net | |
1070 | %attr(755,root,root) %{_bindir}/nmblookup | |
ee92e647 | 1071 | %attr(755,root,root) %{_bindir}/reg* |
89730013 | 1072 | %attr(755,root,root) %{_bindir}/samba-regedit |
c083eea8 | 1073 | %attr(755,root,root) %{_bindir}/samba-tool |
ee92e647 | 1074 | %attr(755,root,root) %{_bindir}/smbpasswd |
4f12cc62 JR |
1075 | %attr(755,root,root) %{_bindir}/testparm |
1076 | %attr(755,root,root) %{_bindir}/vfstest | |
5a89b1cc JR |
1077 | %dir %{_libdir}/samba/auth |
1078 | %attr(755,root,root) %{_libdir}/samba/auth/script.so | |
1079 | %attr(755,root,root) %{_libdir}/samba/auth/samba4.so | |
d7a7a298 | 1080 | %dir %{_datadir}/samba |
d7a7a298 JR |
1081 | %{_mandir}/man1/dbwrap_tool.1* |
1082 | %{_mandir}/man1/nmblookup.1* | |
d7a7a298 JR |
1083 | %{_mandir}/man1/reg*.1* |
1084 | %{_mandir}/man1/testparm.1* | |
1085 | %{_mandir}/man1/vfstest.1* | |
1086 | %{_mandir}/man5/lmhosts.5* | |
1087 | %{_mandir}/man5/smb.conf.5* | |
1088 | %{_mandir}/man5/smbpasswd.5* | |
1089 | %{_mandir}/man7/samba.7* | |
1090 | %{_mandir}/man8/net.8* | |
1091 | %{_mandir}/man8/samba-regedit.8* | |
1092 | %{_mandir}/man8/samba-tool.8* | |
1093 | ||
1094 | %if %{without system_libs} | |
d7a7a298 JR |
1095 | %attr(755,root,root) %{_bindir}/tdbbackup |
1096 | %attr(755,root,root) %{_bindir}/tdbdump | |
1097 | %attr(755,root,root) %{_bindir}/tdbtool | |
d7a7a298 JR |
1098 | %attr(755,root,root) %{_libdir}/samba/libtalloc.so.* |
1099 | %attr(755,root,root) %{_libdir}/samba/libtdb.so.* | |
d7a7a298 JR |
1100 | %{_mandir}/man8/tdbbackup.8* |
1101 | %{_mandir}/man8/tdbdump.8* | |
1102 | %{_mandir}/man8/tdbtool.8* | |
1103 | %endif | |
1104 | ||
c38c2d9d JB |
1105 | %files client |
1106 | %defattr(644,root,root,755) | |
1107 | %attr(755,root,root) %{_bindir}/cifsdd | |
d8ad099f | 1108 | %attr(755,root,root) %{_bindir}/findsmb |
953a4f97 | 1109 | %attr(755,root,root) %{_bindir}/mvxattr |
c38c2d9d JB |
1110 | %attr(755,root,root) %{_bindir}/rpcclient |
1111 | %attr(755,root,root) %{_bindir}/smbcacls | |
1112 | %attr(755,root,root) %{_bindir}/smbclient | |
c38c2d9d JB |
1113 | %attr(755,root,root) %{_bindir}/smbcquotas |
1114 | %attr(755,root,root) %{_bindir}/smbtar | |
1115 | %attr(755,root,root) %{_bindir}/smbtree | |
5d10c8bf JB |
1116 | %if %{with winexe} |
1117 | %attr(755,root,root) %{_bindir}/winexe | |
1118 | %endif | |
c38c2d9d | 1119 | %{_mandir}/man1/findsmb.1* |
953a4f97 | 1120 | %{_mandir}/man1/mvxattr.1* |
c38c2d9d JB |
1121 | %{_mandir}/man1/rpcclient.1* |
1122 | %{_mandir}/man1/smbcacls.1* | |
1123 | %{_mandir}/man1/smbclient.1* | |
1124 | %{_mandir}/man1/smbcquotas.1* | |
1125 | %{_mandir}/man1/smbtar.1* | |
1126 | %{_mandir}/man1/smbtree.1* | |
d8ad099f | 1127 | %{_mandir}/man8/cifsdd.8* |
c38c2d9d JB |
1128 | |
1129 | %files winbind | |
1130 | %defattr(644,root,root,755) | |
1131 | %attr(754,root,root) /etc/rc.d/init.d/winbind | |
1132 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind | |
1133 | %{systemdunitdir}/winbind.service | |
1134 | %attr(755,root,root) %{_bindir}/ntlm_auth | |
1135 | %attr(755,root,root) %{_bindir}/wbinfo | |
1136 | %attr(755,root,root) %{_sbindir}/winbindd | |
1137 | %attr(755,root,root) /%{_lib}/security/pam_winbind.so | |
1138 | %attr(755,root,root) /%{_lib}/libnss_winbind.so* | |
8bd519e3 AM |
1139 | %dir %{_libdir}/samba/krb5 |
1140 | %attr(755,root,root) %{_libdir}/samba/krb5/winbind_krb5_locator.so | |
295b7a55 AM |
1141 | %attr(755,root,root) %{_libdir}/samba/libidmap-samba4.so |
1142 | %attr(755,root,root) %{_libdir}/samba/libnss-info-samba4.so | |
c38c2d9d JB |
1143 | %dir %{_libdir}/samba/idmap |
1144 | %attr(755,root,root) %{_libdir}/samba/idmap/ad.so | |
1145 | %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so | |
1146 | %attr(755,root,root) %{_libdir}/samba/idmap/hash.so | |
1147 | %attr(755,root,root) %{_libdir}/samba/idmap/ldap.so | |
1148 | %attr(755,root,root) %{_libdir}/samba/idmap/rfc2307.so | |
1149 | %attr(755,root,root) %{_libdir}/samba/idmap/rid.so | |
f5b9acfe | 1150 | %attr(755,root,root) %{_libdir}/samba/idmap/script.so |
c38c2d9d JB |
1151 | %attr(755,root,root) %{_libdir}/samba/idmap/tdb2.so |
1152 | %dir %{_libdir}/samba/nss_info | |
1153 | %attr(755,root,root) %{_libdir}/samba/nss_info/hash.so | |
1154 | %attr(755,root,root) %{_libdir}/samba/nss_info/rfc2307.so | |
1155 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu20.so | |
1156 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu.so | |
1157 | %{_mandir}/man1/ntlm_auth.1* | |
1158 | %{_mandir}/man1/wbinfo*.1* | |
1159 | %{_mandir}/man5/pam_winbind.conf.5* | |
c38c2d9d JB |
1160 | %{_mandir}/man8/idmap_ad.8* |
1161 | %{_mandir}/man8/idmap_autorid.8* | |
1162 | %{_mandir}/man8/idmap_hash.8* | |
1163 | %{_mandir}/man8/idmap_ldap.8* | |
1164 | %{_mandir}/man8/idmap_nss.8* | |
1165 | %{_mandir}/man8/idmap_rfc2307.8* | |
1166 | %{_mandir}/man8/idmap_rid.8* | |
23038e32 | 1167 | %{_mandir}/man8/idmap_script.8* |
c38c2d9d JB |
1168 | %{_mandir}/man8/idmap_tdb2.8* |
1169 | %{_mandir}/man8/idmap_tdb.8* | |
1170 | %{_mandir}/man8/pam_winbind.8* | |
1171 | %{_mandir}/man8/winbindd*.8* | |
8bd519e3 | 1172 | %{_mandir}/man8/winbind_krb5_locator.8* |
c38c2d9d JB |
1173 | |
1174 | %if %{with cups} | |
1175 | %files -n cups-backend-smb | |
1176 | %defattr(644,root,root,755) | |
1177 | %attr(755,root,root) %{cups_serverbin}/backend/smb | |
5fe02f1e JB |
1178 | %if "%{_libexecdir}" != "%{_libdir}" |
1179 | %dir %{_libexecdir}/samba | |
1180 | %endif | |
1181 | %attr(755,root,root) %{_libexecdir}/samba/smbspool_krb5_wrapper | |
c38c2d9d JB |
1182 | %attr(755,root,root) %{_bindir}/smbspool |
1183 | %{_mandir}/man8/smbspool.8* | |
d8ad099f | 1184 | %{_mandir}/man8/smbspool_krb5_wrapper.8* |
c38c2d9d JB |
1185 | %endif |
1186 | ||
1187 | %files -n nss_wins | |
1188 | %defattr(644,root,root,755) | |
1189 | %attr(755,root,root) /%{_lib}/libnss_wins.so* | |
1190 | ||
c38c2d9d JB |
1191 | %files -n smbget |
1192 | %defattr(644,root,root,755) | |
1193 | %attr(755,root,root) %{_bindir}/smbget | |
1194 | %{_mandir}/man1/smbget.1* | |
1195 | %{_mandir}/man5/smbgetrc.5* | |
1196 | ||
d7a7a298 JR |
1197 | %files libs |
1198 | %defattr(644,root,root,755) | |
17dffdb7 JR |
1199 | %if "%{_lib}" == "lib64" |
1200 | /etc/ld.so.conf.d/samba64.conf | |
1201 | %else | |
d7a7a298 | 1202 | /etc/ld.so.conf.d/samba.conf |
17dffdb7 | 1203 | %endif |
8e43bad6 JR |
1204 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so.*.*.* |
1205 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-binding.so.0 | |
0b940f4e JR |
1206 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so.*.*.* |
1207 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-samr.so.0 | |
8e43bad6 JR |
1208 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so.*.*.* |
1209 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-server.so.0 | |
d7a7a298 JR |
1210 | %attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.* |
1211 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc.so.0 | |
d7a7a298 JR |
1212 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so.*.*.* |
1213 | %attr(755,root,root) %ghost %{_libdir}/libndr-krb5pac.so.0 | |
8e43bad6 JR |
1214 | %attr(755,root,root) %{_libdir}/libndr-nbt.so.*.*.* |
1215 | %attr(755,root,root) %ghost %{_libdir}/libndr-nbt.so.0 | |
1216 | %attr(755,root,root) %{_libdir}/libndr.so.*.*.* | |
1217 | %attr(755,root,root) %ghost %{_libdir}/libndr.so.0 | |
8e43bad6 JR |
1218 | %attr(755,root,root) %{_libdir}/libndr-standard.so.*.*.* |
1219 | %attr(755,root,root) %ghost %{_libdir}/libndr-standard.so.0 | |
1220 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so.*.*.* | |
1221 | %attr(755,root,root) %ghost %{_libdir}/libsamba-credentials.so.0 | |
f5b9acfe | 1222 | %attr(755,root,root) %{_libdir}/libsamba-errors.so.1 |
8e43bad6 JR |
1223 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so.*.*.* |
1224 | %attr(755,root,root) %ghost %{_libdir}/libsamba-hostconfig.so.0 | |
295b7a55 AM |
1225 | %attr(755,root,root) %{_libdir}/libsamba-passdb.so.*.*.* |
1226 | %attr(755,root,root) %ghost %{_libdir}/libsamba-passdb.so.0 | |
2a79b79a AG |
1227 | %attr(755,root,root) %{_libdir}/libsamba-policy.cpython-3*so.*.*.* |
1228 | %attr(755,root,root) %ghost %{_libdir}/libsamba-policy.cpython-3*.so.0 | |
4d036a87 JR |
1229 | %attr(755,root,root) %{_libdir}/libsamba-util.so.*.*.* |
1230 | %attr(755,root,root) %ghost %{_libdir}/libsamba-util.so.0 | |
8e43bad6 JR |
1231 | %attr(755,root,root) %{_libdir}/libsamdb.so.*.*.* |
1232 | %attr(755,root,root) %ghost %{_libdir}/libsamdb.so.0 | |
8e43bad6 JR |
1233 | %attr(755,root,root) %{_libdir}/libtevent-util.so.*.*.* |
1234 | %attr(755,root,root) %ghost %{_libdir}/libtevent-util.so.0 | |
1235 | %attr(755,root,root) %{_libdir}/libnetapi.so.0 | |
4d036a87 | 1236 | %attr(755,root,root) %{_libdir}/libsmbconf.so.0 |
d78344fc | 1237 | %attr(755,root,root) %{_libdir}/libsmbldap.so.2 |
4d036a87 | 1238 | %dir %{_libdir}/samba |
d8ad099f AM |
1239 | |
1240 | %if %{without replace} | |
a76ccf78 | 1241 | %attr(755,root,root) %{_libdir}/samba/libreplace-samba4.so |
a76ccf78 JR |
1242 | %endif |
1243 | %if %{without system_heimdal} | |
d8ad099f AM |
1244 | %attr(755,root,root) %ghost %{_libdir}/samba/libasn1-samba4.so.8 |
1245 | %attr(755,root,root) %{_libdir}/samba/libasn1-samba4.so.8.0.0 | |
1246 | %attr(755,root,root) %ghost %{_libdir}/samba/libcom_err-samba4.so.0 | |
1247 | %attr(755,root,root) %{_libdir}/samba/libcom_err-samba4.so.0.25 | |
1248 | %attr(755,root,root) %ghost %{_libdir}/samba/libgssapi-samba4.so.2 | |
1249 | %attr(755,root,root) %{_libdir}/samba/libgssapi-samba4.so.2.0.0 | |
1250 | %attr(755,root,root) %ghost %{_libdir}/samba/libhcrypto-samba4.so.5 | |
1251 | %attr(755,root,root) %{_libdir}/samba/libhcrypto-samba4.so.5.0.1 | |
1252 | %attr(755,root,root) %ghost %{_libdir}/samba/libhdb-samba4.so.11 | |
1253 | %attr(755,root,root) %{_libdir}/samba/libhdb-samba4.so.11.0.2 | |
1254 | %attr(755,root,root) %ghost %{_libdir}/samba/libheimbase-samba4.so.1 | |
1255 | %attr(755,root,root) %{_libdir}/samba/libheimbase-samba4.so.1.0.0 | |
a76ccf78 JR |
1256 | %attr(755,root,root) %ghost %{_libdir}/samba/libheimntlm-samba4.so.1 |
1257 | %attr(755,root,root) %{_libdir}/samba/libheimntlm-samba4.so.1.0.1 | |
d8ad099f AM |
1258 | %attr(755,root,root) %ghost %{_libdir}/samba/libhx509-samba4.so.5 |
1259 | %attr(755,root,root) %{_libdir}/samba/libhx509-samba4.so.5.0.0 | |
a76ccf78 JR |
1260 | %attr(755,root,root) %ghost %{_libdir}/samba/libkdc-samba4.so.2 |
1261 | %attr(755,root,root) %{_libdir}/samba/libkdc-samba4.so.2.0.0 | |
d8ad099f AM |
1262 | %attr(755,root,root) %ghost %{_libdir}/samba/libkrb5-samba4.so.26 |
1263 | %attr(755,root,root) %{_libdir}/samba/libkrb5-samba4.so.26.0.0 | |
1264 | %attr(755,root,root) %ghost %{_libdir}/samba/libroken-samba4.so.19 | |
1265 | %attr(755,root,root) %{_libdir}/samba/libroken-samba4.so.19.0.1 | |
1266 | %attr(755,root,root) %ghost %{_libdir}/samba/libwind-samba4.so.0 | |
1267 | %attr(755,root,root) %{_libdir}/samba/libwind-samba4.so.0.0.0 | |
1268 | %endif | |
295b7a55 AM |
1269 | %attr(755,root,root) %{_libdir}/samba/libaddns-samba4.so |
1270 | %attr(755,root,root) %{_libdir}/samba/libads-samba4.so | |
1271 | %attr(755,root,root) %{_libdir}/samba/libasn1util-samba4.so | |
1272 | %attr(755,root,root) %{_libdir}/samba/libauth4-samba4.so | |
1273 | %attr(755,root,root) %{_libdir}/samba/libauthkrb5-samba4.so | |
295b7a55 AM |
1274 | %attr(755,root,root) %{_libdir}/samba/libauth-samba4.so |
1275 | %attr(755,root,root) %{_libdir}/samba/libauth-unix-token-samba4.so | |
1276 | %attr(755,root,root) %{_libdir}/samba/libCHARSET3-samba4.so | |
1277 | %attr(755,root,root) %{_libdir}/samba/libcliauth-samba4.so | |
da025caa | 1278 | %attr(755,root,root) %{_libdir}/samba/libclidns-samba4.so |
295b7a55 AM |
1279 | %attr(755,root,root) %{_libdir}/samba/libcli-cldap-samba4.so |
1280 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap-common-samba4.so | |
1281 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap-samba4.so | |
1282 | %attr(755,root,root) %{_libdir}/samba/libcli-nbt-samba4.so | |
1283 | %attr(755,root,root) %{_libdir}/samba/libcli-smb-common-samba4.so | |
1284 | %attr(755,root,root) %{_libdir}/samba/libcli-spoolss-samba4.so | |
1285 | %attr(755,root,root) %{_libdir}/samba/libcluster-samba4.so | |
76b03a49 | 1286 | %attr(755,root,root) %{_libdir}/samba/libcmdline-contexts-samba4.so |
295b7a55 | 1287 | %attr(755,root,root) %{_libdir}/samba/libcmdline-credentials-samba4.so |
d78344fc | 1288 | %attr(755,root,root) %{_libdir}/samba/libcommon-auth-samba4.so |
279f0935 | 1289 | %attr(755,root,root) %{_libdir}/samba/libctdb-event-client-samba4.so |
295b7a55 AM |
1290 | %attr(755,root,root) %{_libdir}/samba/libdb-glue-samba4.so |
1291 | %attr(755,root,root) %{_libdir}/samba/libdbwrap-samba4.so | |
8e43bad6 | 1292 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba4.so |
295b7a55 AM |
1293 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba-samba4.so |
1294 | %attr(755,root,root) %{_libdir}/samba/libdfs-server-ad-samba4.so | |
c1fde71a | 1295 | %attr(755,root,root) %{_libdir}/samba/libdnsserver-common-samba4.so |
d8ad099f | 1296 | %attr(755,root,root) %{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so |
295b7a55 | 1297 | %attr(755,root,root) %{_libdir}/samba/libdsdb-module-samba4.so |
295b7a55 AM |
1298 | %attr(755,root,root) %{_libdir}/samba/libevents-samba4.so |
1299 | %attr(755,root,root) %{_libdir}/samba/libflag-mapping-samba4.so | |
0749f183 JR |
1300 | %attr(755,root,root) %{_libdir}/samba/libgenrand-samba4.so |
1301 | %attr(755,root,root) %{_libdir}/samba/libgensec-samba4.so | |
711565cb | 1302 | %attr(755,root,root) %{_libdir}/samba/libgpext-samba4.so |
05b86aad | 1303 | %attr(755,root,root) %{_libdir}/samba/libgpo-samba4.so |
295b7a55 AM |
1304 | %attr(755,root,root) %{_libdir}/samba/libgse-samba4.so |
1305 | %attr(755,root,root) %{_libdir}/samba/libHDB-SAMBA4-samba4.so | |
1306 | %attr(755,root,root) %{_libdir}/samba/libhttp-samba4.so | |
1307 | %attr(755,root,root) %{_libdir}/samba/libinterfaces-samba4.so | |
0749f183 | 1308 | %attr(755,root,root) %{_libdir}/samba/libiov-buf-samba4.so |
295b7a55 AM |
1309 | %attr(755,root,root) %{_libdir}/samba/libkrb5samba-samba4.so |
1310 | %attr(755,root,root) %{_libdir}/samba/libldbsamba-samba4.so | |
1311 | %attr(755,root,root) %{_libdir}/samba/liblibcli-lsa3-samba4.so | |
1312 | %attr(755,root,root) %{_libdir}/samba/liblibcli-netlogon3-samba4.so | |
1313 | %attr(755,root,root) %{_libdir}/samba/liblibsmb-samba4.so | |
1314 | %attr(755,root,root) %{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so | |
d8ad099f AM |
1315 | %attr(755,root,root) %{_libdir}/samba/libmessages-dgm-samba4.so |
1316 | %attr(755,root,root) %{_libdir}/samba/libmessages-util-samba4.so | |
0749f183 | 1317 | %attr(755,root,root) %{_libdir}/samba/libMESSAGING-samba4.so |
d78344fc | 1318 | %attr(755,root,root) %{_libdir}/samba/libMESSAGING-SEND-samba4.so |
da025caa | 1319 | %attr(755,root,root) %{_libdir}/samba/libmscat-samba4.so |
d8ad099f | 1320 | %attr(755,root,root) %{_libdir}/samba/libmsghdr-samba4.so |
295b7a55 | 1321 | %attr(755,root,root) %{_libdir}/samba/libmsrpc3-samba4.so |
8e43bad6 | 1322 | %attr(755,root,root) %{_libdir}/samba/libndr-samba4.so |
295b7a55 AM |
1323 | %attr(755,root,root) %{_libdir}/samba/libndr-samba-samba4.so |
1324 | %attr(755,root,root) %{_libdir}/samba/libnetif-samba4.so | |
1325 | %attr(755,root,root) %{_libdir}/samba/libnet-keytab-samba4.so | |
295b7a55 | 1326 | %attr(755,root,root) %{_libdir}/samba/libnpa-tstream-samba4.so |
295b7a55 | 1327 | %attr(755,root,root) %{_libdir}/samba/libpac-samba4.so |
76b03a49 | 1328 | %attr(755,root,root) %{_libdir}/samba/libpopt-samba3-cmdline-samba4.so |
295b7a55 AM |
1329 | %attr(755,root,root) %{_libdir}/samba/libpopt-samba3-samba4.so |
1330 | %attr(755,root,root) %{_libdir}/samba/libposix-eadb-samba4.so | |
05b86aad | 1331 | %attr(755,root,root) %{_libdir}/samba/libprinter-driver-samba4.so |
295b7a55 AM |
1332 | %attr(755,root,root) %{_libdir}/samba/libprinting-migrate-samba4.so |
1333 | %attr(755,root,root) %{_libdir}/samba/libprocess-model-samba4.so | |
0749f183 | 1334 | %attr(755,root,root) %{_libdir}/samba/libregistry-samba4.so |
295b7a55 | 1335 | %attr(755,root,root) %{_libdir}/samba/libsamba3-util-samba4.so |
295b7a55 AM |
1336 | %attr(755,root,root) %{_libdir}/samba/libsamba-debug-samba4.so |
1337 | %attr(755,root,root) %{_libdir}/samba/libsamba-modules-samba4.so | |
2a79b79a AG |
1338 | %attr(755,root,root) %{_libdir}/samba/libsamba-net.cpython-3*-samba4.so |
1339 | %attr(755,root,root) %{_libdir}/samba/libsamba-python.cpython-3*-samba4.so | |
295b7a55 | 1340 | %attr(755,root,root) %{_libdir}/samba/libsamba-security-samba4.so |
295b7a55 AM |
1341 | %attr(755,root,root) %{_libdir}/samba/libsamba-sockets-samba4.so |
1342 | %attr(755,root,root) %{_libdir}/samba/libsamdb-common-samba4.so | |
279f0935 | 1343 | %attr(755,root,root) %{_libdir}/samba/libscavenge-dns-records-samba4.so |
295b7a55 | 1344 | %attr(755,root,root) %{_libdir}/samba/libsecrets3-samba4.so |
0749f183 | 1345 | %attr(755,root,root) %{_libdir}/samba/libserver-id-db-samba4.so |
295b7a55 AM |
1346 | %attr(755,root,root) %{_libdir}/samba/libserver-role-samba4.so |
1347 | %attr(755,root,root) %{_libdir}/samba/libservice-samba4.so | |
1348 | %attr(755,root,root) %{_libdir}/samba/libshares-samba4.so | |
0749f183 | 1349 | %attr(755,root,root) %{_libdir}/samba/libsmbclient-raw-samba4.so |
295b7a55 AM |
1350 | %attr(755,root,root) %{_libdir}/samba/libsmbd-base-samba4.so |
1351 | %attr(755,root,root) %{_libdir}/samba/libsmbd-conn-samba4.so | |
1352 | %attr(755,root,root) %{_libdir}/samba/libsmbd-shim-samba4.so | |
1353 | %attr(755,root,root) %{_libdir}/samba/libsmbldaphelper-samba4.so | |
1354 | %attr(755,root,root) %{_libdir}/samba/libsmbpasswdparser-samba4.so | |
295b7a55 | 1355 | %attr(755,root,root) %{_libdir}/samba/libsmb-transport-samba4.so |
0749f183 JR |
1356 | %attr(755,root,root) %{_libdir}/samba/libsocket-blocking-samba4.so |
1357 | %attr(755,root,root) %{_libdir}/samba/libsys-rw-samba4.so | |
1358 | %attr(755,root,root) %{_libdir}/samba/libtalloc-report-samba4.so | |
295b7a55 | 1359 | %attr(755,root,root) %{_libdir}/samba/libtdb-wrap-samba4.so |
0749f183 | 1360 | %attr(755,root,root) %{_libdir}/samba/libtime-basic-samba4.so |
295b7a55 AM |
1361 | %attr(755,root,root) %{_libdir}/samba/libtrusts-util-samba4.so |
1362 | %attr(755,root,root) %{_libdir}/samba/libutil-cmdline-samba4.so | |
295b7a55 AM |
1363 | %attr(755,root,root) %{_libdir}/samba/libutil-reg-samba4.so |
1364 | %attr(755,root,root) %{_libdir}/samba/libutil-setid-samba4.so | |
1365 | %attr(755,root,root) %{_libdir}/samba/libutil-tdb-samba4.so | |
1366 | %attr(755,root,root) %{_libdir}/samba/libxattr-tdb-samba4.so | |
e71e0470 | 1367 | |
f2b0247b ER |
1368 | %files devel |
1369 | %defattr(644,root,root,755) | |
f1c7ad61 JR |
1370 | %{_includedir}/samba-4.0/charset.h |
1371 | %dir %{_includedir}/samba-4.0/core | |
1372 | %{_includedir}/samba-4.0/core/doserr.h | |
1373 | %{_includedir}/samba-4.0/core/error.h | |
295b7a55 | 1374 | %{_includedir}/samba-4.0/core/hresult.h |
f1c7ad61 | 1375 | %{_includedir}/samba-4.0/core/ntstatus.h |
d78344fc | 1376 | %{_includedir}/samba-4.0/core/ntstatus_gen.h |
f1c7ad61 | 1377 | %{_includedir}/samba-4.0/core/werror.h |
d78344fc | 1378 | %{_includedir}/samba-4.0/core/werror_gen.h |
f1c7ad61 JR |
1379 | %{_includedir}/samba-4.0/credentials.h |
1380 | %{_includedir}/samba-4.0/dcerpc.h | |
1381 | %{_includedir}/samba-4.0/dcerpc_server.h | |
f1c7ad61 JR |
1382 | %{_includedir}/samba-4.0/domain_credentials.h |
1383 | %dir %{_includedir}/samba-4.0/gen_ndr | |
1384 | %{_includedir}/samba-4.0/gen_ndr/atsvc.h | |
1385 | %{_includedir}/samba-4.0/gen_ndr/auth.h | |
1386 | %{_includedir}/samba-4.0/gen_ndr/dcerpc.h | |
8e43bad6 JR |
1387 | %{_includedir}/samba-4.0/gen_ndr/drsblobs.h |
1388 | %{_includedir}/samba-4.0/gen_ndr/drsuapi.h | |
f1c7ad61 JR |
1389 | %{_includedir}/samba-4.0/gen_ndr/krb5pac.h |
1390 | %{_includedir}/samba-4.0/gen_ndr/lsa.h | |
f1c7ad61 JR |
1391 | %{_includedir}/samba-4.0/gen_ndr/misc.h |
1392 | %{_includedir}/samba-4.0/gen_ndr/nbt.h | |
f1c7ad61 JR |
1393 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h |
1394 | %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h | |
8e43bad6 JR |
1395 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h |
1396 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h | |
f1c7ad61 | 1397 | %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h |
f1c7ad61 JR |
1398 | %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h |
1399 | %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h | |
f1c7ad61 | 1400 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h |
8e43bad6 | 1401 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h |
f1c7ad61 | 1402 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h |
8e43bad6 | 1403 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h |
f1c7ad61 JR |
1404 | %{_includedir}/samba-4.0/gen_ndr/netlogon.h |
1405 | %{_includedir}/samba-4.0/gen_ndr/samr.h | |
1406 | %{_includedir}/samba-4.0/gen_ndr/security.h | |
1407 | %{_includedir}/samba-4.0/gen_ndr/server_id.h | |
1408 | %{_includedir}/samba-4.0/gen_ndr/svcctl.h | |
f1c7ad61 JR |
1409 | %{_includedir}/samba-4.0/ldb_wrap.h |
1410 | %{_includedir}/samba-4.0/ndr.h | |
1411 | %dir %{_includedir}/samba-4.0/ndr | |
295b7a55 | 1412 | %{_includedir}/samba-4.0/ndr/ndr_dcerpc.h |
8e43bad6 JR |
1413 | %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h |
1414 | %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h | |
d8ad099f | 1415 | %{_includedir}/samba-4.0/ndr/ndr_krb5pac.h |
f1c7ad61 JR |
1416 | %{_includedir}/samba-4.0/ndr/ndr_nbt.h |
1417 | %{_includedir}/samba-4.0/ndr/ndr_svcctl.h | |
1418 | %{_includedir}/samba-4.0/param.h | |
1419 | %{_includedir}/samba-4.0/policy.h | |
f1c7ad61 JR |
1420 | %{_includedir}/samba-4.0/rpc_common.h |
1421 | %dir %{_includedir}/samba-4.0/samba | |
1422 | %{_includedir}/samba-4.0/samba/session.h | |
f1c7ad61 JR |
1423 | %{_includedir}/samba-4.0/samba/version.h |
1424 | %{_includedir}/samba-4.0/share.h | |
295b7a55 | 1425 | %{_includedir}/samba-4.0/smb2_lease_struct.h |
f1c7ad61 JR |
1426 | %{_includedir}/samba-4.0/tdr.h |
1427 | %{_includedir}/samba-4.0/tsocket.h | |
1428 | %{_includedir}/samba-4.0/tsocket_internal.h | |
1429 | %dir %{_includedir}/samba-4.0/util | |
1430 | %{_includedir}/samba-4.0/util/attr.h | |
295b7a55 | 1431 | %{_includedir}/samba-4.0/util/blocking.h |
f1c7ad61 JR |
1432 | %{_includedir}/samba-4.0/util/byteorder.h |
1433 | %{_includedir}/samba-4.0/util/data_blob.h | |
1434 | %{_includedir}/samba-4.0/util/debug.h | |
da025caa | 1435 | %{_includedir}/samba-4.0/util/discard.h |
295b7a55 | 1436 | %{_includedir}/samba-4.0/util/fault.h |
f5b9acfe | 1437 | %{_includedir}/samba-4.0/util/genrand.h |
295b7a55 AM |
1438 | %{_includedir}/samba-4.0/util/idtree.h |
1439 | %{_includedir}/samba-4.0/util/idtree_random.h | |
295b7a55 | 1440 | %{_includedir}/samba-4.0/util/signal.h |
f1c7ad61 | 1441 | %{_includedir}/samba-4.0/util/string_wrappers.h |
295b7a55 | 1442 | %{_includedir}/samba-4.0/util/substitute.h |
f1c7ad61 JR |
1443 | %{_includedir}/samba-4.0/util/tevent_ntstatus.h |
1444 | %{_includedir}/samba-4.0/util/tevent_unix.h | |
1445 | %{_includedir}/samba-4.0/util/tevent_werror.h | |
d78344fc | 1446 | %{_includedir}/samba-4.0/util/tfork.h |
f1c7ad61 | 1447 | %{_includedir}/samba-4.0/util/time.h |
8e43bad6 | 1448 | %{_includedir}/samba-4.0/util_ldb.h |
31de16f4 JR |
1449 | %{_includedir}/samba-4.0/lookup_sid.h |
1450 | %{_includedir}/samba-4.0/machine_sid.h | |
1451 | %{_includedir}/samba-4.0/netapi.h | |
1452 | %{_includedir}/samba-4.0/passdb.h | |
1453 | %{_includedir}/samba-4.0/smbconf.h | |
1454 | %{_includedir}/samba-4.0/smb_ldap.h | |
1455 | %{_includedir}/samba-4.0/smbldap.h | |
8e43bad6 JR |
1456 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so |
1457 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so | |
1458 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so | |
1459 | %attr(755,root,root) %{_libdir}/libdcerpc.so | |
8e43bad6 JR |
1460 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so |
1461 | %attr(755,root,root) %{_libdir}/libndr-nbt.so | |
8e43bad6 | 1462 | %attr(755,root,root) %{_libdir}/libndr.so |
31de16f4 JR |
1463 | %attr(755,root,root) %{_libdir}/libndr-standard.so |
1464 | %attr(755,root,root) %{_libdir}/libnetapi.so | |
8e43bad6 | 1465 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so |
0749f183 | 1466 | %attr(755,root,root) %{_libdir}/libsamba-errors.so |
8e43bad6 | 1467 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so |
295b7a55 | 1468 | %attr(755,root,root) %{_libdir}/libsamba-passdb.so |
b47280ac | 1469 | %attr(755,root,root) %{_libdir}/libsamba-policy.cpython-3*.so |
8e43bad6 JR |
1470 | %attr(755,root,root) %{_libdir}/libsamba-util.so |
1471 | %attr(755,root,root) %{_libdir}/libsamdb.so | |
8e43bad6 | 1472 | %attr(755,root,root) %{_libdir}/libsmbconf.so |
31de16f4 | 1473 | %attr(755,root,root) %{_libdir}/libsmbldap.so |
8e43bad6 | 1474 | %attr(755,root,root) %{_libdir}/libtevent-util.so |
f1c7ad61 | 1475 | %{_pkgconfigdir}/dcerpc.pc |
05913998 JR |
1476 | %{_pkgconfigdir}/dcerpc_samr.pc |
1477 | %{_pkgconfigdir}/dcerpc_server.pc | |
8e43bad6 | 1478 | %{_pkgconfigdir}/ndr.pc |
05913998 JR |
1479 | %{_pkgconfigdir}/ndr_krb5pac.pc |
1480 | %{_pkgconfigdir}/ndr_nbt.pc | |
1481 | %{_pkgconfigdir}/ndr_standard.pc | |
31de16f4 | 1482 | %{_pkgconfigdir}/netapi.pc |
05913998 JR |
1483 | %{_pkgconfigdir}/samba-credentials.pc |
1484 | %{_pkgconfigdir}/samba-hostconfig.pc | |
b47280ac | 1485 | %{_pkgconfigdir}/samba-policy.cpython-3*.pc |
05913998 JR |
1486 | %{_pkgconfigdir}/samba-util.pc |
1487 | %{_pkgconfigdir}/samdb.pc | |
4d036a87 | 1488 | |
382a477a JR |
1489 | %files pidl |
1490 | %defattr(644,root,root,755) | |
1491 | %attr(755,root,root) %{_bindir}/pidl | |
1492 | %{_mandir}/man1/pidl.1* | |
1493 | %{_mandir}/man3/Parse::Pidl*.3* | |
1494 | %{perl_vendorlib}/Parse/Pidl* | |
29511e6d | 1495 | |
2a79b79a AG |
1496 | %files -n python3-samba |
1497 | %defattr(644,root,root,755) | |
1498 | %dir %{py3_sitedir}/samba | |
1499 | %{py3_sitedir}/samba/*.py | |
1500 | %{py3_sitedir}/samba/__pycache__ | |
1501 | %attr(755,root,root) %{py3_sitedir}/samba/*.so | |
1502 | %dir %{py3_sitedir}/samba/dcerpc | |
1503 | %{py3_sitedir}/samba/dcerpc/*.py | |
1504 | %{py3_sitedir}/samba/dcerpc/__pycache__ | |
1505 | %attr(755,root,root) %{py3_sitedir}/samba/dcerpc/*.so | |
1506 | %dir %{py3_sitedir}/samba/emulate | |
1507 | %{py3_sitedir}/samba/emulate/*.py | |
1508 | %{py3_sitedir}/samba/emulate/__pycache__ | |
1509 | %dir %{py3_sitedir}/samba/gp_parse | |
1510 | %{py3_sitedir}/samba/gp_parse/*.py | |
1511 | %{py3_sitedir}/samba/gp_parse/__pycache__ | |
1512 | %dir %{py3_sitedir}/samba/kcc | |
1513 | %{py3_sitedir}/samba/kcc/*.py | |
1514 | %{py3_sitedir}/samba/kcc/__pycache__ | |
1515 | %dir %{py3_sitedir}/samba/netcmd | |
1516 | %{py3_sitedir}/samba/netcmd/*.py | |
1517 | %{py3_sitedir}/samba/netcmd/__pycache__ | |
1518 | %dir %{py3_sitedir}/samba/provision | |
1519 | %{py3_sitedir}/samba/provision/*.py | |
1520 | %{py3_sitedir}/samba/provision/__pycache__ | |
1521 | %dir %{py3_sitedir}/samba/samba3 | |
1522 | %{py3_sitedir}/samba/samba3/*.py | |
1523 | %{py3_sitedir}/samba/samba3/__pycache__ | |
1524 | %attr(755,root,root) %{py3_sitedir}/samba/samba3/*.so | |
1525 | %dir %{py3_sitedir}/samba/subunit | |
1526 | %{py3_sitedir}/samba/subunit/*.py | |
1527 | %{py3_sitedir}/samba/subunit/__pycache__ | |
1528 | %dir %{py3_sitedir}/samba/tests | |
1529 | %{py3_sitedir}/samba/tests/*.py | |
1530 | %{py3_sitedir}/samba/tests/__pycache__ | |
1531 | %dir %{py3_sitedir}/samba/tests/blackbox | |
1532 | %{py3_sitedir}/samba/tests/blackbox/*.py | |
1533 | %{py3_sitedir}/samba/tests/blackbox/__pycache__ | |
1534 | %dir %{py3_sitedir}/samba/tests/dcerpc | |
1535 | %{py3_sitedir}/samba/tests/dcerpc/*.py | |
1536 | %{py3_sitedir}/samba/tests/dcerpc/__pycache__ | |
1537 | %dir %{py3_sitedir}/samba/tests/dns_forwarder_helpers | |
1538 | %{py3_sitedir}/samba/tests/dns_forwarder_helpers/*.py | |
1539 | %{py3_sitedir}/samba/tests/dns_forwarder_helpers/__pycache__ | |
1540 | %dir %{py3_sitedir}/samba/tests/kcc | |
1541 | %{py3_sitedir}/samba/tests/kcc/*.py | |
1542 | %{py3_sitedir}/samba/tests/kcc/__pycache__ | |
1543 | %dir %{py3_sitedir}/samba/tests/samba_tool | |
1544 | %{py3_sitedir}/samba/tests/samba_tool/*.py | |
1545 | %{py3_sitedir}/samba/tests/samba_tool/__pycache__ | |
1546 | %dir %{py3_sitedir}/samba/tests/emulate | |
1547 | %{py3_sitedir}/samba/tests/emulate/*.py | |
1548 | %{py3_sitedir}/samba/tests/emulate/__pycache__ | |
1549 | %dir %{py3_sitedir}/samba/third_party | |
1550 | %{py3_sitedir}/samba/third_party/*.py | |
1551 | %{py3_sitedir}/samba/third_party/__pycache__ | |
2a79b79a AG |
1552 | %if %{without system_libs} |
1553 | %attr(755,root,root) %{py3_sitedir}/ldb.so | |
1554 | %attr(755,root,root) %{py3_sitedir}/talloc.so | |
1555 | %attr(755,root,root) %{py3_sitedir}/tdb.so | |
1556 | %attr(755,root,root) %{py3_sitedir}/_tevent.so | |
1557 | %endif | |
70ff6d03 | 1558 | |
c083eea8 | 1559 | %files test |
d1f5710a | 1560 | %defattr(644,root,root,755) |
c083eea8 JR |
1561 | %attr(755,root,root) %{_bindir}/gentest |
1562 | %attr(755,root,root) %{_bindir}/locktest | |
1563 | %attr(755,root,root) %{_bindir}/masktest | |
1564 | %attr(755,root,root) %{_bindir}/ndrdump | |
1565 | %attr(755,root,root) %{_bindir}/smbtorture | |
295b7a55 | 1566 | %attr(755,root,root) %{_libdir}/samba/libdlz-bind9-for-torture-samba4.so |
0749f183 | 1567 | %attr(755,root,root) %{_libdir}/samba/libtorture-samba4.so |
c083eea8 JR |
1568 | %{_mandir}/man1/gentest.1* |
1569 | %{_mandir}/man1/locktest.1* | |
1570 | %{_mandir}/man1/masktest.1* | |
1571 | %{_mandir}/man1/ndrdump.1* | |
1572 | %{_mandir}/man1/smbtorture.1* | |
d1f5710a | 1573 | |
fe5b5b93 | 1574 | %files -n libsmbclient |
382a477a JR |
1575 | %defattr(644,root,root,755) |
1576 | %attr(755,root,root) %{_libdir}/libsmbclient.so.* | |
382a477a | 1577 | %attr(755,root,root) %{_libdir}/libwbclient.so.* |
295b7a55 | 1578 | %attr(755,root,root) %{_libdir}/samba/libwinbind-client-samba4.so |
287950f2 | 1579 | %{_mandir}/man7/libsmbclient.7* |
382a477a | 1580 | |
fe5b5b93 | 1581 | %files -n libsmbclient-devel |
382a477a JR |
1582 | %defattr(644,root,root,755) |
1583 | %attr(755,root,root) %{_libdir}/libsmbclient.so | |
382a477a | 1584 | %attr(755,root,root) %{_libdir}/libwbclient.so |
5a89b1cc | 1585 | %dir %{_includedir}/samba-4.0 |
e98238cc JR |
1586 | %{_includedir}/samba-4.0/libsmbclient.h |
1587 | %{_includedir}/samba-4.0/wbclient.h | |
1588 | %{_pkgconfigdir}/smbclient.pc | |
1589 | %{_pkgconfigdir}/wbclient.pc | |
382a477a | 1590 | |
382a477a | 1591 | %if %{with ldap} |
025a78ca | 1592 | %files -n openldap-schema-samba |
382a477a | 1593 | %defattr(644,root,root,755) |
a3c4e78e | 1594 | %{schemadir}/samba.schema |
382a477a | 1595 | %endif |
f5b9acfe AM |
1596 | |
1597 | %files -n ctdb | |
0c995865 | 1598 | %defattr(644,root,root,755) |
f5b9acfe | 1599 | %doc ctdb/README |
0c995865 | 1600 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ctdb |
f5b9acfe AM |
1601 | %{_sysconfdir}/ctdb/notify.sh |
1602 | %{_sysconfdir}/ctdb/debug-hung-script.sh | |
1603 | %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh | |
f5b9acfe AM |
1604 | %{_sysconfdir}/ctdb/functions |
1605 | %{_sysconfdir}/ctdb/debug_locks.sh | |
42352377 | 1606 | %dir %{_localstatedir}/lib/ctdb |
f5b9acfe AM |
1607 | |
1608 | %{systemdunitdir}/ctdb.service | |
1609 | ||
1610 | %dir %{_sysconfdir}/ctdb | |
1611 | %{_sysconfdir}/ctdb/statd-callout | |
1612 | # CTDB scripts, no config files | |
1613 | # script with executable bit means activated | |
1614 | %dir %{_sysconfdir}/ctdb/nfs-checks.d | |
1615 | %{_sysconfdir}/ctdb/nfs-checks.d/00.portmapper.check | |
1616 | %{_sysconfdir}/ctdb/nfs-checks.d/10.status.check | |
1617 | %{_sysconfdir}/ctdb/nfs-checks.d/20.nfs.check | |
1618 | %{_sysconfdir}/ctdb/nfs-checks.d/30.nlockmgr.check | |
1619 | %{_sysconfdir}/ctdb/nfs-checks.d/40.mountd.check | |
1620 | %{_sysconfdir}/ctdb/nfs-checks.d/50.rquotad.check | |
1621 | %{_sysconfdir}/ctdb/nfs-checks.d/README | |
1622 | %{_sysconfdir}/ctdb/nfs-linux-kernel-callout | |
1623 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sudoers.d/ctdb | |
1624 | # CTDB scripts, no config files | |
1625 | # script with executable bit means activated | |
279f0935 AM |
1626 | %dir %{_sysconfdir}/ctdb/events |
1627 | %dir %{_sysconfdir}/ctdb/events/legacy | |
1628 | %dir %{_sysconfdir}/ctdb/events/notification | |
1629 | %{_sysconfdir}/ctdb/events/notification/README | |
1630 | %dir %{_datadir}/ctdb | |
1631 | %dir %{_datadir}/ctdb/events | |
1632 | %dir %{_datadir}/ctdb/events/legacy | |
1633 | %{_datadir}/ctdb/events/legacy/00.ctdb.script | |
1634 | %{_datadir}/ctdb/events/legacy/01.reclock.script | |
1635 | %{_datadir}/ctdb/events/legacy/05.system.script | |
1636 | %{_datadir}/ctdb/events/legacy/06.nfs.script | |
1637 | %{_datadir}/ctdb/events/legacy/10.interface.script | |
1638 | %{_datadir}/ctdb/events/legacy/11.natgw.script | |
1639 | %{_datadir}/ctdb/events/legacy/11.routing.script | |
1640 | %{_datadir}/ctdb/events/legacy/13.per_ip_routing.script | |
1641 | %{_datadir}/ctdb/events/legacy/20.multipathd.script | |
1642 | %{_datadir}/ctdb/events/legacy/31.clamd.script | |
1643 | %{_datadir}/ctdb/events/legacy/40.vsftpd.script | |
1644 | %{_datadir}/ctdb/events/legacy/41.httpd.script | |
1645 | %{_datadir}/ctdb/events/legacy/49.winbind.script | |
1646 | %{_datadir}/ctdb/events/legacy/50.samba.script | |
1647 | %{_datadir}/ctdb/events/legacy/60.nfs.script | |
1648 | %{_datadir}/ctdb/events/legacy/70.iscsi.script | |
1649 | %{_datadir}/ctdb/events/legacy/91.lvs.script | |
f5b9acfe | 1650 | %{systemdtmpfilesdir}/ctdb.conf |
0c995865 JR |
1651 | %attr(755,root,root) %{_sbindir}/ctdbd |
1652 | %attr(755,root,root) %{_sbindir}/ctdbd_wrapper | |
1653 | %attr(755,root,root) %{_bindir}/ctdb | |
da025caa | 1654 | %attr(755,root,root) %{_bindir}/ctdb_local_daemons |
0c995865 JR |
1655 | %attr(755,root,root) %{_bindir}/ping_pong |
1656 | %attr(755,root,root) %{_bindir}/ltdbtool | |
1657 | %attr(755,root,root) %{_bindir}/ctdb_diagnostics | |
1658 | %attr(755,root,root) %{_bindir}/onnode | |
5fe02f1e JB |
1659 | %dir %{_libexecdir}/ctdb |
1660 | %{_libexecdir}/ctdb/ctdb_natgw | |
1661 | %{_libexecdir}/ctdb/ctdb_recovery_helper | |
1662 | %{_libexecdir}/ctdb/smnotify | |
279f0935 AM |
1663 | %attr(755,root,root) %{_libexecdir}/ctdb/ctdb-config |
1664 | %attr(755,root,root) %{_libexecdir}/ctdb/ctdb-event | |
1665 | %attr(755,root,root) %{_libexecdir}/ctdb/ctdb-eventd | |
5fe02f1e JB |
1666 | %attr(755,root,root) %{_libexecdir}/ctdb/ctdb_killtcp |
1667 | %attr(755,root,root) %{_libexecdir}/ctdb/ctdb_lock_helper | |
1668 | %attr(755,root,root) %{_libexecdir}/ctdb/ctdb_lvs | |
1669 | %attr(755,root,root) %{_libexecdir}/ctdb/ctdb_mutex_fcntl_helper | |
279f0935 | 1670 | %attr(755,root,root) %{_libexecdir}/ctdb/ctdb-path |
5fe02f1e | 1671 | %attr(755,root,root) %{_libexecdir}/ctdb/ctdb_takeover_helper |
f5b9acfe AM |
1672 | |
1673 | %{_mandir}/man1/ctdb.1* | |
d8ad099f | 1674 | %{_mandir}/man1/ctdb_diagnostics.1* |
f5b9acfe AM |
1675 | %{_mandir}/man1/ctdbd.1* |
1676 | %{_mandir}/man1/onnode.1* | |
1677 | %{_mandir}/man1/ltdbtool.1* | |
1678 | %{_mandir}/man1/ping_pong.1* | |
1679 | %{_mandir}/man1/ctdbd_wrapper.1* | |
279f0935 AM |
1680 | %{_mandir}/man5/ctdb-script.options.5* |
1681 | %{_mandir}/man5/ctdb.conf.5* | |
1682 | %{_mandir}/man5/ctdb.sysconfig.5* | |
f5b9acfe AM |
1683 | %{_mandir}/man7/ctdb.7* |
1684 | %{_mandir}/man7/ctdb-tunables.7* | |
1685 | %{_mandir}/man7/ctdb-statistics.7* | |
ea29dc9e JR |
1686 | |
1687 | %if %{with ctdb_pcp} | |
1688 | %files -n pcp-ctdb | |
1689 | %defattr(644,root,root,755) | |
1690 | %dir /var/lib/pcp/pmdas/ctdb | |
1691 | %doc /var/lib/pcp/pmdas/ctdb/README | |
1692 | %attr(755,root,root) /var/lib/pcp/pmdas/ctdb/Install | |
1693 | %attr(755,root,root) /var/lib/pcp/pmdas/ctdb/Remove | |
1694 | %attr(755,root,root) /var/lib/pcp/pmdas/ctdb/pmdactdb | |
1695 | /var/lib/pcp/pmdas/ctdb/domain.h | |
1696 | /var/lib/pcp/pmdas/ctdb/help | |
1697 | /var/lib/pcp/pmdas/ctdb/pmns | |
1698 | %endif |