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