aboutsummaryrefslogtreecommitdiffstats
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-21 15:14:36 +0000
commit5e1ecf7ef52c947fd7407546d7fb7586341f90ed (patch)
treecf061aef281fcc92606aefaea56297b3967f5f95 /main/dovecot
parentad2dc2e3a5b504290cdfee6f8605e11e25dc9920 (diff)
downloadaports-5e1ecf7ef52c947fd7407546d7fb7586341f90ed.tar.bz2
aports-5e1ecf7ef52c947fd7407546d7fb7586341f90ed.tar.xz
main/dovecot: create /var/run/dovecot dir
fixes #332
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 6fffc9efde..449012806b 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
}