wok-next rev 17322

mutt: fix sasl support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 04 15:19:23 2014 +0100 (2014-11-04)
parents 2051fa04040e
children 8fa9b091fbf6
files mutt/receipt
line diff
     1.1 --- a/mutt/receipt	Tue Nov 04 14:52:08 2014 +0100
     1.2 +++ b/mutt/receipt	Tue Nov 04 15:19:23 2014 +0100
     1.3 @@ -9,15 +9,14 @@
     1.4  LICENSE="GPL2"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.6  WEB_SITE="http://www.mutt.org"
     1.7 -WGET_URL="ftp://ftp.mutt.org/mutt/devel/$TARBALL"
     1.8 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.9  
    1.10 -DEPENDS="openssl ncurses zlib libidn"
    1.11 -BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl"
    1.12 +DEPENDS="openssl ncurses zlib libidn libsasl"
    1.13 +BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl cyrus-sasl-dev"
    1.14  
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {	
    1.18 -    cd $src
    1.19      addgroup mail
    1.20      sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
    1.21      ./configure \
    1.22 @@ -28,7 +27,7 @@
    1.23  		--sysconfdir=/etc \
    1.24  		--enable-pop \
    1.25  		--enable-smtp \
    1.26 -		--enable-sasl \
    1.27 +		--with-sasl \
    1.28  		$CONFIGURE_ARGS &&
    1.29  	make && make install &&
    1.30  	delgroup mail
    1.31 @@ -47,10 +46,10 @@
    1.32  
    1.33  post_install()
    1.34  {
    1.35 -	addgroup mail
    1.36 +	chroot $1/ addgroup mail
    1.37  }
    1.38  
    1.39  post_remove()
    1.40  {
    1.41 -	delgroup mail
    1.42 +	chroot $1/ delgroup mail
    1.43  }