summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2005-07-22 23:26:19 +0000
committerMasatomo Nakano <nakano@gentoo.org>2005-07-22 23:26:19 +0000
commitbd45669044140ddd1b3fc09f4af4575cd7113dad (patch)
treea6e21b109089a94be1de16725fc2bc5708f5ea34 /net-mail/bincimap
parentMultilib: /usr/lib -> /usr/$(get_libdir). (diff)
downloadgentoo-2-bd45669044140ddd1b3fc09f4af4575cd7113dad.tar.gz
gentoo-2-bd45669044140ddd1b3fc09f4af4575cd7113dad.tar.bz2
gentoo-2-bd45669044140ddd1b3fc09f4af4575cd7113dad.zip
version bump.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-mail/bincimap')
-rw-r--r--net-mail/bincimap/ChangeLog8
-rw-r--r--net-mail/bincimap/Manifest3
-rw-r--r--net-mail/bincimap/bincimap-1.2.13.ebuild86
-rw-r--r--net-mail/bincimap/files/bincimap-1.2.13-gentoo.diff32
-rw-r--r--net-mail/bincimap/files/digest-bincimap-1.2.131
5 files changed, 129 insertions, 1 deletions
diff --git a/net-mail/bincimap/ChangeLog b/net-mail/bincimap/ChangeLog
index 208ceb1d0cd3..9548d489c01c 100644
--- a/net-mail/bincimap/ChangeLog
+++ b/net-mail/bincimap/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/bincimap
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.39 2005/06/15 19:45:13 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.40 2005/07/22 23:26:19 nakano Exp $
+
+*bincimap-1.2.13 (22 Jul 2005)
+
+ 22 Jul 2005; Masatomo Nakano <nakano@gentoo.org>
+ +files/bincimap-1.2.13-gentoo.diff, +bincimap-1.2.13.ebuild:
+ Version bump.
15 Jun 2005; Masatomo Nakano <nakano@gentoo.org> bincimap-1.2.12.ebuild:
Marked stable on x86.
diff --git a/net-mail/bincimap/Manifest b/net-mail/bincimap/Manifest
index 0611c1264195..5bb6063775c1 100644
--- a/net-mail/bincimap/Manifest
+++ b/net-mail/bincimap/Manifest
@@ -1,3 +1,4 @@
+MD5 afb5414dffc24b7ca5f65ca839b42b42 bincimap-1.2.13.ebuild 2479
MD5 dca0d4ac74143bf3046d224a12065768 bincimap-1.2.12.ebuild 2478
MD5 d013112779ac15d2668a1600d1a288fb bincimap-1.3.3.ebuild 2485
MD5 37898df971c139f90274ab49f0a2933d bincimap-1.2.11.ebuild 2472
@@ -7,5 +8,7 @@ MD5 230a55e445e34df5d6e2a6490c7299ab files/bincimap-1.2.11-gentoo.diff 1438
MD5 d8c88c84a2f78e0b4c9f75fafd55ad67 files/digest-bincimap-1.3.3 67
MD5 230a55e445e34df5d6e2a6490c7299ab files/bincimap-1.2.12-gentoo.diff 1438
MD5 af00923cce29873b8a3f34754b076780 files/bincimap-1.3.3-gentoo.diff 6685
+MD5 11f700e7192389081497c8fa385c675b files/bincimap-1.2.13-gentoo.diff 1438
MD5 a3bc5fc2d0b58833aadbe6e1d6daf76a files/digest-bincimap-1.2.11 73
MD5 d9ef4d9cbf23c56c11955021d92c2401 files/digest-bincimap-1.2.12 73
+MD5 8c1e086f79bc2f52d7bd4a0608e26789 files/digest-bincimap-1.2.13 73
diff --git a/net-mail/bincimap/bincimap-1.2.13.ebuild b/net-mail/bincimap/bincimap-1.2.13.ebuild
new file mode 100644
index 000000000000..53b5d00cd675
--- /dev/null
+++ b/net-mail/bincimap/bincimap-1.2.13.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/bincimap-1.2.13.ebuild,v 1.1 2005/07/22 23:26:19 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 ~hppa"
+IUSE="ssl"
+
+DEPEND="virtual/libc
+ ssl? ( dev-libs/openssl )"
+
+RDEPEND="${DEPEND}
+ sys-process/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.13-gentoo.diff b/net-mail/bincimap/files/bincimap-1.2.13-gentoo.diff
new file mode 100644
index 000000000000..d969622ab85f
--- /dev/null
+++ b/net-mail/bincimap/files/bincimap-1.2.13-gentoo.diff
@@ -0,0 +1,32 @@
+diff -Naru bincimap-1.2.13final.org/conf/bincimap.conf bincimap-1.2.13final/conf/bincimap.conf
+--- bincimap-1.2.13final.org/conf/bincimap.conf 2004-04-18 20:23:28.000000000 +0100
++++ bincimap-1.2.13final/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.13final.org/service/log/run-ssl.in bincimap-1.2.13final/service/log/run-ssl.in
+--- bincimap-1.2.13final.org/service/log/run-ssl.in 2004-03-02 20:16:02.000000000 +0000
++++ bincimap-1.2.13final/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.13final.org/service/log/run.in bincimap-1.2.13final/service/log/run.in
+--- bincimap-1.2.13final.org/service/log/run.in 2004-03-02 20:16:02.000000000 +0000
++++ bincimap-1.2.13final/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.13 b/net-mail/bincimap/files/digest-bincimap-1.2.13
new file mode 100644
index 000000000000..a98f14b1a8e8
--- /dev/null
+++ b/net-mail/bincimap/files/digest-bincimap-1.2.13
@@ -0,0 +1 @@
+MD5 6d64d556eb3b786ad727e250f884a432 bincimap-1.2.13final.tar.bz2 416152