wok-next view cyrus-sasl/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | eb8067417980 |
children | d2dfaae2aa88 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cyrus-sasl"
4 VERSION="2.1.26"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://cyrusimap.web.cmu.edu/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.cyrusimap.org/cyrus-sasl/$TARBALL"
14 BUILD_DEPENDS="automake libtool openldap-dev db-dev openssl-dev krb5-dev"
15 SPLIT="libsasl libsasl-modules cyrus-sasl cyrus-sasl-dev"
16 SIBLINGS="cyrus-sasl-pam libsasl-without-ldap"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 autoreconf -fi &&
23 ./configure \
24 --sysconfdir=/etc \
25 --enable-auth-sasldb \
26 --with-dbpath=/var/lib/sasl/sasldb2 \
27 --with-saslauthd=/var/run/saslauthd \
28 --without-pam \
29 --with-devrandom=/dev/urandom \
30 --with-ldap \
31 --with-openssl \
32 $CONFIGURE_ARGS &&
33 mkdir -p $src/saslauthd/cmulocal &&
34 make && make install &&
36 docdir="$install/usr/share/doc/cyrus-sasl-$VERSION"
37 mkdir -p $docdir &&
38 cd $src/doc &&
39 cp *.html *.txt ONEWS TODO ../saslauthd/LDAP_SASLAUTHD $docdir &&
41 cp -a $stuff/etc $install &&
42 chown -R root:root $install/etc
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 case $PACKAGE in
49 libsasl)
50 copy libsasl2*.so*
51 CAT="system-tools|library"
52 DEPENDS=" "
53 ;;
54 libsasl-modules)
55 copy sasl2/*.so*
56 CAT="system-tools|library modules"
57 PROVIDE="libsasl-without-ldap"
58 DEPENDS="libcomerr3 libcrypto libdb libkrb5"
59 ;;
60 cyrus-sasl)
61 copy @std
62 remove_already_packed
63 DEPENDS="libcomerr3 libcrypto libdb libkrb5 libldap libsasl \
64 libsasl-modules libssl"
65 ;;
66 *-dev)
67 copy @dev
68 DEPENDS="db-dev krb5-dev libcrypto-dev"
69 ;;
70 esac
71 }
73 post_install_cyrus_sasl() {
74 [ -d "$1/var/lib/sasl" ] || install -v -dm700 "$1/var/lib/sasl"
75 }