wok-4.x view cyrus-sasl/receipt @ rev 12477

Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author Stanislas Leduc <shann@slitaz.org>
date Sun Apr 02 14:34:44 2023 +0000 (19 months ago)
parents b3a5a76246a3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl"
4 VERSION="2.1.28"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://cyrusimap.web.cmu.edu/"
10 #WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
11 WGET_URL="https://github.com/cyrusimap/$PACKAGE/releases/download/$PACKAGE-$VERSION/$TARBALL"
13 DEPENDS="libldap openssl libdb libsasl libsasl-modules libcomerr3"
14 BUILD_DEPENDS="openldap-dev db-dev openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --with-ldap=/usr \
22 --with-openssl=/usr \
23 --without-pam \
24 --with-devrandom=/dev/urandom \
25 $CONFIGURE_ARGS
26 sed -i 's/WITH_DES/WITH_DES 1/' config.h
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
37 cp -a $stuff/etc $fs
39 cat $stuff/*.files-list | while read file; do
40 rm -rf $fs$file
41 done
42 }