]>
Commit | Line | Data |
---|---|---|
43952614 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = compat-cyrus-sasl | |
7 | version = 2.1.25 | |
8 | release = 2.1 | |
9 | ||
10 | thisapp = cyrus-sasl-%{version} | |
11 | ||
12 | groups = System/Libraries | |
13 | url = http://asg.web.cmu.edu/sasl/sasl-library.html | |
14 | license = BSD | |
15 | summary = The Cyrus SASL library. | |
16 | ||
17 | description | |
18 | The cyrus-sasl package contains the Cyrus implementation of SASL. | |
19 | SASL is the Simple Authentication and Security Layer, a method for | |
20 | adding authentication support to connection-based protocols. | |
21 | end | |
22 | ||
23 | source_dl = ftp://ftp.cyrusimap.org/cyrus-sasl/ | |
24 | ||
25 | build | |
26 | requires | |
27 | automake | |
28 | libdb-devel | |
29 | openssl-devel | |
30 | pam-devel | |
31 | end | |
32 | ||
33 | prepare_cmds | |
34 | # for aarch64 | |
35 | for i in $(find . -name config.guess -or -name config.sub); do | |
36 | cp -vf %{datadir}/automake-*/config.{guess,sub} $(dirname ${i}) | |
37 | done | |
38 | end | |
39 | ||
40 | configure_options += \ | |
41 | --sysconfdir=/etc \ | |
42 | --with-configdir=%{libdir}/sasl2:/etc/sasl2 \ | |
43 | --with-plugindir=%{libdir}/sasl2 \ | |
44 | --with-dbpath=/var/lib/sasl/sasldb2 \ | |
45 | --with-saslauthd=/var/run/saslauthd \ | |
46 | --mandir=/usr/share/man | |
47 | ||
48 | PARALLELISMFLAGS = # Disabled | |
49 | ||
50 | install | |
51 | # Only install libraries. | |
52 | mkdir -pv %{BUILDROOT}%{libdir} | |
53 | install -m 755 lib/.libs/libsasl2.so.2.0.25 %{BUILDROOT}%{libdir} | |
54 | ln -svf libsasl2.so.2.0.25 %{BUILDROOT}%{libdir}/libpcre.so.2 | |
55 | end | |
56 | end | |
57 | ||
58 | packages | |
59 | package %{name} | |
60 | provides | |
61 | cyrus-sasl = %{thisver} | |
62 | cyrus-sasl-libs = %{thisver} | |
63 | end | |
64 | ||
65 | conflicts | |
66 | cyrus-sasl <= %{thisver} | |
67 | cyrus-sasl-libs <= %{thisver} | |
68 | end | |
69 | end | |
70 | ||
71 | package %{name}-debuginfo | |
72 | template DEBUGINFO | |
73 | end | |
74 | end |