summaryrefslogtreecommitdiffstats
path: root/main/dovecot
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-21 15:09:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-22 09:28:31 +0000
commit47bfd5f590ebebd0204adf9dc358253c06d59725 (patch)
treed227535fba0d55ce854fe2d5ff0a72d81e7d9e59 /main/dovecot
parentbfb38db528d316ee61e874bfaf39da59a1e44798 (diff)
downloadaports-47bfd5f590ebebd0204adf9dc358253c06d59725.tar.bz2
aports-47bfd5f590ebebd0204adf9dc358253c06d59725.tar.xz
main/dovecot: create /var/run/dovecot dir
fixes #332 (cherry picked from commit 5e1ecf7ef52c947fd7407546d7fb7586341f90ed)
Diffstat (limited to 'main/dovecot')
-rw-r--r--main/dovecot/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/dovecot/APKBUILD b/main/dovecot/APKBUILD
index 6fffc9efd..449012806 100644
--- a/main/dovecot/APKBUILD
+++ b/main/dovecot/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dovecot
pkgver=1.2.11
-pkgrel=0
+pkgrel=1
pkgdesc="IMAP and POP3 server"
url="http://www.dovecot.org/"
license="LGPL-2.1"
@@ -36,6 +36,7 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+ install -d "$pkgdir"/var/run/dovecot
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}