]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - cyrus-sasl/cyrus-sasl.nm
cyrus-sasl: Rebuild against libdb
[people/amarx/ipfire-3.x.git] / cyrus-sasl / cyrus-sasl.nm
CommitLineData
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 6name = cyrus-sasl
9ab7f1bc 7version = 2.1.26
ea33b31c 8release = 2
fc5f06da 9
802ea3af
MT
10groups = System/Libraries
11url = http://asg.web.cmu.edu/sasl/sasl-library.html
12license = BSD
13summary = The Cyrus SASL library.
fc5f06da 14
802ea3af 15description
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
19end
20
02f961d5 21source_dl = ftp://ftp.cyrusimap.org/cyrus-sasl/
802ea3af
MT
22
23build
24 requires
9ab7f1bc 25 automake
ea33b31c 26 libdb-devel
802ea3af
MT
27 openssl-devel
28 pam-devel
29 end
30
9ab7f1bc
MT
31 prepare_cmds
32 # for aarch64
33 for i in $(find . -name config.guess -or -name config.sub); do
34 cp -vf %{datadir}/automake-*/config.{guess,sub} $(dirname ${i})
35 done
36 end
37
802ea3af
MT
38 configure_options += \
39 --sysconfdir=/etc \
cb01e61b
MT
40 --with-configdir=%{libdir}/sasl2:/etc/sasl2 \
41 --with-plugindir=%{libdir}/sasl2 \
802ea3af
MT
42 --with-dbpath=/var/lib/sasl/sasldb2 \
43 --with-saslauthd=/var/run/saslauthd \
44 --mandir=/usr/share/man
45
46 PARALLELISMFLAGS = # Disabled
47
cb01e61b
MT
48 make_install_targets += sasldir=%{libdir}/sasl2
49
802ea3af 50 install_cmds
cb01e61b
MT
51 # Install plugins.
52 make install DESTDIR=%{BUILDROOT} sasldir=%{libdir}/sasl2 -C plugins
53
54 mkdir -pv %{BUILDROOT}%{libdir}/sasl2
55 cp -vf %{DIR_SOURCE}/smtpd.conf %{BUILDROOT}%{libdir}/sasl2/
802ea3af
MT
56
57 install -v -m700 -d %{BUILDROOT}/var/lib/sasl %{BUILDROOT}/var/run/saslauthd
58 end
59end
60
61packages
62 package %{name}
802ea3af
MT
63
64 package %{name}-libs
65 template LIBS
66 end
1f9bc2f0 67
802ea3af
MT
68 package %{name}-devel
69 template DEVEL
70 end
1f9bc2f0
MT
71
72 package %{name}-debuginfo
73 template DEBUGINFO
74 end
802ea3af 75end