]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - cyrus-sasl/cyrus-sasl.nm
perl-XML-SAX-Base: New package.
[people/ms/ipfire-3.x.git] / cyrus-sasl / cyrus-sasl.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = cyrus-sasl
7 version = 2.1.25
8 release = 2
9
10 groups = System/Libraries
11 url = http://asg.web.cmu.edu/sasl/sasl-library.html
12 license = BSD
13 summary = The Cyrus SASL library.
14
15 description
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.
19 end
20
21 source_dl = ftp://ftp.cyrusimap.org/cyrus-sasl/
22
23 build
24 requires
25 db4-devel
26 openssl-devel
27 pam-devel
28 end
29
30 configure_options += \
31 --sysconfdir=/etc \
32 --with-configdir=%{libdir}/sasl2:/etc/sasl2 \
33 --with-plugindir=%{libdir}/sasl2 \
34 --with-dbpath=/var/lib/sasl/sasldb2 \
35 --with-saslauthd=/var/run/saslauthd \
36 --mandir=/usr/share/man
37
38 PARALLELISMFLAGS = # Disabled
39
40 make_install_targets += sasldir=%{libdir}/sasl2
41
42 install_cmds
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/
48
49 install -v -m700 -d %{BUILDROOT}/var/lib/sasl %{BUILDROOT}/var/run/saslauthd
50 end
51 end
52
53 packages
54 package %{name}
55
56 package %{name}-libs
57 template LIBS
58 end
59
60 package %{name}-devel
61 template DEVEL
62 end
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
67 end