]>
Commit | Line | Data |
---|---|---|
01eadb71 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = sssd | |
7 | version = 1.9.4 | |
8 | release = 1 | |
9 | ||
10 | groups = System/Tools | |
11 | url = http://fedorahosted.org/sssd/ | |
12 | license = GPLv3+ | |
13 | summary = System Security Services Daemon. | |
14 | ||
15 | description | |
16 | Provides a set of daemons to manage access to remote directories and | |
17 | authentication mechanisms. It provides an NSS and PAM interface toward | |
18 | the system and a pluggable backend system to connect to multiple different | |
19 | account sources. | |
20 | end | |
21 | ||
22 | source_dl = https://fedorahosted.org/released/sssd/ | |
23 | ||
24 | build | |
25 | requires | |
26 | /usr/bin/nsupdate | |
27 | c-ares-devel | |
28 | cyrus-sasl-devel | |
29 | dbus-devel | |
30 | docbook-xsl | |
31 | glib2-devel | |
32 | krb5-devel >= 1.10.3 | |
33 | libcollection-devel | |
34 | libdhash-devel | |
35 | libini_config-devel | |
36 | libldb-devel | |
37 | libnl-devel | |
38 | libsemanage-devel | |
39 | libtalloc-devel | |
40 | libtdb-devel | |
41 | libtevent-devel | |
42 | openldap-devel | |
43 | openssl-devel | |
44 | pam-devel | |
45 | pcre-devel | |
46 | popt-devel | |
47 | python-devel | |
48 | end | |
49 | ||
50 | configure_options += \ | |
51 | --with-crypto=libcrypto \ | |
52 | --with-db-path=%{localstatedir}/sss/db \ | |
53 | --with-pipe-path=%{localstatedir}/sss/pipe \ | |
54 | --with-pubconf-path=%{localstatedir}/sss/pubconf \ | |
55 | --with-mcache-path=%{localstatedir}/sss/mc \ | |
56 | --with-krb5-rcache-dir=%{localstatedir}/cache/krb5rcache \ | |
57 | --with-default-ccache-dir=/run/user/%U \ | |
58 | --with-default-ccname-template=DIR:%d/krb5cc \ | |
59 | --with-initscript=systemd \ | |
60 | --with-systemdunitdir=%{unitdir} \ | |
61 | --enable-pammoddir=%{libdir}/security \ | |
62 | --disable-static \ | |
63 | --disable-rpath | |
64 | ||
65 | install_cmds | |
66 | # Prepare empty config file | |
67 | touch %{BUILDROOT}%{sysconfdir}/sssd/sssd.conf | |
68 | ||
69 | # Remove old sysVinit stuff. | |
70 | rm -rvf %{BUILDROOT}%{sysconfdir}/rc.d | |
71 | end | |
72 | end | |
73 | ||
74 | packages | |
75 | package %{name} | |
76 | configfiles | |
77 | %{sysconfdir}/sssd/sssd.conf | |
78 | end | |
79 | end | |
80 | ||
81 | package %{name}-client | |
82 | summary = SSSD Client libraries. | |
83 | description = %{summary} | |
84 | ||
85 | files | |
86 | %{libdir}/libnss_sss.so.* | |
87 | %{libdir}/security/pam_sss.so | |
88 | %{libdir}/krb5/ | |
89 | %{mandir}/man8/pam_sss.8* | |
90 | %{mandir}/man8/sssd_krb5*.8* | |
91 | end | |
92 | end | |
93 | ||
94 | package %{name}-tools | |
95 | summary = Userspace tools for use with the SSSD. | |
96 | description | |
97 | Provides userspace tools for manipulating users, groups, and nested groups in | |
98 | SSSD when using id_provider = local in /etc/sssd/sssd.conf. | |
99 | end | |
100 | ||
101 | requires | |
102 | %{name} = %{thisver} | |
103 | end | |
104 | ||
105 | files | |
106 | %{sbindir}/sss_* | |
107 | %{mandir}/man8/sss_*.8* | |
108 | end | |
109 | end | |
110 | ||
111 | package %{name}-devel | |
112 | template DEVEL | |
113 | end | |
114 | ||
115 | package libsss_idmap | |
116 | summary = FreeIPA Idmap library. | |
117 | description | |
118 | Utility library to convert SIDs to Unix uids and gids. | |
119 | end | |
120 | ||
121 | files | |
122 | %{libdir}/libsss_idmap.so.* | |
123 | end | |
124 | end | |
125 | ||
126 | package libsss_idmap-devel | |
127 | summary = Development files for libsss_idmap. | |
128 | description = %{summary} | |
129 | ||
130 | files | |
131 | %{libdir}/libsss_idmap.so | |
132 | %{libdir}/pkgconfig/sss_idmap.pc | |
133 | %{includedir}/sss_idmap.h | |
134 | end | |
135 | end | |
136 | ||
137 | package libipa_hbac | |
138 | summary = FreeIPA HBAC Evaluator library. | |
139 | description | |
140 | Utility library to validate FreeIPA HBAC rules for authorization requests. | |
141 | end | |
142 | ||
143 | files | |
144 | %{libdir}/libipa_hbac.so.* | |
145 | end | |
146 | end | |
147 | ||
148 | package libipa_hbac-devel | |
149 | summary = Development files for libipa_hbac. | |
150 | description = %{summary} | |
151 | ||
152 | files | |
153 | %{libdir}/libipa_hbac.so | |
154 | %{libdir}/pkgconfig/ipa_hbac.pc | |
155 | %{includedir}/ipa_hbac.h | |
156 | end | |
157 | end | |
158 | ||
159 | package python-libipa_hbac | |
160 | summary = Python bindings for the FreeIPA HBAC Evaluator library. | |
161 | description | |
162 | This package contains the bindings so that libipa_hbac can be | |
163 | used by Python applications. | |
164 | end | |
165 | ||
166 | files | |
167 | %{python_sitearch}/pyhbac.so | |
168 | end | |
169 | end | |
170 | ||
171 | package libsss_sudo | |
172 | summary = A library to allow communication between SUDO and SSSD. | |
173 | description | |
174 | A utility library to allow communication between SUDO and SSSD. | |
175 | end | |
176 | ||
177 | files | |
178 | %{libdir}/libsss_sudo.so.* | |
179 | end | |
180 | end | |
181 | ||
182 | package libsss_sudo-devel | |
183 | summary = Development header for libsss_sudo. | |
184 | description = %{summary} | |
185 | ||
186 | files | |
187 | %{libdir}/libsss_sudo.so | |
188 | %{libdir}/pkgconfig/sss_sudo.pc | |
189 | %{includedir}/sss_sudo.h | |
190 | end | |
191 | end | |
192 | ||
193 | package %{name}-debuginfo | |
194 | template DEBUGINFO | |
195 | end | |
196 | end |