summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2004-12-13 17:01:22 +0000
committerMasatomo Nakano <nakano@gentoo.org>2004-12-13 17:01:22 +0000
commit045d78a4fa7c44a304202f8adc256113afe33bfb (patch)
tree3f0a943ad58561a1a50021696af41eed2a0fdaf6 /net-mail
parentmore KEYWORDS since someone forgot to (diff)
downloadhistorical-045d78a4fa7c44a304202f8adc256113afe33bfb.tar.gz
historical-045d78a4fa7c44a304202f8adc256113afe33bfb.tar.bz2
historical-045d78a4fa7c44a304202f8adc256113afe33bfb.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.11.ebuild86
-rw-r--r--net-mail/bincimap/files/bincimap-1.2.11-gentoo.diff32
-rw-r--r--net-mail/bincimap/files/digest-bincimap-1.2.111
5 files changed, 130 insertions, 2 deletions
diff --git a/net-mail/bincimap/ChangeLog b/net-mail/bincimap/ChangeLog
index 59245998c9b1..514bbe4c4cf5 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.29 2004/11/29 01:53:24 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.30 2004/12/13 17:01:22 nakano Exp $
+
+*bincimap-1.2.11 (13 Dec 2004)
+
+ 13 Dec 2004; Masatomo Nakano <nakano@gentoo.org>
+ +files/bincimap-1.2.11-gentoo.diff, +bincimap-1.2.11.ebuild:
+ Version bump.
*bincimap-1.3.3 (29 Nov 2004)
diff --git a/net-mail/bincimap/Manifest b/net-mail/bincimap/Manifest
index 6aaa2018aa4b..930daf8ed067 100644
--- a/net-mail/bincimap/Manifest
+++ b/net-mail/bincimap/Manifest
@@ -1,11 +1,14 @@
MD5 f544545742a19b84f06be29d675ca567 bincimap-1.2.9.ebuild 2469
MD5 320968f1786c7719efac6be654e6d936 bincimap-1.2.10.ebuild 2469
MD5 45c034017c94e787dd190b1d261e2e87 bincimap-1.3.3.ebuild 2481
-MD5 4a1c4791180a2bfb2c09aa74877a042a ChangeLog 4202
+MD5 10f45ee0591e8adb43381a6ee2ab0033 bincimap-1.2.11.ebuild 2470
+MD5 a35a02a1d67e1c750cd20417b49b756b ChangeLog 4365
MD5 38f7e7e07cecf943cd078f4aef09fef1 metadata.xml 250
+MD5 230a55e445e34df5d6e2a6490c7299ab files/bincimap-1.2.11-gentoo.diff 1438
MD5 bcca3e038e0e6e906cce64748ceacaae files/digest-bincimap-1.2.9 72
MD5 d8c88c84a2f78e0b4c9f75fafd55ad67 files/digest-bincimap-1.3.3 67
MD5 af00923cce29873b8a3f34754b076780 files/bincimap-1.3.3-gentoo.diff 6685
MD5 56784c856803c71ea3d91e738b08a115 files/bincimap-1.2.9-gentoo.diff 1426
MD5 38fa3acb6f2128b825f1ef671b9c3349 files/digest-bincimap-1.2.10 73
+MD5 a3bc5fc2d0b58833aadbe6e1d6daf76a files/digest-bincimap-1.2.11 73
MD5 56784c856803c71ea3d91e738b08a115 files/bincimap-1.2.10-gentoo.diff 1426
diff --git a/net-mail/bincimap/bincimap-1.2.11.ebuild b/net-mail/bincimap/bincimap-1.2.11.ebuild
new file mode 100644
index 000000000000..dcd7c86c5989
--- /dev/null
+++ b/net-mail/bincimap/bincimap-1.2.11.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.11.ebuild,v 1.1 2004/12/13 17:01:22 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.11-gentoo.diff b/net-mail/bincimap/files/bincimap-1.2.11-gentoo.diff
new file mode 100644
index 000000000000..32841b1cfa88
--- /dev/null
+++ b/net-mail/bincimap/files/bincimap-1.2.11-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.11 b/net-mail/bincimap/files/digest-bincimap-1.2.11
new file mode 100644
index 000000000000..b8e6c3b94ace
--- /dev/null
+++ b/net-mail/bincimap/files/digest-bincimap-1.2.11
@@ -0,0 +1 @@
+MD5 e241d1459801ced20e42401f0210de49 bincimap-1.2.11final.tar.bz2 415209