git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1183 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-05-01 13:03:18 +00:00
parent 21b431e461
commit 7e01892a92
56 changed files with 2891 additions and 0 deletions

View File

@ -0,0 +1,873 @@
# ChangeLog for net-mail/courier-imap
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/ChangeLog,v 1.168 2008/12/22 20:03:44 armin76 Exp $
22 Dec 2008; Raúl Porcel <armin76@gentoo.org>
courier-imap-4.0.6-r3.ebuild:
alpha/arm/ia64/sparc stable wrt #168196
18 Dec 2008; Tobias Scherbaum <dertobi123@gentoo.org>
courier-imap-4.0.6-r3.ebuild:
ppc stable, bug #168196
17 Dec 2008; Markus Meier <maekke@gentoo.org>
courier-imap-4.0.6-r3.ebuild:
amd64/x86 stable, bug #168196
16 Dec 2008; Brent Baude <ranger@gentoo.org> courier-imap-4.0.6-r3.ebuild:
Marking courier-imap-4.0.6-r3 ppc64 for bug 168196
16 Dec 2008; Jeroen Roovers <jer@gentoo.org> courier-imap-4.0.6-r3.ebuild:
Stable for HPPA (bug #168196).
*courier-imap-4.4.1-r1 (14 Dec 2008)
*courier-imap-4.1.2-r2 (14 Dec 2008)
*courier-imap-4.0.6-r3 (14 Dec 2008)
14 Dec 2008; Matti Bickel <mabi@gentoo.org>
files/courier-imap-4.0.6-r1-courier-imapd.indirect,
files/courier-imap-4.0.6-r1-courier-pop3d.indirect,
+courier-imap-4.0.6-r3.ebuild, +courier-imap-4.1.2-r2.ebuild,
+courier-imap-4.4.1-r1.ebuild:
fixed bug #168196
*courier-imap-4.4.1 (29 Jul 2008)
29 Jul 2008; Patrick McLean <chutz@gentoo.org> metadata.xml,
+courier-imap-4.4.1.ebuild:
Version bump (bug #183434), allow eautoreconf to be recursive (bug
#226127). Take over maintainership.
16 Jul 2008; Luca Longinotti <chtekk@gentoo.org>
courier-imap-3.0.8.ebuild:
Dep on PostgreSQL libs only.
21 May 2008; Tiziano Müller <dev-zero@gentoo.org>
courier-imap-3.0.8.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server
17 Mar 2008; <ricmm@gentoo.org> courier-imap-3.0.8.ebuild,
courier-imap-4.0.1.ebuild, courier-imap-4.0.4.ebuild:
Drop to ~mips due to unstable deps
15 Mar 2008; Mark Loeser <halcy0n@gentoo.org> courier-imap-3.0.8.ebuild,
courier-imap-4.0.1.ebuild, courier-imap-4.0.1-r1.ebuild,
courier-imap-4.0.1-r2.ebuild, courier-imap-4.0.4.ebuild,
courier-imap-4.0.6-r2.ebuild, courier-imap-4.1.2-r1.ebuild:
Add a blocker in RDEPEND on virtual/imap so we avoid manpage collisions; bug
#198633
02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
courier-imap-3.0.8.ebuild, courier-imap-4.0.1.ebuild,
courier-imap-4.0.1-r1.ebuild, courier-imap-4.0.1-r2.ebuild,
courier-imap-4.0.4.ebuild:
(QA) RESTRICT clean up.
12 Jun 2007; Marius Mauch <genone@gentoo.org> courier-imap-3.0.8.ebuild,
courier-imap-4.0.1.ebuild, courier-imap-4.0.1-r1.ebuild,
courier-imap-4.0.1-r2.ebuild, courier-imap-4.0.4.ebuild,
courier-imap-4.0.6-r2.ebuild, courier-imap-4.1.2-r1.ebuild:
Replacing einfo with elog
12 Apr 2007; Fernando J. Pereda <ferdy@gentoo.org>
courier-imap-4.0.6-r2.ebuild:
Stable on alpha as per bug #168196
11 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
courier-imap-4.0.6-r2.ebuild:
ppc stable, bug #168196
10 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org>
courier-imap-4.0.6-r2.ebuild:
Stable on sparc wrt security #168196
09 Apr 2007; Raúl Porcel <armin76@gentoo.org>
courier-imap-4.0.6-r2.ebuild:
ia64 stable wrt security bug 168196
08 Apr 2007; Markus Rothe <corsair@gentoo.org>
courier-imap-4.0.6-r2.ebuild:
Stable on ppc64; bug #168196
07 Apr 2007; Jeroen Roovers <jer@gentoo.org> courier-imap-4.0.6-r2.ebuild:
Stable for HPPA (bug #168196).
07 Apr 2007; Christian Faulhammer <opfer@gentoo.org>
courier-imap-4.0.6-r2.ebuild:
stable x86, security bug 168196
07 Apr 2007; Peter Weller <welp@gentoo.org> courier-imap-4.0.6-r2.ebuild:
Stable on amd64 wrt bug 168196
*courier-imap-4.1.2-r1 (07 Apr 2007)
*courier-imap-4.0.6-r2 (07 Apr 2007)
07 Apr 2007; Luca Longinotti <chtekk@gentoo.org>
-files/courier-imap-3.0.7-db4-bdbobj_configure.in.patch,
-files/courier-imap-3.0.7-db4-configure.in.patch,
-files/courier-imap-3.0.7-disable-fam-configure.in.patch,
+files/courier-imap-4.0.6-aclocal-fix.patch,
files/courier-imap-4.0.6-db4-bdbobj_configure.in.patch,
files/courier-imap-4.0.6-db4-configure.in.patch,
files/courier-imap-4.0.6-r1-courier-imapd.indirect,
files/courier-imap-4.0.6-r1-courier-imapd.rc6,
files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6,
files/courier-imap-4.0.6-r1-courier-pop3d.indirect,
files/courier-imap-4.0.6-r1-courier-pop3d.rc6,
files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6,
files/courier-imap-4.0.6-r1-gentoo-imapd.rc,
files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc,
files/courier-imap-4.0.6-r1-gentoo-pop3d.rc,
files/courier-imap-4.0.6-r1-gentoo-pop3d-ssl.rc,
-files/courier-imap-4.1.2-aclocal-fix.patch,
-files/courier-imap-4.1.2-db4-configure.in.patch, metadata.xml,
-courier-imap-3.0.7.ebuild, -courier-imap-4.0.6.ebuild,
-courier-imap-4.0.6-r1.ebuild, +courier-imap-4.0.6-r2.ebuild,
-courier-imap-4.1.2.ebuild, +courier-imap-4.1.2-r1.ebuild:
Remove old/unused versions with redundant/unstable keywords. General ebuild
cleanup for 4.0.6-r2 and 4.1.2-r1. Cleanup of init-scripts and patches. Fix
security bug #168196 and autotools handling bug #160037.
30 Mar 2007; Timothy Redaelli <drizzt@gentoo.org>
courier-imap-4.1.2.ebuild:
Add ~x86-fbsd keyword
01 Mar 2007; Patrick McLean <chutzpah@gentoo.org>
+files/courier-imap-4.1.2-as-needed.patch, courier-imap-4.1.2.ebuild:
Add patch to fix compilation with -as-needed (bug #168769)
27 Feb 2007; Patrick McLean <chutzpah@gentoo.org>
+files/courier-imap-4.1.2-aclocal-fix.patch,
+files/courier-imap-4.1.2-db4-configure.in.patch,
courier-imap-4.1.2.ebuild:
Add patch to remove AC_PROG_SYSCONFTOOL from configure.in, move patch out of
-db4-configure.in.patch (fixes bug #168206).
25 Feb 2007; Patrick McLean <chutzpah@gentoo.org>
+files/courier-imap-4.0.6-db4-tcpd_configure.in.patch,
courier-imap-4.1.2.ebuild:
Restore ChangeLog to previous state before it was killed by blubb. Add patch
that was previously left out. fixes bug 168190.
*courier-imap-4.1.2 (23 Feb 2007)
23 Feb 2007; Patrick McLean <chutzpah@gentoo.org>
+courier-imap-4.1.2.ebuild:
Version bump, ebuild contributions by Hanno Meyer-Thurow <h.mth@web.de>,
Conrad Kostecki <ConiKost@gmx.de>, "Nicola" <n.murino@theorematica.it> and
James Colannino <james@colannino.org>. Fixes bugs 124985 and 160037.
*courier-imap-4.0.6-r1 (03 Feb 2007)
03 Feb 2007; Simon Stelling <blubb@gentoo.org>
+files/courier-imap-4.0.6-r1-courier-imapd.indirect,
+files/courier-imap-4.0.6-r1-courier-imapd.rc6,
+files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6,
+files/courier-imap-4.0.6-r1-courier-pop3d.indirect,
+files/courier-imap-4.0.6-r1-courier-pop3d.rc6,
+files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6,
+files/courier-imap-4.0.6-r1-gentoo-imapd.rc,
+files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc,
+files/courier-imap-4.0.6-r1-gentoo-pop3d.rc,
+files/courier-imap-4.0.6-r1-gentoo-pop3d-ssl.rc,
+courier-imap-4.0.6-r1.ebuild:
fix bug 141775
05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
courier-imap-3.0.7.ebuild, courier-imap-3.0.8.ebuild,
courier-imap-4.0.1.ebuild, courier-imap-4.0.1-r1.ebuild,
courier-imap-4.0.1-r2.ebuild, courier-imap-4.0.4.ebuild,
courier-imap-4.0.6.ebuild:
Remove gnuconfig_update usage, leave it to econf.
23 Nov 2006; Francesco Riosa <vivo@gentoo.org> courier-imap-3.0.7.ebuild,
courier-imap-3.0.8.ebuild:
dev-db/mysql => virtual/mysql
28 Sep 2006; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-4.0.6.ebuild:
Bug #144651, fix spelling and typos.
15 Sep 2006; Robin H. Johnson <robbat2@gentoo.org>
+files/courier-imap-4.0.6-db4-bdbobj_configure.in.patch,
+files/courier-imap-4.0.6-db4-configure.in.patch,
courier-imap-4.0.6.ebuild:
Fix bug #134943 - compile failure with newer versions of berkdb.
05 Sep 2006; Joshua Kinard <kumba@gentoo.org> courier-imap-4.0.4.ebuild:
Marked stable on mips.
25 Aug 2006; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-4.0.4.ebuild, courier-imap-4.0.6.ebuild:
Add chown fixup to avoid some user weirdness of perms 600 on a directory.
18 Aug 2006; Tobias Scherbaum <dertobi123@gentoo.org>
courier-imap-4.0.4.ebuild:
ppc stable, bug #143830
18 Aug 2006; Joshua Jackson <tsunam@gentoo.org> courier-imap-4.0.4.ebuild:
Stable x86; bug #143830
17 Aug 2006; Simon Stelling <blubb@gentoo.org> courier-imap-4.0.4.ebuild:
stable on amd64
17 Aug 2006; Fernando J. Pereda <ferdy@gentoo.org>
courier-imap-4.0.4.ebuild:
Stable on alpha wrt bug #143830.
15 Aug 2006; Jason Wever <weeve@gentoo.org> courier-imap-4.0.4.ebuild:
Stabgle on SPARC wrt bug #143830.
14 Aug 2006; Jeroen Roovers <jer@gentoo.org> courier-imap-4.0.4.ebuild:
Stable for HPPA (bug #143830).
14 Aug 2006; Brent Baude <ranger@gentoo.org> courier-imap-4.0.4.ebuild:
Marking courier-imap-4.0.4 ppc64 wrt bug #143830
07 Aug 2006; Aron Griffis <agriffis@gentoo.org> courier-imap-4.0.4.ebuild:
Mark 4.0.4 stable on ia64
*courier-imap-4.0.6 (07 Aug 2006)
07 Aug 2006; Aron Griffis <agriffis@gentoo.org>
+courier-imap-4.0.6.ebuild:
Bump to 4.0.6 (from 4.0.4)
15 Sep 2005; Aron Griffis <agriffis@gentoo.org>
courier-imap-4.0.1-r2.ebuild:
Mark 4.0.1-r2 stable on alpha
25 Aug 2005; Aron Griffis <agriffis@gentoo.org>
courier-imap-4.0.1-r2.ebuild:
stable on ia64
25 Aug 2005; Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>
courier-imap-3.0.8.ebuild:
stabilize alpha
12 Aug 2005; Diego Pettenò <flameeyes@gentoo.org>
courier-imap-4.0.4.ebuild:
Fix courier-authlib dependency to 0.57.
*courier-imap-4.0.4 (08 Aug 2005)
08 Aug 2005; Diego Pettenò <flameeyes@gentoo.org>
+files/courier-imap-4.0.4-courier-imapd.rc6,
+files/courier-imap-4.0.4-courier-imapd-ssl.rc6,
+files/courier-imap-4.0.4-courier-pop3d.rc6,
+files/courier-imap-4.0.4-courier-pop3d-ssl.rc6,
+courier-imap-4.0.4.ebuild:
Updated to 4.0.4, initd files updated for new baselayout,
17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org>
courier-imap-4.0.1.ebuild:
Stable on ppc.
*courier-imap-4.0.1-r2 (31 May 2005)
31 May 2005; Robin H. Johnson <robbat2@gentoo.org>
+courier-imap-4.0.1-r2.ebuild:
Bug #79240, courier-imap should not provide files for /etc/pam.d/.
09 Apr 2005; Markus Rothe <corsair@gentoo.org>
courier-imap-4.0.1-r1.ebuild:
Stable on ppc64
07 Apr 2005; Simon Stelling <blubb@gentoo.org> courier-imap-4.0.1.ebuild:
stable on amd64
03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org>
courier-imap-3.0.7.ebuild, courier-imap-3.0.8.ebuild,
courier-imap-4.0.1-r1.ebuild, courier-imap-4.0.1.ebuild:
sys-apps/procps -> sys-process/procps
13 Feb 2005; Jason Wever <weeve@gentoo.org> courier-imap-4.0.1.ebuild:
Stable on sparc.
*courier-imap-4.0.1-r1 (11 Feb 2005)
11 Feb 2005; Robin H. Johnson <robbat2@gentoo.org>
+files/courier-imap-4.0.1-r1-courier-imapd.indirect,
+files/courier-imap-4.0.1-r1-courier-pop3d.indirect,
+files/courier-imap-4.0.1-r1-gentoo-imapd-ssl.rc,
+files/courier-imap-4.0.1-r1-gentoo-imapd.rc,
+files/courier-imap-4.0.1-r1-gentoo-pop3d-ssl.rc,
+files/courier-imap-4.0.1-r1-gentoo-pop3d.rc,
+courier-imap-4.0.1-r1.ebuild:
Bug #81540, implemented a workaround for upstream removing functionality
that is still widely used. For all users wanting to use relay-ctrl-allow,
remove it from your courier-authlib config, and put it in
/etc/courier-imap/{pop3d,imapd} as LOGINRUN="relay-ctrl-allow" at the end.
06 Feb 2005; Joshua Kinard <kumba@gentoo.org> courier-imap-4.0.1.ebuild:
Marked stable on mips.
03 Feb 2005; Tuấn Văn <langthang@gentoo.org> courier-imap-4.0.1.ebuild:
Stable on x86. This upgrade is non-trival. Please read:
http://www.courier-mta.org/imap/?INSTALL.html~upgrading
less /usr/share/doc/courier-imap-4.0.1/courier-imap-gentoo.readme.gz
and pay attention to postinstall messages.
16 Jan 2005; Guy Martin <gmsoft@gentoo.org> courier-imap-3.0.8.ebuild:
Stable on hppa.
07 Jan 2005; Tuấn Văn <langthang@gentoo.org> courier-imap-4.0.1.ebuild:
change lib --> $(get_libdir)
*courier-imap-4.0.1 (04 Jan 2005)
04 Jan 2005; Tuấn Văn <langthang@gentoo.org>
+courier-imap-4.0.1.ebuild:
errata release
04 Jan 2005; Tuan Van <langthang@gentoo.org> courier-imap-4.0.0.ebuild:
change !virtual/imapd to !mail-mta/courier
04 Jan 2005; Tuan Van <langthang@gentoo.org> courier-imap-4.0.0.ebuild:
turn off configure cache. it confuses the new configure script.
*courier-imap-4.0.0 (01 Jan 2005)
01 Jan 2005; Tuan Van <langthang@gentoo.org>
+files/courier-imap-4.0.0-courier-imapd-ssl.rc6,
+files/courier-imap-4.0.0-courier-imapd.rc6,
+files/courier-imap-4.0.0-courier-pop3d-ssl.rc6,
+files/courier-imap-4.0.0-courier-pop3d.rc6,
+files/courier-imap-4.0.0-db4-bdbobj_configure.in.patch,
+files/courier-imap-4.0.0-db4-configure.in.patch,
+files/courier-imap-4.0.0-disable-fam-configure.in.patch,
+files/courier-imap-4.0.0-gentoo-imapd-ssl.rc,
+files/courier-imap-4.0.0-gentoo-imapd.rc,
+files/courier-imap-4.0.0-gentoo-pop3d-ssl.rc,
+files/courier-imap-4.0.0-gentoo-pop3d.rc,
-files/courier-imap-4.0.0_rc1-courier-imapd-ssl.rc6,
-files/courier-imap-4.0.0_rc1-courier-imapd.rc6,
-files/courier-imap-4.0.0_rc1-courier-pop3d-ssl.rc6,
-files/courier-imap-4.0.0_rc1-courier-pop3d.rc6,
-files/courier-imap-4.0.0_rc1-db4-bdbobj_configure.in.patch,
-files/courier-imap-4.0.0_rc1-db4-configure.in.patch,
-files/courier-imap-4.0.0_rc1-disable-fam-configure.in.patch,
-files/courier-imap-4.0.0_rc1-gentoo-imapd-ssl.rc,
-files/courier-imap-4.0.0_rc1-gentoo-imapd.rc,
-files/courier-imap-4.0.0_rc1-gentoo-pop3d-ssl.rc,
-files/courier-imap-4.0.0_rc1-gentoo-pop3d.rc, +courier-imap-4.0.0.ebuild,
-courier-imap-4.0.0_rc1.ebuild:
New version release.
23 Dec 2004; Tuan Van <langthang@gentoo.org>
files/courier-imap-4.0.0_rc1-courier-imapd-ssl.rc6,
files/courier-imap-4.0.0_rc1-courier-imapd.rc6,
files/courier-imap-4.0.0_rc1-courier-pop3d-ssl.rc6,
files/courier-imap-4.0.0_rc1-courier-pop3d.rc6:
authdaemond --> courier-authlib
16 Dec 2004; Dylan Carlson <absinthe@gentoo.org>
courier-imap-3.0.8.ebuild:
Stable on amd64.
*courier-imap-4.0.0_rc1 (11 Dec 2004)
11 Dec 2004; Tuan Van <langthang@gentoo.org>
-files/courier-imap-3.0.8.20041116-courier-imapd-ssl.rc6,
-files/courier-imap-3.0.8.20041116-courier-imapd.rc6,
-files/courier-imap-3.0.8.20041116-courier-pop3d-ssl.rc6,
-files/courier-imap-3.0.8.20041116-courier-pop3d.rc6,
-files/courier-imap-3.0.8.20041116-db4-bdbobj_configure.in.patch,
-files/courier-imap-3.0.8.20041116-db4-configure.in.patch,
-files/courier-imap-3.0.8.20041116-disable-fam-configure.in.patch,
-files/courier-imap-3.0.8.20041116-gentoo-imapd-ssl.rc,
-files/courier-imap-3.0.8.20041116-gentoo-imapd.rc,
-files/courier-imap-3.0.8.20041116-gentoo-pop3d-ssl.rc,
-files/courier-imap-3.0.8.20041116-gentoo-pop3d.rc,
+files/courier-imap-4.0.0_rc1-courier-imapd-ssl.rc6,
+files/courier-imap-4.0.0_rc1-courier-imapd.rc6,
+files/courier-imap-4.0.0_rc1-courier-pop3d-ssl.rc6,
+files/courier-imap-4.0.0_rc1-courier-pop3d.rc6,
+files/courier-imap-4.0.0_rc1-db4-bdbobj_configure.in.patch,
+files/courier-imap-4.0.0_rc1-db4-configure.in.patch,
+files/courier-imap-4.0.0_rc1-disable-fam-configure.in.patch,
+files/courier-imap-4.0.0_rc1-gentoo-imapd-ssl.rc,
+files/courier-imap-4.0.0_rc1-gentoo-imapd.rc,
+files/courier-imap-4.0.0_rc1-gentoo-pop3d-ssl.rc,
+files/courier-imap-4.0.0_rc1-gentoo-pop3d.rc,
+files/courier-imap-gentoo.readme, -courier-imap-3.0.8.20041116.ebuild,
+courier-imap-4.0.0_rc1.ebuild:
Release candidate.
29 Nov 2004; Andrej Kacian <ticho@gentoo.org> courier-imap-3.0.7.ebuild,
courier-imap-3.0.8.ebuild:
app-admin/fam -> virtual/fam, for bug #67170.
27 Nov 2004; Philip Walls <malverian@gentoo.org> courier-imap-3.0.8.ebuild,
courier-imap-3.0.8.20041116.ebuild:
Migrate to virtual/fam
*courier-imap-3.0.8.20041116 (18 Nov 2004)
18 Nov 2004; Tuan Van <langthang@gentoo.org>
+files/courier-imap-3.0.8.20041116-courier-imapd-ssl.rc6,
+files/courier-imap-3.0.8.20041116-courier-imapd.rc6,
+files/courier-imap-3.0.8.20041116-courier-pop3d-ssl.rc6,
+files/courier-imap-3.0.8.20041116-courier-pop3d.rc6,
+files/courier-imap-3.0.8.20041116-db4-bdbobj_configure.in.patch,
+files/courier-imap-3.0.8.20041116-db4-configure.in.patch,
+files/courier-imap-3.0.8.20041116-disable-fam-configure.in.patch,
+files/courier-imap-3.0.8.20041116-gentoo-imapd-ssl.rc,
+files/courier-imap-3.0.8.20041116-gentoo-imapd.rc,
+files/courier-imap-3.0.8.20041116-gentoo-pop3d-ssl.rc,
+files/courier-imap-3.0.8.20041116-gentoo-pop3d.rc,
+courier-imap-3.0.8.20041116.ebuild:
Commit for testing only. Do not use.
16 Nov 2004; Tuan Van <langthang@gentoo.org> courier-imap-3.0.8.ebuild:
Add virtual/imapd blocking. Bug #55309.
16 Nov 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-3.0.8.ebuild:
fix bug #69867.
07 Nov 2004; Jason Wever <weeve@gentoo.org> courier-imap-3.0.8.ebuild:
Stable on sparc.
07 Nov 2004; Joshua Kinard <kumba@gentoo.org> courier-imap-3.0.8.ebuild:
Marked stable on mips.
02 Nov 2004; Tuan Van <langthang@gentoo.org> -files/authdaemond.conf,
-files/authdaemond.rc6, -files/courier-imap-3.0.2-db40vs41.patch,
-files/courier-imap-3.0.2-disable-fam.diff,
-files/courier-imap-3.0.2-removerpm.patch, -files/courier-imapd-ssl.rc6,
-files/courier-pop3d-ssl.rc6, -files/gentoo-imapd-ssl.rc,
-files/gentoo-imapd.rc, -files/gentoo-pop3d-ssl.rc,
-files/gentoo-pop3d.rc, courier-imap-3.0.7.ebuild,
courier-imap-3.0.8.ebuild:
remove cruft. fix RDEPEND use? syntax error.
01 Nov 2004; Tuan Van <langthang@gentoo.org> -courier-imap-3.0.5.ebuild,
courier-imap-3.0.8.ebuild:
stable on x86.
*courier-imap-3.0.8 (22 Sep 2004)
22 Sep 2004; Tuan Van <langthang@gentoo.org>
+files/courier-imap-3.0.8-db4-bdbobj_configure.in.patch,
+files/courier-imap-3.0.8-db4-configure.in.patch,
+files/courier-imap-3.0.8-disable-fam-configure.in.patch,
+courier-imap-3.0.8.ebuild:
Version bump.
30 Aug 2004; Tom Gall <tgall@gentoo.org> courier-imap-3.0.7.ebuild:
stable on ppc64, bug #61745
25 Aug 2004; Tuan Van <langthang@gentoo.org> courier-imap-3.0.7.ebuild:
Stable on x86.
25 Aug 2004; Jason Wever <weeve@gentoo.org> courier-imap-3.0.7.ebuild:
Stable on sparc wrt bug #60865.
25 Aug 2004; Danny van Dyk <kugelfang@gentoo.org> courier-imap-3.0.7.ebuild:
Marked stable on amd64.
23 Aug 2004; Tuan Van <langthang@gentoo.org> courier-imap-3.0.7.ebuild:
add dohtml, remove *.html from dodoc.
23 Aug 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-3.0.7.ebuild:
Loosing the DB restriction now that we support DB4.
22 Aug 2004; Rajiv Aaron Manglani <rajiv@gentoo.org>
courier-imap-3.0.7.ebuild:
fix up docs.
22 Aug 2004; Robin H. Johnson <robbat2@gentoo.org>
files/authdaemond-3.0.4-r1:
bug #61254.
21 Aug 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-3.0.7.ebuild:
Fix a bug for Rajiv.
20 Aug 2004; Guy Martin <gmsoft@gentoo.org> courier-imap-3.0.5.ebuild:
Stable on hppa.
*courier-imap-3.0.7 (19 Aug 2004)
19 Aug 2004; Tuan Van <langthang@gentoo.org>
+files/courier-imap-3.0.7-db4-bdbobj_configure.in.patch,
+files/courier-imap-3.0.7-db4-configure.in.patch,
+files/courier-imap-3.0.7-disable-fam-configure.in.patch,
+courier-imap-3.0.7.ebuild:
Version bump. Add patches to support db4. Add gdbm USE flag back.
Add logic to default to gdbm if both 'berkdb' and 'gdmb' USE flags present.
20 Aug 2004; Danny van Dyk <kugelfang@gentoo.org> courier-imap-3.0.5.ebuild:
Marked stable on amd64.
19 Aug 2004; Gustavo Zacarias <gustavoz@gentoo.org>
courier-imap-3.0.5.ebuild:
Stable on sparc wrt #60865
19 Aug 2004; Tuan Van <langthang@gentoo.org> courier-imap-3.0.5.ebuild:
stable on x86. GLSA bug #60865.
05 Jul 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-3.0.2-r1.ebuild, courier-imap-3.0.2.ebuild,
courier-imap-3.0.4-r1.ebuild, courier-imap-3.0.4.ebuild:
bug #55956, backport fix I put into 3.0.5 for gdbm vs. berkdb.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
courier-imap-2.1.2-r2.ebuild, courier-imap-3.0.2-r1.ebuild,
courier-imap-3.0.2.ebuild, courier-imap-3.0.4-r1.ebuild,
courier-imap-3.0.4.ebuild, courier-imap-3.0.5.ebuild:
virtual/glibc -> virtual/libc
*courier-imap-3.0.5 (26 Jun 2004)
26 Jun 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-3.0.4-r1.ebuild, courier-imap-3.0.5.ebuild,
files/authdaemond-3.0.4-r1, files/authdaemond.conf,
files/authdaemond.conf-3.0.4-r1, files/authdaemond.rc6,
files/courier-imapd-ssl.rc6, files/courier-imapd-ssl.rc6-3.0.5,
files/courier-imapd.rc6, files/courier-pop3d-ssl.rc6,
files/courier-pop3d-ssl.rc6-3.0.5, files/courier-pop3d.rc6,
files/gentoo-imapd-1.7.3-r1.rc, files/gentoo-imapd-ssl-1.7.3-r1.rc,
files/gentoo-pop3d-1.7.3-r1.rc, files/gentoo-pop3d-ssl-1.7.3-r1.rc:
fix bugs 42686, 52496, 39653, 52174, 52658, new upstream version.
17 Jun 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-2.1.2-r1.ebuild:
Remove 2.1.2-r1 as per bug #54020.
10 Jun 2004; Aron Griffis <agriffis@gentoo.org>
courier-imap-2.1.2-r1.ebuild, courier-imap-2.1.2-r2.ebuild,
courier-imap-3.0.2-r1.ebuild, courier-imap-3.0.2.ebuild,
courier-imap-3.0.4-r1.ebuild, courier-imap-3.0.4.ebuild:
Fix use invocation
28 May 2004; Robin H. Johnson <robbat2@gentoo.org> metadata.xml:
Update metadata.xml.
*courier-imap-3.0.4-r1 (19 May 2004)
19 May 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-3.0.4-r1.ebuild, files/authdaemond-3.0.4-r1,
files/authdaemond.conf-3.0.4-r1:
bug #51306 again, authdaemond changes
*courier-imap-3.0.4 (17 May 2004)
17 May 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-3.0.4.ebuild:
version bump, bug #51306. severe problem found in 3.0.2.
27 Apr 2004; Aron Griffis <agriffis@gentoo.org>
courier-imap-2.1.2-r1.ebuild, courier-imap-2.1.2-r2.ebuild,
courier-imap-3.0.2-r1.ebuild, courier-imap-3.0.2.ebuild:
Add inherit eutils
26 Apr 2004; Aron Griffis <agriffis@gentoo.org>
courier-imap-2.1.2-r1.ebuild, courier-imap-2.1.2-r2.ebuild,
courier-imap-3.0.2-r1.ebuild, courier-imap-3.0.2.ebuild:
Add die following econf for bug 48950
*courier-imap-3.0.2-r1 (23 Apr 2004)
23 Apr 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-3.0.2-r1.ebuild, files/courier-imap-3.0.2-disable-fam.diff:
bug #48838, make it possible to disable fam properly, configure.in patch by
<robbat2@gentoo.org>
*courier-imap-2.1.2-r2 (19 Apr 2004)
19 Apr 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-1.7.3-r1.ebuild, courier-imap-2.1.2-r2.ebuild:
remove 1.7.3-r1, add new revision of 2.1.2 with QA fixes for bug #48362
19 Apr 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-3.0.2.ebuild:
fix bug #21330 a bit better
31 Mar 2004; Robin H. Johnson <robbat2@gentoo.org>
files/courier-imapd-ssl.rc6, files/courier-imapd.rc6,
files/courier-pop3d-ssl.rc6, files/courier-pop3d.rc6:
avoid bug #46351 recurring by having init scripts use famd.
06 Apr 2004; Joshua Brindle <method@gentoo.org>
courier-imap-2.1.2-r1.ebuild, courier-imap-3.0.2.ebuild:
added selinux policy to rdepend
28 Mar 2004; Jochen Maes <sejo@gentoo.org> courier-imap-3.0.2.ebuild:
courier-imap-3.0.2.ebuild
26 Mar 2004; Jason Wever <weeve@gentoo.org> courier-imap-3.0.2.ebuild:
Marked stable on sparc wrt bug #45584.
26 Mar 2004; Jon Portnoy <avenj@gentoo.org>
courier-imap-3.0.2.ebuild :
Stable on AMD64
26 Mar 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-3.0.2.ebuild:
clean up vpopmail and more in ebuild. bump to x86 for security bug #45584.
*courier-imap-3.0.2 (26 Mar 2004)
26 Mar 2004; <solar@gentoo.org> courier-imap-3.0.2.ebuild,
files/courier-imap-3.0.2-db40vs41.patch,
files/courier-imap-3.0.2-removerpm.patch:
courier-imap <3.0.0: Courier Multiple Remote Buffer Overflow Vulnerabilities.
bug #45584
10 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> courier-imap-2.1.2-r1.ebuild,
files/courier-imap-2.1.2-res_query.patch:
Add patch for res_query to allow courier-imap to compile on amd64. Should close #41160.
22 Feb 2004; Aron Griffis <agriffis@gentoo.org>
courier-imap-1.7.3-r1.ebuild, courier-imap-2.1.2-r1.ebuild:
Remove arm keywords
28 Jan 2004; Jon Portnoy <avenj@gentoo.org> courier-imap-2.1.2-r1.ebuild :
AMD64 keywords.
18 Jan 2004; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-2.1.2-r1.ebuild:
fix bug #38606.
08 Jan 2004; Jason Wever <weeve@gentoo.org> courier-imap-2.1.2-r1.ebuild:
Added ~sparc keyword.
22 Dec 2003; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-2.1.2-r1.ebuild:
fix bug #33346
09 Dec 2003; Martin Holzer <mholzer@gentoo.org>
courier-imap-1.7.3-r1.ebuild, courier-imap-2.1.2-r1.ebuild:
adding RESTRICT="nomirror"
07 Dec 2003; foser <foser@gentoo.org> courier-imap*.ebuild :
Fix fam-oss dep to fam, due to move
14 Nov 2003; Rajiv Aaron Manglani <rajiv@gentoo.org>
courier-imap-1.7.3-r1.ebuild:
marked stable on ppc.
31 Oct 2003; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-2.1.2-r1.ebuild:
fix bug #32410, bump to stable
28 Oct 2003; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-2.1.2-r1.ebuild, files/courier-imap-2.1.2-removerpm.patch:
commit brandy's patch for bug #28070
*courier-imap-2.1.2-r1 (02 Oct 2003)
02 Oct 2003; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-2.1.2-r1.ebuild:
add fam support - bug #29879
*courier-imap-2.1.2 (25 Sep 2003)
25 Sep 2003; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-2.1.2.ebuild:
version bump
03 Sep 2003; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-2.1.1.ebuild:
add fix for bug #27528, and add a few comments about the last fix too
03 Sep 2003; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-2.1.1.ebuild, files/courier-imap-2.1.1-db40vs41.patch:
apply Brandy's patch for bug #27517
*courier-imap-2.1.1 (28 Aug 2003)
28 Aug 2003; Robin H. Johnson <robbat2@gentoo.org>
courier-imap-2.1.1.ebuild:
version bump, fix ipv6 bug, another attempted tcltk fix
*courier-imap-2.0.0 (31 Jul 2003)
31 Jul 2003; Robin Hugh Johnson <robbat2@gentoo.org> courier-imap-2.0.0.ebuild:
Bump to latest stable upstream version, new fix for userpriv
*courier-imap-1.7.3-r1 (31 Jul 2003)
31 Jul 2003; Robin Hugh Johnson <robbat2@gentoo.org> courier-imap-1.7.3-r1.ebuild,
files/gentoo-imapd-1.7.3-r1.rc, files/gentoo-imapd-ssl-1.7.3-r1.rc,
files/gentoo-pop3d-1.7.3-r1.rc, files/gentoo-pop3d-ssl-1.7.3-r1.rc:
Fixed Prerun support again, bump to x86.
10 Jun 2003; <msterret@gentoo.org> courier-imap-1.7.1.ebuild,
courier-imap-1.7.2.ebuild, courier-imap-1.7.3.ebuild:
DEPEND on sed >= 4
*courier-imap-1.7.3 (20 May 2003)
27 May 2003; Robin Johnson <robbat2@gentoo.org> courier-imap-1.7.3.ebuild:
Fix bug #21803
25 May 2003; Robin Johnson <robbat2@gentoo.org> courier-imap-1.7.3.ebuild:
Fix bug #21577
20 May 2003; Robin Johnson <robbat2@gentoo.org> courier-imap-1.7.3.ebuild:
Version bump and move warning message. Removed extraneous cflag filtering.
Fixed bug #21330 as well.
*courier-imap-1.7.2 (19 May 2003)
19 May 2003; Robin Johnson <robbat2@gentoo.org> courier-imap-1.7.2.ebuild,
files/gentoo-imapd-ssl.rc, files/gentoo-imapd.rc, files/gentoo-pop3d-ssl.rc,
files/gentoo-pop3d.rc:
Version bump. Fixed DB3/DB4 stuff properly (minor bug in sed-foo). Install
all auth modules. Added prerun support for some other mail stuff. Fix
SRC_URI. Fix Vpopmail support. Other misc cleanups.
*courier-imap-1.7.1 (30 Apr 2003)
30 Apr 2003; Alastair Tse <liquidx@gentoo.org> courier-imap-1.7.1.ebuild:
version bump. workaround db3/db4 coexisting problems. added
/var/lib/courier-imap
18 Feb 2003; Nick Hadaway <raker@gentoo.org> files/gentoo-*.rc :
Updated gentoo-*.rc with fix0rs found by Psi-Jack!
*courier-imap-1.7.0 (01 Feb 2003)
11 Apr 2003; Alastair Tse <liquidx@gentoo.org> courier-imap-1.7.0.ebuild:
deps now reflect that it needs db3 and nothing else. fixes #18734.
04 Feb 2003; Nick Hadaway <raker@gentoo.org> courier-imap-1.7.0.ebuild :
Updated vpopmail detection to account for a different home directory
for vpopmail.
01 Feb 2003; Nick Hadaway <raker@gentoo.org> courier-imap-1.7.0.ebuild,
files/digest-courier-imap-1.7.0 :
Version bump. Includes some postgres changes and other fixes.
*courier-imap-1.6.2-r1 (29 Jan 2003)
29 Jan 2003; Nick Hadaway <raker@gentoo.org> courier-imap-1.6.2-r1.ebuild,
files/digest-courier-imap-1.6.2-r1 :
Now filtering -funroll-loops and -fomit-frame-pointer like in the
courier ebuild.
*courier-imap-1.6.2 (31 Dec 2002)
14 Jan 2003; Nick Hadaway <raker@gentoo.org> courier-imap-1.6.2.ebuild :
Tamed down the postgres dependancy.
09 Jan 2002; Nick Hadaway <raker@gentoo.org> courier-imap-1.6.2.ebuild :
Marked stable for x86.
31 Dec 2002; Nick Hadaway <raker@gentoo.org> courier-imap-1.6.2.ebuild,
files/digest-courier-imap-1.6.2 :
Version bump. new ebuild logic for unicode support. Added postgres
use variable support.
*courier-imap-1.6.1 (12 Dec 2002)
25 Dec 2002; Nick Hadaway <raker@gentoo.org> courier-imap-1.6.1.ebuild,
files/gentoo-imapd-1.6.1.rc, files/gentoo-imapd-ssl-1.6.1.rc,
files/gentoo-pop3d-1.6.1.rc, files/gentoo-pop3d-ssl-1.6.1.rc :
Updated the gentoo rc files and ebuild as logger has changed
to courierlogger.
12 Dec 2002; Nick Hadaway <raker@gentoo.org>
courier-imap-1.6.1.ebuild, files/digest-courier-imap-1.6.1 :
Version bump. Added a test for vpopmail so proper configure options
are passed.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*courier-imap-1.5.3 (25 Sep 2002)
25 Sep 2002; Nick Hadaway <raker@gentoo.org>
courier-imap-1.5.3.ebuild, files/digest-courier-imap-1.5.3 :
Version bump. Lots of SSL fixes.
*courier-imap-1.5.1 (03 Aug 2002)
11 Sep 2002; Nick Hadaway <raker@gentoo.org>
courier-imap-1.5.1.ebuild, files/authdaemond.conf,
files/authdaemond.rc6 :
Updated authenticator choosing mechanism. Removed pgsql authenticator
as it is not a supported backend.
30 Aug 2002; Sascha Schwabbauer <cybersystem@gentoo.org> :
Added ppc to keywords.
03 Aug 2002; Nick Hadaway <raker@gentoo.org>
courier-imap-1.5.1.ebuild, files/digest-courier-imap-1.5.1 :
Version bump. Added support for unicode searching, and proper
listening to the ipv6 use variable.
*courier-imap-1.5.0 (24 Jun 2002)
22 Jul 2002; Nick Hadaway <raker@gentoo.org> authdaemond.rc6 :
Fixed small typo. changed pqsql to pgsql. Closes bug #5163.
26 Jul 2002; Nicholas Jones <carpaski@gentoo.org :
Added in a check for vpopmail as Courier-IMAP just assumes that if
the user exists, then all the files MUST exist.
24 Jun 2002; Donny Davies <woodchip@gentoo.org> :
Chase latest release.
*courier-imap-1.4.5-r3 (20 Jun 2002)
20 Jun 2002; Kyle Manna <nitro@gentoo.org> :
Moved maildirmake for /usr/sbin to /usr/bin, close bug #3844
*courier-imap-1.4.5-r2 (14 Jun 2002)
14 Jun 2002; Kyle Manna <nitro@gentoo.org> :
Forgot to install /etc/init.d/authdaemond
*courier-imap-1.4.5-r1 (8 Jun 2002)
8 Jun 2002; Kyle Manna <nitro@gentoo.org> :
Added pop3 init scripts.
*courier-imap-1.4.3-r1 (30 Apr 2002)
30 Apr 2002; Donny Davies <woodchip@gentoo.org> :
Added tcltk? ( >=dev-tcltk/expect-5.33.0 ) to RDEPEND, closing #2282.
*courier-imap-1.4.3 (1 Apr 2002)
1 Apr 2002; Donny Davies <woodchip@gentoo.org> :
Updated to latest release. Added --enable-workarounds-for-imap-client-bugs
to ./configure which helps some clients; notably Netscape Messenger. Now
installs a pam_stack aware pam.d/ file.
*courier-imap-1.4.1-r4 (14 Mar 2002)
14 Mar 2002; Grant Goodyear <g2boojum@gentoo.org> :
Fixed bug where /etc/courier-imap/pop3d didn't have MAILDIR=.maildir set.
*courier-imap-1.4.1-r2 (21 Feb 2002)
21 Feb 2002; Grant Goodyear <g2boojum@gentoo.org> :
Modified the ebuild so that /usr/sbin/{imapd,pop3d} get renamed to
/usr/sbin/{courier-imapd,courier-pop3d}. I also had to change hack
the /usr/lib/courier-imap/*.rc files to call these newly-named functions.
While I was at it I cleaned up the ebuilds and fixed the not-yet-caught
bug that pop3d was still trying to use Maildir instead of ${MAILDIR}.
Fixes bug #584.
*courier-imap-1.4.1-r1 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@ -0,0 +1,56 @@
AUX authdaemond-3.0.4-r1 1062 RMD160 5e9184dc8c8ccbb528252c0795b5cd62b1d1b9c8 SHA1 55180242453ee47c951d265615da7a0902a5dc1f SHA256 2731b87fec98ae4ecdb5cfdb5917894e28eaf768f68555462d801c116cfa2a0d
AUX authdaemond.conf-3.0.4-r1 544 RMD160 52c3d3ec3c720ef36d03b531e9f4408149769d19 SHA1 f433ce39a182b7e2d7c91d22c59546e5fc552d83 SHA256 6bbf884df95152b5f8e1b0cd404a1833c1e337ccd44360156296122d2c9bb72f
AUX courier-imap-3.0.8-db4-bdbobj_configure.in.patch 1263 RMD160 3f5c2a5f4818a138e3fe118d790ceb1fb6b4aff4 SHA1 72cc2d43835efe8833ece60602ebd839d5480729 SHA256 e33f23799ffb934b083512c9cc58f81803610123f4ad38fda800431f0d67fa73
AUX courier-imap-3.0.8-db4-configure.in.patch 1337 RMD160 61f09bd94189576acc3b41a5aee9605d1f0c95de SHA1 e06ef1f954e0c0deaabe548abe559525d2fe918a SHA256 5f749b10f53d3a631af65f3766f3d72e54603761b164a2a656a59aee78c67939
AUX courier-imap-3.0.8-disable-fam-configure.in.patch 654 RMD160 c43ae28da398b0106efd73924a0b2c9f4490b799 SHA1 5c00b1d4180c65b1c6feed3979b60b018f874996 SHA256 775dab159b4e05141e4d8fdfa5df75967dda8a8f60e4e962208f724a497d3f54
AUX courier-imap-4.0.1-courier-imapd-ssl.rc6 1215 RMD160 895e04e9d0fc49fa5e2a022b070c09e31706918b SHA1 55e6a427c1acae17853fe016dc38068a9f3456b6 SHA256 7724a4e51effba581872917244a56d165506a813a923c4126323d93985ea5c2f
AUX courier-imap-4.0.1-courier-imapd.rc6 970 RMD160 cc29497750a0d4c1f09a8dde111b3e387bf902bd SHA1 34f0bf3456ad6d33280216940807cf5805214cd6 SHA256 adde0c60fb7d66253c791197631281efb57975cb130b7e70925cac03a1085d5a
AUX courier-imap-4.0.1-courier-pop3d-ssl.rc6 1223 RMD160 ce2d8a86fb20da03d9a3b085032cc1c68d48b3b9 SHA1 021a3b52493dfd1c97614a31f1015ad947a58e9b SHA256 ecb4258a140359940637f84c1457c885e57aa0f45a6b5c3247db4d413219680f
AUX courier-imap-4.0.1-courier-pop3d.rc6 978 RMD160 fbcc8eaaa0c68e29beaa83236d165ed489a0eea7 SHA1 b66127eab29e9e0a44469a5e2aebe1582518b3d0 SHA256 a66aa6fd10ab8d43bc28357b1c9db63afb80e6c66b8fa47fa26214c40cf1bcf7
AUX courier-imap-4.0.1-db4-bdbobj_configure.in.patch 1263 RMD160 3f5c2a5f4818a138e3fe118d790ceb1fb6b4aff4 SHA1 72cc2d43835efe8833ece60602ebd839d5480729 SHA256 e33f23799ffb934b083512c9cc58f81803610123f4ad38fda800431f0d67fa73
AUX courier-imap-4.0.1-db4-configure.in.patch 1303 RMD160 69228d5d2fb61bf176581c22a0a02e795342595e SHA1 75e73e48fb91c22996bdbd6417d30a6698a96309 SHA256 f7d626d03e6a83a6851be1ec7b1ad8b24e26d20fa1a2cf87ebce4560c226c2c3
AUX courier-imap-4.0.1-disable-fam-configure.in.patch 654 RMD160 c43ae28da398b0106efd73924a0b2c9f4490b799 SHA1 5c00b1d4180c65b1c6feed3979b60b018f874996 SHA256 775dab159b4e05141e4d8fdfa5df75967dda8a8f60e4e962208f724a497d3f54
AUX courier-imap-4.0.1-gentoo-imapd-ssl.rc 1092 RMD160 d32cbf015f9fda6bbeee1bfa054c39a08ccead95 SHA1 9f5ad90b96a40c0cd3d910e5390d7f648c2c0046 SHA256 1feabc5a11925e8a9abef29b3797b6f8ee6c9935f726e4a9af918f2f9879b797
AUX courier-imap-4.0.1-gentoo-imapd.rc 1129 RMD160 db3c0dfea4074482144fca2195acbbc18a9b395b SHA1 6b0966aeace6d643c63e902443cf782ad5c81422 SHA256 0814d73c7eb1cd857288390b3e8206fa8037bccb2d17c4998e18d351da87fcf7
AUX courier-imap-4.0.1-gentoo-pop3d-ssl.rc 1067 RMD160 a33364035b91a371da9e0b7a6cd1f8af075edcd9 SHA1 df93bd12d2afeafc6576d67a0d945827e791c298 SHA256 7ffa8c0a0788ad70332c5351aebf58be715b8ed6f7ace887c3163b4b4282d397
AUX courier-imap-4.0.1-gentoo-pop3d.rc 1075 RMD160 8cc119405c18525fbc3bed9a5ea1be3ac3cb02b8 SHA1 cf79243fbf860c0082b39df9ba16d726b198ccf6 SHA256 a81f912ff7542f6cb3fee162a75a045606b5f1175264a0b5b303a9d5c1c4a1d1
AUX courier-imap-4.0.1-r1-courier-imapd.indirect 85 RMD160 3b6790ccee0c7271c23f76a393b9d0a0d0b575ef SHA1 807e2294f80b95f0bae856a64774ffed7175dbef SHA256 96f7cd8cb1f4817be039df630b0e5da3838530955881b7217527307514b1b8a3
AUX courier-imap-4.0.1-r1-courier-pop3d.indirect 85 RMD160 f0750ff2a958b9a24112c9352bdc6a70b4a077f4 SHA1 6b7859075554104f0fe04f1e74fde2565a77e65d SHA256 df03082133b598631c4e47b5f448bba385f5993c0bd55a4eca9637b8176d8593
AUX courier-imap-4.0.1-r1-gentoo-imapd-ssl.rc 1114 RMD160 c68bdfd5e7d73a0977db02833fad84efa4697419 SHA1 9ced6a64c1c7f8e0843f8e63c36f057ab6ed1ef3 SHA256 d632673bb34aa049205682d7c26c4972623589bbcace6604bf6c81a91d02d30d
AUX courier-imap-4.0.1-r1-gentoo-imapd.rc 1151 RMD160 c0e1c3402382b62210a4855e1fe5239bcce3e06a SHA1 087ca38c92d82c3cf6a94aa2c97368415a28b72e SHA256 c9929c008990b5e4602f2b9e2654875c25f5cc776e1d0c433f16c716a327afa6
AUX courier-imap-4.0.1-r1-gentoo-pop3d-ssl.rc 1089 RMD160 1b0339c606987f6c230d7b7e962a098c01bba0e3 SHA1 4cb7a81534d19f45c065b41139ee66a51ff64c61 SHA256 ce0ce1e14324ce8d6633aad60762b4bcc7dc79a94047b6aa45a670b4e897393e
AUX courier-imap-4.0.1-r1-gentoo-pop3d.rc 1097 RMD160 d138103cf9fd92ebc7806593eb79b22a4aea4d50 SHA1 d2d7e885e37e8d4510f440ab3e94593ce02eef86 SHA256 6e7fd5f98e40504c0da0236bdfeadad33cf95cc8dfe31af8207d23620f27b84d
AUX courier-imap-4.0.4-courier-imapd-ssl.rc6 1174 RMD160 a7e9593106447b743cc8dc153664869924a152a2 SHA1 984c4e7324e890290c3ae793f9afdf855991a205 SHA256 ef3d363558c64dcb3b6429de700eb4bc1557c622dbfad2e26abe98f59c18329f
AUX courier-imap-4.0.4-courier-imapd.rc6 929 RMD160 4aec3c1c2fd1e32ff8fc89bc4d89b7b1227cda57 SHA1 bb919257cdd11f66bf448db86539d784ca539ccf SHA256 5187c9dbaaeceb98273e719b676fe7197bcfa215dfdf05c9d8cb161af48e3146
AUX courier-imap-4.0.4-courier-pop3d-ssl.rc6 1182 RMD160 61a232d9de309f8a79c9ee05a412afc3265f0b21 SHA1 e337b7ba969462e896c595b205eb1b15d2860a5e SHA256 bc1e61890624d9ecc930d33785879b6d22bea6ac962be5f2aad1529a024c88f3
AUX courier-imap-4.0.4-courier-pop3d.rc6 937 RMD160 aa08726aefd6fd3dad6cf2003de853869eb2d71a SHA1 2728ecebabcb5210c6d7f985df777b14a1edc5d3 SHA256 70c526347c8c53888df1bc6602d242376e9ef885a2b125d5292363c082dc4fca
AUX courier-imap-4.0.6-aclocal-fix.patch 237 RMD160 005a1b1bcff427b747b5fdae0fbe678367e7ebfa SHA1 9593c438e8b6be719d1685f5398659bb841f115b SHA256 2bc930268fd9c1565f2dfc341557de4a6e4f867131b279d52d47d285e5f62579
AUX courier-imap-4.0.6-db4-bdbobj_configure.in.patch 1558 RMD160 ae5866697c98a760e11927faa69687b942795ff3 SHA1 e6fd4defb33644d806679e00f2eb056e7f72170e SHA256 208e443f2730237ee8ae858eb21c3895c83651fbaacda881bdf46076b5182db7
AUX courier-imap-4.0.6-db4-configure.in.patch 1497 RMD160 77a9ad984789ab56c5d91d8b276b5c34a0e3b909 SHA1 349ad8d16c05ba0c7a7231b092286f48fecca54b SHA256 53db1d9b267e2d753ca6e27149008b5f92e11ddea7260f44c616b7cc3327d67c
AUX courier-imap-4.0.6-db4-tcpd_configure.in.patch 264 RMD160 49e1deaa1d006b1f3bd8d68ebad037fd934d3d06 SHA1 836208b414a72cf426a17e27f4c6dcf3c88138f3 SHA256 553b9b20afad380b2901318b6b2152b14c1f26ed3bfe26126364284f143cdd21
AUX courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 1200 RMD160 cfe0a24af1c4ca8ae1bbeafb25612a790961fd68 SHA1 77363438726d1e2fd7b9afb11b6bd2223fd75775 SHA256 c417f5de1bf2eeb5a7918931c30f1902d9f463279d8aa73ea0e13623923805df
AUX courier-imap-4.0.6-r1-courier-imapd.indirect 81 RMD160 0d74ba0662418361e275a9762990771869485ac9 SHA1 404ae233fed0d3ad252e4a2897a5d01f6b613ade SHA256 5d2e175e20aa5d7b7049a76be847a9bd974d25625b5324ac8f23680cb7e734bc
AUX courier-imap-4.0.6-r1-courier-imapd.rc6 949 RMD160 484cdac2b40e6f8dbad3a604a8ab2d3967226952 SHA1 562a624818140ed324cdaf2cb7d3541f7b5a48f7 SHA256 67406394a81a4ca697b8d08e987a0680b4e7622ac30ea009241b002f1d3adc8e
AUX courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 1208 RMD160 8a997b6299c6a3de6dcd3e4b2d7c5171286e466a SHA1 0e007a0a8964e2c0523f187b0aed291008d70c2b SHA256 dec6250978b39b6dd1bfbea0b0dbd108ca60171db04135dff66c5ae73a7a33e6
AUX courier-imap-4.0.6-r1-courier-pop3d.indirect 81 RMD160 047384e594e26ef2148085b0c5b88dba98187617 SHA1 3872f619cc6a5c91d3454e450638802e37556cda SHA256 27fa269811a3f916b050166733232e5de1fa578c0f3cb79ca649e6b0cff67ea5
AUX courier-imap-4.0.6-r1-courier-pop3d.rc6 957 RMD160 d1502bbce31fc6a26cb3adf073abfe2b91bf29f3 SHA1 8db1f39de8d4041c96be3a5c04c6ecb763c6b00f SHA256 f3c8996471543ca35a9d4af6f2a7e5bc4fc5c9820dcc461792231236fababa69
AUX courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc 984 RMD160 93671fcb0eb2660ef41edf9ffc404c864bc369b7 SHA1 fc0c25e11555384db3fb7756a4c6b78d9c8c8e7e SHA256 dd79242bddbd46f7eabbd99da612c4189bbc998e3680bf9d50f6788783ba820e
AUX courier-imap-4.0.6-r1-gentoo-imapd.rc 1026 RMD160 1bd16e446e10da64352390803cbaa691c11ecc68 SHA1 b8eb095bb6c8b6c970dd60e944ebfd2f36a39b40 SHA256 a54e674a8bfce99cda974e5c2e9bd818440256130f018f1c3412ea29f4e618f1
AUX courier-imap-4.0.6-r1-gentoo-pop3d-ssl.rc 957 RMD160 7dcbfe1e550601ebdd973394ff03f19701425254 SHA1 d5bc5e06275d4082ab9b76c739d9da491a08cafd SHA256 977ddb360fe8a4a2baab932895c1d871b992d33d2837d97af23d7a97f66dc6a6
AUX courier-imap-4.0.6-r1-gentoo-pop3d.rc 999 RMD160 10028f0deafad4b31b12e4006ace1a007b542495 SHA1 5db7530c017c1e0a4cdb02a67bc5256f9b790110 SHA256 e9ec918c6a9f1ac3ad952d7c15392ab73f0a2e6a27f4f8a1f3fe3902c67ea278
AUX courier-imap-4.1.2-as-needed.patch 398 RMD160 0cda873874a9261cd0f640703fdb0c7cfb79e044 SHA1 53ab7b464ed0daf167066c323827524a653964e0 SHA256 8d1185d1929ab1cce5216f188adeb66a52ede20fbcb95b45d9b7a39287f884e3
AUX courier-imap-gentoo.readme 2827 RMD160 1429340ccc518b019a42dd274a7c15f01f125d25 SHA1 72c4f79c6ed08c4423925b05303f97287b8d95d1 SHA256 fbfe0396d87bcfe2722df94b2c68ef1a1993edcf776c8572604aed0390e4061f
AUX courier-imapd-ssl.rc6-3.0.5 1196 RMD160 b3d21018f32d59c8db09491aa5d25e99ef5022ca SHA1 b25b6d29cba405ba7ea96223d564178f7cce8ece SHA256 818217507f3d27aebf9f14fa10a9eb9805b605c5bacc7a936e8610127816fd76
AUX courier-imapd.rc6 945 RMD160 1446c5fdc95aceeebfb670e501d2f6d0f8e15c5b SHA1 77f36e56631db5be6f51377386a6059e9f48244f SHA256 37d2d245f58dbfeca4f6c15f3dffbb652daaae18ba07973989f661ce00f23178
AUX courier-pop3d-ssl.rc6-3.0.5 1204 RMD160 c1638bd94fadc331cc97cc54462c9d9ed8fbd986 SHA1 7c1956c410179881430be2580561f6ea6c6fd5c2 SHA256 4a107d764d17ec217ecaeaa57504bb893558b0bc8fa5e82af33a3c63771d60a4
AUX courier-pop3d.rc6 953 RMD160 c98bce7aabef2e138febf10e4c8bab86026216d4 SHA1 0aa6898254e70b0f2f13b9b3cc68e9895f9d4a3b SHA256 e64d98087123a432b528a301bb5a4f1d6ef6232a39c981318f8159297f775f76
AUX gentoo-imapd-1.7.3-r1.rc 1074 RMD160 0fec4a1dc289b348e0605152467e603a2674847a SHA1 5eae59350ef88024041cad7bb8b4e7c79ea03b43 SHA256 52ad1bb47496be6fdd5a943cc5d156e18f4429c7b3f9d4d89670d451023db9e7
AUX gentoo-imapd-ssl-1.7.3-r1.rc 1036 RMD160 441ee24be1825ab8cfb485cad5df329a1aa008fa SHA1 7791e6fc38cce038562b8dee868ec83c6e06a5c1 SHA256 2430819bae8e265934ac31944534ef8e3ab94dfe0e59a3ea658f60ebdd7d989b
AUX gentoo-pop3d-1.7.3-r1.rc 1020 RMD160 e0c83f2cf3507cd8b08dd53f47abe3dcbeb10c8a SHA1 bab1db4ee5f31e33c8ca81ebab7cd46e93a908bc SHA256 189dca5b4fa90405e25f7d659b984c10a705d6c9a725f0571bc37d784793911b
AUX gentoo-pop3d-ssl-1.7.3-r1.rc 1012 RMD160 d967c3996f95e113e7e6f9dd0a62b418c37d6ee4 SHA1 b8cfb3069000e2a70e0aa836b231fa40bdeef6c7 SHA256 12659fbc648e66ccfd5b62f75a9cc4a580f56b35ddb02f1460b6ce2726050e0d
AUX mkimapdcert 996 RMD160 4ca3c600dc558f14648f318007447318a5e45165 SHA1 a1259ae6a18d4c2b2d783da72b730437fe0ffc2f SHA256 1ebd9ae44e3ca5fb906f5f399abec7d6f117d231db5725be0a1c4e043eaec4f6
AUX mkpop3dcert 996 RMD160 424c61ae95914f267397a1180dcb8fee64586ea3 SHA1 28f43f0f62999105fe37b6a2edd5a0cbf8cee157 SHA256 c241ccca359b5d126dc56fc73f21991d8a7bffb5c211d8b0a1e4e88e693eb7cb
DIST courier-imap-4.4.1.tar.bz2 3383036 RMD160 ae1feff71b6dbd893ba1866bf4bf974e84210236 SHA1 c5d7a2790f6ce0ed7eda90a36268a1e772627bd7 SHA256 d7cff71f0aaf34ea8dc6823550dadf62def4f616b750548bf0512f12d1b4725f
EBUILD courier-imap-4.4.1-r1.ebuild 8187 RMD160 127d664188a5f978cba36626bda730d61d72975c SHA1 fa939d4f44acfd0ca6de5f68042ee70e391be2b5 SHA256 4aca572a7de258e15de9ff875add8cafaa49cc1f91b4a994a0b3210a37da0b58
MISC ChangeLog 33000 RMD160 91058c94ffbb878429e24f4bb6c401c02211a6c5 SHA1 3b34cadeff42df4421836bf225e204488a23504b SHA256 1c72fbe6ec6c63c4bb6635b074c89c1ce20bc6f9a2b46076b925fc22bb3c8e50
MISC metadata.xml 258 RMD160 897ec10251e2fc462bdbb9780e945c896f44c7c1 SHA1 4f790bcbe4149520174095bb7e048a8e39fbfc16 SHA256 87167a6f2c7b3c99a92806e11600b3c9bfb1b51126a670fd2bc9b4358935f810

View File

@ -0,0 +1,250 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-4.4.1-r1.ebuild,v 1.1 2008/12/14 21:19:10 mabi Exp $
inherit autotools eutils multilib libtool
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
DESCRIPTION="An IMAP daemon designed specifically for maildirs."
HOMEPAGE="http://www.courier-mta.org/"
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
IUSE="berkdb debug fam gdbm ipv6 nls selinux gnutls"
# userpriv breaks linking against vpopmail
RESTRICT="userpriv"
RDEPEND="gnutls? ( net-libs/gnutls )
!gnutls? ( >=dev-libs/openssl-0.9.6 )
>=net-libs/courier-authlib-0.61
>=net-mail/mailbase-0.00-r8
berkdb? ( sys-libs/db )
fam? ( virtual/fam )
gdbm? ( >=sys-libs/gdbm-1.8.0 )
selinux? ( sec-policy/selinux-courier-imap )"
DEPEND="${RDEPEND}
dev-lang/perl
!mail-mta/courier
userland_GNU? ( sys-process/procps )"
RDEPEND="${RDEPEND}
!virtual/imapd"
PROVIDE="virtual/imapd"
RC_VER="4.0.6-r1"
INITD_VER="4.0.6-r1"
pkg_setup() {
if ! use berkdb && ! use gdbm ; then
echo
eerror "Either the 'berkdb' or the 'gdbm' USE flag is required."
eerror "Please add it to '/etc/make.conf' or '/etc/portage/package.use'."
eerror "Use 'man 5 portage' for more info on '/etc/portage/package.use'."
echo
die "Required USE flag missing."
fi
}
vpopmail_setup() {
VPOPMAIL_INSTALLED=
VPOPMAIL_DIR=
export VPOPMAIL_INSTALLED VPOPMAIL_DIR
VPOPMAIL_DIR=$(grep ^vpopmail /etc/passwd 2>/dev/null | cut -d: -f6)
VPOPMAIL_INSTALLED=
if has_version 'net-mail/vpopmail' && [[ -n "${VPOPMAIL_DIR}" ]] && [[ -f "${VPOPMAIL_DIR}/etc/lib_deps" ]] ; then
VPOPMAIL_INSTALLED=1
else
VPOPMAIL_DIR=
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
# Bug #48838. Patch to enable/disable FAM support.
# 20 Aug 2004 langthang@gentoo.org
# This patch should fix bug #51540. fam USE flag is not needed for shared folder support.
epatch "${FILESDIR}"/${PN}-4.0.1-disable-fam-configure.in.patch
# Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206).
epatch "${FILESDIR}"/${PN}-4.0.6-aclocal-fix.patch
# These patches should fix problems detecting BerkeleyDB.
# We now can compile with db4 support.
if use berkdb ; then
epatch "${FILESDIR}"/${PN}-4.0.6-db4-bdbobj_configure.in.patch
epatch "${FILESDIR}"/${PN}-4.0.6-db4-configure.in.patch
fi
ebegin "Recreating configure"
eautoreconf || die "eautoreconf failed"
eend $?
}
src_compile() {
vpopmail_setup
local myconf=""
# 19 Aug 2004 langthang@gentoo.org
# Default to gdbm if both berkdb and gdbm are present.
if use gdbm ; then
einfo "Building with GDBM support"
myconf="${myconf} --with-db=gdbm"
elif use berkdb ; then
einfo "Building with BerkeleyDB support"
myconf="${myconf} --with-db=db"
fi
# The default character set is ISO-8859-1/US-ASCII.
# USE 'nls' will enable all available character sets.
# Set ENABLE_UNICODE=iso-8859-1,utf-8,iso-8859-10
# to include only specified translation tables.
if use nls && [[ -z "${ENABLE_UNICODE}" ]] ; then
einfo "ENABLE_UNICODE is not set, building with all available character sets"
myconf="${myconf} --enable-unicode"
elif use nls ; then
einfo "ENABLE_UNICODE is set, building with unicode=${ENABLE_UNICODE}"
myconf="${myconf} --enable-unicode=${ENABLE_UNICODE}"
else
einfo "Disabling unicode support"
myconf="${myconf} --disable-unicode"
fi
use debug && myconf="${myconf} debug=true"
# Fix for bug #21330
CFLAGS="$(echo ${CFLAGS} | xargs)"
CXXFLAGS="$(echo ${CXXFLAGS} | xargs)"
LDFLAGS="$(echo ${LDFLAGS} | xargs)"
# Do the actual build now
LDFLAGS="${LDFLAGS} " econf \
--disable-root-check \
--bindir=/usr/sbin \
--mandir=/usr/share/man \
--sysconfdir=/etc/${PN} \
--libexecdir=/usr/$(get_libdir)/${PN} \
--localstatedir=/var/lib/${PN} \
--with-authdaemonvar=/var/lib/${PN}/authdaemon \
--enable-workarounds-for-imap-client-bugs \
--with-mailuser=mail \
--with-mailgroup=mail \
$(use_with fam) \
$(use_with ipv6) \
$(use_with gnutls) \
${myconf} || die "econf failed"
# Change the pem file location.
sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/imapd.pem:" \
imap/imapd-ssl.dist || \
die "sed failed"
sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/pop3d.pem:" \
imap/pop3d-ssl.dist || \
die "sed failed"
emake -j1 || die "emake failed"
}
src_install() {
vpopmail_setup
dodir /var/lib/${PN} /etc/pam.d
emake DESTDIR="${D}" install || die "emake install failed"
rm -Rf "${D}/etc/pam.d"
# Avoid name collisions in /usr/sbin wrt imapd and pop3d
cd "${D}/usr/sbin"
for name in imapd pop3d ; do
mv -f "${name}" "courier-${name}" || die "Failed to mv ${name} to courier-${name}"
done
# Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
# 'Maildir', and to use /usr/sbin/courier-foo names.
cd "${D}/usr/$(get_libdir)/${PN}"
for service in {imapd,pop3d}{,-ssl} ; do
sed -i -e 's/Maildir/${MAILDIR}/' "${service}.rc" || die "sed failed"
sed -i -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" "${service}.rc" || die "sed failed"
done
# Rename the config files correctly and add a value for ${MAILDIR} to them.
cd "${D}/etc/${PN}"
for service in {imapd,pop3d}{,-ssl} ; do
mv -f "${service}.dist" "${service}" || die "Failed to mv ${service}.dist to ${service}"
echo -e '\n# Hardwire a value for ${MAILDIR}' >> "${service}"
echo 'MAILDIR=.maildir' >> "${service}"
echo 'MAILDIRPATH=.maildir' >> "${service}"
done
for service in imapd pop3d ; do
echo -e '# Put any program for ${PRERUN} here' >> "${service}"
echo 'PRERUN=' >> "${service}"
echo -e '# Put any program for ${LOGINRUN} here' >> "${service}"
echo -e '# this is for relay-ctrl-allow in 4*' >> "${service}"
echo 'LOGINRUN=' >> "${service}"
done
cd "${D}/usr/sbin"
for x in * ; do
if [[ -L "${x}" ]] ; then
rm -f "${x}" || die "Failed to rm ${x}"
fi
done
cd ../share
mv -f * ../sbin
mv -f ../sbin/man .
cd ..
for x in mkimapdcert mkpop3dcert ; do
mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig"
done
exeinto /usr/sbin
doexe "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" || die "doexe failed"
dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger || die "dosym failed"
mkdir "${WORKDIR}/tmp" ; cd "${WORKDIR}/tmp"
for initd in courier-{imapd,pop3d}{,-ssl} ; do
sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" > "${initd}" || die "initd libdir-sed failed"
doinitd "${initd}" || die "doinitd ${initd} failed"
done
exeinto /usr/$(get_libdir)/${PN}
for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${RC_VER}-${exe}" > "${exe}" || die "exe libdir-sed failed"
doexe "${exe}" || die "doexe ${exe} failed"
done
dodir /usr/bin
mv -f "${D}/usr/sbin/maildirmake" "${D}/usr/bin/maildirmake" || die "Failed to mv /usr/sbin/maildirmake to /usr/bin/maildirmake"
# Bug #45953, more docs.
cd "${S}"
dohtml -r "${S}"/*
dodoc "${S}"/{00README.NOW.OR.SUFFER,AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme
docinto imap
dodoc "${S}"/imap/{ChangeLog,BUGS,BUGS.html,README}
docinto maildir
dodoc "${S}"/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt}
docinto tcpd
dodoc "${S}"/tcpd/README.couriertls
}
pkg_postinst() {
elog "Authdaemond is no longer provided by this package."
elog "Authentication libraries are now in courier-authlib."
elog "For a quick-start howto please refer to:"
elog "/usr/share/doc/${P}/${PN}-gentoo.readme.gz"
# Some users have been reporting that permissions on this directory were
# getting scrambled, so let's ensure that they are sane.
chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}" || die "Failed to ensure sane permissions on ${ROOT}/usr/$(get_libdir)/${PN}"
}
src_test() {
ewarn "make check is not supported by this package due to the"
ewarn "--enable-workarounds-for-imap-client-bugs option."
}

View File

@ -0,0 +1,42 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/authdaemond-3.0.4-r1,v 1.3 2004/08/22 23:52:08 robbat2 Exp $
depend() {
need net
}
checkconfig() {
if [ ! -e /etc/courier-imap/authdaemonrc ] ; then
eerror "You need an /etc/courier-imap/authdaemonrc file to run authdaemon"
return 1
fi
}
setauth() {
source /etc/courier-imap/authdaemonrc
AUTHLIB="/usr/lib/courier-imap/authlib"
source /etc/courier-imap/authdaemond.conf
[ -z "$version" ] && version="${AUTHDAEMOND}"
pidfile="/var/run/authdaemon.pid"
logger="/usr/lib/courier-imap/courierlogger"
}
start() {
checkconfig || return 1
setauth
ebegin "Starting ${AUTHDAEMOND}"
start-stop-daemon --quiet --start --pidfile "$pidfile" --exec \
/usr/bin/env -- - $logger -pid="$pidfile" -start "${AUTHLIB}/${AUTHDAEMOND}"
eend $?
}
stop() {
setauth
ebegin "Stopping ${AUTHDAEMOND}"
start-stop-daemon --quiet --stop \
--pidfile "$pidfile"
eend $?
}

View File

@ -0,0 +1,14 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/authdaemond.conf-3.0.4-r1,v 1.2 2004/06/26 23:30:58 robbat2 Exp $
# This file should contain your chosen authenticator
# This overrides 'version' in /etc/courier-imap/authdaemonrc
# Valid choices are..
#
# AUTHDAEMOND="authdaemond.plain"
# AUTHDAEMOND="authdaemond.mysql"
# AUTHDAEMOND="authdaemond.pgsql"
# AUTHDAEMOND="authdaemond.ldap"
#
AUTHDAEMOND="authdaemond.plain"

View File

@ -0,0 +1,31 @@
--- courier-imap-3.0.7-orig/bdbobj/configure.in 2001-09-18 18:26:28.000000000 -0700
+++ courier-imap-3.0.7/bdbobj/configure.in 2004-08-14 16:15:08.469316646 -0700
@@ -21,15 +21,19 @@
dnl Checks for libraries.
saveLIBS="$LIBS"
-AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ],
- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"],
- AC_CHECK_LIB(db, db_env_create, [ LIBDB=-ldb; LIBS="-ldb $LIBS"])
- ))
-
-FOUND_DB=0
-AC_CHECK_FUNC(dbopen, FOUND_DB=1)
-AC_CHECK_FUNC(db_open, FOUND_DB=1)
-AC_CHECK_FUNC(db_env_create, FOUND_DB=1)
+for dbname in db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db
+ do
+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ]))))
+
+ done
+FOUND_DB=0
+AC_CHECK_FUNC(db_create_4002, FOUND_DB=1)
+AC_CHECK_FUNC(db_create_4001, FOUND_DB=1)
+AC_CHECK_FUNC(db_create_4000, FOUND_DB=1)
+AC_CHECK_FUNC(db_create, FOUND_DB=1)
LIBS="$saveLIBS"

View File

@ -0,0 +1,39 @@
--- courier-imap-3.0.7-orig/configure.in 2004-08-01 07:08:16.000000000 -0700
+++ courier-imap-3.0.7/configure.in 2004-08-14 16:02:03.856436728 -0700
@@ -11,7 +11,6 @@
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
-AC_PROG_SYSCONFTOOL
AC_PATH_PROGS(SETENV, env)
@@ -132,16 +131,18 @@
if test "$db" != "gdbm"
then
-
- AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ],
- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"],
- AC_CHECK_LIB(db, db_env_create,
- [ LIBDB=-ldb; LIBS="-ldb $LIBS"])
- ))
-
- AC_CHECK_FUNC(dbopen, HAVE_BDB=1)
- AC_CHECK_FUNC(db_open, HAVE_BDB=1)
- AC_CHECK_FUNC(db_env_create, HAVE_BDB=1)
+ for dbname in db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db
+ do
+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ]))))
+ done
+ AC_CHECK_FUNC(db_create_4002, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4001, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4000, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create, HAVE_BDB=1)
+
fi
LIBS="$saveLIBS"

View File

@ -0,0 +1,23 @@
--- courier-imap-3.0.7-orig/maildir/configure.in 2004-06-08 15:44:23.000000000 -0700
+++ courier-imap-3.0.7/maildir/configure.in 2004-08-14 15:28:20.525714876 -0700
@@ -60,6 +60,12 @@
dnl Checks for library functions.
AC_CHECK_HEADER(fam.h, :, :)
AC_CHECK_FUNCS(symlink readlink strcasecmp utime utimes)
+AC_ARG_WITH(fam, [ --with-fam Compile with FAM support],
+ fam="$withval",
+ fam="no")
+
+if test "$fam" != "no"
+then
AC_CHECK_LIB(fam, FAMOpen, [
LIBFAM=-lfam
AC_DEFINE_UNQUOTED(HAVE_FAM,1,
@@ -74,6 +80,7 @@
AC_MSG_ERROR([[FAM development libraries not found.]]) ]
)
])
+fi
AC_SUBST(LIBFAM)

View File

@ -0,0 +1,42 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.1-courier-imapd-ssl.rc6,v 1.1 2005/01/05 15:46:55 langthang Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/imapd-ssl
checkconfig() {
if [ ! -e /etc/courier-imap/imapd-ssl ] ; then
eerror "You need an /etc/courier-imap/imapd-ssl file to run courier-imapd"
return 1
fi
source /etc/courier-imap/imapd-ssl || {
eerror "There are syntax errors in /etc/courier-imap/imapd-ssl"
eerror "Please correct them before trying to start imapd-ssl"
return 3
}
if [ ! -e "${TLS_CERTFILE}" ] ; then
eerror "You need to create a SSL certificate to use IMAP over SSL"
eerror "Edit /etc/courier-imap/imapd.cnf, then run: mkimapdcert"
return 2
fi
}
start() {
checkconfig || return 1
ebegin "Starting courier-imapd over SSL"
start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-imapd-ssl.rc \
--pid=$SSLPIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-imapd over SSL"
start-stop-daemon --quiet --stop --pid=$SSLPIDFILE
eend $?
}

View File

@ -0,0 +1,37 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.1-courier-imapd.rc6,v 1.1 2005/01/05 15:46:55 langthang Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/imapd
checkconfig() {
if [ ! -e /etc/courier-imap/imapd ] ; then
eerror "You need an /etc/courier-imap/imapd file to run courier-imapd"
return 1
fi
source /etc/courier-imap/imapd || {
eerror "There are syntax errors in /etc/courier-imap/imapd"
eerror "Please correct them before trying to start imapd"
return 2
}
}
start() {
checkconfig || return 1
ebegin "Starting courier-imapd"
start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-imapd.rc \
--pid=$PIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-imapd"
start-stop-daemon --quiet --stop --pid=$PIDFILE
eend $?
}

View File

@ -0,0 +1,42 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.1-courier-pop3d-ssl.rc6,v 1.1 2005/01/05 15:46:55 langthang Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/pop3d-ssl
checkconfig() {
if [ ! -e /etc/courier-imap/pop3d-ssl ] ; then
eerror "You need an /etc/courier-imap/pop3d-ssl file to run courier-pop3d"
return 1
fi
source /etc/courier-imap/pop3d-ssl || {
eerror "There are syntax errors in /etc/courier-imap/pop3d-ssl"
eerror "Please correct them before trying to start pop3d-ssl"
return 3
}
if [ ! -e "${TLS_CERTFILE}" ] ; then
eerror "You need to create a SSL certificate to use POP3 over SSL"
eerror "Edit /etc/courier-imap/pop3d.cnf, then run: mkpop3dcert"
return 2
fi
}
start() {
checkconfig || return 1
ebegin "Starting courier-pop3d over SSL"
start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d-ssl.rc \
--pidfile $SSLPIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-pop3d over SSL"
start-stop-daemon --quiet --stop --pidfile $SSLPIDFILE
eend $?
}

View File

@ -0,0 +1,37 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.1-courier-pop3d.rc6,v 1.1 2005/01/05 15:46:55 langthang Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/pop3d
checkconfig() {
if [ ! -e /etc/courier-imap/pop3d ] ; then
eerror "You need an /etc/courier-imap/pop3d file to run courier-pop3d"
return 1
fi
source /etc/courier-imap/pop3d || {
eerror "There are syntax errors in /etc/courier-imap/pop3d"
eerror "Please correct them before trying to start pop3d"
return 2
}
}
start() {
checkconfig || return 1
ebegin "Starting courier-pop3d"
start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d.rc \
--pidfile $PIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-pop3d"
start-stop-daemon --quiet --stop --pidfile $PIDFILE
eend $?
}

View File

@ -0,0 +1,31 @@
--- courier-imap-3.0.7-orig/bdbobj/configure.in 2001-09-18 18:26:28.000000000 -0700
+++ courier-imap-3.0.7/bdbobj/configure.in 2004-08-14 16:15:08.469316646 -0700
@@ -21,15 +21,19 @@
dnl Checks for libraries.
saveLIBS="$LIBS"
-AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ],
- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"],
- AC_CHECK_LIB(db, db_env_create, [ LIBDB=-ldb; LIBS="-ldb $LIBS"])
- ))
-
-FOUND_DB=0
-AC_CHECK_FUNC(dbopen, FOUND_DB=1)
-AC_CHECK_FUNC(db_open, FOUND_DB=1)
-AC_CHECK_FUNC(db_env_create, FOUND_DB=1)
+for dbname in db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db
+ do
+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ]))))
+
+ done
+FOUND_DB=0
+AC_CHECK_FUNC(db_create_4002, FOUND_DB=1)
+AC_CHECK_FUNC(db_create_4001, FOUND_DB=1)
+AC_CHECK_FUNC(db_create_4000, FOUND_DB=1)
+AC_CHECK_FUNC(db_create, FOUND_DB=1)
LIBS="$saveLIBS"

View File

@ -0,0 +1,38 @@
--- configure.in.orig 2004-11-16 16:02:11.045791896 -0800
+++ configure.in 2004-11-16 16:03:06.743324584 -0800
@@ -11,7 +11,6 @@
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
-AC_PROG_SYSCONFTOOL
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
@@ -150,16 +150,18 @@
if test "$db" != "gdbm"
then
+ for dbname in db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db
+ do
+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ]))))
+ done
+ AC_CHECK_FUNC(db_create_4002, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4001, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4000, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create, HAVE_BDB=1)
- AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ],
- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"],
- AC_CHECK_LIB(db, db_env_create,
- [ LIBDB=-ldb; LIBS="-ldb $LIBS"])
- ))
-
- AC_CHECK_FUNC(dbopen, HAVE_BDB=1)
- AC_CHECK_FUNC(db_open, HAVE_BDB=1)
- AC_CHECK_FUNC(db_env_create, HAVE_BDB=1)
fi
LIBS="$saveLIBS"

View File

@ -0,0 +1,23 @@
--- courier-imap-3.0.7-orig/maildir/configure.in 2004-06-08 15:44:23.000000000 -0700
+++ courier-imap-3.0.7/maildir/configure.in 2004-08-14 15:28:20.525714876 -0700
@@ -60,6 +60,12 @@
dnl Checks for library functions.
AC_CHECK_HEADER(fam.h, :, :)
AC_CHECK_FUNCS(symlink readlink strcasecmp utime utimes)
+AC_ARG_WITH(fam, [ --with-fam Compile with FAM support],
+ fam="$withval",
+ fam="no")
+
+if test "$fam" != "no"
+then
AC_CHECK_LIB(fam, FAMOpen, [
LIBFAM=-lfam
AC_DEFINE_UNQUOTED(HAVE_FAM,1,
@@ -74,6 +80,7 @@
AC_MSG_ERROR([[FAM development libraries not found.]]) ]
)
])
+fi
AC_SUBST(LIBFAM)

View File

@ -0,0 +1,37 @@
#!/bin/bash
# $Id: courier-imap-4.0.1-gentoo-imapd-ssl.rc,v 1.1 2005/01/05 15:46:55 langthang Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/imapd
source /etc/courier-imap/imapd-ssl
# the new courier-authlib doesn't usee these settings.
#LIBAUTHMODULES=""
#for f in `echo $AUTHMODULES`
#do
# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
#done
ulimit -d $IMAP_ULIMITD
export IMAP_TLS=1
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$SSLADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=imapd-ssl \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$SSLPIDFILE $TCPDOPTS \
$SSLPORT $COURIERTLS -server -tcpd \
${exec_prefix}/sbin/imaplogin \
/usr/sbin/courier-imapd ${MAILDIR}

View File

@ -0,0 +1,38 @@
#!/bin/bash
# $Id: courier-imap-4.0.1-gentoo-imapd.rc,v 1.1 2005/01/05 15:46:55 langthang Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/imapd-ssl
source /etc/courier-imap/imapd
# The new courier-authlib doesn't use these settings.
#LIBAUTHMODULES=""
#for f in `echo $AUTHMODULES`
#do
# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
#done
ulimit -d $IMAP_ULIMITD
IMAP_STARTTLS="$IMAPDSTARTTLS"
export IMAPDSTARTTLS IMAP_STARTTLS
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=imapd \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/imaplogin \
/usr/sbin/courier-imapd ${MAILDIR}

View File

@ -0,0 +1,36 @@
#!/bin/bash
# $Id: courier-imap-4.0.1-gentoo-pop3d-ssl.rc,v 1.1 2005/01/05 15:46:55 langthang Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/pop3d
source /etc/courier-imap/pop3d-ssl
# The new courier-authlib doesn't use these settings.
#LIBAUTHMODULES=""
#for f in `echo $AUTHMODULES`
#do
# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
#done
export POP3_TLS=1
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$SSLADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=pop3d-ssl \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$SSLPIDFILE $TCPDOPTS \
$SSLPORT $COURIERTLS -server -tcpd \
${exec_prefix}/sbin/pop3login \
/usr/sbin/courier-pop3d ${MAILDIR}

View File

@ -0,0 +1,36 @@
#!/bin/bash
# $Id: courier-imap-4.0.1-gentoo-pop3d.rc,v 1.1 2005/01/05 15:46:55 langthang Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/pop3d-ssl
source /etc/courier-imap/pop3d
# The new courier-authlib doesn't use these settings.
#LIBAUTHMODULES=""
#for f in `echo $AUTHMODULES`
#do
# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
#done
export POP3DSTARTTLS=$POP3_STARTTLS
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=pop3d \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/pop3login \
/usr/sbin/courier-pop3d ${MAILDIR}

View File

@ -0,0 +1,5 @@
#!/bin/bash
XMAILDIR="$1"
eval ${LOGINRUN} \
/usr/sbin/courier-imapd \
${XMAILDIR}

View File

@ -0,0 +1,5 @@
#!/bin/bash
XMAILDIR="$1"
eval ${LOGINRUN} \
/usr/sbin/courier-pop3d \
${XMAILDIR}

View File

@ -0,0 +1,37 @@
#!/bin/bash
# $Id: courier-imap-4.0.1-r1-gentoo-imapd-ssl.rc,v 1.1 2005/02/11 15:34:49 robbat2 Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/imapd
source /etc/courier-imap/imapd-ssl
# the new courier-authlib doesn't usee these settings.
#LIBAUTHMODULES=""
#for f in `echo $AUTHMODULES`
#do
# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
#done
ulimit -d $IMAP_ULIMITD
export IMAP_TLS=1
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$SSLADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=imapd-ssl \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$SSLPIDFILE $TCPDOPTS \
$SSLPORT $COURIERTLS -server -tcpd \
${exec_prefix}/sbin/imaplogin \
/usr/lib/courier-imap/courier-imapd.indirect ${MAILDIR}

View File

@ -0,0 +1,38 @@
#!/bin/bash
# $Id: courier-imap-4.0.1-r1-gentoo-imapd.rc,v 1.1 2005/02/11 15:34:49 robbat2 Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/imapd-ssl
source /etc/courier-imap/imapd
# The new courier-authlib doesn't use these settings.
#LIBAUTHMODULES=""
#for f in `echo $AUTHMODULES`
#do
# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
#done
ulimit -d $IMAP_ULIMITD
IMAP_STARTTLS="$IMAPDSTARTTLS"
export IMAPDSTARTTLS IMAP_STARTTLS
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=imapd \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/imaplogin \
/usr/lib/courier-imap/courier-imapd.indirect ${MAILDIR}

View File

@ -0,0 +1,36 @@
#!/bin/bash
# $Id: courier-imap-4.0.1-r1-gentoo-pop3d-ssl.rc,v 1.1 2005/02/11 15:34:49 robbat2 Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/pop3d
source /etc/courier-imap/pop3d-ssl
# The new courier-authlib doesn't use these settings.
#LIBAUTHMODULES=""
#for f in `echo $AUTHMODULES`
#do
# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
#done
export POP3_TLS=1
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$SSLADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=pop3d-ssl \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$SSLPIDFILE $TCPDOPTS \
$SSLPORT $COURIERTLS -server -tcpd \
${exec_prefix}/sbin/pop3login \
/usr/lib/courier-imap/courier-pop3d.indirect ${MAILDIR}

View File

@ -0,0 +1,36 @@
#!/bin/bash
# $Id: courier-imap-4.0.1-r1-gentoo-pop3d.rc,v 1.1 2005/02/11 15:34:49 robbat2 Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/pop3d-ssl
source /etc/courier-imap/pop3d
# The new courier-authlib doesn't use these settings.
#LIBAUTHMODULES=""
#for f in `echo $AUTHMODULES`
#do
# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
#done
export POP3DSTARTTLS=$POP3_STARTTLS
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=pop3d \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/pop3login \
/usr/lib/courier-imap/courier-pop3d.indirect ${MAILDIR}

View File

@ -0,0 +1,42 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.4-courier-imapd-ssl.rc6,v 1.1 2005/08/08 09:57:05 flameeyes Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/imapd-ssl
checkconfig() {
if [ ! -e /etc/courier-imap/imapd-ssl ] ; then
eerror "You need an /etc/courier-imap/imapd-ssl file to run courier-imapd"
return 1
fi
source /etc/courier-imap/imapd-ssl || {
eerror "There are syntax errors in /etc/courier-imap/imapd-ssl"
eerror "Please correct them before trying to start imapd-ssl"
return 3
}
if [ ! -e "${TLS_CERTFILE}" ] ; then
eerror "You need to create a SSL certificate to use IMAP over SSL"
eerror "Edit /etc/courier-imap/imapd.cnf, then run: mkimapdcert"
return 2
fi
}
start() {
checkconfig || return 1
ebegin "Starting courier-imapd over SSL"
/usr/bin/env - /usr/lib/courier-imap/gentoo-imapd-ssl.rc \
--pid=$SSLPIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-imapd over SSL"
start-stop-daemon --quiet --stop --pid=$SSLPIDFILE
eend $?
}

View File

@ -0,0 +1,37 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.4-courier-imapd.rc6,v 1.1 2005/08/08 09:57:05 flameeyes Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/imapd
checkconfig() {
if [ ! -e /etc/courier-imap/imapd ] ; then
eerror "You need an /etc/courier-imap/imapd file to run courier-imapd"
return 1
fi
source /etc/courier-imap/imapd || {
eerror "There are syntax errors in /etc/courier-imap/imapd"
eerror "Please correct them before trying to start imapd"
return 2
}
}
start() {
checkconfig || return 1
ebegin "Starting courier-imapd"
/usr/bin/env - /usr/lib/courier-imap/gentoo-imapd.rc \
--pid=$PIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-imapd"
start-stop-daemon --quiet --stop --pid=$PIDFILE
eend $?
}

View File

@ -0,0 +1,42 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.4-courier-pop3d-ssl.rc6,v 1.1 2005/08/08 09:57:05 flameeyes Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/pop3d-ssl
checkconfig() {
if [ ! -e /etc/courier-imap/pop3d-ssl ] ; then
eerror "You need an /etc/courier-imap/pop3d-ssl file to run courier-pop3d"
return 1
fi
source /etc/courier-imap/pop3d-ssl || {
eerror "There are syntax errors in /etc/courier-imap/pop3d-ssl"
eerror "Please correct them before trying to start pop3d-ssl"
return 3
}
if [ ! -e "${TLS_CERTFILE}" ] ; then
eerror "You need to create a SSL certificate to use POP3 over SSL"
eerror "Edit /etc/courier-imap/pop3d.cnf, then run: mkpop3dcert"
return 2
fi
}
start() {
checkconfig || return 1
ebegin "Starting courier-pop3d over SSL"
/usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d-ssl.rc \
--pidfile $SSLPIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-pop3d over SSL"
start-stop-daemon --quiet --stop --pidfile $SSLPIDFILE
eend $?
}

View File

@ -0,0 +1,37 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.4-courier-pop3d.rc6,v 1.1 2005/08/08 09:57:05 flameeyes Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/pop3d
checkconfig() {
if [ ! -e /etc/courier-imap/pop3d ] ; then
eerror "You need an /etc/courier-imap/pop3d file to run courier-pop3d"
return 1
fi
source /etc/courier-imap/pop3d || {
eerror "There are syntax errors in /etc/courier-imap/pop3d"
eerror "Please correct them before trying to start pop3d"
return 2
}
}
start() {
checkconfig || return 1
ebegin "Starting courier-pop3d"
/usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d.rc \
--pidfile $PIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-pop3d"
start-stop-daemon --quiet --stop --pidfile $PIDFILE
eend $?
}

View File

@ -0,0 +1,10 @@
--- configure.in.orig 2006-12-30 09:28:52.000000000 -0500
+++ configure.in 2007-02-27 12:13:38.000000000 -0500
@@ -16,7 +16,6 @@
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
-AC_PROG_SYSCONFTOOL
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL

View File

@ -0,0 +1,35 @@
--- bdbobj/configure.in.orig 2001-09-18 18:26:28.000000000 -0700
+++ bdbobj/configure.in 2004-08-14 16:15:08.469316646 -0700
@@ -21,15 +21,23 @@
dnl Checks for libraries.
saveLIBS="$LIBS"
-AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ],
- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"],
- AC_CHECK_LIB(db, db_env_create, [ LIBDB=-ldb; LIBS="-ldb $LIBS"])
- ))
-
-FOUND_DB=0
-AC_CHECK_FUNC(dbopen, FOUND_DB=1)
-AC_CHECK_FUNC(db_open, FOUND_DB=1)
-AC_CHECK_FUNC(db_env_create, FOUND_DB=1)
+for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db
+ do
+ AC_CHECK_LIB($dbname, db_create_4004, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4003, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ]))))))
+
+ done
+FOUND_DB=0
+AC_CHECK_FUNC(db_create_4004, FOUND_DB=1)
+AC_CHECK_FUNC(db_create_4003, FOUND_DB=1)
+AC_CHECK_FUNC(db_create_4002, FOUND_DB=1)
+AC_CHECK_FUNC(db_create_4001, FOUND_DB=1)
+AC_CHECK_FUNC(db_create_4000, FOUND_DB=1)
+AC_CHECK_FUNC(db_create, FOUND_DB=1)
LIBS="$saveLIBS"

View File

@ -0,0 +1,34 @@
--- configure.in.orig 2004-11-16 16:02:11.045791896 -0800
+++ configure.in 2004-11-16 16:03:06.743324584 -0800
@@ -150,16 +149,22 @@
if test "$db" != "gdbm"
then
+ for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db
+ do
+ AC_CHECK_LIB($dbname, db_create_4004, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4003, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ]))))))
+ done
+ AC_CHECK_FUNC(db_create_4004, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4003, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4002, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4001, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4000, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create, HAVE_BDB=1)
- AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ],
- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"],
- AC_CHECK_LIB(db, db_env_create,
- [ LIBDB=-ldb; LIBS="-ldb $LIBS"])
- ))
-
- AC_CHECK_FUNC(dbopen, HAVE_BDB=1)
- AC_CHECK_FUNC(db_open, HAVE_BDB=1)
- AC_CHECK_FUNC(db_env_create, HAVE_BDB=1)
fi
LIBS="$saveLIBS"

View File

@ -0,0 +1,11 @@
--- tcpd/configure.in.orig 2007-02-02 17:20:18.000000000 +0100
+++ tcpd/configure.in 2007-02-02 17:20:58.000000000 +0100
@@ -84,7 +84,7 @@
USE_GDBM=0
LIBGDBM=""
dblibrary=../bdbobj/libbdbobj.la
- LIBDB="-Wl,$LIBDB"
+ LIBDB="$LIBDB"
;;
*)
COURIERTCPD=""

View File

@ -0,0 +1,41 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6,v 1.2 2007/04/07 01:08:00 chtekk Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/imapd-ssl
checkconfig() {
if [[ ! -e /etc/courier-imap/imapd-ssl ]] ; then
eerror "You need an /etc/courier-imap/imapd-ssl file to run courier-imapd-ssl"
return 1
fi
source /etc/courier-imap/imapd-ssl || {
eerror "There are syntax errors in /etc/courier-imap/imapd-ssl"
eerror "Please correct them before trying to start courier-imapd-ssl"
return 3
}
if [[ ! -e "${TLS_CERTFILE}" ]] ; then
eerror "You need to create a SSL certificate to use IMAP over SSL"
eerror "Edit /etc/courier-imap/imapd.cnf, then run: mkimapdcert"
return 2
fi
}
start() {
checkconfig || return 1
ebegin "Starting courier-imapd over SSL"
/usr/bin/env - /usr/GENTOO_LIBDIR/courier-imap/gentoo-imapd-ssl.rc --pid=${SSLPIDFILE}
eend $?
}
stop() {
ebegin "Stopping courier-imapd over SSL"
start-stop-daemon --quiet --stop --pid=${SSLPIDFILE}
eend $?
}

View File

@ -0,0 +1,3 @@
#!/bin/bash
XMAILDIR="$1"
exec ${LOGINRUN} /usr/sbin/courier-imapd "${XMAILDIR}"

View File

@ -0,0 +1,36 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6,v 1.2 2007/04/07 01:08:00 chtekk Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/imapd
checkconfig() {
if [[ ! -e /etc/courier-imap/imapd ]] ; then
eerror "You need an /etc/courier-imap/imapd file to run courier-imapd"
return 1
fi
source /etc/courier-imap/imapd || {
eerror "There are syntax errors in /etc/courier-imap/imapd"
eerror "Please correct them before trying to start courier-imapd"
return 2
}
}
start() {
checkconfig || return 1
ebegin "Starting courier-imapd"
/usr/bin/env - /usr/GENTOO_LIBDIR/courier-imap/gentoo-imapd.rc --pid=${PIDFILE}
eend $?
}
stop() {
ebegin "Stopping courier-imapd"
start-stop-daemon --quiet --stop --pid=${PIDFILE}
eend $?
}

View File

@ -0,0 +1,41 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6,v 1.2 2007/04/07 01:08:00 chtekk Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/pop3d-ssl
checkconfig() {
if [[ ! -e /etc/courier-imap/pop3d-ssl ]] ; then
eerror "You need an /etc/courier-imap/pop3d-ssl file to run courier-pop3d-ssl"
return 1
fi
source /etc/courier-imap/pop3d-ssl || {
eerror "There are syntax errors in /etc/courier-imap/pop3d-ssl"
eerror "Please correct them before trying to start courier-pop3d-ssl"
return 3
}
if [[ ! -e "${TLS_CERTFILE}" ]] ; then
eerror "You need to create a SSL certificate to use POP3 over SSL"
eerror "Edit /etc/courier-imap/pop3d.cnf, then run: mkpop3dcert"
return 2
fi
}
start() {
checkconfig || return 1
ebegin "Starting courier-pop3d over SSL"
/usr/bin/env - /usr/GENTOO_LIBDIR/courier-imap/gentoo-pop3d-ssl.rc --pidfile ${SSLPIDFILE}
eend $?
}
stop() {
ebegin "Stopping courier-pop3d over SSL"
start-stop-daemon --quiet --stop --pidfile ${SSLPIDFILE}
eend $?
}

View File

@ -0,0 +1,3 @@
#!/bin/bash
XMAILDIR="$1"
exec ${LOGINRUN} /usr/sbin/courier-pop3d "${XMAILDIR}"

View File

@ -0,0 +1,36 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6,v 1.2 2007/04/07 01:08:00 chtekk Exp $
depend() {
need net courier-authlib
use famd
}
source /etc/courier-imap/pop3d
checkconfig() {
if [[ ! -e /etc/courier-imap/pop3d ]] ; then
eerror "You need an /etc/courier-imap/pop3d file to run courier-pop3d"
return 1
fi
source /etc/courier-imap/pop3d || {
eerror "There are syntax errors in /etc/courier-imap/pop3d"
eerror "Please correct them before trying to start courier-pop3d"
return 2
}
}
start() {
checkconfig || return 1
ebegin "Starting courier-pop3d"
/usr/bin/env - /usr/GENTOO_LIBDIR/courier-imap/gentoo-pop3d.rc --pidfile ${PIDFILE}
eend $?
}
stop() {
ebegin "Stopping courier-pop3d"
start-stop-daemon --quiet --stop --pidfile ${PIDFILE}
eend $?
}

View File

@ -0,0 +1,32 @@
#!/bin/bash
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc,v 1.2 2007/04/07 01:08:00 chtekk Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/GENTOO_LIBDIR/courier-imap
source /etc/courier-imap/imapd
source /etc/courier-imap/imapd-ssl
ulimit -d ${IMAP_ULIMITD}
export IMAP_TLS=1
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval ${PRERUN} ${libexecdir}/couriertcpd \
-address=${SSLADDRESS} \
-stderrlogger=${libexecdir}/courierlogger \
-stderrloggername=imapd-ssl \
-maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \
-pid=${SSLPIDFILE} ${TCPDOPTS} ${SSLPORT} \
${COURIERTLS} -server -tcpd \
${bindir}/imaplogin \
${libexecdir}/courier-imapd.indirect "${MAILDIR}"

View File

@ -0,0 +1,33 @@
#!/bin/bash
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd.rc,v 1.2 2007/04/07 01:08:00 chtekk Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/GENTOO_LIBDIR/courier-imap
source /etc/courier-imap/imapd-ssl
source /etc/courier-imap/imapd
ulimit -d ${IMAP_ULIMITD}
IMAP_STARTTLS="${IMAPDSTARTTLS}"
export IMAPDSTARTTLS IMAP_STARTTLS
TLS_PROTOCOL="${TLS_STARTTLS_PROTOCOL}"
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval ${PRERUN} ${libexecdir}/couriertcpd \
-address=${ADDRESS} \
-stderrlogger=${libexecdir}/courierlogger \
-stderrloggername=imapd \
-maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \
-pid=${PIDFILE} ${TCPDOPTS} ${PORT} \
${bindir}/imaplogin \
${libexecdir}/courier-imapd.indirect "${MAILDIR}"

View File

@ -0,0 +1,30 @@
#!/bin/bash
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d-ssl.rc,v 1.2 2007/04/07 01:08:00 chtekk Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/GENTOO_LIBDIR/courier-imap
source /etc/courier-imap/pop3d
source /etc/courier-imap/pop3d-ssl
export POP3_TLS=1
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval ${PRERUN} ${libexecdir}/couriertcpd \
-address=${SSLADDRESS} \
-stderrlogger=${libexecdir}/courierlogger \
-stderrloggername=pop3d-ssl \
-maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \
-pid=${SSLPIDFILE} ${TCPDOPTS} ${SSLPORT} \
${COURIERTLS} -server -tcpd \
${bindir}/pop3login \
${libexecdir}/courier-pop3d.indirect "${MAILDIR}"

View File

@ -0,0 +1,31 @@
#!/bin/bash
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d.rc,v 1.2 2007/04/07 01:08:00 chtekk Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/GENTOO_LIBDIR/courier-imap
source /etc/courier-imap/pop3d-ssl
source /etc/courier-imap/pop3d
POP3DSTARTTLS="${POP3_STARTTLS}"
export POP3_STARTTLS POP3DSTARTTLS
TLS_PROTOCOL="${TLS_STARTTLS_PROTOCOL}"
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval ${PRERUN} ${libexecdir}/couriertcpd \
-address=${ADDRESS} \
-stderrlogger=${libexecdir}/courierlogger \
-stderrloggername=pop3d \
-maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \
-pid=${PIDFILE} ${TCPDOPTS} ${PORT} \
${bindir}/pop3login \
${libexecdir}/courier-pop3d.indirect "${MAILDIR}"

View File

@ -0,0 +1,12 @@
Index: courier-imap-4.1.2/gdbmobj/Makefile.am
===================================================================
--- courier-imap-4.1.2.orig/gdbmobj/Makefile.am
+++ courier-imap-4.1.2/gdbmobj/Makefile.am
@@ -15,6 +15,7 @@ noinst_LTLIBRARIES=libgdbmobj.la
noinst_PROGRAMS=testgdbm
libgdbmobj_la_SOURCES=$(LIBGDBMSOURCES)
+libgdbmobj_la_LIBADD=@LIBGDBM@
testgdbm_SOURCES=$(TESTGDBMSOURCES)

View File

@ -0,0 +1,75 @@
// This quick guide is for mysql authentication support base on the Gentoo Virtual Mailhosting Guide
// turn ON mysql USE flag for courier-authlib. Need to authenticate against mysql database backend.
localhost ~ # nano -w /etc/portage/package.use
net-libs/courier-authlib mysql
net-mail/courier-imap mysql
localhost ~ # emerge courier-imap
// limit to mysql module only, instead load all of them.
localhost ~ # nano -w /etc/courier/authlib/authdaemonrc
authmodulelist="authmysql"
// set variables to match your setup.
localhost ~ # nano -w /etc/courier/authlib/authmysqlrc
MYSQL_SERVER localhost
MYSQL_USERNAME mailsql_admin_username
MYSQL_PASSWORD password
MYSQL_DATABASE mailsql_database
MYSQL_USER_TABLE users
# MYSQL_CRYPT_PWFIELD crypt (commented this out if you want CRAM-MD5)
MYSQL_CLEAR_PWFIELD clear
MYSQL_LOGIN_FIELD email
MYSQL_HOME_FIELD homedir
MYSQL_MAILDIR_FIELD maildir
// Start authdaemond
localhost ~ # etc/init.d/courier-authlib start
* Starting courier-authlib: authdaemond ... [ ok ]
### Courier-IMAP' ssl certificate setup
localhost ~ # nano -w /etc/courier-imap/imapd.cnf
localhost ~ # nano -w /etc/courier-imap/pop3.cnf
// change to match your site.
[ req_dn ]
C=US
ST=NY
L=New York
O=Courier Mail Server
OU=Automatically-generated IMAP SSL key
CN=mailhost.example.com
emailAddress=postmaster@example.com
// Generate Certificate
localhost ~ # mkimapdcert
...
writing new private key to '/etc/courier-imap/imapd.pem'
...
localhost ~ # mkpop3dcert
...
writing new private key to '/etc/courier-imap/pop3d.pem'
...
### Secure Authentication Setup (CRAM-MD5)
localhost ~ # nano -w /etc/courier-imap/imapd
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=CRAM-MD5"
### Start Courier-imap daemons.
localhost ~ # /etc/init.d/courier-pop3d start
localhost ~ # /etc/init.d/courier-pop3d-ssl start
localhost ~ # /etc/init.d/courier-imapd start
localhost ~ # /etc/init.d/courier-imapd-ssl start
### Checking authentication.
// From your favorite client send an email to user@your_domain.com
// so your mail user's maildir created by your MTA.
// you can not login unless user maildir has been created.
localhost ~ $ telnet mailexample.com 143
Trying xxx.xxx.xxx.xxx...
Connected to mail.example.com (xxx.xxx.xxx.xxx).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=CRAM-MD5 ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
a login user@example.com password
a OK LOGIN Ok.
OK LOGOUT completed
Connection closed by foreign host.
### That's all folks.

View File

@ -0,0 +1,42 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imapd-ssl.rc6-3.0.5,v 1.1 2004/06/26 23:30:58 robbat2 Exp $
depend() {
need net authdaemond
use famd
}
source /etc/courier-imap/imapd-ssl
checkconfig() {
if [ ! -e /etc/courier-imap/imapd-ssl ] ; then
eerror "You need an /etc/courier-imap/imapd-ssl file to run courier-imapd"
return 1
fi
source /etc/courier-imap/imapd-ssl || {
eerror "There are syntax errors in /etc/courier-imap/imapd-ssl"
eerror "Please correct them before trying to start imapd-ssl"
return 3
}
if [ ! -e "${TLS_CERTFILE}" ] ; then
eerror "You need to create a SSL certificate to use IMAP over SSL"
eerror "Edit /etc/courier-imap/imapd.cnf, then run: mkimapdcert"
return 2
fi
}
start() {
checkconfig || return 1
ebegin "Starting courier-imapd over SSL"
start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-imapd-ssl.rc \
--pid=$SSLPIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-imapd over SSL"
start-stop-daemon --quiet --stop --pid=$SSLPIDFILE
eend $?
}

View File

@ -0,0 +1,37 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imapd.rc6,v 1.6 2004/06/26 23:30:58 robbat2 Exp $
depend() {
need net authdaemond
use famd
}
source /etc/courier-imap/imapd
checkconfig() {
if [ ! -e /etc/courier-imap/imapd ] ; then
eerror "You need an /etc/courier-imap/imapd file to run courier-imapd"
return 1
fi
source /etc/courier-imap/imapd || {
eerror "There are syntax errors in /etc/courier-imap/imapd"
eerror "Please correct them before trying to start imapd"
return 2
}
}
start() {
checkconfig || return 1
ebegin "Starting courier-imapd"
start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-imapd.rc \
--pid=$PIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-imapd"
start-stop-daemon --quiet --stop --pid=$PIDFILE
eend $?
}

View File

@ -0,0 +1,42 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-pop3d-ssl.rc6-3.0.5,v 1.1 2004/06/26 23:30:58 robbat2 Exp $
depend() {
need net authdaemond
use famd
}
source /etc/courier-imap/pop3d-ssl
checkconfig() {
if [ ! -e /etc/courier-imap/pop3d-ssl ] ; then
eerror "You need an /etc/courier-imap/pop3d-ssl file to run courier-pop3d"
return 1
fi
source /etc/courier-imap/pop3d-ssl || {
eerror "There are syntax errors in /etc/courier-imap/pop3d-ssl"
eerror "Please correct them before trying to start pop3d-ssl"
return 3
}
if [ ! -e "${TLS_CERTFILE}" ] ; then
eerror "You need to create a SSL certificate to use POP3 over SSL"
eerror "Edit /etc/courier-imap/pop3d.cnf, then run: mkpop3dcert"
return 2
fi
}
start() {
checkconfig || return 1
ebegin "Starting courier-pop3d over SSL"
start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d-ssl.rc \
--pidfile $SSLPIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-pop3d over SSL"
start-stop-daemon --quiet --stop --pidfile $SSLPIDFILE
eend $?
}

View File

@ -0,0 +1,37 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-pop3d.rc6,v 1.6 2004/06/26 23:30:58 robbat2 Exp $
depend() {
need net authdaemond
use famd
}
source /etc/courier-imap/pop3d
checkconfig() {
if [ ! -e /etc/courier-imap/pop3d ] ; then
eerror "You need an /etc/courier-imap/pop3d file to run courier-pop3d"
return 1
fi
source /etc/courier-imap/pop3d || {
eerror "There are syntax errors in /etc/courier-imap/pop3d"
eerror "Please correct them before trying to start pop3d"
return 2
}
}
start() {
checkconfig || return 1
ebegin "Starting courier-pop3d"
start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d.rc \
--pidfile $PIDFILE
eend $?
}
stop() {
ebegin "Stopping courier-pop3d"
start-stop-daemon --quiet --stop --pidfile $PIDFILE
eend $?
}

View File

@ -0,0 +1,37 @@
#!/bin/bash
# $Id: gentoo-imapd-1.7.3-r1.rc,v 1.2 2004/06/26 23:30:58 robbat2 Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/imapd-ssl
source /etc/courier-imap/imapd
LIBAUTHMODULES=""
for f in `echo $AUTHMODULES`
do
LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
done
ulimit -d $IMAP_ULIMITD
IMAP_STARTTLS="$IMAPDSTARTTLS"
export IMAPDSTARTTLS IMAP_STARTTLS
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=imapd \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/imaplogin $LIBAUTHMODULES \
/usr/sbin/courier-imapd ${MAILDIR}

View File

@ -0,0 +1,36 @@
#!/bin/bash
# $Id: gentoo-imapd-ssl-1.7.3-r1.rc,v 1.2 2004/06/26 23:30:58 robbat2 Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/imapd
source /etc/courier-imap/imapd-ssl
LIBAUTHMODULES=""
for f in `echo $AUTHMODULES`
do
LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
done
ulimit -d $IMAP_ULIMITD
export IMAP_TLS=1
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$SSLADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=imapd-ssl \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$SSLPIDFILE $TCPDOPTS \
$SSLPORT $COURIERTLS -server -tcpd \
${exec_prefix}/sbin/imaplogin $LIBAUTHMODULES \
/usr/sbin/courier-imapd ${MAILDIR}

View File

@ -0,0 +1,35 @@
#!/bin/bash
# $Id: gentoo-pop3d-1.7.3-r1.rc,v 1.2 2004/06/26 23:30:58 robbat2 Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/pop3d-ssl
source /etc/courier-imap/pop3d
LIBAUTHMODULES=""
for f in `echo $AUTHMODULES`
do
LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
done
export POP3DSTARTTLS=$POP3_STARTTLS
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=pop3d \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/pop3login $LIBAUTHMODULES \
/usr/sbin/courier-pop3d ${MAILDIR}

View File

@ -0,0 +1,35 @@
#!/bin/bash
# $Id: gentoo-pop3d-ssl-1.7.3-r1.rc,v 1.2 2004/06/26 23:30:58 robbat2 Exp $
#
# Copyright 1998 - 2000 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
bindir=/usr/sbin
libexecdir=/usr/lib/courier-imap
source /etc/courier-imap/pop3d
source /etc/courier-imap/pop3d-ssl
LIBAUTHMODULES=""
for f in `echo $AUTHMODULES`
do
LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
done
export POP3_TLS=1
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
sed 's/=.*//;s/^/export /;s/$/;/'`
eval $PRERUN \
/usr/lib/courier-imap/couriertcpd -address=$SSLADDRESS \
-stderrlogger=/usr/lib/courier-imap/courierlogger \
-stderrloggername=pop3d-ssl \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$SSLPIDFILE $TCPDOPTS \
$SSLPORT $COURIERTLS -server -tcpd \
${exec_prefix}/sbin/pop3login $LIBAUTHMODULES \
/usr/sbin/courier-pop3d ${MAILDIR}

View File

@ -0,0 +1,39 @@
#! /bin/sh
#
# mkimapdcert,v 1.1 2001/01/02 03:54:25 drobbins Exp
#
# Copyright 2000 Double Precision, Inc. See COPYING for
# distribution information.
#
# This is a short script to quickly generate a self-signed X.509 key for
# IMAP over SSL. Normally this script would get called by an automatic
# package installation routine.
test -x /usr/bin/openssl || exit 0
prefix="/usr"
pemfile="/etc/courier-imap/imapd.pem"
randfile="/etc/courier-imap/imapd.rand"
if test -f $pemfile
then
echo "$pemfile already exists."
exit 1
fi
cp /dev/null $pemfile
chmod 600 $pemfile
chown root $pemfile
cleanup() {
rm -f $pemfile
rm -f $randfile
exit 1
}
dd if=/dev/urandom of=$randfile count=1 2>/dev/null
/usr/bin/openssl req -new -x509 -days 365 -nodes \
-config /etc/courier-imap/imapd.cnf -out $pemfile -keyout $pemfile || cleanup
/usr/bin/openssl gendh -rand $randfile 512 >> $pemfile || cleanup
/usr/bin/openssl x509 -subject -dates -fingerprint -noout -in $pemfile || cleanup
rm -f $randfile

View File

@ -0,0 +1,39 @@
#! /bin/sh
#
# mkimapdcert,v 1.1 2001/01/02 03:54:25 drobbins Exp
#
# Copyright 2000 Double Precision, Inc. See COPYING for
# distribution information.
#
# This is a short script to quickly generate a self-signed X.509 key for
# IMAP over SSL. Normally this script would get called by an automatic
# package installation routine.
test -x /usr/bin/openssl || exit 0
prefix="/usr"
pemfile="/etc/courier-imap/pop3d.pem"
randfile="/etc/courier-imap/pop3d.rand"
if test -f $pemfile
then
echo "$pemfile already exists."
exit 1
fi
cp /dev/null $pemfile
chmod 600 $pemfile
chown root $pemfile
cleanup() {
rm -f $pemfile
rm -f $randfile
exit 1
}
dd if=/dev/urandom of=$randfile count=1 2>/dev/null
/usr/bin/openssl req -new -x509 -days 365 -nodes \
-config /etc/courier-imap/pop3d.cnf -out $pemfile -keyout $pemfile || cleanup
/usr/bin/openssl gendh -rand $randfile 512 >> $pemfile || cleanup
/usr/bin/openssl x509 -subject -dates -fingerprint -noout -in $pemfile || cleanup
rm -f $randfile

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-mail</herd>
<maintainer>
<email>chutzpah@gentoo.org</email>
<name>Patrick McLean</name>
</maintainer>
</pkgmetadata>