wok view cyrus-sasl-pam/receipt @ rev 25371
updated tmux-mem-cpu-load (3.4.0 -> 3.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 29 14:34:07 2022 +0100 (2022-07-29) |
parents | 2a0479881723 |
children | fe1b5660fdd1 |
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://www.cyrusimap.org/sasl"
11 SOURCE="cyrus-sasl"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/cyrusimap/cyrus-sasl/archive/$TARBALL"
15 PROVIDE="cyrus-sasl:pam"
16 DEPENDS="libcomerr3 libdb libkrb5 libldap openssl pam"
17 BUILD_DEPENDS="openldap-dev openssl-dev pam pam-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --with-ldap=/usr \
33 --with-pam=/usr \
34 --with-devrandom=/dev/urandom \
35 --mandir=/usr/share/man \
36 $CONFIGURE_ARGS
37 sed -i 's/WITH_DES/WITH_DES 1/' config.h
38 make -j1 &&
39 make -j1 DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib/sasl2
46 mkdir -p $fs/var/state/saslauthd
48 cp -a $install/usr/sbin $fs/usr
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
51 cp -a ../$SOURCE/stuff/etc $fs
53 sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl
54 }