]>
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 |
02f961d5 | 7 | version = 2.1.25 |
cb01e61b | 8 | release = 2 |
fc5f06da | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://asg.web.cmu.edu/sasl/sasl-library.html | |
12 | license = BSD | |
13 | summary = The Cyrus SASL library. | |
fc5f06da | 14 | |
802ea3af | 15 | description |
fc5f06da MT |
16 | The cyrus-sasl package contains the Cyrus implementation of SASL. \ |
17 | SASL is the Simple Authentication and Security Layer, a method for \ | |
18 | adding authentication support to connection-based protocols. | |
802ea3af MT |
19 | end |
20 | ||
02f961d5 | 21 | source_dl = ftp://ftp.cyrusimap.org/cyrus-sasl/ |
802ea3af MT |
22 | |
23 | build | |
24 | requires | |
25 | db4-devel | |
26 | openssl-devel | |
27 | pam-devel | |
28 | end | |
29 | ||
30 | configure_options += \ | |
31 | --sysconfdir=/etc \ | |
cb01e61b MT |
32 | --with-configdir=%{libdir}/sasl2:/etc/sasl2 \ |
33 | --with-plugindir=%{libdir}/sasl2 \ | |
802ea3af MT |
34 | --with-dbpath=/var/lib/sasl/sasldb2 \ |
35 | --with-saslauthd=/var/run/saslauthd \ | |
36 | --mandir=/usr/share/man | |
37 | ||
38 | PARALLELISMFLAGS = # Disabled | |
39 | ||
cb01e61b MT |
40 | make_install_targets += sasldir=%{libdir}/sasl2 |
41 | ||
802ea3af | 42 | install_cmds |
cb01e61b MT |
43 | # Install plugins. |
44 | make install DESTDIR=%{BUILDROOT} sasldir=%{libdir}/sasl2 -C plugins | |
45 | ||
46 | mkdir -pv %{BUILDROOT}%{libdir}/sasl2 | |
47 | cp -vf %{DIR_SOURCE}/smtpd.conf %{BUILDROOT}%{libdir}/sasl2/ | |
802ea3af MT |
48 | |
49 | install -v -m700 -d %{BUILDROOT}/var/lib/sasl %{BUILDROOT}/var/run/saslauthd | |
50 | end | |
51 | end | |
52 | ||
53 | packages | |
54 | package %{name} | |
802ea3af MT |
55 | |
56 | package %{name}-libs | |
57 | template LIBS | |
58 | end | |
1f9bc2f0 | 59 | |
802ea3af MT |
60 | package %{name}-devel |
61 | template DEVEL | |
62 | end | |
1f9bc2f0 MT |
63 | |
64 | package %{name}-debuginfo | |
65 | template DEBUGINFO | |
66 | end | |
802ea3af | 67 | end |