wok view cyrus-sasl/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (19 months ago)
parents 2a0479881723
children fe1b5660fdd1
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl"
4 VERSION="2.1.27"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
10 WEB_SITE="https://www.cyrusimap.org/sasl"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/cyrusimap/cyrus-sasl/archive/$TARBALL"
15 DEPENDS="libcomerr3 libdb libldap libsasl libsasl-modules openssl"
16 BUILD_DEPENDS="db-dev openldap-dev openssl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # patch -Np1 -i $stuff/0027_db5_support.patch
30 ./configure \
31 --with-ldap=/usr \
32 --with-openssl=/usr \
33 --without-pam \
34 --with-devrandom=/dev/urandom \
35 $CONFIGURE_ARGS
36 sed -i 's/WITH_DES/WITH_DES 1/' config.h
37 make -j 1 &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/sasl2
45 mkdir -p $fs/var/state/saslauthd
47 cp -a $install/usr/sbin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
50 cp -a $stuff/etc $fs
52 cat $stuff/*.files-list | while read file; do
53 rm -rf $fs$file
54 done
55 }