wok-6.x view cyrus-sasl-pam/receipt @ rev 21498
updated mtpaint (3.44.91 -> 3.49.14)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 02 13:38:04 2019 +0100 (2019-05-02) |
parents | eb8067417980 |
children | a1821e12e28a |
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl-pam"
4 VERSION="2.1.27"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://cyrusimap.org/sasl"
11 SOURCE="cyrus-sasl"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://cyrusimap.org/releases/$SOURCE-$VERSION.tar.gz"
15 PROVIDE="cyrus-sasl:pam"
16 DEPENDS="libcomerr3 libdb libkrb5 libldap openssl pam"
17 BUILD_DEPENDS="openldap-dev openssl-dev pam pam-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --with-ldap=/usr \
26 --with-pam=/usr \
27 --with-devrandom=/dev/urandom \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS
30 sed -i 's/WITH_DES/WITH_DES 1/' config.h
31 make -j1 &&
32 make -j1 DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/sasl2
39 mkdir -p $fs/var/state/saslauthd
41 cp -a $install/usr/sbin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
44 cp -a ../$SOURCE/stuff/etc $fs
46 sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl
47 }