]> git.ipfire.org Git - ipfire-3.x.git/blame - compat-cyrus-sasl/compat-cyrus-sasl.nm
kernel: Disable support for 6RD
[ipfire-3.x.git] / compat-cyrus-sasl / compat-cyrus-sasl.nm
CommitLineData
43952614
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-cyrus-sasl
7version = 2.1.25
8release = 2.1
9
10thisapp = cyrus-sasl-%{version}
11
12groups = System/Libraries
13url = http://asg.web.cmu.edu/sasl/sasl-library.html
14license = BSD
15summary = The Cyrus SASL library.
16
17description
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.
21end
22
23source_dl = ftp://ftp.cyrusimap.org/cyrus-sasl/
24
25build
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
56end
57
58packages
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
74end