summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2004-09-20 20:12:32 +0000
committerMasatomo Nakano <nakano@gentoo.org>2004-09-20 20:12:32 +0000
commitcd6081be29544dce3418605ac8550c5baed4ef52 (patch)
tree4b11faaeb774e8f2c395a2d1a2dfd23bcb62e4ef /net-mail
parentadded a small fix for building with uclibc, and removed expect as a dep (diff)
downloadhistorical-cd6081be29544dce3418605ac8550c5baed4ef52.tar.gz
historical-cd6081be29544dce3418605ac8550c5baed4ef52.tar.bz2
historical-cd6081be29544dce3418605ac8550c5baed4ef52.zip
version bump
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/bincimap/ChangeLog8
-rw-r--r--net-mail/bincimap/Manifest5
-rw-r--r--net-mail/bincimap/bincimap-1.2.10.ebuild86
-rw-r--r--net-mail/bincimap/files/bincimap-1.2.10-gentoo.diff32
-rw-r--r--net-mail/bincimap/files/digest-bincimap-1.2.101
5 files changed, 130 insertions, 2 deletions
diff --git a/net-mail/bincimap/ChangeLog b/net-mail/bincimap/ChangeLog
index 1815a72cb66c..4fccf34a6da4 100644
--- a/net-mail/bincimap/ChangeLog
+++ b/net-mail/bincimap/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/bincimap
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.25 2004/08/22 02:30:47 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.26 2004/09/20 20:12:32 nakano Exp $
+
+*bincimap-1.2.10 (20 Sep 2004)
+
+ 20 Sep 2004; Masatomo Nakano <nakano@gentoo.org>
+ +files/bincimap-1.2.10-gentoo.diff, +bincimap-1.2.10.ebuild:
+ Version bump.
22 Aug 2004; Masatomo Nakano <nakano@gentoo.org> bincimap-1.2.9.ebuild:
Marked stable on x86.
diff --git a/net-mail/bincimap/Manifest b/net-mail/bincimap/Manifest
index 454102b8df86..00db495aa2bd 100644
--- a/net-mail/bincimap/Manifest
+++ b/net-mail/bincimap/Manifest
@@ -1,8 +1,11 @@
MD5 d1fdadf92f428c908916d743e39e12b7 bincimap-1.2.9.ebuild 2468
+MD5 ec5ff9eacadc515d4021200116c16777 bincimap-1.2.10.ebuild 2470
MD5 50bf63631ac58ce61ffbf79715129207 bincimap-1.2.8.ebuild 2471
-MD5 195c0789b3e46cc3b41ab8e308f69ccd ChangeLog 3622
+MD5 5975cce8e26a77810641ecefa82439c4 ChangeLog 3785
MD5 38f7e7e07cecf943cd078f4aef09fef1 metadata.xml 250
MD5 e3ea45f8264cbffd139c68609947ad35 files/digest-bincimap-1.2.8 72
MD5 bcca3e038e0e6e906cce64748ceacaae files/digest-bincimap-1.2.9 72
MD5 56784c856803c71ea3d91e738b08a115 files/bincimap-1.2.8-gentoo.diff 1426
MD5 56784c856803c71ea3d91e738b08a115 files/bincimap-1.2.9-gentoo.diff 1426
+MD5 38fa3acb6f2128b825f1ef671b9c3349 files/digest-bincimap-1.2.10 73
+MD5 56784c856803c71ea3d91e738b08a115 files/bincimap-1.2.10-gentoo.diff 1426
diff --git a/net-mail/bincimap/bincimap-1.2.10.ebuild b/net-mail/bincimap/bincimap-1.2.10.ebuild
new file mode 100644
index 000000000000..9b62934605f4
--- /dev/null
+++ b/net-mail/bincimap/bincimap-1.2.10.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/bincimap-1.2.10.ebuild,v 1.1 2004/09/20 20:12:32 nakano Exp $
+
+inherit eutils
+
+DESCRIPTION="IMAP server for Maildir"
+SRC_URI="http://www.bincimap.org/dl/tarballs/1.2/${P}final.tar.bz2"
+HOMEPAGE="http://www.bincimap.org/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="ssl"
+
+DEPEND="virtual/libc
+ ssl? ( dev-libs/openssl )"
+
+RDEPEND="${DEPEND}
+ sys-apps/daemontools
+ sys-apps/ucspi-tcp
+ net-mail/checkpassword"
+
+PROVIDE="virtual/imapd"
+
+S="${WORKDIR}/${P}final"
+
+src_compile() {
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+ econf `use_enable ssl ssl` --sysconfdir=/etc/bincimap || die
+ emake localstatedir=/etc/bincimap || die
+}
+
+src_install () {
+ cd ${S}
+ make DESTDIR=${D} localstatedir=/etc/bincimap prefix=/usr install || die
+ keepdir /var/log/bincimap || die
+ if use ssl; then
+ keepdir /var/log/bincimap-ssl || die
+ fi
+
+ dodoc AUTHORS COPYING COPYING.OpenSSL ChangeLog INSTALL \
+ NEWS README README.SSL TODO
+
+ # backward compatibility
+ dosym /etc/bincimap/service/bincimap /etc/bincimap/service/imap
+ dosym /etc/bincimap/service/bincimaps /etc/bincimap/service/imaps
+}
+
+pkg_postinst() {
+ einfo "To start bicimap at boot you have to enable the /etc/init.d/svscan rc file"
+ einfo "and create the following link:"
+ einfo "ln -s /etc/bincimap/service/bincimap /service/bincimap"
+ einfo ""
+
+ if use ssl; then
+ einfo "If you want to use ssl connections, create the following link: "
+ einfo "ln -s /etc/bincimap/service/bincimaps /service/bincimaps"
+ einfo ""
+ einfo "And this command will setup bincimap-ssl on your system."
+ einfo "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
+ einfo ""
+ fi
+
+ einfo "NOTE: Default Maildir path is '~/.maildir'. If you want to modify it, "
+ einfo "edit /etc/bincimap/bincimap.conf"
+ einfo ""
+}
+
+pkg_config() {
+ if use ssl; then
+ local pemfile=/etc/bincimap/bincimap.pem
+ if [ ! -f $pemfile ]; then
+ echo "Creating a self-signed ssl-cert:"
+ /usr/bin/openssl req -new -x509 -nodes -out $pemfile -days 366 -keyout $pemfile
+ chmod 640 $pemfile
+
+ einfo "If You want to have a signed cert, do the following:"
+ einfo "openssl req -new -nodes -out req.pem \\"
+ einfo "-keyout $pemfile"
+ einfo "chmod 640 $pemfile"
+ einfo "Send req.pem to your CA to obtain signed_req.pem, and do:"
+ einfo "cat signed_req.pem >> $pemfile"
+ fi
+ fi
+}
diff --git a/net-mail/bincimap/files/bincimap-1.2.10-gentoo.diff b/net-mail/bincimap/files/bincimap-1.2.10-gentoo.diff
new file mode 100644
index 000000000000..717092eb17d1
--- /dev/null
+++ b/net-mail/bincimap/files/bincimap-1.2.10-gentoo.diff
@@ -0,0 +1,32 @@
+diff -Naru bincimap-1.2.7final.org/conf/bincimap.conf bincimap-1.2.7final/conf/bincimap.conf
+--- bincimap-1.2.7final.org/conf/bincimap.conf 2004-04-18 20:23:28.000000000 +0100
++++ bincimap-1.2.7final/conf/bincimap.conf 2004-04-24 13:53:10.011618795 +0100
+@@ -56,7 +56,7 @@
+ type = "Maildir", /* only Maildir
+ * support */
+
+- path = "Maildir", /* default path */
++ path = ".maildir", /* default path */
+
+ auto create inbox = "yes", /* create INBOX in
+ * given format if
+diff -Naru bincimap-1.2.7final.org/service/log/run-ssl.in bincimap-1.2.7final/service/log/run-ssl.in
+--- bincimap-1.2.7final.org/service/log/run-ssl.in 2004-03-02 20:16:02.000000000 +0000
++++ bincimap-1.2.7final/service/log/run-ssl.in 2004-04-24 13:52:30.562843106 +0100
+@@ -14,5 +14,5 @@
+
+ exec 2>&1
+
+-exec multilog t n5 s1048576 @localstatedir@/log/bincimap-ssl
++exec multilog t n5 s1048576 /var/log/bincimap-ssl
+
+diff -Naru bincimap-1.2.7final.org/service/log/run.in bincimap-1.2.7final/service/log/run.in
+--- bincimap-1.2.7final.org/service/log/run.in 2004-03-02 20:16:02.000000000 +0000
++++ bincimap-1.2.7final/service/log/run.in 2004-04-24 13:52:37.988613029 +0100
+@@ -14,5 +14,5 @@
+
+ exec 2>&1
+
+-exec multilog t n5 s1048576 @localstatedir@/log/bincimap
++exec multilog t n5 s1048576 /var/log/bincimap
+
diff --git a/net-mail/bincimap/files/digest-bincimap-1.2.10 b/net-mail/bincimap/files/digest-bincimap-1.2.10
new file mode 100644
index 000000000000..237a9b66a5ca
--- /dev/null
+++ b/net-mail/bincimap/files/digest-bincimap-1.2.10
@@ -0,0 +1 @@
+MD5 c33f8ae5018c4d3166f52190c270cddc bincimap-1.2.10final.tar.bz2 412289