summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-11-09 14:29:08 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-14 07:08:01 +0700
commit6f5dd8f86af559ac0f5f7c8d2d35cb962fb2c9d9 (patch)
treed2704b77273448df1cd3aa4bb2bc77d5376ca796
parent755915e32c76be8064ea0748ae0581439aacafbc (diff)
downloadslackbuilds-6f5dd8f86af559ac0f5f7c8d2d35cb962fb2c9d9.tar.gz
network/dovecot: Updated for version 2.2.19.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
-rw-r--r--network/dovecot/README18
-rw-r--r--network/dovecot/doinst.sh2
-rw-r--r--network/dovecot/dovecot.SlackBuild7
-rw-r--r--network/dovecot/dovecot.info10
4 files changed, 20 insertions, 17 deletions
diff --git a/network/dovecot/README b/network/dovecot/README
index 533ab1e36a..16e081ed54 100644
--- a/network/dovecot/README
+++ b/network/dovecot/README
@@ -1,10 +1,12 @@
-This script builds dovecot with support for SSL. As such, you must have
-openssl installed - openssl-solibs is not enough in itself to meet this
-requirement. Additionally, dovecot will be compiled with POP3 support.
+Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-like
+systems, written with security primarily in mind. Dovecot is an excellent choice
+for both small and large installations. It's fast, simple to set up, requires no
+special administration and it uses very little memory.
-You should create a dovecot user to run the login processes on your server.
-Something like this should work:
-[root@host] # groupadd -g 202 dovecot
-[root@host] # useradd -d /dev/null -s /bin/false -u 202 -g 202 dovecot
+This script builds dovecot with support for SSL. As such, you must have openssl
+installed - openssl-solibs is not enough in itself to meet this requirement.
-See the documentation in /usr/doc/dovecot-2.2.13/ to get started.
+This script doesn't add dovecot users and groups, instead it offers sane defaults
+that won't conflict with system users and groups, and other scripts from the SBo.
+
+See the documentation in /usr/doc/dovecot-2.2.19/ to get started.
diff --git a/network/dovecot/doinst.sh b/network/dovecot/doinst.sh
index f39fc6ebd4..03c21fc848 100644
--- a/network/dovecot/doinst.sh
+++ b/network/dovecot/doinst.sh
@@ -10,6 +10,7 @@ config() {
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
+
preserve_perms() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
@@ -20,5 +21,6 @@ preserve_perms() {
fi
config $NEW
}
+
preserve_perms etc/rc.d/rc.dovecot.new
diff --git a/network/dovecot/dovecot.SlackBuild b/network/dovecot/dovecot.SlackBuild
index 0b804cc3eb..dd83424220 100644
--- a/network/dovecot/dovecot.SlackBuild
+++ b/network/dovecot/dovecot.SlackBuild
@@ -1,6 +1,7 @@
#!/bin/sh
-# Copyright 2006, Alan Hicks, Lizella, GA
+# Copyright 2006, 2010 Alan Hicks, Lizella, GA
+# Copyright 2013, 2014, 2015 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -20,10 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by Mario Preksavec <mario@slackware.hr>
-
PRGNAM=dovecot
-VERSION=${VERSION:-2.2.13}
+VERSION=${VERSION:-2.2.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/network/dovecot/dovecot.info b/network/dovecot/dovecot.info
index 4b68009b5c..510afbe531 100644
--- a/network/dovecot/dovecot.info
+++ b/network/dovecot/dovecot.info
@@ -1,10 +1,10 @@
PRGNAM="dovecot"
-VERSION="2.2.13"
+VERSION="2.2.19"
HOMEPAGE="http://www.dovecot.org/"
-DOWNLOAD="http://www.dovecot.org/releases/2.2/dovecot-2.2.13.tar.gz"
-MD5SUM="a3eb1c0b1822c4f2b0fe9247776baa71"
+DOWNLOAD="http://www.dovecot.org/releases/2.2/dovecot-2.2.19.tar.gz"
+MD5SUM="95591b6556413edc2f0b160fb469d04c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Alan Hicks"
-EMAIL="alan@lizella.net"
+MAINTAINER="Mario Preksavec"
+EMAIL="mario at slackware dot hr"