summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2005-03-07 10:37:57 +0000
committerMasatomo Nakano <nakano@gentoo.org>2005-03-07 10:37:57 +0000
commit6c42bf136a7f3e6c6b49c3c8835303fef9bbe23d (patch)
tree6e4564c237231dba0b606e5231bd5ca83502b09a /net-mail/bincimap
parentVersion bump for bug 84344; Marked 1.8 stable on x86. Tidy old crusty ebuilds... (diff)
downloadgentoo-2-6c42bf136a7f3e6c6b49c3c8835303fef9bbe23d.tar.gz
gentoo-2-6c42bf136a7f3e6c6b49c3c8835303fef9bbe23d.tar.bz2
gentoo-2-6c42bf136a7f3e6c6b49c3c8835303fef9bbe23d.zip
version bump.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-mail/bincimap')
-rw-r--r--net-mail/bincimap/ChangeLog9
-rw-r--r--net-mail/bincimap/Manifest6
-rw-r--r--net-mail/bincimap/bincimap-1.2.12.ebuild86
-rw-r--r--net-mail/bincimap/files/bincimap-1.2.12-gentoo.diff32
-rw-r--r--net-mail/bincimap/files/digest-bincimap-1.2.121
5 files changed, 131 insertions, 3 deletions
diff --git a/net-mail/bincimap/ChangeLog b/net-mail/bincimap/ChangeLog
index 133ca4332f28..9a7bc2470a8f 100644
--- a/net-mail/bincimap/ChangeLog
+++ b/net-mail/bincimap/ChangeLog
@@ -1,6 +1,13 @@
# 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.36 2005/03/03 18:30:53 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.37 2005/03/07 10:37:57 nakano Exp $
+
+*bincimap-1.2.12 (07 Mar 2005)
+
+ 07 Mar 2005; Masatomo Nakano <nakano@gentoo.org>
+ +bincimap-1.2.12final.tar.bz2, +files/bincimap-1.2.12-gentoo.diff,
+ +bincimap-1.2.12.ebuild:
+ Version bump
03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> bincimap-1.3.3.ebuild:
Dependency update: sys-apps/daemontools -> sys-process/daemontools.
diff --git a/net-mail/bincimap/Manifest b/net-mail/bincimap/Manifest
index 8966dca4ee12..0cfd93fe2254 100644
--- a/net-mail/bincimap/Manifest
+++ b/net-mail/bincimap/Manifest
@@ -1,8 +1,10 @@
-MD5 37898df971c139f90274ab49f0a2933d bincimap-1.2.11.ebuild 2472
+MD5 cb101d89044d5caddbff8e5a573de796 bincimap-1.2.12.ebuild 2474
MD5 d013112779ac15d2668a1600d1a288fb bincimap-1.3.3.ebuild 2485
+MD5 37898df971c139f90274ab49f0a2933d bincimap-1.2.11.ebuild 2472
MD5 c750f81cc7fc1176ec3b36944acd19b2 ChangeLog 5148
MD5 38f7e7e07cecf943cd078f4aef09fef1 metadata.xml 250
+MD5 230a55e445e34df5d6e2a6490c7299ab files/bincimap-1.2.11-gentoo.diff 1438
MD5 d8c88c84a2f78e0b4c9f75fafd55ad67 files/digest-bincimap-1.3.3 67
MD5 af00923cce29873b8a3f34754b076780 files/bincimap-1.3.3-gentoo.diff 6685
-MD5 230a55e445e34df5d6e2a6490c7299ab files/bincimap-1.2.11-gentoo.diff 1438
MD5 a3bc5fc2d0b58833aadbe6e1d6daf76a files/digest-bincimap-1.2.11 73
+MD5 d9ef4d9cbf23c56c11955021d92c2401 files/digest-bincimap-1.2.12 73
diff --git a/net-mail/bincimap/bincimap-1.2.12.ebuild b/net-mail/bincimap/bincimap-1.2.12.ebuild
new file mode 100644
index 000000000000..6f77ffebe43a
--- /dev/null
+++ b/net-mail/bincimap/bincimap-1.2.12.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.12.ebuild,v 1.1 2005/03/07 10:37:57 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-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.12-gentoo.diff b/net-mail/bincimap/files/bincimap-1.2.12-gentoo.diff
new file mode 100644
index 000000000000..32841b1cfa88
--- /dev/null
+++ b/net-mail/bincimap/files/bincimap-1.2.12-gentoo.diff
@@ -0,0 +1,32 @@
+diff -Naru bincimap-1.2.11final.org/conf/bincimap.conf bincimap-1.2.11final/conf/bincimap.conf
+--- bincimap-1.2.11final.org/conf/bincimap.conf 2004-04-18 20:23:28.000000000 +0100
++++ bincimap-1.2.11final/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.11final.org/service/log/run-ssl.in bincimap-1.2.11final/service/log/run-ssl.in
+--- bincimap-1.2.11final.org/service/log/run-ssl.in 2004-03-02 20:16:02.000000000 +0000
++++ bincimap-1.2.11final/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.11final.org/service/log/run.in bincimap-1.2.11final/service/log/run.in
+--- bincimap-1.2.11final.org/service/log/run.in 2004-03-02 20:16:02.000000000 +0000
++++ bincimap-1.2.11final/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.12 b/net-mail/bincimap/files/digest-bincimap-1.2.12
new file mode 100644
index 000000000000..2e9b6e7142aa
--- /dev/null
+++ b/net-mail/bincimap/files/digest-bincimap-1.2.12
@@ -0,0 +1 @@
+MD5 ed40f8b5e560c0fd22fbbf346df1ee94 bincimap-1.2.12final.tar.bz2 415731