parent
dd845960ba
commit
20a7a9b43c
@ -1,2 +1,3 @@
|
||||
DIST yubikey-neo-manager-1.1.0.tar.gz 119986 SHA256 eb8cc90bf4818feffe360d6330ebafa47452a1ce9c14900e13fcdd4cb921c837 SHA512 ee1bff88946be85cd3127a92deceb826b8bd35da76d3356993e1a369cb9119d6267a708a0023afeb185adcb1e4cdbaaa1c8983fd0cac32c51a4ece81840e8553 WHIRLPOOL a7123760c51333af30343b5dcff56398754aa4c214afdba75473d7555983aff9988d1ba0db5c12314170b0a810ed5d609cd3736258101198ab3b417133cd9957
|
||||
DIST yubikey-neo-manager-1.2.1.tar.gz 120802 SHA256 b09e59576dd6cb664966e4848854f728b8162ae74d35f87825d9a8bff07f018a SHA512 37b4807419803bb303b88b185293b49d5475c51d564614636ca1ead0c06efdb0ec867dac8de8b0030ab1ea85a726676bb63abdcc352428cb5a18068556a3b1b8 WHIRLPOOL e4a4e32d2d94dae0cf02abaff4bc9c2d281bc6bdf21d9dea76c2d6c05052a6a6bffc2955ee912bc5adb6ae070af3b10216691bfd9764b6895df7a3dedadb780b
|
||||
DIST yubikey-neo-manager-1.3.0.tar.gz 121242 SHA256 d8dba9ec6ee885af17b6c6b6b88fdd5df7b994cbee64946253a43713b12075c6 SHA512 fc5690d73fdc8cd1119c1c693bf31fd0b0f7145fa04af437d84e2f0f513798a88d44e80179d6b02f7641f61a9a1fd27d909518dfa1d881cc9ffb19cd5ad7c398 WHIRLPOOL 9c09bf133bb04926453ca05f41ca4d0825874b7320f2990743caa110330775cceb3049f7181788f1bbf2fae996e6c98df50760b9e8a5e7714a6c965bfb0013bd
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/yubikey-neo-manager/yubikey-neo-manager-1.3.0.ebuild,v 1.1 2015/05/28 13:45:18 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Cross platform personalization tool for the YubiKey NEO"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-neo-manager/"
|
||||
SRC_URI="
|
||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||
https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
dev-python/pyside[webkit,${PYTHON_USEDEP}]
|
||||
app-crypt/libu2f-host
|
||||
app-crypt/libykneomgr
|
||||
sys-auth/ykpers"
|
||||
|
||||
DEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
${CDEPEND}"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
DOCS=( NEWS README )
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman scripts/neoman.1
|
||||
domenu resources/neoman.desktop
|
||||
doicon resources/neoman.xpm
|
||||
newicon -s 128 resources/neoman-large.png neoman.png
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/busybee/busybee-0.6.0.ebuild,v 1.1 2015/05/28 09:15:38 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="A messaging abstraction on top of TCP sockets used in HyperDex"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libpo6-${PV}
|
||||
>=dev-libs/libe-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/libe-0.10.0.ebuild,v 1.1 2015/05/28 09:14:21 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
# bit messy at the moment, next release should fix it I hope
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="Hyperdex libe support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/libpo6-0.6.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/_strtoui64/strtoul/' e/convert.h || die
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpo6/libpo6-0.7.0.ebuild,v 1.1 2015/05/28 09:13:39 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Hyperdex libpo6 support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/replicant/replicant-0.7.0.ebuild,v 1.1 2015/05/28 09:38:01 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Hyperdex replicant support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libpo6-0.4
|
||||
>=dev-libs/libe-0.4
|
||||
>=dev-libs/busybee-0.4
|
||||
dev-libs/hyperleveldb
|
||||
dev-cpp/glog
|
||||
dev-cpp/sparsehash"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,3 +1,4 @@
|
||||
DIST py-1.4.25.tar.gz 190298 SHA256 da6ea727748e00f79fef987adb6970e8b081f829de8ea39f5405718fa9e50c85 SHA512 7e24a9d57298cf98fc246fbda7db81f6cd9d16b78425266c24d00ab1db77146ffab38820630b2dddb49bca7d864c2366d45fdb3e81bb284e509a309d4c1b5b98 WHIRLPOOL 2eab3004febb8e0e0bb42c0fd6d6dd33e46c7a1fe9cdbe2864e55fc075393cf043c0697a508696d0f5bdee8322cef30f03765f676349d02353f3448a339a9432
|
||||
DIST py-1.4.26.tar.gz 190617 SHA256 28dd0b90d29b386afb552efc4e355c889f4639ce93658a7872a2150ece28bb89 SHA512 5772893d754e4f3fee5de9fdb0eca2c654ac5288eba5c89dac88fd4d9acb2c0795bae61e0c43b37a14471536a1649c9138ac1c4374cd5697307e74062e9813f3 WHIRLPOOL 9f845477bec75c083c7148d8008df9992a5309a89ee0ec68a9de5d99c236dd7f1e8cedf39a220c53a6b46570d1cba715623ac5eb6563874f7901694bdd0fb594
|
||||
DIST py-1.4.27.tar.gz 191447 SHA256 55c648870ba47375c52001d05a1adeedaa930937749ad66eb3327e8dea28ac79 SHA512 29d4c003f9382d5ae19ced0d1d759841b08ed8eb0e9d07e6105e974f4181c3cbb6b59908434eaf4f1164deac438258ccb25b89c0fec0f5a11e1d6487127af4a1 WHIRLPOOL bd3067bf8bbae2ab8ff51720132864701dbb347ecfca023c7dc0f85f6a94d73f77538e17bc8113cbf4946340be8e3f3faad04f92c2d8cee10a7ac3a497d48636
|
||||
DIST py-1.4.28.tar.gz 191592 SHA256 664dbb9fd86c26d26e90aa93d15b8a19c859128bb66b3905bef954eba737eeb5 SHA512 0f65ec7114d5d634cf8b0be0c91dee9c7ce7b4795143d1394f1e625586d852c3c0941b7e9490a1eb6a1d3ad5db7c64ab72b6532793f22fdda705a347d4945814 WHIRLPOOL 077f14d7e8a3e1ed1dbc3dd1a51ce55d0263f74b726ec66847c069ff91e81b9aab5581e031a5acbfdbbaaff22ced89efa7a362c2220db1964622342e6a02cd9f
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/py/py-1.4.28.ebuild,v 1.1 2015/05/28 11:56:37 jlec Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities"
|
||||
HOMEPAGE="http://pylib.readthedocs.org/ http://pypi.python.org/pypi/py"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's:intersphinx_mapping:#&:' -i doc/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# 1 failure, test_comments, under both pypy only.
|
||||
# Also appears the home repo has no issue tracker.
|
||||
py.test || die "testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pyglet-1.1.4.tar.gz 2946601 SHA256 1d9b2a5e3a37a9068aee70100d19bfa83a6bbf6d4a2af8adb4231a601a101611 SHA512 26e1b652bd0e2666014bd29c4456570eee5fdbcce694f49f424fdab3583d0fb67d835e9f0e09f0459dc65cf3c042fffbfbeb321b286890be03260c9ee30bf187 WHIRLPOOL 89424736a0da9abd62813159ff6367b2c536b9cbfe63aaaf1733c712161453a77b3086ca0f4a840a1f682f2bd5334e0decb28d71b7dc187135a799c711ce6afc
|
||||
DIST pyglet-1.2.2.tar.gz 2120758 SHA256 6b54c3881a5eb086f2733c24aada1b65625b45b36172cd7f63fbde2cf43138df SHA512 012dcf6f62a823a391f7ac81b4a6dc89cf2bfd1f3f895dfa115011efdcbd1327821a11c47d455ed4e2a3edbd041f8a5e5b3c5f27b336a6c4d17c028a8999dc69 WHIRLPOOL ab2f402076b2aed110cde901e49b003e336eb634ad8b3f084dd1a980a1079959639ec1773b3106185f443a50ed6db39c833133442b002a64d9254285372bcdb5
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyglet/pyglet-1.2.2.ebuild,v 1.1 2015/05/28 14:11:54 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Cross-platform windowing and multimedia library for Python"
|
||||
HOMEPAGE="http://www.pyglet.org/"
|
||||
SRC_URI="
|
||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||
http://pyglet.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="alsa examples gtk +openal"
|
||||
|
||||
RDEPEND="
|
||||
virtual/opengl
|
||||
alsa? ( media-libs/alsa-lib[alisp] )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
openal? ( media-libs/openal )"
|
||||
DEPEND="${RDEPEND}"
|
||||
# ffmpeg? ( media-libs/avbin-bin )
|
||||
|
||||
# pyglet.gl.glx_info.GLXInfoException: pyglet requires an X server with GLX
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
python_is_python3 && return
|
||||
VIRTUALX_COMMAND="${PYTHON}"
|
||||
virtualmake tests/test.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
DOCS=( NOTICE )
|
||||
use examples && EXAMPLES=( examples )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,23 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-merge-changelog/git-merge-changelog-20140223.ebuild,v 1.1 2014/03/18 21:47:34 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-merge-changelog/git-merge-changelog-20140223.ebuild,v 1.2 2015/05/28 13:47:34 vapier Exp $
|
||||
|
||||
# snapshot extracted from git://git.savannah.gnu.org/gnulib.git using
|
||||
# ./gnulib-tool --create-testdir --without-tests --dir=${PN} ${PN};
|
||||
# cd ${PN}; ./configure; make maintainer-clean
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Git merge driver for GNU style ChangeLog files"
|
||||
HOMEPAGE="http://www.gnu.org/software/gnulib/"
|
||||
# snapshot extracted from git://git.savannah.gnu.org/gnulib.git using
|
||||
# ./gnulib-tool --create-testdir --without-tests --dir=${PN} ${PN};
|
||||
# cd ${PN}; ./configure; make maintainer-clean
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
sed -n '/README/{h;:x;n;/^#/!{H;bx};g;s/\n*$//;s:/usr/local:/usr:g;p;q}' \
|
||||
sed -n "/README/{h;:x;n;/^#/!{H;bx};g;s/\n*$//;s:/usr/local:${EPREFIX}/usr:g;p;q}" \
|
||||
gllib/git-merge-changelog.c >README || die
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
DIST opensmtpd-extras-201505281056.tar.gz 158740 SHA256 47fe0c63b78e9f29f0432accf88a4fd551c20bc9e14fcf15917430a401512b15 SHA512 842a0cafd50d23f29d84440bbd95cc6600caddc4aef78961aedab840ffc1980f8b5a98ab7f01dcde56b9134f4a55c21e45df23dbd894d9137ee978bf78f74175 WHIRLPOOL 44172be9eab0efdb98250ed08c1428fc47e3dfbcb25df5d84c0add34783684af3ee3c2cf1706f5949ec6952810002ac6a90935aaeebbae9d1bb50f08c47fec7d
|
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription lang="en">
|
||||
Extras filters, tables, and other extensions for mail-mta/opensmtpd.
|
||||
</longdescription>
|
||||
<maintainer>
|
||||
<email>zx2c4@gentoo.org</email>
|
||||
<name>Jason A. Donenfeld</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='filter-clamav'>filter for scanning with app-antivirus/clamav</flag>
|
||||
<flag name='filter-dkim-signer'>filter for adding DKIM signatures to outgoing messages</flag>
|
||||
<flag name='filter-dnsbl'>filter for checking hosts against the DNS black lists</flag>
|
||||
<flag name='filter-lua'>filter for interfacing with dev-lang/lua</flag>
|
||||
<flag name='filter-monkey'>filter for arbitrarily rejecting random emails</flag>
|
||||
<flag name='filter-pause'>filter to pause on new connections</flag>
|
||||
<flag name='filter-perl'>filter for interfacing with dev-lang/perl</flag>
|
||||
<flag name='filter-python'>filter for interfacing with dev-lang/python</flag>
|
||||
<flag name='filter-regex'>filter for regular expression matching</flag>
|
||||
<flag name='filter-spamassassin'>filter for scanning with mail-filter/spamassassin</flag>
|
||||
<flag name='filter-stub'>stub filter</flag>
|
||||
<flag name='filter-trace'>trace filter</flag>
|
||||
<flag name='filter-void'>void filter</flag>
|
||||
<flag name='queue-null'>null queue</flag>
|
||||
<flag name='queue-python'>queue for interfacing with dev-lang/python</flag>
|
||||
<flag name='queue-ram'>ram queue</flag>
|
||||
<flag name='queue-stub'>stub queue</flag>
|
||||
<flag name='table-ldap'>table for lookups with net-nds/openldap</flag>
|
||||
<flag name='table-mysql'>table for lookups with virtual/mysql</flag>
|
||||
<flag name='table-postgres'>table for lookups with dev-db/postgresql</flag>
|
||||
<flag name='table-redis'>table for lookups with dev-db/redis</flag>
|
||||
<flag name='table-socketmap'>table for lookups using a socket map</flag>
|
||||
<flag name='table-passwd'>table for lookups using /etc/passwd</flag>
|
||||
<flag name='table-python'>table for interfacing with dev-lang/python</flag>
|
||||
<flag name='table-sqlite'>table for lookups with dev-db/sqlite3</flag>
|
||||
<flag name='table-stub'>stub table</flag>
|
||||
<flag name='scheduler-ram'>ram scheduler</flag>
|
||||
<flag name='scheduler-stub'>stub scheduler</flag>
|
||||
<flag name='scheduler-python'>schedulre for interfacing with python</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201505281056.ebuild,v 1.1 2015/05/28 10:37:34 zx2c4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Extra tables, filters, and various other addons for OpenSMTPD"
|
||||
HOMEPAGE="https://github.com/OpenSMTPD/OpenSMTPD-extras"
|
||||
SRC_URI="https://www.opensmtpd.org/archives/${PN}-$(get_version_component_range 4-).tar.gz"
|
||||
|
||||
LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="
|
||||
filter-clamav
|
||||
filter-dkim-signer
|
||||
filter-dnsbl
|
||||
filter-lua
|
||||
filter-monkey
|
||||
filter-pause
|
||||
filter-perl
|
||||
filter-python
|
||||
filter-regex
|
||||
filter-spamassassin
|
||||
filter-stub
|
||||
filter-trace
|
||||
filter-void
|
||||
|
||||
queue-null
|
||||
queue-python
|
||||
queue-ram
|
||||
queue-stub
|
||||
|
||||
table-ldap
|
||||
table-mysql
|
||||
table-postgres
|
||||
table-redis
|
||||
table-socketmap
|
||||
table-passwd
|
||||
table-python
|
||||
table-sqlite
|
||||
table-stub
|
||||
|
||||
scheduler-ram
|
||||
scheduler-stub
|
||||
scheduler-python
|
||||
"
|
||||
|
||||
# Deps:
|
||||
# mysql needs -lmysqlclient
|
||||
# sqlite needs -lsqlite3
|
||||
# redis needs -lhiredis
|
||||
# postgres requires -lpq
|
||||
# ldap uses internal library and requires no deps
|
||||
# spamassassin uses internal library and requires no deps
|
||||
# clamav uses internal library and requires no deps
|
||||
# dnsbl needs -lasr
|
||||
# python requires python, currently pegged at 2.7
|
||||
# lua requires -llua5.2
|
||||
|
||||
DEPEND="mail-mta/opensmtpd dev-libs/libevent dev-libs/openssl
|
||||
filter-python? ( dev-lang/python:2.7 )
|
||||
filter-perl? ( dev-lang/perl )
|
||||
filter-lua? ( dev-lang/lua:5.2 )
|
||||
filter-dnsbl? ( net-libs/libasr )
|
||||
table-sqlite? ( dev-db/sqlite:3 )
|
||||
table-mysql? ( virtual/mysql )
|
||||
table-postgres? ( dev-db/postgresql )
|
||||
table-redis? ( dev-libs/hiredis )
|
||||
table-python? ( dev-lang/python:2.7 )
|
||||
scheduler-python? ( dev-lang/python:2.7 )
|
||||
queue-python? ( dev-lang/python:2.7 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}-$(get_version_component_range 4-)
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
AR="$(which "$AR")" econf \
|
||||
--with-privsep-user=smtpd \
|
||||
--with-privsep-path=/var/empty \
|
||||
--sysconfdir=/etc/opensmtpd \
|
||||
$(for use in $IUSE; do use_with $use; done)
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST spambayes-1.1a6.tar.gz 1007785 SHA256 14752d9930a4f103789918a26eaed0348d27329f34e14666edfc6d05b6b01053 SHA512 7b8a6c54e986666064871298e70a04781ff33bddc3274734596ea577860707d61f95408caefd5511f586e285f8d7620d18fe3e6efcbdd0b26a39808abe44e189 WHIRLPOOL f7d67447c72882f7612d93f68ad9ab2aa200b618bcda02eeb9b93e0bd288725f4bdf4b3a9ac30a66362f011f2b7c05dbb791b56dd8086b13203bcf58f5c795ff
|
||||
DIST spambayes-1.1b1.tar.gz 1008891 SHA256 9680db176e31366178662f863ed569488778b56b1e147303b95c8095d0921b4f SHA512 988acd799e9f4530099891f1d8582b29a4c156ddb5cf280623d2e9ac3566c1c9b9cbfa5f85d32161d7f1954364320f3795d500ac51e8944d140fcd3b626c3124 WHIRLPOOL a0d1048fab1ab07e0fbf49b51ee5af28c818d9368e49b9cdfc316d36f9204f181cbd960ae132d9c42da568c91cdb0771ab06e3ed0433e504a12cc3841daadb1d
|
||||
DIST spambayes-1.1b2.tar.gz 1001993 SHA256 8d186d1e7a67de88941f27e0cfcfb4e88fffd7706f51e9181a5bcdaa1b6f8294 SHA512 0f8e88a2b7d3200fbb08a8e55f549a06530cb2068215023f079bf2f4e399f2f7850bf4e9f01addb6a48f1e41a75872cc3909ca76b7567e2c93a9701bec7b2a39 WHIRLPOOL dd6c90939527dc3a283467df00e0ae787b75c4e55411c51a7d7133b2fb9dbead84569c7b9be3c05e7f5a7a387c8cd717e26556ae461b0f4dd3a09383b7e92515
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/spambayes/spambayes-1.1_beta2.ebuild,v 1.1 2015/05/28 13:54:40 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="${P/_beta/b}"
|
||||
|
||||
DESCRIPTION="An anti-spam filter using on Bayesian filtering"
|
||||
HOMEPAGE="http://spambayes.sourceforge.net"
|
||||
SRC_URI="
|
||||
mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
|
||||
mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2.2 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-python/bsddb3[${PYTHON_USEDEP}]
|
||||
dev-python/lockfile[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
dodoc -r *.txt contrib utilities testtools
|
||||
|
||||
newinitd "${FILESDIR}"/spambayespop3proxy.rc spambayespop3proxy
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/bayescustomize.ini
|
||||
|
||||
keepdir /var/lib/spambayes
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST opensmtpd-extras-201505202252.tar.gz 626350 SHA256 0f979b81651a2b0539b0233da127b12d907441055b5811bc45ffad22ed472053 SHA512 20262e1e8879c0f268f324ce379cecea2196568707c744f083b73a9a0d0b2bbd966c24e8c729ca087dcc03e901680d523faa9fa9a8f39a7cdc9cbcdb4292b7a9 WHIRLPOOL b9999ae1c8a31aebe7cb954a0eb894eedd5875f2882b10a0ca3314ce48258026cdb4d9b3d8eabb424464bc8288eb1dc9282e0e7b3fd81588fbbc91b06e3767cd
|
@ -1,42 +0,0 @@
|
||||
diff -ru opensmtpd-5.4.5p2/configure opensmtpd-5.4.5p2-fixed/configure
|
||||
--- opensmtpd-5.4.5p2/configure 2015-04-29 22:53:03.000000000 +0200
|
||||
+++ opensmtpd-5.4.5p2-fixed/configure 2015-05-27 14:20:48.977763792 +0200
|
||||
@@ -19667,7 +19667,7 @@
|
||||
if(fd == NULL)
|
||||
exit(1);
|
||||
|
||||
- if ((rc = fprintf(fd ,"%s\n", _EVENT_VERSION)) <0)
|
||||
+ if ((rc = fprintf(fd ,"%s\n", LIBEVENT_VERSION)) <0)
|
||||
exit(1);
|
||||
|
||||
exit(0);
|
||||
@@ -19794,7 +19794,7 @@
|
||||
main ()
|
||||
{
|
||||
|
||||
- exit(strcmp(event_get_version(), _EVENT_VERSION) == 0 ? 0 : 1);
|
||||
+ exit(strcmp(event_get_version(), LIBEVENT_VERSION) == 0 ? 0 : 1);
|
||||
|
||||
;
|
||||
return 0;
|
||||
diff -ru opensmtpd-5.4.5p2/configure.ac opensmtpd-5.4.5p2-fixed/configure.ac
|
||||
--- opensmtpd-5.4.5p2/configure.ac 2015-04-29 22:52:18.000000000 +0200
|
||||
+++ opensmtpd-5.4.5p2-fixed/configure.ac 2015-05-27 14:21:00.868764207 +0200
|
||||
@@ -2697,7 +2697,7 @@
|
||||
if(fd == NULL)
|
||||
exit(1);
|
||||
|
||||
- if ((rc = fprintf(fd ,"%s\n", _EVENT_VERSION)) <0)
|
||||
+ if ((rc = fprintf(fd ,"%s\n", LIBEVENT_VERSION)) <0)
|
||||
exit(1);
|
||||
|
||||
exit(0);
|
||||
@@ -2773,7 +2773,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
]], [[
|
||||
- exit(strcmp(event_get_version(), _EVENT_VERSION) == 0 ? 0 : 1);
|
||||
+ exit(strcmp(event_get_version(), LIBEVENT_VERSION) == 0 ? 0 : 1);
|
||||
]])],
|
||||
[
|
||||
AC_MSG_RESULT([yes])
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription lang="en">
|
||||
Extras filters, tables, and other extensions for OpenSMTPD.
|
||||
</longdescription>
|
||||
<maintainer>
|
||||
<email>zx2c4@gentoo.org</email>
|
||||
<name>Jason A. Donenfeld</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd-extras/opensmtpd-extras-5.4.5.201505202252.ebuild,v 1.1 2015/05/27 13:15:25 zx2c4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Extra tables, filters, and various other addons for OpenSMTPD"
|
||||
HOMEPAGE="https://github.com/OpenSMTPD/OpenSMTPD-extras"
|
||||
SRC_URI="https://www.opensmtpd.org/archives/${PN}-$(get_version_component_range 4-).tar.gz"
|
||||
|
||||
LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="filter-dnsbl filter-monkey filter-perl filter-python filter-stub filter-trace filter-void queue-null queue-python queue-ram queue-stub table-ldap table-mysql table-postgres table-redis table-socketmap table-passwd table-python table-sqlite scheduler-ram scheduler-stub scheduler-python"
|
||||
|
||||
DEPEND="mail-mta/opensmtpd
|
||||
filter-python? ( dev-lang/python:2.7 )
|
||||
filter-perl? ( dev-lang/perl )
|
||||
table-sqlite? ( dev-db/sqlite:3 )
|
||||
table-mysql? ( virtual/mysql )
|
||||
table-postgres? ( dev-db/postgresql )
|
||||
table-redis? ( dev-libs/hiredis )
|
||||
table-python? ( dev-lang/python:2.7 )
|
||||
scheduler-python? ( dev-lang/python:2.7 )
|
||||
queue-python? ( dev-lang/python:2.7 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}-$(get_version_component_range 4-)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-libevent-version-macro.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use filter-python || use queue-python || use table-python || use scheduler-python; then
|
||||
# FIXME: clean this up
|
||||
append-cppflags "-I/usr/include/python2.7"
|
||||
fi
|
||||
|
||||
tc-export AR
|
||||
AR="$(which "$AR")" econf \
|
||||
--with-privsep-user=smtpd \
|
||||
--with-privsep-path=/var/empty \
|
||||
--sysconfdir=/etc/opensmtpd \
|
||||
$(use_with filter-dnsbl) \
|
||||
$(use_with filter-monkey) \
|
||||
$(use_with filter-perl) \
|
||||
$(use_with filter-python) \
|
||||
$(use_with filter-stub) \
|
||||
$(use_with filter-trace) \
|
||||
$(use_with filter-void) \
|
||||
$(use_with queue-null) \
|
||||
$(use_with queue-python) \
|
||||
$(use_with queue-ram) \
|
||||
$(use_with queue-stub) \
|
||||
$(use_with table-ldap) \
|
||||
$(use_with table-mysql) \
|
||||
$(use_with table-postgres) \
|
||||
$(use_with table-redis) \
|
||||
$(use_with table-socketmap) \
|
||||
$(use_with table-passwd) \
|
||||
$(use_with table-python) \
|
||||
$(use_with table-sqlite) \
|
||||
$(use_with scheduler-ram) \
|
||||
$(use_with scheduler-stub) \
|
||||
$(use_with scheduler-python)
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
--- opus-1.1.orig/configure.ac
|
||||
+++ opus-1.1/configure.ac
|
||||
@@ -333,9 +333,9 @@ AS_IF([test x"${enable_asm}" = x"yes"],[
|
||||
|
||||
AM_CONDITIONAL([CPU_ARM], [test "$cpu_arm" = "yes"])
|
||||
AM_CONDITIONAL([OPUS_ARM_INLINE_ASM],
|
||||
- [test x"${inline_optimization:0:3}" = x"ARM"])
|
||||
+ [test x"${inline_optimization%% *}" = x"ARM"])
|
||||
AM_CONDITIONAL([OPUS_ARM_EXTERNAL_ASM],
|
||||
- [test x"${asm_optimization:0:3}" = x"ARM"])
|
||||
+ [test x"${asm_optimization%% *}" = x"ARM"])
|
||||
|
||||
AS_IF([test x"$enable_rtcd" = x"yes"],[
|
||||
AS_IF([test x"$rtcd_support" != x"no"],[
|
@ -1 +1 @@
|
||||
Thu, 28 May 2015 08:36:54 +0000
|
||||
Thu, 28 May 2015 14:36:52 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu, 28 May 2015 08:36:54 +0000
|
||||
Thu, 28 May 2015 14:36:52 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/docutils[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/nose-1.0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pycrypto[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pyside[webkit,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] app-crypt/libu2f-host app-crypt/libykneomgr sys-auth/ykpers python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=Cross platform personalization tool for the YubiKey NEO
|
||||
EAPI=5
|
||||
HOMEPAGE=https://developers.yubico.com/yubikey-neo-manager/
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=BSD-2
|
||||
RDEPEND=dev-python/pyside[webkit,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] app-crypt/libu2f-host app-crypt/libykneomgr sys-auth/ykpers python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/y/yubikey-neo-manager/yubikey-neo-manager-1.3.0.tar.gz https://developers.yubico.com/yubikey-neo-manager/Releases/yubikey-neo-manager-1.3.0.tar.gz
|
||||
_eclasses_=distutils-r1 c01d5c4af34f4a37a51fc9638299c222 eutils 9fb270e417e0e83d64ca52586c4a79de multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 6d3a3cb5705b9fff1aeb7cfa4e3336fe python-utils-r1 096f8247eae93026af13ab88cf4305cd toolchain-funcs 42408102d713fbad60ca21349865edb4
|
||||
_md5_=44212c0df3fe23041e93a90cd21194ea
|
@ -0,0 +1,11 @@
|
||||
DEFINED_PHASES=-
|
||||
DEPEND=>=dev-libs/libpo6-0.6.0 >=dev-libs/libe-0.6.0
|
||||
DESCRIPTION=A messaging abstraction on top of TCP sockets used in HyperDex
|
||||
EAPI=4
|
||||
HOMEPAGE=http://hyperdex.org
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-libs/libpo6-0.6.0 >=dev-libs/libe-0.6.0
|
||||
SLOT=0
|
||||
SRC_URI=http://hyperdex.org/src/busybee-0.6.0.tar.gz
|
||||
_md5_=b89efa0e4c7309633ff4c311afbec335
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=prepare
|
||||
DEPEND=>=dev-libs/libpo6-0.6.0 virtual/pkgconfig
|
||||
DESCRIPTION=Hyperdex libe support library
|
||||
EAPI=4
|
||||
HOMEPAGE=http://hyperdex.org
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-libs/libpo6-0.6.0
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://hyperdex.org/src/libe-0.10.0.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4
|
||||
_md5_=d5feac87bc743a039331d26e2053a88d
|
@ -0,0 +1,9 @@
|
||||
DEFINED_PHASES=-
|
||||
DESCRIPTION=Hyperdex libpo6 support library
|
||||
EAPI=4
|
||||
HOMEPAGE=http://hyperdex.org
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=BSD
|
||||
SLOT=0
|
||||
SRC_URI=http://hyperdex.org/src/libpo6-0.7.0.tar.gz
|
||||
_md5_=045e23512ab95b74bc92c27fb3085722
|
@ -0,0 +1,11 @@
|
||||
DEFINED_PHASES=-
|
||||
DEPEND=>=dev-libs/libpo6-0.4 >=dev-libs/libe-0.4 >=dev-libs/busybee-0.4 dev-libs/hyperleveldb dev-cpp/glog dev-cpp/sparsehash
|
||||
DESCRIPTION=Hyperdex replicant support library
|
||||
EAPI=4
|
||||
HOMEPAGE=http://hyperdex.org
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-libs/libpo6-0.4 >=dev-libs/libe-0.4 >=dev-libs/busybee-0.4 dev-libs/hyperleveldb dev-cpp/glog dev-cpp/sparsehash
|
||||
SLOT=0
|
||||
SRC_URI=http://hyperdex.org/src/replicant-0.7.0.tar.gz
|
||||
_md5_=3d77058660103510b06cb5e39b3b0f85
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,python_targets_pypy3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-),-python_single_target_pypy3(-)] test? ( >=dev-python/pytest-2.4.2[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,python_targets_pypy3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-),-python_single_target_pypy3(-)] ) doc? ( dev-python/sphinx[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,python_targets_pypy3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-),-python_single_target_pypy3(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) python_targets_pypy3? ( virtual/pypy3:0= ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,python_targets_pypy3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-),-python_single_target_pypy3(-)]
|
||||
DESCRIPTION=library with cross-python path, ini-parsing, io, code, log facilities
|
||||
EAPI=5
|
||||
HOMEPAGE=http://pylib.readthedocs.org/ http://pypi.python.org/pypi/py
|
||||
IUSE=doc test python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy python_targets_pypy3
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
|
||||
LICENSE=MIT
|
||||
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) python_targets_pypy3? ( virtual/pypy3:0= ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,python_targets_pypy3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-),-python_single_target_pypy3(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy python_targets_pypy3 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/p/py/py-1.4.28.tar.gz
|
||||
_eclasses_=distutils-r1 c01d5c4af34f4a37a51fc9638299c222 eutils 9fb270e417e0e83d64ca52586c4a79de multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 6d3a3cb5705b9fff1aeb7cfa4e3336fe python-utils-r1 096f8247eae93026af13ab88cf4305cd toolchain-funcs 42408102d713fbad60ca21349865edb4
|
||||
_md5_=407ebe36ce94c81c7b57572f0207d415
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=virtual/opengl alsa? ( media-libs/alsa-lib[alisp] ) gtk? ( x11-libs/gtk+:2 ) openal? ( media-libs/openal ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] test? ( !prefix? ( x11-base/xorg-server[xvfb] ) x11-apps/xhost )
|
||||
DESCRIPTION=Cross-platform windowing and multimedia library for Python
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.pyglet.org/
|
||||
IUSE=alsa examples gtk +openal python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 test
|
||||
KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=BSD
|
||||
RDEPEND=virtual/opengl alsa? ( media-libs/alsa-lib[alisp] ) gtk? ( x11-libs/gtk+:2 ) openal? ( media-libs/openal ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/p/pyglet/pyglet-1.2.2.tar.gz http://pyglet.googlecode.com/files/pyglet-1.2.2.tar.gz
|
||||
_eclasses_=distutils-r1 c01d5c4af34f4a37a51fc9638299c222 eutils 9fb270e417e0e83d64ca52586c4a79de multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 6d3a3cb5705b9fff1aeb7cfa4e3336fe python-utils-r1 096f8247eae93026af13ab88cf4305cd toolchain-funcs 42408102d713fbad60ca21349865edb4 virtualx 73cfc129b4b9ba23aed1abb10c825d86
|
||||
_md5_=11337c3ad0eb397a76e01b4080049631
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure
|
||||
DEPEND=mail-mta/opensmtpd dev-libs/libevent dev-libs/openssl filter-python? ( dev-lang/python:2.7 ) filter-perl? ( dev-lang/perl ) filter-lua? ( dev-lang/lua:5.2 ) filter-dnsbl? ( net-libs/libasr ) table-sqlite? ( dev-db/sqlite:3 ) table-mysql? ( virtual/mysql ) table-postgres? ( dev-db/postgresql ) table-redis? ( dev-libs/hiredis ) table-python? ( dev-lang/python:2.7 ) scheduler-python? ( dev-lang/python:2.7 ) queue-python? ( dev-lang/python:2.7 )
|
||||
DESCRIPTION=Extra tables, filters, and various other addons for OpenSMTPD
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/OpenSMTPD/OpenSMTPD-extras
|
||||
IUSE=filter-clamav filter-dkim-signer filter-dnsbl filter-lua filter-monkey filter-pause filter-perl filter-python filter-regex filter-spamassassin filter-stub filter-trace filter-void queue-null queue-python queue-ram queue-stub table-ldap table-mysql table-postgres table-redis table-socketmap table-passwd table-python table-sqlite table-stub scheduler-ram scheduler-stub scheduler-python
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=ISC BSD BSD-1 BSD-2 BSD-4
|
||||
RDEPEND=mail-mta/opensmtpd dev-libs/libevent dev-libs/openssl filter-python? ( dev-lang/python:2.7 ) filter-perl? ( dev-lang/perl ) filter-lua? ( dev-lang/lua:5.2 ) filter-dnsbl? ( net-libs/libasr ) table-sqlite? ( dev-db/sqlite:3 ) table-mysql? ( virtual/mysql ) table-postgres? ( dev-db/postgresql ) table-redis? ( dev-libs/hiredis ) table-python? ( dev-lang/python:2.7 ) scheduler-python? ( dev-lang/python:2.7 ) queue-python? ( dev-lang/python:2.7 )
|
||||
SLOT=0
|
||||
SRC_URI=https://www.opensmtpd.org/archives/opensmtpd-extras-201505281056.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=1a7477e7eaf426c2fcb5d5de0329ab92
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/bsddb3[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/lockfile[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/setuptools python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=An anti-spam filter using on Bayesian filtering
|
||||
EAPI=5
|
||||
HOMEPAGE=http://spambayes.sourceforge.net
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~ppc ~x86
|
||||
LICENSE=PSF-2.2 GPL-2
|
||||
RDEPEND=dev-python/bsddb3[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/lockfile[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/setuptools python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/s/spambayes/spambayes-1.1b2.tar.gz mirror://sourceforge/spambayes/spambayes-1.1b2.tar.gz
|
||||
_eclasses_=distutils-r1 c01d5c4af34f4a37a51fc9638299c222 eutils 9fb270e417e0e83d64ca52586c4a79de multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 6d3a3cb5705b9fff1aeb7cfa4e3336fe python-utils-r1 096f8247eae93026af13ab88cf4305cd toolchain-funcs 42408102d713fbad60ca21349865edb4
|
||||
_md5_=393e1c4d21b3034f920b2a9e27bfeac9
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=configure prepare
|
||||
DEPEND=mail-mta/opensmtpd filter-python? ( dev-lang/python:2.7 ) filter-perl? ( dev-lang/perl ) table-sqlite? ( dev-db/sqlite:3 ) table-mysql? ( virtual/mysql ) table-postgres? ( dev-db/postgresql ) table-redis? ( dev-libs/hiredis ) table-python? ( dev-lang/python:2.7 ) scheduler-python? ( dev-lang/python:2.7 ) queue-python? ( dev-lang/python:2.7 )
|
||||
DESCRIPTION=Extra tables, filters, and various other addons for OpenSMTPD
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/OpenSMTPD/OpenSMTPD-extras
|
||||
IUSE=filter-dnsbl filter-monkey filter-perl filter-python filter-stub filter-trace filter-void queue-null queue-python queue-ram queue-stub table-ldap table-mysql table-postgres table-redis table-socketmap table-passwd table-python table-sqlite scheduler-ram scheduler-stub scheduler-python
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=ISC BSD BSD-1 BSD-2 BSD-4
|
||||
RDEPEND=mail-mta/opensmtpd filter-python? ( dev-lang/python:2.7 ) filter-perl? ( dev-lang/perl ) table-sqlite? ( dev-db/sqlite:3 ) table-mysql? ( virtual/mysql ) table-postgres? ( dev-db/postgresql ) table-redis? ( dev-libs/hiredis ) table-python? ( dev-lang/python:2.7 ) scheduler-python? ( dev-lang/python:2.7 ) queue-python? ( dev-lang/python:2.7 )
|
||||
SLOT=0
|
||||
SRC_URI=https://www.opensmtpd.org/archives/opensmtpd-extras-201505202252.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=9b670ff87748febee75a4484828cc840
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup test
|
||||
DEPEND=bzip2? ( app-arch/bzip2 ) caps? ( sys-libs/libcap ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) lucene? ( >=dev-cpp/clucene-2.3 ) lzma? ( app-arch/xz-utils ) lz4? ( app-arch/lz4 ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql !dev-db/postgresql[ldap,threads] ) selinux? ( sec-policy/selinux-dovecot ) solr? ( net-misc/curl dev-libs/expat ) sqlite? ( dev-db/sqlite ) ssl? ( dev-libs/openssl ) tcpd? ( sys-apps/tcp-wrappers ) vpopmail? ( net-mail/vpopmail ) zlib? ( sys-libs/zlib ) virtual/libiconv ssl? ( dev-libs/openssl ) virtual/pkgconfig
|
||||
DESCRIPTION=An IMAP and POP3 server written with security primarily in mind
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.dovecot.org/
|
||||
IUSE=kerberos ldap mysql pam postgres sqlite vpopmail cydir imapc +maildir mbox mdbox pop3c sdbox bzip2 lzma lz4 zlib caps doc ipv6 lucene managesieve selinux sieve solr +ssl static-libs suid tcpd ssl
|
||||
KEYWORDS=~alpha amd64 arm hppa ~ia64 ppc ppc64 x86
|
||||
LICENSE=LGPL-2.1 MIT
|
||||
RDEPEND=bzip2? ( app-arch/bzip2 ) caps? ( sys-libs/libcap ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) lucene? ( >=dev-cpp/clucene-2.3 ) lzma? ( app-arch/xz-utils ) lz4? ( app-arch/lz4 ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql !dev-db/postgresql[ldap,threads] ) selinux? ( sec-policy/selinux-dovecot ) solr? ( net-misc/curl dev-libs/expat ) sqlite? ( dev-db/sqlite ) ssl? ( dev-libs/openssl ) tcpd? ( sys-apps/tcp-wrappers ) vpopmail? ( net-mail/vpopmail ) zlib? ( sys-libs/zlib ) virtual/libiconv net-mail/mailbase
|
||||
SLOT=0
|
||||
SRC_URI=http://dovecot.org/releases/2.2/dovecot-2.2.13.tar.gz sieve? ( http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.3.tar.gz ) managesieve? ( http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.3.tar.gz )
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 62927b3db3a589b0806255f3a002d5d3 ssl-cert b53367370fde96e19beca78050a47c61 systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 42408102d713fbad60ca21349865edb4 user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=41b01115de7992620027256264105bb5
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup test
|
||||
DEPEND=bzip2? ( app-arch/bzip2 ) caps? ( sys-libs/libcap ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) lucene? ( >=dev-cpp/clucene-2.3 ) lzma? ( app-arch/xz-utils ) lz4? ( app-arch/lz4 ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql !dev-db/postgresql[ldap,threads] ) selinux? ( sec-policy/selinux-dovecot ) solr? ( net-misc/curl dev-libs/expat ) sqlite? ( dev-db/sqlite ) ssl? ( dev-libs/openssl ) tcpd? ( sys-apps/tcp-wrappers ) vpopmail? ( net-mail/vpopmail ) zlib? ( sys-libs/zlib ) virtual/libiconv ssl? ( dev-libs/openssl ) virtual/pkgconfig
|
||||
DESCRIPTION=An IMAP and POP3 server written with security primarily in mind
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.dovecot.org/
|
||||
IUSE=kerberos ldap mysql pam postgres sqlite vpopmail cydir imapc +maildir mbox mdbox pop3c sdbox bzip2 lzma lz4 zlib caps doc ipv6 lucene managesieve selinux sieve solr +ssl static-libs suid tcpd ssl
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86
|
||||
LICENSE=LGPL-2.1 MIT
|
||||
RDEPEND=bzip2? ( app-arch/bzip2 ) caps? ( sys-libs/libcap ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) lucene? ( >=dev-cpp/clucene-2.3 ) lzma? ( app-arch/xz-utils ) lz4? ( app-arch/lz4 ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql !dev-db/postgresql[ldap,threads] ) selinux? ( sec-policy/selinux-dovecot ) solr? ( net-misc/curl dev-libs/expat ) sqlite? ( dev-db/sqlite ) ssl? ( dev-libs/openssl ) tcpd? ( sys-apps/tcp-wrappers ) vpopmail? ( net-mail/vpopmail ) zlib? ( sys-libs/zlib ) virtual/libiconv net-mail/mailbase
|
||||
SLOT=0
|
||||
SRC_URI=http://dovecot.org/releases/2.2/dovecot-2.2.15.tar.gz sieve? ( http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.6.tar.gz ) managesieve? ( http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.6.tar.gz )
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 62927b3db3a589b0806255f3a002d5d3 ssl-cert b53367370fde96e19beca78050a47c61 systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 42408102d713fbad60ca21349865edb4 user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=d0e1cdaee6ec6bd47f10e0de74ab8ed8
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup test
|
||||
DEPEND=bzip2? ( app-arch/bzip2 ) caps? ( sys-libs/libcap ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) lucene? ( >=dev-cpp/clucene-2.3 ) lzma? ( app-arch/xz-utils ) lz4? ( app-arch/lz4 ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) selinux? ( sec-policy/selinux-dovecot ) solr? ( net-misc/curl dev-libs/expat ) sqlite? ( dev-db/sqlite:* ) ssl? ( dev-libs/openssl:* ) tcpd? ( sys-apps/tcp-wrappers ) vpopmail? ( net-mail/vpopmail ) zlib? ( sys-libs/zlib ) virtual/libiconv ssl? ( dev-libs/openssl ) virtual/pkgconfig
|
||||
DESCRIPTION=An IMAP and POP3 server written with security primarily in mind
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.dovecot.org/
|
||||
IUSE=kerberos ldap mysql pam postgres sqlite vpopmail cydir imapc +maildir mbox mdbox pop3c sdbox bzip2 lzma lz4 zlib caps doc ipv6 lucene managesieve selinux sieve solr +ssl static-libs suid tcpd ssl
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86
|
||||
LICENSE=LGPL-2.1 MIT
|
||||
RDEPEND=bzip2? ( app-arch/bzip2 ) caps? ( sys-libs/libcap ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) lucene? ( >=dev-cpp/clucene-2.3 ) lzma? ( app-arch/xz-utils ) lz4? ( app-arch/lz4 ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) selinux? ( sec-policy/selinux-dovecot ) solr? ( net-misc/curl dev-libs/expat ) sqlite? ( dev-db/sqlite:* ) ssl? ( dev-libs/openssl:* ) tcpd? ( sys-apps/tcp-wrappers ) vpopmail? ( net-mail/vpopmail ) zlib? ( sys-libs/zlib ) virtual/libiconv net-mail/mailbase
|
||||
SLOT=0
|
||||
SRC_URI=http://dovecot.org/releases/2.2/dovecot-2.2.16.tar.gz sieve? ( http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.7.tar.gz ) managesieve? ( http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.7.tar.gz )
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 62927b3db3a589b0806255f3a002d5d3 ssl-cert b53367370fde96e19beca78050a47c61 systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 42408102d713fbad60ca21349865edb4 user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=dee7af9494255b24ce8afa445e35a0b6
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup test
|
||||
DEPEND=bzip2? ( app-arch/bzip2 ) caps? ( sys-libs/libcap ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) lucene? ( >=dev-cpp/clucene-2.3 ) lzma? ( app-arch/xz-utils ) lz4? ( app-arch/lz4 ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) selinux? ( sec-policy/selinux-dovecot ) solr? ( net-misc/curl dev-libs/expat ) sqlite? ( dev-db/sqlite:* ) ssl? ( dev-libs/openssl:* ) tcpd? ( sys-apps/tcp-wrappers ) vpopmail? ( net-mail/vpopmail ) zlib? ( sys-libs/zlib ) virtual/libiconv ssl? ( dev-libs/openssl ) virtual/pkgconfig
|
||||
DEPEND=bzip2? ( app-arch/bzip2 ) caps? ( sys-libs/libcap ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) lucene? ( >=dev-cpp/clucene-2.3 ) lzma? ( app-arch/xz-utils ) lz4? ( app-arch/lz4 ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) selinux? ( sec-policy/selinux-dovecot ) solr? ( net-misc/curl dev-libs/expat ) sqlite? ( dev-db/sqlite:* ) ssl? ( dev-libs/openssl:* ) tcpd? ( sys-apps/tcp-wrappers ) vpopmail? ( net-mail/vpopmail ) zlib? ( sys-libs/zlib ) virtual/libiconv dev-libs/icu:= ssl? ( dev-libs/openssl ) virtual/pkgconfig
|
||||
DESCRIPTION=An IMAP and POP3 server written with security primarily in mind
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.dovecot.org/
|
||||
IUSE=kerberos ldap mysql pam postgres sqlite vpopmail cydir imapc +maildir mbox mdbox pop3c sdbox bzip2 lzma lz4 zlib caps doc ipv6 lucene managesieve selinux sieve solr +ssl static-libs suid tcpd ssl
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86
|
||||
LICENSE=LGPL-2.1 MIT
|
||||
RDEPEND=bzip2? ( app-arch/bzip2 ) caps? ( sys-libs/libcap ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) lucene? ( >=dev-cpp/clucene-2.3 ) lzma? ( app-arch/xz-utils ) lz4? ( app-arch/lz4 ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) selinux? ( sec-policy/selinux-dovecot ) solr? ( net-misc/curl dev-libs/expat ) sqlite? ( dev-db/sqlite:* ) ssl? ( dev-libs/openssl:* ) tcpd? ( sys-apps/tcp-wrappers ) vpopmail? ( net-mail/vpopmail ) zlib? ( sys-libs/zlib ) virtual/libiconv net-mail/mailbase
|
||||
RDEPEND=bzip2? ( app-arch/bzip2 ) caps? ( sys-libs/libcap ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) lucene? ( >=dev-cpp/clucene-2.3 ) lzma? ( app-arch/xz-utils ) lz4? ( app-arch/lz4 ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) selinux? ( sec-policy/selinux-dovecot ) solr? ( net-misc/curl dev-libs/expat ) sqlite? ( dev-db/sqlite:* ) ssl? ( dev-libs/openssl:* ) tcpd? ( sys-apps/tcp-wrappers ) vpopmail? ( net-mail/vpopmail ) zlib? ( sys-libs/zlib ) virtual/libiconv dev-libs/icu:= net-mail/mailbase
|
||||
SLOT=0
|
||||
SRC_URI=http://dovecot.org/releases/2.2/dovecot-2.2.18.tar.gz sieve? ( http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.8.tar.gz ) managesieve? ( http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.8.tar.gz )
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 62927b3db3a589b0806255f3a002d5d3 ssl-cert b53367370fde96e19beca78050a47c61 systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 42408102d713fbad60ca21349865edb4 user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=674e9c01eb5e3063c7da9f6bb280911f
|
||||
_md5_=640d14f5e28bf76e0a770eba74fc99aa
|
||||
|
@ -1,7 +1,7 @@
|
||||
DEFINED_PHASES=-
|
||||
DESCRIPTION=Virtual to provide PHP-enabled webservers
|
||||
EAPI=5
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
|
||||
KEYWORDS=~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
|
||||
RDEPEND=|| ( dev-lang/php:5.6[fpm] dev-lang/php:5.6[apache2] dev-lang/php:5.6[cgi] )
|
||||
SLOT=5.6
|
||||
_md5_=fe1a4eeb09f2da4ad0d07f3444fad425
|
||||
_md5_=cf99483293546882089681a78dadc2ee
|
||||
|
@ -1 +1 @@
|
||||
Thu, 28 May 2015 08:36:57 +0000
|
||||
Thu, 28 May 2015 14:36:55 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu May 28 08:36:53 UTC 2015
|
||||
Thu May 28 14:36:52 UTC 2015
|
||||
|
@ -1 +1 @@
|
||||
Thu, 28 May 2015 09:00:01 +0000
|
||||
Thu, 28 May 2015 15:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1432802101 Thu 28 May 2015 08:35:01 AM UTC
|
||||
1432823701 Thu 28 May 2015 02:35:01 PM UTC
|
||||
|
@ -1,10 +1,6 @@
|
||||
DIST dovecot-2.2-pigeonhole-0.4.2.tar.gz 1159311 SHA256 0499f07037b86489fdc1d48fb19e298d5360ec41273bccaec230eb1bcf5a3e13 SHA512 3b66d00a8462ee668b8671f5eaa48bb91d47ed8bf8b331f7d879ba8c581e2bef11e236b06a8c5da9f1248572348ad0b3e2b867fd0a17badf32152fedbe61c1ed WHIRLPOOL 4d86bd5c010434620d0741156d4b7b24c60252de76958c0fc774418abff4bebeb4a8a78b5490ee34b20d48f61fb2ee75c4ff04202108ecdd33e1eaa9e2763ad9
|
||||
DIST dovecot-2.2-pigeonhole-0.4.3.tar.gz 1184029 SHA256 d692f4ab077bdf2c43c98829ed24b2e6f148db488ef8ba429b430394d8b4d757 SHA512 f2bb83578bb05c7ca2213ecc110f5e7059935746f720ee43897508394f3ab8a7072d193c78caf1fa77df81a20fbbeab1ac14069989250b3032ef459e798c54ff WHIRLPOOL 854d58cdb6b0d51d6e6337a2716858020a1ec22b7da24db903965fc01a00a75af5efcde7c4ddf572c0ee2a36a51bf467da011276f8a4e092463dc76e2622bfbb
|
||||
DIST dovecot-2.2-pigeonhole-0.4.6.tar.gz 1240368 SHA256 91034669f9ce07661bbadcfb00fe50b6929bf7f616d9aa79d3f5a351d1a47d3d SHA512 50b0df4438f6fc751a7dd058919628a2f3bc631c119e86356495d7de94d24b9f9cc8c11fa5e3646bc2429170bf3c9473d42542ee8b15b7c94a1502bb76042b9e WHIRLPOOL 00f32f01bc5298a5ee428b920e4489b2234ce48db2d0603008b11f2ab0f9e45a280ec2d3b2bedeb28ce3baf3401c8231a49a973792da76ac81643ffc4b551898
|
||||
DIST dovecot-2.2-pigeonhole-0.4.7.tar.gz 1271959 SHA256 04a13ec11652cbff812519eacf4db7dda648ab5c4c5f63b43a437d1fb0cc8d2a SHA512 df1b4c5591ce36dc99a9e5fb0281d1d11e95b7bf37594910c5730ac611dafb744f057dc87416ff638d582191376d210bca63cc548bf34612144cae2ac6e9448d WHIRLPOOL 76b500f935ae2133e70affaf12a3fd3c158b60bd5903b160f7f3a63478b092b57cee6046d0b9afb10bf83ec4b869592ea632031cca75c4bff00f5c58b7fe23f6
|
||||
DIST dovecot-2.2-pigeonhole-0.4.8.tar.gz 1567528 SHA256 d73c1c5a11cdfdcb58304a1c1272cce6c8e1868e3f61d393b3b8a725f3bf665b SHA512 34b0bbe2015f8a9558daa9ae8feebfb42437f99578b551cc15d0d5ac04cafc15bf9c5a8395d6903a013639936a5868e39bbebe6432a989da1411b3dfab351c32 WHIRLPOOL a6ba9fdf03c6c80e3e03c79475a283d4c99011c9763869894e53e84d4f556f1484d6eac9d6482f31972f12b7261afa89e21ea432bf01f9407fa50cf0f7543b4c
|
||||
DIST dovecot-2.2.13.tar.gz 4613824 SHA256 133cf3d2aa81733f6688ec986c91dbe07602fad81e856ba3d8046ffca85d9dce SHA512 1f3c0e600048ac2c1b2e497286620976c0fc821a6cac8e4e1492180af8eb9620cd143c89ee6d12872cecacbcadca573435cce1050c46325de3072c98ab5a9331 WHIRLPOOL 7bb81575faf69820b07d654c469fdd3fcf12c47517bb1dd6ea5566771bb60ce8f9c3a1a7b5c6df6d5f4b903d10472ffa1cca1a01c7fd158b6055794a44aacf39
|
||||
DIST dovecot-2.2.15.tar.gz 4747444 SHA256 d10e7769e2367d635c93fd6589efdd05f2e3acf13c7911a40167faedf23c399f SHA512 4d84744a23f21dd0923e86fdb1604a0a431e7c1a579f8323fb6643f92ac84754389e5a91fc8e8b53eac4202dba7f8541aa13ada12265e397ecdc15ff9b5c7ada WHIRLPOOL 3cccf5d6014baf8f7b66ab9fa7e90cf27001ab8842db3f1d2814b94b05fba5827103eccf7e07253632a58f8ed2a492d693bff070fd2a1a40c8016ec63b4abc2a
|
||||
DIST dovecot-2.2.16.tar.gz 4830169 SHA256 56ce1287a17fa88a2083116db00200deff1a5390af5eac1c8ae3f59a2079cff0 SHA512 7e910a58cae6d215169a815423bffd1677663ccb1eb400f7f1e733167c29989f3c6786a2d6cea0ef07e64cb08aa1402adb451e0adbbb999f57b3754c0962dbf8 WHIRLPOOL 22b3911e7efa336da792c2af0dde4e556d6c398d9b9f8127e53b13081777b40846a0324b92bc0b41bfd66b6957c6baaeb4e79bd39bf9ba6e91f9e2726a9575a4
|
||||
DIST dovecot-2.2.18.tar.gz 5100040 SHA256 b6d8468cea47f1227f47b80618f7fb872e2b2e9d3302adc107a005dd083865bb SHA512 227fa9c55070ce305d41faebb0fe15df86cb70427dd4043a01837095228b5504121fccaecfbf47fab3426334449b637bffdfe9a93ee2322bb8ff8d69de4967c7 WHIRLPOOL 117116bd436690613adaf51031fb371a82c55818a9d32f58d098c9d53fe52d27ecfe7466a3ce51ab8cd29c952b72b55586f3cd41e13784a7d614a23eabecab9c
|
||||
DIST dovecot-2.2.9.tar.gz 4540858 SHA256 7c3b6b8a05f6ebcc9fd01736fdcac0de12158959f5b99d1f7077f7a8626ee2d5 SHA512 41f826df22d3b34116de7abaa4543cbcf9362d7db1348e3b685019263b89d0ffe8bf0c1ddf21e4baa3bb7e98c87047b85b6fec78873df7f0db18ccecf63cea55 WHIRLPOOL 775cdbca9be788b1d20cd7f45e4d9a6265936b39a780b2232efa84958fa75a11f0984f680249e2af5faf40c9c91fa5c57026b55865dcaeddabcc90d44e3b6fae
|
||||
|
@ -1,292 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-2.2.13-r1.ebuild,v 1.13 2014/12/28 16:33:27 titanofold Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib ssl-cert systemd user versionator
|
||||
|
||||
MY_P="${P/_/.}"
|
||||
major_minor="$(get_version_component_range 1-2)"
|
||||
sieve_version="0.4.3"
|
||||
if [[ ${PV} == *_rc* ]] ; then
|
||||
rc_dir="rc/"
|
||||
else
|
||||
rc_dir=""
|
||||
fi
|
||||
SRC_URI="http://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz
|
||||
sieve? (
|
||||
http://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz
|
||||
)
|
||||
managesieve? (
|
||||
http://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz
|
||||
) "
|
||||
DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
|
||||
HOMEPAGE="http://www.dovecot.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1 MIT"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 x86"
|
||||
|
||||
IUSE_DOVECOT_AUTH="kerberos ldap mysql pam postgres sqlite vpopmail"
|
||||
IUSE_DOVECOT_STORAGE="cydir imapc +maildir mbox mdbox pop3c sdbox"
|
||||
IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib"
|
||||
IUSE_DOVECOT_OTHER="caps doc ipv6 lucene managesieve selinux sieve solr +ssl static-libs suid tcpd"
|
||||
|
||||
IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_STORAGE} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}"
|
||||
|
||||
DEPEND="bzip2? ( app-arch/bzip2 )
|
||||
caps? ( sys-libs/libcap )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
lucene? ( >=dev-cpp/clucene-2.3 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
lz4? ( app-arch/lz4 )
|
||||
mysql? ( virtual/mysql )
|
||||
pam? ( virtual/pam )
|
||||
postgres? ( dev-db/postgresql !dev-db/postgresql[ldap,threads] )
|
||||
selinux? ( sec-policy/selinux-dovecot )
|
||||
solr? ( net-misc/curl dev-libs/expat )
|
||||
sqlite? ( dev-db/sqlite )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
vpopmail? ( net-mail/vpopmail )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/libiconv"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
net-mail/mailbase"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if use managesieve && ! use sieve; then
|
||||
ewarn "managesieve USE flag selected but sieve USE flag unselected"
|
||||
ewarn "sieve USE flag will be turned on"
|
||||
fi
|
||||
# default internal user
|
||||
enewgroup dovecot 97
|
||||
enewuser dovecot 97 -1 /dev/null dovecot
|
||||
# default login user
|
||||
enewuser dovenull -1 -1 /dev/null
|
||||
# add "mail" group for suid'ing. Better security isolation.
|
||||
if use suid; then
|
||||
enewgroup mail
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-10-ssl.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf=""
|
||||
|
||||
if use postgres || use mysql || use sqlite; then
|
||||
conf="${conf} --with-sql"
|
||||
fi
|
||||
|
||||
local storages=""
|
||||
for storage in ${IUSE_DOVECOT_STORAGE//+/}; do
|
||||
use ${storage} && storages="${storage} ${storages}"
|
||||
done
|
||||
[ "${storages}" ] || storages="maildir"
|
||||
|
||||
# turn valgrind tests off. Bug #340791
|
||||
VALGRIND=no econf \
|
||||
--localstatedir="${EPREFIX}/var" \
|
||||
--with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
|
||||
--without-stemmer \
|
||||
--with-storages="${storages}" \
|
||||
--disable-rpath \
|
||||
$( systemd_with_unitdir ) \
|
||||
$( use_with bzip2 bzlib ) \
|
||||
$( use_with caps libcap ) \
|
||||
$( use_with kerberos gssapi ) \
|
||||
$( use_with ldap ) \
|
||||
$( use_with lucene ) \
|
||||
$( use_with mysql ) \
|
||||
$( use_with pam ) \
|
||||
$( use_with postgres pgsql ) \
|
||||
$( use_with sqlite ) \
|
||||
$( use_with solr ) \
|
||||
$( use_with ssl ) \
|
||||
$( use_with tcpd libwrap ) \
|
||||
$( use_with vpopmail ) \
|
||||
$( use_with zlib ) \
|
||||
$( use_enable static-libs static ) \
|
||||
${conf}
|
||||
|
||||
if use sieve || use managesieve ; then
|
||||
# The sieve plugin needs this file to be build to determine the plugin
|
||||
# directory and the list of libraries to link to.
|
||||
emake dovecot-config
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
econf \
|
||||
$( use_enable static-libs static ) \
|
||||
--localstatedir="${EPREFIX}/var" \
|
||||
--enable-shared \
|
||||
--with-dovecot="../${MY_P}" \
|
||||
$( use_with managesieve )
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use sieve || use managesieve ; then
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
if use sieve || use managesieve ; then
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
default
|
||||
|
||||
# insecure:
|
||||
# use suid && fperms u+s /usr/libexec/dovecot/deliver
|
||||
# better:
|
||||
if use suid;then
|
||||
einfo "Changing perms to allow deliver to be suided"
|
||||
fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
|
||||
fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/dovecot.init-r4 dovecot
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/dovecot
|
||||
|
||||
dodoc AUTHORS NEWS README TODO
|
||||
dodoc doc/*.{txt,cnf,xml,sh}
|
||||
docinto example-config
|
||||
dodoc doc/example-config/*.{conf,ext}
|
||||
docinto example-config/conf.d
|
||||
dodoc doc/example-config/conf.d/*.{conf,ext}
|
||||
docinto wiki
|
||||
dodoc doc/wiki/*
|
||||
doman doc/man/*.{1,7}
|
||||
|
||||
# Create the dovecot.conf file from the dovecot-example.conf file that
|
||||
# the dovecot folks nicely left for us....
|
||||
local conf="${ED}/etc/dovecot/dovecot.conf"
|
||||
local confd="${ED}/etc/dovecot/conf.d"
|
||||
|
||||
insinto /etc/dovecot
|
||||
doins doc/example-config/*.{conf,ext}
|
||||
insinto /etc/dovecot/conf.d
|
||||
doins doc/example-config/conf.d/*.{conf,ext}
|
||||
fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext
|
||||
rm -f "${confd}/../README"
|
||||
|
||||
# .maildir is the Gentoo default
|
||||
local mail_location="maildir:~/.maildir"
|
||||
if ! use maildir; then
|
||||
if use mbox; then
|
||||
mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
|
||||
keepdir /var/dovecot
|
||||
sed -i -e 's|#mail_privileged_group =|mail_privileged_group = mail|' \
|
||||
"${confd}/10-mail.conf" || die "sed failed"
|
||||
elif use mdbox ; then
|
||||
mail_location="mdbox:~/.mdbox"
|
||||
elif use sdbox ; then
|
||||
mail_location="sdbox:~/.sdbox"
|
||||
fi
|
||||
fi
|
||||
sed -i -e \
|
||||
"s|#mail_location =|mail_location = ${mail_location}|" \
|
||||
"${confd}/10-mail.conf" \
|
||||
|| die "failed to update mail location settings in 10-mail.conf"
|
||||
|
||||
# We're using pam files (imap and pop3) provided by mailbase
|
||||
if use pam; then
|
||||
sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
|
||||
"${confd}/auth-system.conf.ext" \
|
||||
|| die "failed to update PAM settings in auth-system.conf.ext"
|
||||
# mailbase does not provide a sieve pam file
|
||||
use managesieve && dosym imap /etc/pam.d/sieve
|
||||
sed -i -e \
|
||||
's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \
|
||||
"${confd}/10-auth.conf" \
|
||||
|| die "failed to update PAM settings in 10-auth.conf"
|
||||
fi
|
||||
|
||||
# Disable ipv6 if necessary
|
||||
if ! use ipv6; then
|
||||
sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \
|
||||
|| die "failed to update listen settings in dovecot.conf"
|
||||
fi
|
||||
|
||||
# Update ssl cert locations
|
||||
if use ssl; then
|
||||
sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \
|
||||
|| die "ssl conf failed"
|
||||
sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \
|
||||
-e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \
|
||||
"${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf"
|
||||
fi
|
||||
|
||||
# Install SQL configuration
|
||||
if use mysql || use postgres; then
|
||||
sed -i -e \
|
||||
's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \
|
||||
"${confd}/10-auth.conf" || die "failed to update SQL settings in \
|
||||
10-auth.conf"
|
||||
fi
|
||||
|
||||
# Install LDAP configuration
|
||||
if use ldap; then
|
||||
sed -i -e \
|
||||
's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \
|
||||
"${confd}/10-auth.conf" \
|
||||
|| die "failed to update ldap settings in 10-auth.conf"
|
||||
fi
|
||||
|
||||
if use vpopmail; then
|
||||
sed -i -e \
|
||||
's/#!include auth-vpopmail.conf.ext/!include auth-vpopmail.conf.ext/' \
|
||||
"${confd}/10-auth.conf" \
|
||||
|| die "failed to update vpopmail settings in 10-auth.conf"
|
||||
fi
|
||||
|
||||
if use sieve || use managesieve ; then
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
emake DESTDIR="${ED}" install
|
||||
sed -i -e \
|
||||
's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \
|
||||
|| die "failed to update sieve settings in 15-lda.conf"
|
||||
rm -rf "${ED}"/usr/share/doc/dovecot
|
||||
dodoc doc/*.txt
|
||||
docinto example-config/conf.d
|
||||
dodoc doc/example-config/conf.d/*.conf
|
||||
insinto /etc/dovecot/conf.d
|
||||
doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf
|
||||
use managesieve && doins doc/example-config/conf.d/20-managesieve.conf
|
||||
docinto sieve/rfc
|
||||
dodoc doc/rfc/*.txt
|
||||
docinto sieve/devel
|
||||
dodoc doc/devel/DESIGN
|
||||
doman doc/man/*.{1,7}
|
||||
fi
|
||||
|
||||
use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ssl; then
|
||||
# Let's not make a new certificate if we already have one
|
||||
if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
|
||||
-e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
|
||||
einfo "Creating SSL certificate"
|
||||
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
|
||||
install_cert /etc/ssl/dovecot/server
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "Please read http://wiki2.dovecot.org/Upgrading/ for upgrade notes."
|
||||
}
|
@ -1,296 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-2.2.15-r3.ebuild,v 1.2 2014/12/28 16:33:27 titanofold Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib ssl-cert systemd user versionator
|
||||
|
||||
MY_P="${P/_/.}"
|
||||
major_minor="$(get_version_component_range 1-2)"
|
||||
sieve_version="0.4.6"
|
||||
if [[ ${PV} == *_rc* ]] ; then
|
||||
rc_dir="rc/"
|
||||
else
|
||||
rc_dir=""
|
||||
fi
|
||||
SRC_URI="http://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz
|
||||
sieve? (
|
||||
http://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz
|
||||
)
|
||||
managesieve? (
|
||||
http://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz
|
||||
) "
|
||||
DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
|
||||
HOMEPAGE="http://www.dovecot.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1 MIT"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE_DOVECOT_AUTH="kerberos ldap mysql pam postgres sqlite vpopmail"
|
||||
IUSE_DOVECOT_STORAGE="cydir imapc +maildir mbox mdbox pop3c sdbox"
|
||||
IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib"
|
||||
IUSE_DOVECOT_OTHER="caps doc ipv6 lucene managesieve selinux sieve solr +ssl static-libs suid tcpd"
|
||||
|
||||
IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_STORAGE} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}"
|
||||
|
||||
DEPEND="bzip2? ( app-arch/bzip2 )
|
||||
caps? ( sys-libs/libcap )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
lucene? ( >=dev-cpp/clucene-2.3 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
lz4? ( app-arch/lz4 )
|
||||
mysql? ( virtual/mysql )
|
||||
pam? ( virtual/pam )
|
||||
postgres? ( dev-db/postgresql !dev-db/postgresql[ldap,threads] )
|
||||
selinux? ( sec-policy/selinux-dovecot )
|
||||
solr? ( net-misc/curl dev-libs/expat )
|
||||
sqlite? ( dev-db/sqlite )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
vpopmail? ( net-mail/vpopmail )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/libiconv"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
net-mail/mailbase"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if use managesieve && ! use sieve; then
|
||||
ewarn "managesieve USE flag selected but sieve USE flag unselected"
|
||||
ewarn "sieve USE flag will be turned on"
|
||||
fi
|
||||
# default internal user
|
||||
enewgroup dovecot 97
|
||||
enewuser dovecot 97 -1 /dev/null dovecot
|
||||
# default login user
|
||||
enewuser dovenull -1 -1 /dev/null
|
||||
# add "mail" group for suid'ing. Better security isolation.
|
||||
if use suid; then
|
||||
enewgroup mail
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-10-ssl.patch"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf=""
|
||||
|
||||
if use postgres || use mysql || use sqlite; then
|
||||
conf="${conf} --with-sql"
|
||||
fi
|
||||
|
||||
local storages=""
|
||||
for storage in ${IUSE_DOVECOT_STORAGE//+/}; do
|
||||
use ${storage} && storages="${storage} ${storages}"
|
||||
done
|
||||
[ "${storages}" ] || storages="maildir"
|
||||
|
||||
# turn valgrind tests off. Bug #340791
|
||||
VALGRIND=no econf \
|
||||
--localstatedir="${EPREFIX}/var" \
|
||||
--with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
|
||||
--without-stemmer \
|
||||
--with-storages="${storages}" \
|
||||
--disable-rpath \
|
||||
$( systemd_with_unitdir ) \
|
||||
$( use_with bzip2 bzlib ) \
|
||||
$( use_with caps libcap ) \
|
||||
$( use_with kerberos gssapi ) \
|
||||
$( use_with ldap ) \
|
||||
$( use_with lucene ) \
|
||||
$( use_with lz4 ) \
|
||||
$( use_with lzma ) \
|
||||
$( use_with mysql ) \
|
||||
$( use_with pam ) \
|
||||
$( use_with postgres pgsql ) \
|
||||
$( use_with sqlite ) \
|
||||
$( use_with solr ) \
|
||||
$( use_with ssl ) \
|
||||
$( use_with tcpd libwrap ) \
|
||||
$( use_with vpopmail ) \
|
||||
$( use_with zlib ) \
|
||||
$( use_enable static-libs static ) \
|
||||
${conf}
|
||||
|
||||
if use sieve || use managesieve ; then
|
||||
# The sieve plugin needs this file to be build to determine the plugin
|
||||
# directory and the list of libraries to link to.
|
||||
emake dovecot-config
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
econf \
|
||||
$( use_enable static-libs static ) \
|
||||
--localstatedir="${EPREFIX}/var" \
|
||||
--enable-shared \
|
||||
--with-dovecot="../${MY_P}" \
|
||||
$( use_with managesieve )
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use sieve || use managesieve ; then
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
if use sieve || use managesieve ; then
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
default
|
||||
|
||||
# insecure:
|
||||
# use suid && fperms u+s /usr/libexec/dovecot/deliver
|
||||
# better:
|
||||
if use suid;then
|
||||
einfo "Changing perms to allow deliver to be suided"
|
||||
fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
|
||||
fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/dovecot.init-r4 dovecot
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/dovecot
|
||||
|
||||
dodoc AUTHORS NEWS README TODO
|
||||
dodoc doc/*.{txt,cnf,xml,sh}
|
||||
docinto example-config
|
||||
dodoc doc/example-config/*.{conf,ext}
|
||||
docinto example-config/conf.d
|
||||
dodoc doc/example-config/conf.d/*.{conf,ext}
|
||||
docinto wiki
|
||||
dodoc doc/wiki/*
|
||||
doman doc/man/*.{1,7}
|
||||
|
||||
# Create the dovecot.conf file from the dovecot-example.conf file that
|
||||
# the dovecot folks nicely left for us....
|
||||
local conf="${ED}/etc/dovecot/dovecot.conf"
|
||||
local confd="${ED}/etc/dovecot/conf.d"
|
||||
|
||||
insinto /etc/dovecot
|
||||
doins doc/example-config/*.{conf,ext}
|
||||
insinto /etc/dovecot/conf.d
|
||||
doins doc/example-config/conf.d/*.{conf,ext}
|
||||
fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext
|
||||
rm -f "${confd}/../README"
|
||||
|
||||
# .maildir is the Gentoo default
|
||||
local mail_location="maildir:~/.maildir"
|
||||
if ! use maildir; then
|
||||
if use mbox; then
|
||||
mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
|
||||
keepdir /var/dovecot
|
||||
sed -i -e 's|#mail_privileged_group =|mail_privileged_group = mail|' \
|
||||
"${confd}/10-mail.conf" || die "sed failed"
|
||||
elif use mdbox ; then
|
||||
mail_location="mdbox:~/.mdbox"
|
||||
elif use sdbox ; then
|
||||
mail_location="sdbox:~/.sdbox"
|
||||
fi
|
||||
fi
|
||||
sed -i -e \
|
||||
"s|#mail_location =|mail_location = ${mail_location}|" \
|
||||
"${confd}/10-mail.conf" \
|
||||
|| die "failed to update mail location settings in 10-mail.conf"
|
||||
|
||||
# We're using pam files (imap and pop3) provided by mailbase
|
||||
if use pam; then
|
||||
sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
|
||||
"${confd}/auth-system.conf.ext" \
|
||||
|| die "failed to update PAM settings in auth-system.conf.ext"
|
||||
# mailbase does not provide a sieve pam file
|
||||
use managesieve && dosym imap /etc/pam.d/sieve
|
||||
sed -i -e \
|
||||
's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \
|
||||
"${confd}/10-auth.conf" \
|
||||
|| die "failed to update PAM settings in 10-auth.conf"
|
||||
fi
|
||||
|
||||
# Disable ipv6 if necessary
|
||||
if ! use ipv6; then
|
||||
sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \
|
||||
|| die "failed to update listen settings in dovecot.conf"
|
||||
fi
|
||||
|
||||
# Update ssl cert locations
|
||||
if use ssl; then
|
||||
sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \
|
||||
|| die "ssl conf failed"
|
||||
sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \
|
||||
-e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \
|
||||
"${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf"
|
||||
fi
|
||||
|
||||
# Install SQL configuration
|
||||
if use mysql || use postgres; then
|
||||
sed -i -e \
|
||||
's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \
|
||||
"${confd}/10-auth.conf" || die "failed to update SQL settings in \
|
||||
10-auth.conf"
|
||||
fi
|
||||
|
||||
# Install LDAP configuration
|
||||
if use ldap; then
|
||||
sed -i -e \
|
||||
's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \
|
||||
"${confd}/10-auth.conf" \
|
||||
|| die "failed to update ldap settings in 10-auth.conf"
|
||||
fi
|
||||
|
||||
if use vpopmail; then
|
||||
sed -i -e \
|
||||
's/#!include auth-vpopmail.conf.ext/!include auth-vpopmail.conf.ext/' \
|
||||
"${confd}/10-auth.conf" \
|
||||
|| die "failed to update vpopmail settings in 10-auth.conf"
|
||||
fi
|
||||
|
||||
if use sieve || use managesieve ; then
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
emake DESTDIR="${ED}" install
|
||||
sed -i -e \
|
||||
's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \
|
||||
|| die "failed to update sieve settings in 15-lda.conf"
|
||||
rm -rf "${ED}"/usr/share/doc/dovecot
|
||||
dodoc doc/*.txt
|
||||
docinto example-config/conf.d
|
||||
dodoc doc/example-config/conf.d/*.conf
|
||||
insinto /etc/dovecot/conf.d
|
||||
doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf
|
||||
use managesieve && doins doc/example-config/conf.d/20-managesieve.conf
|
||||
docinto sieve/rfc
|
||||
dodoc doc/rfc/*.txt
|
||||
docinto sieve/devel
|
||||
dodoc doc/devel/DESIGN
|
||||
doman doc/man/*.{1,7}
|
||||
fi
|
||||
|
||||
use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ssl; then
|
||||
# Let's not make a new certificate if we already have one
|
||||
if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
|
||||
-e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
|
||||
einfo "Creating SSL certificate"
|
||||
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
|
||||
install_cert /etc/ssl/dovecot/server
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "Please read http://wiki2.dovecot.org/Upgrading/ for upgrade notes."
|
||||
}
|
@ -1,296 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-2.2.16.ebuild,v 1.1 2015/03/23 15:54:38 eras Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib ssl-cert systemd user versionator
|
||||
|
||||
MY_P="${P/_/.}"
|
||||
major_minor="$(get_version_component_range 1-2)"
|
||||
sieve_version="0.4.7"
|
||||
if [[ ${PV} == *_rc* ]] ; then
|
||||
rc_dir="rc/"
|
||||
else
|
||||
rc_dir=""
|
||||
fi
|
||||
SRC_URI="http://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz
|
||||
sieve? (
|
||||
http://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz
|
||||
)
|
||||
managesieve? (
|
||||
http://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz
|
||||
) "
|
||||
DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
|
||||
HOMEPAGE="http://www.dovecot.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1 MIT"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE_DOVECOT_AUTH="kerberos ldap mysql pam postgres sqlite vpopmail"
|
||||
IUSE_DOVECOT_STORAGE="cydir imapc +maildir mbox mdbox pop3c sdbox"
|
||||
IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib"
|
||||
IUSE_DOVECOT_OTHER="caps doc ipv6 lucene managesieve selinux sieve solr +ssl static-libs suid tcpd"
|
||||
|
||||
IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_STORAGE} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}"
|
||||
|
||||
DEPEND="bzip2? ( app-arch/bzip2 )
|
||||
caps? ( sys-libs/libcap )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
lucene? ( >=dev-cpp/clucene-2.3 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
lz4? ( app-arch/lz4 )
|
||||
mysql? ( virtual/mysql )
|
||||
pam? ( virtual/pam )
|
||||
postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] )
|
||||
selinux? ( sec-policy/selinux-dovecot )
|
||||
solr? ( net-misc/curl dev-libs/expat )
|
||||
sqlite? ( dev-db/sqlite:* )
|
||||
ssl? ( dev-libs/openssl:* )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
vpopmail? ( net-mail/vpopmail )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/libiconv"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
net-mail/mailbase"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if use managesieve && ! use sieve; then
|
||||
ewarn "managesieve USE flag selected but sieve USE flag unselected"
|
||||
ewarn "sieve USE flag will be turned on"
|
||||
fi
|
||||
# default internal user
|
||||
enewgroup dovecot 97
|
||||
enewuser dovecot 97 -1 /dev/null dovecot
|
||||
# default login user
|
||||
enewuser dovenull -1 -1 /dev/null
|
||||
# add "mail" group for suid'ing. Better security isolation.
|
||||
if use suid; then
|
||||
enewgroup mail
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-10-ssl.patch"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf=""
|
||||
|
||||
if use postgres || use mysql || use sqlite; then
|
||||
conf="${conf} --with-sql"
|
||||
fi
|
||||
|
||||
local storages=""
|
||||
for storage in ${IUSE_DOVECOT_STORAGE//+/}; do
|
||||
use ${storage} && storages="${storage} ${storages}"
|
||||
done
|
||||
[ "${storages}" ] || storages="maildir"
|
||||
|
||||
# turn valgrind tests off. Bug #340791
|
||||
VALGRIND=no econf \
|
||||
--localstatedir="${EPREFIX}/var" \
|
||||
--with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
|
||||
--without-stemmer \
|
||||
--with-storages="${storages}" \
|
||||
--disable-rpath \
|
||||
$( systemd_with_unitdir ) \
|
||||
$( use_with bzip2 bzlib ) \
|
||||
$( use_with caps libcap ) \
|
||||
$( use_with kerberos gssapi ) \
|
||||
$( use_with ldap ) \
|
||||
$( use_with lucene ) \
|
||||
$( use_with lz4 ) \
|
||||
$( use_with lzma ) \
|
||||
$( use_with mysql ) \
|
||||
$( use_with pam ) \
|
||||
$( use_with postgres pgsql ) \
|
||||
$( use_with sqlite ) \
|
||||
$( use_with solr ) \
|
||||
$( use_with ssl ) \
|
||||
$( use_with tcpd libwrap ) \
|
||||
$( use_with vpopmail ) \
|
||||
$( use_with zlib ) \
|
||||
$( use_enable static-libs static ) \
|
||||
${conf}
|
||||
|
||||
if use sieve || use managesieve ; then
|
||||
# The sieve plugin needs this file to be build to determine the plugin
|
||||
# directory and the list of libraries to link to.
|
||||
emake dovecot-config
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
econf \
|
||||
$( use_enable static-libs static ) \
|
||||
--localstatedir="${EPREFIX}/var" \
|
||||
--enable-shared \
|
||||
--with-dovecot="../${MY_P}" \
|
||||
$( use_with managesieve )
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use sieve || use managesieve ; then
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
if use sieve || use managesieve ; then
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
default
|
||||
|
||||
# insecure:
|
||||
# use suid && fperms u+s /usr/libexec/dovecot/deliver
|
||||
# better:
|
||||
if use suid;then
|
||||
einfo "Changing perms to allow deliver to be suided"
|
||||
fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
|
||||
fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/dovecot.init-r4 dovecot
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/dovecot
|
||||
|
||||
dodoc AUTHORS NEWS README TODO
|
||||
dodoc doc/*.{txt,cnf,xml,sh}
|
||||
docinto example-config
|
||||
dodoc doc/example-config/*.{conf,ext}
|
||||
docinto example-config/conf.d
|
||||
dodoc doc/example-config/conf.d/*.{conf,ext}
|
||||
docinto wiki
|
||||
dodoc doc/wiki/*
|
||||
doman doc/man/*.{1,7}
|
||||
|
||||
# Create the dovecot.conf file from the dovecot-example.conf file that
|
||||
# the dovecot folks nicely left for us....
|
||||
local conf="${ED}/etc/dovecot/dovecot.conf"
|
||||
local confd="${ED}/etc/dovecot/conf.d"
|
||||
|
||||
insinto /etc/dovecot
|
||||
doins doc/example-config/*.{conf,ext}
|
||||
insinto /etc/dovecot/conf.d
|
||||
doins doc/example-config/conf.d/*.{conf,ext}
|
||||
fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext
|
||||
rm -f "${confd}/../README"
|
||||
|
||||
# .maildir is the Gentoo default
|
||||
local mail_location="maildir:~/.maildir"
|
||||
if ! use maildir; then
|
||||
if use mbox; then
|
||||
mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
|
||||
keepdir /var/dovecot
|
||||
sed -i -e 's|#mail_privileged_group =|mail_privileged_group = mail|' \
|
||||
"${confd}/10-mail.conf" || die "sed failed"
|
||||
elif use mdbox ; then
|
||||
mail_location="mdbox:~/.mdbox"
|
||||
elif use sdbox ; then
|
||||
mail_location="sdbox:~/.sdbox"
|
||||
fi
|
||||
fi
|
||||
sed -i -e \
|
||||
"s|#mail_location =|mail_location = ${mail_location}|" \
|
||||
"${confd}/10-mail.conf" \
|
||||
|| die "failed to update mail location settings in 10-mail.conf"
|
||||
|
||||
# We're using pam files (imap and pop3) provided by mailbase
|
||||
if use pam; then
|
||||
sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
|
||||
"${confd}/auth-system.conf.ext" \
|
||||
|| die "failed to update PAM settings in auth-system.conf.ext"
|
||||
# mailbase does not provide a sieve pam file
|
||||
use managesieve && dosym imap /etc/pam.d/sieve
|
||||
sed -i -e \
|
||||
's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \
|
||||
"${confd}/10-auth.conf" \
|
||||
|| die "failed to update PAM settings in 10-auth.conf"
|
||||
fi
|
||||
|
||||
# Disable ipv6 if necessary
|
||||
if ! use ipv6; then
|
||||
sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \
|
||||
|| die "failed to update listen settings in dovecot.conf"
|
||||
fi
|
||||
|
||||
# Update ssl cert locations
|
||||
if use ssl; then
|
||||
sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \
|
||||
|| die "ssl conf failed"
|
||||
sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \
|
||||
-e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \
|
||||
"${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf"
|
||||
fi
|
||||
|
||||
# Install SQL configuration
|
||||
if use mysql || use postgres; then
|
||||
sed -i -e \
|
||||
's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \
|
||||
"${confd}/10-auth.conf" || die "failed to update SQL settings in \
|
||||
10-auth.conf"
|
||||
fi
|
||||
|
||||
# Install LDAP configuration
|
||||
if use ldap; then
|
||||
sed -i -e \
|
||||
's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \
|
||||
"${confd}/10-auth.conf" \
|
||||
|| die "failed to update ldap settings in 10-auth.conf"
|
||||
fi
|
||||
|
||||
if use vpopmail; then
|
||||
sed -i -e \
|
||||
's/#!include auth-vpopmail.conf.ext/!include auth-vpopmail.conf.ext/' \
|
||||
"${confd}/10-auth.conf" \
|
||||
|| die "failed to update vpopmail settings in 10-auth.conf"
|
||||
fi
|
||||
|
||||
if use sieve || use managesieve ; then
|
||||
cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed"
|
||||
emake DESTDIR="${ED}" install
|
||||
sed -i -e \
|
||||
's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \
|
||||
|| die "failed to update sieve settings in 15-lda.conf"
|
||||
rm -rf "${ED}"/usr/share/doc/dovecot
|
||||
dodoc doc/*.txt
|
||||
docinto example-config/conf.d
|
||||
dodoc doc/example-config/conf.d/*.conf
|
||||
insinto /etc/dovecot/conf.d
|
||||
doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf
|
||||
use managesieve && doins doc/example-config/conf.d/20-managesieve.conf
|
||||
docinto sieve/rfc
|
||||
dodoc doc/rfc/*.txt
|
||||
docinto sieve/devel
|
||||
dodoc doc/devel/DESIGN
|
||||
doman doc/man/*.{1,7}
|
||||
fi
|
||||
|
||||
use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ssl; then
|
||||
# Let's not make a new certificate if we already have one
|
||||
if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
|
||||
-e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
|
||||
einfo "Creating SSL certificate"
|
||||
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
|
||||
install_cert /etc/ssl/dovecot/server
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "Please read http://wiki2.dovecot.org/Upgrading/ for upgrade notes."
|
||||
}
|
Loading…
Reference in new issue