diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-07-13 10:49:48 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-07-13 10:51:07 +0200 |
commit | b27bbf35f2cdb28eeec8a268d5ba194515c3e70d (patch) | |
tree | f2f9f4997d9367b767d5703772968fee1ebfa1ab /main/libetpan | |
parent | 1008ddd5bc8e9b76833695565c6733a3f796e79c (diff) | |
download | aports-b27bbf35f2cdb28eeec8a268d5ba194515c3e70d.tar.bz2 aports-b27bbf35f2cdb28eeec8a268d5ba194515c3e70d.tar.xz |
main/libetpan: use gnutls instead of openssl
Fixes issues with connection to exchange 2003 imap server.
Diffstat (limited to 'main/libetpan')
-rw-r--r-- | main/libetpan/APKBUILD | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/main/libetpan/APKBUILD b/main/libetpan/APKBUILD index 2733c116c..fc7b6de3f 100644 --- a/main/libetpan/APKBUILD +++ b/main/libetpan/APKBUILD @@ -1,22 +1,34 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libetpan pkgver=1.1 -pkgrel=0 +pkgrel=1 pkgdesc="a portable middleware for email access" url="http://www.etpan.org/" arch="all" license="custom:etpan" subpackages="$pkgname-dev $pkgname-doc" -makedepends="db-dev cyrus-sasl-dev curl-dev expat-dev openssl-dev" +makedepends="db-dev cyrus-sasl-dev curl-dev expat-dev gnutls-dev libgcrypt-dev + libgpg-error-dev" depends= depends_dev="cyrus-sasl-dev db-dev" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" +prepare() { + cd "$srcdir"/$pkgname-$pkgver + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + build () { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ - --with-openssl \ + --with-gnutls=yes \ + --with-openssl=no \ + --with-gnutls \ --disable-static make || return 1 |