summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2017-08-15 23:45:10 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2017-08-20 21:24:59 +0200
commit9429eaf845c2bfe774fa9d50a0e25b2862634745 (patch)
tree9f8753b5bb757050b70ec4c9473834983ded7913
parent7bc8250b4cac173dd14141dd2bfae273d5240df9 (diff)
downloadnet-9429eaf845c2bfe774fa9d50a0e25b2862634745.tar.gz
net-9429eaf845c2bfe774fa9d50a0e25b2862634745.tar.xz
dovecot: Version bump to 2.2.32-rc1 (masked)
-rw-r--r--metadata/repository_mask.conf7
-rw-r--r--packages/net-mail/dovecot/dovecot-2.2.32-rc1.exheres-0144
2 files changed, 151 insertions, 0 deletions
diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf
index 6e4dfc6..1f7dac9 100644
--- a/metadata/repository_mask.conf
+++ b/metadata/repository_mask.conf
@@ -230,3 +230,10 @@ dev-db/ldb[>=1.2.0] [[
token = testing
description = [ Breaks Samba < 4.7 ]
]]
+
+net-mail/dovecot[~>2.2.32-rc1] [[
+ author = [ Heiko Becker <heirecka@exherbo.org> ]
+ date = [ 15 Aug 2017 ]
+ token = pre-release
+ description = [ Release candidate ]
+]]
diff --git a/packages/net-mail/dovecot/dovecot-2.2.32-rc1.exheres-0 b/packages/net-mail/dovecot/dovecot-2.2.32-rc1.exheres-0
new file mode 100644
index 0000000..2f0ec50
--- /dev/null
+++ b/packages/net-mail/dovecot/dovecot-2.2.32-rc1.exheres-0
@@ -0,0 +1,144 @@
+# Copyright 2008 Fernando J. Pereda
+# Copyright 2009, 2010 Daniel Mierswa <impulze@impulze.org>
+# Copyright 2012-2016 Wulf C. Krueger <philantrop@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require systemd-service
+
+case "$(ever range 4)" in
+ rc*|beta*|alpha*) MYPV="$(ever range 1-3).$(ever range 4)" ;;
+ *) MYPV="${PV}" ;;
+esac
+
+case "$(ever range 4)" in
+ rc*) DOWNLOAD_PATH="rc" ;;
+ beta*) DOWNLOAD_PATH="beta" ;;
+ alpha*) DOWNLOAD_PATH="alpha" ;;
+esac
+
+SUMMARY="Fast, secure, IMAP/POP server"
+DESCRIPTION="
+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.
+"
+HOMEPAGE="https://www.${PN}.org"
+DOWNLOADS="${HOMEPAGE}/releases/$(ever range 1-2)/${DOWNLOAD_PATH}/${PN}-${MYPV}.tar.gz"
+BUGS_TO="philantrop@exherbo.org"
+LICENCES="LGPL-2.1 MIT BSD-3 public-domain"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+MYOPTIONS="
+ caps
+ ldap
+ lz4 [[ description = [ Build with LZ4 compression support ] ]]
+ mysql
+ postgresql
+ solr
+ sqlite
+ tcpd
+ (
+ mysql
+ postgresql
+ sqlite
+ ) [[ description = [ Database backends for dovecot and plugins ] ]]
+ solr [[ description = [ Apache Solr fast text searching backend ] ]]
+ ( providers: libressl openssl ) [[ number-selected = exactly-one ]]
+"
+
+WORK=${WORKBASE}/${PN}-${MYPV}
+
+DEPENDENCIES="
+ build:
+ app-text/unicode-data
+ virtual/pkg-config
+ build+run:
+ sys-libs/pam
+ caps? ( sys-libs/libcap )
+ ldap? ( net-directory/openldap )
+ lz4? ( app-arch/lz4 )
+ mysql? ( virtual/mysql )
+ postgresql? ( dev-db/postgresql )
+ providers:libressl? ( dev-libs/libressl:= )
+ providers:openssl? ( dev-libs/openssl )
+ solr? (
+ dev-libs/expat
+ net-misc/curl
+ )
+ sqlite? ( dev-db/sqlite:3 )
+ tcpd? ( sys-apps/tcp-wrappers )
+ user/dovecot
+ user/dovenull
+ run:
+ group/dovecot
+ user/dovecot
+ suggestion:
+ net-mail/dovecot-pigeonhole
+ [[ description =
+ [ Sieve plugin for deliver and Managesieve implementation. ]
+ ]]
+"
+
+DEFAULT_SRC_CONFIGURE_PARAMS=(
+ VALGRIND=no
+ --localstatedir=/var
+ --with-bzlib
+ --with-docs
+ --with-lzma
+ --with-pam
+ --with-rundir=/run/dovecot
+ --with-shadow
+ --with-ssl
+ --with-systemdsystemunitdir="${SYSTEMDSYSTEMUNITDIR}"
+ --with-zlib
+ --without-cassandra
+ # broken
+ --without-gssapi
+ --without-icu
+ --without-lucene
+ --without-nss
+ --without-stemmer
+ --without-textcat
+ # avoid automagic dependencies
+ --without-vpopmail
+)
+
+DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
+ "caps libcap"
+ ldap
+ lz4
+ mysql
+ "postgresql pgsql"
+ solr
+ sqlite
+ "tcpd libwrap"
+)
+
+src_unpack() {
+ default
+
+ edo cp /usr/share/unicode-data/UnicodeData.txt "${WORK}"/src/lib
+}
+
+src_test() {
+ esandbox allow_net "unix:${WORK}/src/lib-program-client/program-client-test.sock"
+ esandbox allow_net --connect "LOOPBACK@0"
+ default
+ esandbox disallow_net --connect "LOOPBACK@0"
+ esandbox disallow_net "unix:${WORK}/src/lib-program-client/program-client-test.sock"
+}
+
+src_install() {
+ default
+
+ # remove pointless README which just points to /usr/share/doc/*
+ edo rm "${IMAGE}"/etc/dovecot/README
+ edo rmdir "${IMAGE}"/etc/dovecot
+
+ # /etc should be empty, because init.d script won't get installed
+ edo rmdir "${IMAGE}"/etc
+
+ keepdir /usr/$(exhost --target)/lib/dovecot/auth
+}
+