]>
Commit | Line | Data |
---|---|---|
dacaa562 | 1 | # TODO |
bf8e7304 | 2 | # - pac-responder (currently relies on MIT krb5 >= 1.9) |
dacaa562 ER |
3 | # - fix stripping before rpm: |
4 | # *** WARNING: no sources found for /usr/lib64/libipa_hbac.so.0.0.0 (stripped without sourcefile information?) | |
599b73f3 ER |
5 | %define ldb_version 1.1.0 |
6 | Summary: System Security Services Daemon | |
dd3b701a | 7 | Summary(pl.UTF-8): System Security Services Daemon - demon usług bezpieczeństwa systemu |
599b73f3 | 8 | Name: sssd |
dd3b701a | 9 | Version: 1.11.4 |
599b73f3 ER |
10 | Release: 0.1 |
11 | License: GPL v3+ | |
12 | Group: Applications/System | |
599b73f3 | 13 | Source0: https://fedorahosted.org/released/sssd/%{name}-%{version}.tar.gz |
dd3b701a | 14 | # Source0-md5: 6b52a62fd6f6b170553d032deb7b0bc8 |
dacaa562 | 15 | Source1: %{name}.init |
2713c68f ER |
16 | Patch0: %{name}-python-config.patch |
17 | Patch1: %{name}-heimdal.patch | |
dd3b701a JB |
18 | URL: https://fedorahosted.org/sssd/ |
19 | BuildRequires: autoconf >= 2.59 | |
599b73f3 | 20 | BuildRequires: automake |
dd3b701a | 21 | # nsupdate utility |
599b73f3 ER |
22 | BuildRequires: bind-utils |
23 | BuildRequires: c-ares-devel | |
dd3b701a | 24 | BuildRequires: check-devel >= 0.9.5 |
bf8e7304 | 25 | BuildRequires: cmocka-devel |
dd3b701a JB |
26 | BuildRequires: cyrus-sasl-devel >= 2 |
27 | BuildRequires: dbus-devel >= 1.0.0 | |
2713c68f | 28 | BuildRequires: docbook-dtd44-xml |
599b73f3 ER |
29 | BuildRequires: docbook-style-xsl |
30 | BuildRequires: doxygen | |
dd3b701a JB |
31 | BuildRequires: gettext-devel >= 0.14 |
32 | BuildRequires: glib2-devel >= 2.0 | |
2713c68f ER |
33 | BuildRequires: heimdal-devel |
34 | BuildRequires: keyutils-devel | |
dd3b701a | 35 | BuildRequires: libcollection-devel >= 0.5.1 |
4d07ac90 | 36 | BuildRequires: libdhash-devel >= 0.4.2 |
dd3b701a JB |
37 | BuildRequires: libini_config-devel >= 1.0.0 |
38 | BuildRequires: ldb-devel >= %{ldb_version} | |
39 | BuildRequires: libnl-devel >= 3.2 | |
599b73f3 ER |
40 | BuildRequires: libselinux-devel |
41 | BuildRequires: libsemanage-devel | |
599b73f3 | 42 | BuildRequires: libtool |
dd3b701a JB |
43 | BuildRequires: libxml2-progs |
44 | BuildRequires: libxslt-progs | |
599b73f3 | 45 | BuildRequires: m4 |
599b73f3 ER |
46 | BuildRequires: nspr-devel |
47 | BuildRequires: nss-devel | |
48 | BuildRequires: openldap-devel | |
49 | BuildRequires: pam-devel | |
dd3b701a JB |
50 | BuildRequires: pcre-devel >= 7 |
51 | BuildRequires: po4a | |
599b73f3 | 52 | BuildRequires: popt-devel |
dd3b701a | 53 | BuildRequires: python-devel >= 2.4 |
599b73f3 | 54 | BuildRequires: rpmbuild(macros) >= 1.228 |
dd3b701a JB |
55 | BuildRequires: samba-devel >= 4 |
56 | BuildRequires: systemd-units | |
57 | BuildRequires: talloc-devel | |
58 | BuildRequires: tdb-devel >= 1.1.3 | |
59928269 | 59 | BuildRequires: tevent-devel |
4d07ac90 | 60 | Requires(post,postun): /sbin/ldconfig |
2713c68f | 61 | Requires(post,preun): /sbin/chkconfig |
59928269 | 62 | Requires: %{name}-client = %{version}-%{release} |
599b73f3 | 63 | Requires: cyrus-sasl-gssapi |
dd3b701a JB |
64 | Requires: ldb >= %{ldb_version} |
65 | Requires: libsss_idmap = %{version}-%{release} | |
70b8a086 | 66 | Requires: rc-scripts >= 0.4.0.10 |
4d07ac90 | 67 | Requires: tdb >= 1.1.3 |
599b73f3 ER |
68 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
69 | ||
dd3b701a | 70 | %define sssdstatedir %{_localstatedir}/lib/sss |
599b73f3 ER |
71 | %define dbpath %{sssdstatedir}/db |
72 | %define pipepath %{sssdstatedir}/pipes | |
73 | %define pubconfpath %{sssdstatedir}/pubconf | |
74 | ||
75 | # Determine the location of the LDB modules directory | |
76 | %define ldb_modulesdir %(pkg-config --variable=modulesdir ldb) | |
77 | ||
78 | %description | |
79 | Provides a set of daemons to manage access to remote directories and | |
80 | authentication mechanisms. It provides an NSS and PAM interface toward | |
81 | the system and a pluggable backend system to connect to multiple | |
82 | different account sources. It is also the basis to provide client | |
83 | auditing and policy services for projects like FreeIPA. | |
84 | ||
dd3b701a JB |
85 | %description -l pl.UTF-8 |
86 | Ten pakiet dostarcza zbiór demonów do zarządzania dostępem do zdalnych | |
87 | katalogów i mechanizmów uwierzytelniania. Udostępnia interfejsy NSS i | |
88 | PAM dla systemu oraz system backendu z wtyczkami w celu łączenia się z | |
89 | wieloma różnymi źródłami kont. Jest także podstawą zapewniającą audyt | |
90 | klientów oraz usługi polityk dla projektów takich jak FreeIPA. | |
91 | ||
599b73f3 ER |
92 | %package client |
93 | Summary: SSSD Client libraries for NSS and PAM | |
dd3b701a JB |
94 | Summary(pl.UTF-8): Biblioteki klienckie SSSD dla NSS i PAM |
95 | License: LGPL v3+ | |
599b73f3 ER |
96 | Group: Applications/System |
97 | ||
98 | %description client | |
99 | Provides the libraries needed by the PAM and NSS stacks to connect to | |
100 | the SSSD service. | |
101 | ||
dd3b701a JB |
102 | %description client -l pl.UTF-8 |
103 | Ten pakiet dostarcza biblioteki wymagane przez stosy PAM i NSS w celu | |
104 | łączenia się z usługą SSSD. | |
105 | ||
599b73f3 ER |
106 | %package tools |
107 | Summary: Userspace tools for use with the SSSD | |
dd3b701a | 108 | Summary(pl.UTF-8): Narzędzia przestrzeni użytkownika do używania z SSSD |
599b73f3 ER |
109 | License: GPL v3+ |
110 | Group: Applications/System | |
111 | Requires: %{name} = %{version}-%{release} | |
112 | ||
113 | %description tools | |
114 | Provides userspace tools for manipulating users, groups, and nested | |
115 | groups in SSSD when using id_provider = local in /etc/sssd/sssd.conf. | |
116 | ||
dd3b701a JB |
117 | Also provides several other administrative tools: |
118 | - sss_debuglevel to change the debug level on the fly, | |
119 | - sss_seed which pre-creates a user entry for use in kickstarts, | |
120 | - sss_obfuscate for generating an obfuscated LDAP password. | |
121 | ||
122 | %description tools -l pl.UTF-8 | |
123 | Ten pakiet dostarcza narzędzia przestrzeni poleceń do operowania na | |
124 | użytkownikach, grupach oraz zagnieżdżonych grupach w SSSD w przypadku | |
125 | używania id_provider = local w /etc/sssd/sssd.conf. | |
126 | ||
127 | Pakiet zawiera także kilka innych narzędzi administracyjnych: | |
128 | - sss_debuglevel do zmiany poziomu diagnostyki w locie, | |
129 | - sss_seed tworzący wpis użytkownika do szybkiego rozruchu, | |
130 | - sss_obfuscate do generowania utajnionego hasła LDAP. | |
599b73f3 ER |
131 | |
132 | %package -n libipa_hbac | |
133 | Summary: FreeIPA HBAC Evaluator library | |
dd3b701a JB |
134 | Summary(pl.UTF-8): Biblioteka oceniająca FreeIPA HBAC |
135 | License: LGPL v3+ | |
136 | Group: Libraries | |
599b73f3 ER |
137 | |
138 | %description -n libipa_hbac | |
139 | Utility library to validate FreeIPA HBAC rules for authorization | |
dd3b701a JB |
140 | requests. |
141 | ||
142 | %description -n libipa_hbac | |
143 | Biblioteka narzędziowa do sprawdzania poprawności reguł FreeIPA HBAC | |
144 | dla żądań autoryzacji. | |
599b73f3 ER |
145 | |
146 | %package -n libipa_hbac-devel | |
dd3b701a JB |
147 | Summary: Development files for FreeIPA HBAC Evaluator library |
148 | Summary(pl.UTF-8): Pliki programistyczne biblioteki oceniająca FreeIPA HBAC | |
149 | License: LGPL v3+ | |
599b73f3 ER |
150 | Group: Development/Libraries |
151 | Requires: libipa_hbac = %{version}-%{release} | |
152 | ||
153 | %description -n libipa_hbac-devel | |
dd3b701a JB |
154 | Development files for FreeIPA HBAC Evaluator library. |
155 | ||
156 | %description -n libipa_hbac-devel -l pl.UTF-8 | |
157 | Pliki programistyczne biblioteki oceniająca FreeIPA HBAC. | |
599b73f3 ER |
158 | |
159 | %package -n python-libipa_hbac | |
160 | Summary: Python bindings for the FreeIPA HBAC Evaluator library | |
dd3b701a JB |
161 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki oceniającej FreeIPA HBAC |
162 | License: LGPL v3+ | |
163 | Group: Libraries/Python | |
599b73f3 ER |
164 | Requires: libipa_hbac = %{version}-%{release} |
165 | Obsoletes: libipa_hbac-python | |
166 | ||
167 | %description -n python-libipa_hbac | |
168 | This package contains the bindings so that libipa_hbac can be used by | |
169 | Python applications. | |
170 | ||
dd3b701a JB |
171 | %description -n python-libipa_hbac -l pl.UTF-8 |
172 | Ten pakiet zawiera wiązania pozwalające na używanie libipa_hbac w | |
173 | aplikacjach Pythona. | |
174 | ||
175 | %package -n libsss_idmap | |
176 | Summary: FreeIPA Idmap library | |
177 | Summary(pl.UTF-8): Biblioteka FreeIPA Idmap | |
178 | Group: Libraries | |
179 | License: LGPL v3+ | |
180 | ||
181 | %description -n libsss_idmap | |
182 | Utility library to convert SIDs to Unix uids and gids. | |
183 | ||
184 | %description -n libsss_idmap -l pl.UTF-8 | |
185 | Biblioteka narzędziowa konwertująca SID-y na uniksowe uidy i gidy. | |
186 | ||
187 | %package -n libsss_idmap-devel | |
188 | Summary: Development files for FreeIPA Idmap library | |
189 | Summary(pl.UTF-8): Pliki programistyczne biblioteki FreeIPA Idmap | |
190 | Group: Development/Libraries | |
191 | License: LGPL v3+ | |
192 | Requires: libsss_idmap = %{version}-%{release} | |
193 | ||
194 | %description -n libsss_idmap-devel | |
195 | Development files for FreeIPA Idmap library. | |
196 | ||
197 | %description -n libsss_idmap-devel -l pl.UTF-8 | |
198 | Pliki programistyczne biblioteki FreeIPA Idmap. | |
199 | ||
200 | %package -n libsss_nss_idmap | |
201 | Summary: Library for SID based lookups | |
202 | Summary(pl.UTF-8): Biblioteka do wyszukiwań w oparciu o SID | |
203 | Group: Libraries | |
204 | License: LGPL v3+ | |
205 | ||
206 | %description -n libsss_nss_idmap | |
207 | Utility library for SID based lookups. | |
208 | ||
209 | %description -n libsss_nss_idmap -l pl.UTF-8 | |
210 | Biblioteka do wyszukiwań w oparciu o SID. | |
211 | ||
212 | %package -n libsss_nss_idmap-devel | |
213 | Summary: Development files for sss_nss_idmap library | |
214 | Summary(pl.UTF-8): Pliki programistyczne biblioteki sss_nss_idmap | |
215 | Group: Development/Libraries | |
216 | License: LGPL v3+ | |
217 | Requires: libsss_nss_idmap = %{version}-%{release} | |
218 | ||
219 | %description -n libsss_nss_idmap-devel | |
220 | Development files for sss_nss_idmap library. | |
221 | ||
222 | %description -n libsss_nss_idmap-devel -l pl.UTF-8 | |
223 | Pliki programistyczne biblioteki sss_nss_idmap. | |
224 | ||
225 | %package -n python-libsss_nss_idmap | |
226 | Summary: Python bindings for libsss_nss_idmap | |
227 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki libsss_nss_idmap | |
228 | Group: Libraries/Python | |
229 | License: LGPL v3+ | |
230 | Requires: libsss_nss_idmap = %{version}-%{release} | |
231 | ||
232 | %description -n python-libsss_nss_idmap | |
233 | This package contains the bindings so that libsss_nss_idmap can be | |
234 | used by Python applications. | |
235 | ||
236 | %description -n python-libsss_nss_idmap -l pl.UTF-8 | |
237 | Ten pakiet zawiera wiązania umożliwiające korzystanie z biblioteki | |
238 | libsss_nss_idmap w aplikacjach Pythona. | |
239 | ||
599b73f3 ER |
240 | %prep |
241 | %setup -q | |
2713c68f ER |
242 | %patch0 -p1 |
243 | %patch1 -p1 | |
599b73f3 ER |
244 | |
245 | %build | |
dacaa562 | 246 | %{__libtoolize} |
2713c68f ER |
247 | %{__gettextize} |
248 | %{__aclocal} | |
249 | %{__automake} | |
250 | %{__autoconf} | |
dd3b701a | 251 | #CFLAGS="-Wno-deprecated-declarations" |
599b73f3 | 252 | %configure \ |
dd3b701a | 253 | NSCD=/usr/sbin/nscd \ |
599b73f3 ER |
254 | --with-db-path=%{dbpath} \ |
255 | --with-pipe-path=%{pipepath} \ | |
256 | --with-pubconf-path=%{pubconfpath} \ | |
257 | --with-init-dir=%{_initrddir} \ | |
258 | --enable-nsslibdir=/%{_lib} \ | |
259 | --enable-pammoddir=/%{_lib}/security \ | |
599b73f3 ER |
260 | --disable-rpath \ |
261 | --with-test-dir=/dev/shm | |
262 | ||
263 | %{__make} | |
264 | ||
265 | %if %{with tests} | |
266 | export CK_TIMEOUT_MULTIPLIER=10 | |
267 | %{__make} check | |
268 | unset CK_TIMEOUT_MULTIPLIER | |
269 | %endif | |
270 | ||
271 | %install | |
272 | rm -rf $RPM_BUILD_ROOT | |
273 | %{__make} install \ | |
274 | DESTDIR=$RPM_BUILD_ROOT | |
275 | ||
276 | # Prepare language files | |
277 | %find_lang %{name} | |
278 | ||
279 | # Copy default sssd.conf file | |
dd3b701a JB |
280 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.api.d |
281 | cp -p src/examples/sssd-example.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.conf | |
599b73f3 ER |
282 | |
283 | # Copy default logrotate file | |
284 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d | |
285 | cp -p src/examples/logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/sssd | |
286 | ||
287 | # Make sure SSSD is able to run on read-only root | |
dacaa562 | 288 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d |
599b73f3 ER |
289 | cp -p src/examples/rwtab $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/sssd |
290 | ||
dacaa562 ER |
291 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
292 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
dd3b701a JB |
293 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir} |
294 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
dacaa562 ER |
295 | %py_postclean |
296 | ||
4d07ac90 | 297 | # Remove .la files created by libtool |
298 | %{__rm} \ | |
dd3b701a JB |
299 | $RPM_BUILD_ROOT/%{_lib}/libnss_sss.la \ |
300 | $RPM_BUILD_ROOT/%{_lib}/security/pam_sss.la \ | |
301 | $RPM_BUILD_ROOT%{ldb_modulesdir}/memberof.la \ | |
302 | $RPM_BUILD_ROOT%{_libdir}/krb5/plugins/libkrb5/sss*.la \ | |
303 | $RPM_BUILD_ROOT%{_libdir}/sssd/libsss_*.la \ | |
304 | $RPM_BUILD_ROOT%{_libdir}/sssd/modules/libsss_*.la \ | |
305 | $RPM_BUILD_ROOT%{_libdir}/lib*.la \ | |
306 | $RPM_BUILD_ROOT%{py_sitedir}/*.la | |
599b73f3 | 307 | |
2713c68f ER |
308 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
309 | ||
dd3b701a JB |
310 | echo '%%defattr(644,root,root,755)' > sssd_client.lang |
311 | echo '%%defattr(644,root,root,755)' > sssd_tools.lang | |
dacaa562 ER |
312 | for man in $(find $RPM_BUILD_ROOT%{_mandir}/??/man? -type f | sed -e "s#$RPM_BUILD_ROOT%{_mandir}/##"); do |
313 | lang=$(echo $man | cut -c 1-2) | |
314 | case $(basename $man) in | |
dd3b701a JB |
315 | pam_sss.8|sssd_krb5_locator_plugin.8) |
316 | echo "%lang(${lang}) %{_mandir}/${man}*" >> sssd_client.lang | |
317 | ;; | |
318 | sss_debuglevel.8|sss_group*.8|sss_obfuscate.8|sss_seed.8|sss_user*.8) | |
dacaa562 ER |
319 | echo "%lang(${lang}) %{_mandir}/${man}*" >> sssd_tools.lang |
320 | ;; | |
321 | *) | |
322 | echo "%lang(${lang}) %{_mandir}/${man}*" >> sssd.lang | |
599b73f3 | 323 | ;; |
599b73f3 ER |
324 | esac |
325 | done | |
326 | ||
327 | %clean | |
328 | rm -rf $RPM_BUILD_ROOT | |
329 | ||
330 | %post | |
331 | /sbin/ldconfig | |
332 | /sbin/chkconfig --add %{name} | |
333 | %service %{name} restart | |
334 | ||
335 | %preun | |
336 | if [ "$1" = "0" ]; then | |
337 | %service -q %{name} stop | |
338 | /sbin/chkconfig --del %{name} | |
339 | fi | |
340 | ||
dd3b701a JB |
341 | %post -p /sbin/ldconfig |
342 | %postun -p /sbin/ldconfig | |
343 | ||
599b73f3 ER |
344 | %post client -p /sbin/ldconfig |
345 | %postun client -p /sbin/ldconfig | |
346 | ||
347 | %post -n libipa_hbac -p /sbin/ldconfig | |
348 | %postun -n libipa_hbac -p /sbin/ldconfig | |
349 | ||
dd3b701a JB |
350 | %post -n libsss_idmap -p /sbin/ldconfig |
351 | %postun -n libsss_idmap -p /sbin/ldconfig | |
352 | ||
353 | %post -n libsss_nss_idmap -p /sbin/ldconfig | |
354 | %postun -n libsss_nss_idmap -p /sbin/ldconfig | |
355 | ||
599b73f3 ER |
356 | %files -f sssd.lang |
357 | %defattr(644,root,root,755) | |
dacaa562 | 358 | %attr(754,root,root) /etc/rc.d/init.d/sssd |
dd3b701a JB |
359 | %attr(755,root,root) %{_bindir}/sss_ssh_authorizedkeys |
360 | %attr(755,root,root) %{_bindir}/sss_ssh_knownhostsproxy | |
361 | %attr(755,root,root) %{_sbindir}/sss_cache | |
599b73f3 | 362 | %attr(755,root,root) %{_sbindir}/sssd |
dd3b701a JB |
363 | %attr(755,root,root) %{_libdir}/libsss_sudo.so |
364 | %dir %{_libdir}/sssd | |
365 | # internal shared libraries | |
366 | %attr(755,root,root) %{_libdir}/sssd/libsss_child.so | |
367 | %attr(755,root,root) %{_libdir}/sssd/libsss_crypt.so | |
368 | %attr(755,root,root) %{_libdir}/sssd/libsss_debug.so | |
369 | %attr(755,root,root) %{_libdir}/sssd/libsss_ldap_common.so | |
370 | %attr(755,root,root) %{_libdir}/sssd/libsss_util.so | |
371 | # modules | |
372 | %attr(755,root,root) %{_libdir}/sssd/libsss_simple.so | |
373 | %attr(755,root,root) %{_libdir}/sssd/libsss_ad.so | |
374 | %attr(755,root,root) %{_libdir}/sssd/libsss_ipa.so | |
375 | %attr(755,root,root) %{_libdir}/sssd/libsss_krb5.so | |
376 | %attr(755,root,root) %{_libdir}/sssd/libsss_krb5_common.so | |
377 | %attr(755,root,root) %{_libdir}/sssd/libsss_ldap.so | |
378 | %attr(755,root,root) %{_libdir}/sssd/libsss_proxy.so | |
379 | %dir %{_libdir}/sssd/modules | |
380 | %attr(755,root,root) %{_libdir}/sssd/modules/libsss_autofs.so | |
381 | %if "%{_libdir}" != "%{_libexecdir}" | |
382 | %dir %{_libexecdir}/sssd | |
383 | %endif | |
384 | %attr(755,root,root) %{_libexecdir}/sssd/krb5_child | |
385 | %attr(755,root,root) %{_libexecdir}/sssd/ldap_child | |
386 | %attr(755,root,root) %{_libexecdir}/sssd/proxy_child | |
387 | %attr(755,root,root) %{_libexecdir}/sssd/sssd_autofs | |
388 | %attr(755,root,root) %{_libexecdir}/sssd/sssd_be | |
389 | %attr(755,root,root) %{_libexecdir}/sssd/sssd_nss | |
390 | %attr(755,root,root) %{_libexecdir}/sssd/sssd_pam | |
391 | %attr(755,root,root) %{_libexecdir}/sssd/sssd_ssh | |
392 | %attr(755,root,root) %{_libexecdir}/sssd/sssd_sudo | |
393 | %dir %{_datadir}/sssd | |
394 | %{_datadir}/sssd/sssd.api.conf | |
395 | %dir %{_datadir}/sssd/sssd.api.d | |
396 | %{_datadir}/sssd/sssd.api.d/sssd-ad.conf | |
397 | %{_datadir}/sssd/sssd.api.d/sssd-ipa.conf | |
398 | %{_datadir}/sssd/sssd.api.d/sssd-krb5.conf | |
399 | %{_datadir}/sssd/sssd.api.d/sssd-ldap.conf | |
400 | %{_datadir}/sssd/sssd.api.d/sssd-local.conf | |
401 | %{_datadir}/sssd/sssd.api.d/sssd-proxy.conf | |
402 | %{_datadir}/sssd/sssd.api.d/sssd-simple.conf | |
599b73f3 ER |
403 | %attr(755,root,root) %{ldb_modulesdir}/memberof.so |
404 | %dir %{sssdstatedir} | |
405 | %attr(700,root,root) %dir %{dbpath} | |
406 | %dir %{pipepath} | |
407 | %dir %{pubconfpath} | |
408 | %attr(700,root,root) %dir %{pipepath}/private | |
409 | %attr(750,root,root) %dir %{_var}/log/%{name} | |
410 | %attr(700,root,root) %dir %{_sysconfdir}/sssd | |
dd3b701a JB |
411 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sssd/sssd.conf |
412 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/sssd | |
413 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rwtab.d/sssd | |
414 | %{_mandir}/man1/sss_ssh_authorizedkeys.1* | |
415 | %{_mandir}/man1/sss_ssh_knownhostsproxy.1* | |
599b73f3 | 416 | %{_mandir}/man5/sssd.conf.5* |
dd3b701a | 417 | %{_mandir}/man5/sssd-ad.5* |
599b73f3 ER |
418 | %{_mandir}/man5/sssd-ipa.5* |
419 | %{_mandir}/man5/sssd-krb5.5* | |
420 | %{_mandir}/man5/sssd-ldap.5* | |
421 | %{_mandir}/man5/sssd-simple.5* | |
dd3b701a JB |
422 | %{_mandir}/man5/sssd-sudo.5* |
423 | %{_mandir}/man8/sss_cache.8* | |
599b73f3 ER |
424 | %{_mandir}/man8/sssd.8* |
425 | %attr(755,root,root) %{py_sitedir}/pysss.so | |
dd3b701a JB |
426 | %attr(755,root,root) %{py_sitedir}/pysss_murmur.so |
427 | %dir %{py_sitescriptdir}/SSSDConfig | |
428 | %{py_sitescriptdir}/SSSDConfig/*.py[co] | |
429 | %{py_sitescriptdir}/SSSDConfig-%{version}-py*.egg-info | |
599b73f3 | 430 | |
dd3b701a | 431 | %files client -f sssd_client.lang |
599b73f3 ER |
432 | %defattr(644,root,root,755) |
433 | %attr(755,root,root) /%{_lib}/libnss_sss.so.2 | |
434 | %attr(755,root,root) /%{_lib}/security/pam_sss.so | |
dd3b701a | 435 | # FIXME: is it proper path for heimdal? where to package parent dirs? |
2713c68f | 436 | #%attr(755,root,root) %{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so |
599b73f3 ER |
437 | %{_mandir}/man8/pam_sss.8* |
438 | %{_mandir}/man8/sssd_krb5_locator_plugin.8* | |
439 | ||
dd3b701a | 440 | %files tools -f sssd_tools.lang |
599b73f3 | 441 | %defattr(644,root,root,755) |
dd3b701a | 442 | %attr(755,root,root) %{_sbindir}/sss_debuglevel |
599b73f3 ER |
443 | %attr(755,root,root) %{_sbindir}/sss_groupadd |
444 | %attr(755,root,root) %{_sbindir}/sss_groupdel | |
445 | %attr(755,root,root) %{_sbindir}/sss_groupmod | |
446 | %attr(755,root,root) %{_sbindir}/sss_groupshow | |
447 | %attr(755,root,root) %{_sbindir}/sss_obfuscate | |
dd3b701a JB |
448 | %attr(755,root,root) %{_sbindir}/sss_seed |
449 | %attr(755,root,root) %{_sbindir}/sss_useradd | |
450 | %attr(755,root,root) %{_sbindir}/sss_userdel | |
451 | %attr(755,root,root) %{_sbindir}/sss_usermod | |
452 | %{_mandir}/man8/sss_debuglevel.8* | |
599b73f3 ER |
453 | %{_mandir}/man8/sss_groupadd.8* |
454 | %{_mandir}/man8/sss_groupdel.8* | |
455 | %{_mandir}/man8/sss_groupmod.8* | |
456 | %{_mandir}/man8/sss_groupshow.8* | |
dd3b701a JB |
457 | %{_mandir}/man8/sss_obfuscate.8* |
458 | %{_mandir}/man8/sss_seed.8* | |
599b73f3 ER |
459 | %{_mandir}/man8/sss_useradd.8* |
460 | %{_mandir}/man8/sss_userdel.8* | |
461 | %{_mandir}/man8/sss_usermod.8* | |
599b73f3 ER |
462 | |
463 | %files -n libipa_hbac | |
464 | %defattr(644,root,root,755) | |
dd3b701a JB |
465 | %attr(755,root,root) %{_libdir}/libipa_hbac.so.*.*.* |
466 | %attr(755,root,root) %ghost %{_libdir}/libipa_hbac.so.0 | |
599b73f3 ER |
467 | |
468 | %files -n libipa_hbac-devel | |
469 | %defattr(644,root,root,755) | |
dd3b701a | 470 | %attr(755,root,root) %{_libdir}/libipa_hbac.so |
599b73f3 | 471 | %{_includedir}/ipa_hbac.h |
599b73f3 ER |
472 | %{_pkgconfigdir}/ipa_hbac.pc |
473 | ||
474 | %files -n python-libipa_hbac | |
475 | %defattr(644,root,root,755) | |
dd3b701a JB |
476 | %attr(755,root,root) %{py_sitedir}/pyhbac.so |
477 | ||
478 | %files -n libsss_idmap | |
479 | %defattr(644,root,root,755) | |
480 | %attr(755,root,root) %{_libdir}/libsss_idmap.so.*.*.* | |
481 | %attr(755,root,root) %ghost %{_libdir}/libsss_idmap.so.0 | |
482 | ||
483 | %files -n libsss_idmap-devel | |
484 | %defattr(644,root,root,755) | |
485 | %attr(755,root,root) %{_libdir}/libsss_idmap.so | |
486 | %{_includedir}/sss_idmap.h | |
487 | %{_pkgconfigdir}/sss_idmap.pc | |
488 | ||
489 | %files -n libsss_nss_idmap | |
490 | %defattr(644,root,root,755) | |
491 | %attr(755,root,root) %{_libdir}/libsss_nss_idmap.so.*.*.* | |
492 | %attr(755,root,root) %ghost %{_libdir}/libsss_nss_idmap.so.0 | |
493 | ||
494 | %files -n libsss_nss_idmap-devel | |
495 | %defattr(644,root,root,755) | |
496 | %attr(755,root,root) %{_libdir}/libsss_nss_idmap.so | |
497 | %{_includedir}/sss_nss_idmap.h | |
498 | %{_pkgconfigdir}/sss_nss_idmap.pc | |
499 | ||
500 | %files -n python-libsss_nss_idmap | |
501 | %defattr(644,root,root,755) | |
502 | %attr(755,root,root) %{py_sitedir}/pysss_nsss_idmap.so |