aboutsummaryrefslogtreecommitdiffstats
path: root/main/dovecot
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-10-11 14:26:21 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-11 14:26:21 +0200
commite7c0cbc20dcf7eb12b5a02c2f7d1ae202bbedba2 (patch)
tree9b752ab16fb028faebcc8395fa22db3559e53607 /main/dovecot
parent0b83baa0247a75a7c07360848a58a4024f90f9d8 (diff)
downloadaports-e7c0cbc20dcf7eb12b5a02c2f7d1ae202bbedba2.tar.bz2
aports-e7c0cbc20dcf7eb12b5a02c2f7d1ae202bbedba2.tar.xz
main/dovecot: use openssl binary from libressl
Diffstat (limited to 'main/dovecot')
-rw-r--r--main/dovecot/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/dovecot/APKBUILD b/main/dovecot/APKBUILD
index 663f4d7573..0e571b10b7 100644
--- a/main/dovecot/APKBUILD
+++ b/main/dovecot/APKBUILD
@@ -4,13 +4,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dovecot
pkgver=2.2.25
-pkgrel=1
+pkgrel=2
_pigeonholever=0.4.14
pkgdesc="IMAP and POP3 server"
url="http://www.dovecot.org/"
arch="all"
license="LGPL2+"
-depends="openssl"
+depends="libressl"
pkgusers="dovecot dovenull"
pkggroups="dovecot dovenull"
makedepends="libcap-dev zlib-dev libressl-dev bzip2-dev postgresql-dev
@@ -28,11 +28,11 @@ source="http://www.dovecot.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.gz
"
options="libtool"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
_builddirpigeonhole="$srcdir"/$pkgname-2.2-pigeonhole-$_pigeonholever
prepare() {
- cd "$_builddir"
+ cd "$builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -41,7 +41,7 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -72,14 +72,14 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --with-dovecot="$_builddir" \
+ --with-dovecot="$builddir" \
--disable-static \
|| return 1
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -d "$pkgdir"/etc/ssl/dovecot