]>
Commit | Line | Data |
---|---|---|
fc5f06da | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
fc5f06da MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = cyrus-sasl |
688bdeec | 7 | version = 2.1.28 |
daf193ba | 8 | release = 4 |
fc5f06da | 9 | |
802ea3af | 10 | groups = System/Libraries |
688bdeec | 11 | url = https://github.com/cyrusimap/cyrus-sasl |
802ea3af | 12 | license = BSD |
688bdeec | 13 | summary = The Cyrus SASL library |
fc5f06da | 14 | |
802ea3af | 15 | description |
688bdeec MT |
16 | The cyrus-sasl package contains the Cyrus implementation of SASL. |
17 | SASL is the Simple Authentication and Security Layer, a method for | |
fc5f06da | 18 | adding authentication support to connection-based protocols. |
802ea3af MT |
19 | end |
20 | ||
688bdeec | 21 | source_dl = https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-%{version}/ |
802ea3af MT |
22 | |
23 | build | |
24 | requires | |
9ab7f1bc | 25 | automake |
4db644eb | 26 | gdbm-devel |
d544855a | 27 | libxcrypt-devel |
802ea3af MT |
28 | openssl-devel |
29 | pam-devel | |
30 | end | |
31 | ||
32 | configure_options += \ | |
cb01e61b MT |
33 | --with-configdir=%{libdir}/sasl2:/etc/sasl2 \ |
34 | --with-plugindir=%{libdir}/sasl2 \ | |
802ea3af | 35 | --with-dbpath=/var/lib/sasl/sasldb2 \ |
daf193ba | 36 | --with-saslauthd=/run/saslauthd |
802ea3af | 37 | |
cb01e61b MT |
38 | make_install_targets += sasldir=%{libdir}/sasl2 |
39 | ||
802ea3af | 40 | install_cmds |
cb01e61b MT |
41 | # Install plugins. |
42 | make install DESTDIR=%{BUILDROOT} sasldir=%{libdir}/sasl2 -C plugins | |
43 | ||
44 | mkdir -pv %{BUILDROOT}%{libdir}/sasl2 | |
45 | cp -vf %{DIR_SOURCE}/smtpd.conf %{BUILDROOT}%{libdir}/sasl2/ | |
802ea3af | 46 | |
daf193ba | 47 | install -v -m700 -d %{BUILDROOT}/var/lib/sasl |
802ea3af MT |
48 | end |
49 | end | |
50 | ||
51 | packages | |
52 | package %{name} | |
802ea3af MT |
53 | |
54 | package %{name}-libs | |
55 | template LIBS | |
56 | end | |
1f9bc2f0 | 57 | |
802ea3af MT |
58 | package %{name}-devel |
59 | template DEVEL | |
60 | end | |
1f9bc2f0 MT |
61 | |
62 | package %{name}-debuginfo | |
63 | template DEBUGINFO | |
64 | end | |
802ea3af | 65 | end |