summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2004-07-20 18:02:07 +0000
committerMasatomo Nakano <nakano@gentoo.org>2004-07-20 18:02:07 +0000
commit6ae6fbce40ba92ee43e63c11a0d012306be437d1 (patch)
tree0eed5aff08100dc82292c060fb72076d3bef67b3 /net-mail/bincimap
parentInitial ebuild by myself. Closes 51486 (Manifest recommit) (diff)
downloadgentoo-2-6ae6fbce40ba92ee43e63c11a0d012306be437d1.tar.gz
gentoo-2-6ae6fbce40ba92ee43e63c11a0d012306be437d1.tar.bz2
gentoo-2-6ae6fbce40ba92ee43e63c11a0d012306be437d1.zip
Version bump.
Diffstat (limited to 'net-mail/bincimap')
-rw-r--r--net-mail/bincimap/ChangeLog8
-rw-r--r--net-mail/bincimap/Manifest2
-rw-r--r--net-mail/bincimap/bincimap-1.2.9.ebuild86
-rw-r--r--net-mail/bincimap/files/bincimap-1.2.9-gentoo.diff32
-rw-r--r--net-mail/bincimap/files/digest-bincimap-1.2.91
5 files changed, 128 insertions, 1 deletions
diff --git a/net-mail/bincimap/ChangeLog b/net-mail/bincimap/ChangeLog
index ff7817910ffd..93a247137715 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.23 2004/07/18 08:02:31 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.24 2004/07/20 18:02:07 nakano Exp $
+
+*bincimap-1.2.9 (20 Jul 2004)
+
+ 20 Jul 2004; Masatomo Nakano <nakano@gentoo.org>
+ +files/bincimap-1.2.9-gentoo.diff, +bincimap-1.2.9.ebuild:
+ Version bump.
18 Jul 2004; Masatomo Nakano <nakano@gentoo.org>
-files/bincimap-1.2.6-gentoo.diff, -files/bincimap-1.2.7-gentoo.diff,
diff --git a/net-mail/bincimap/Manifest b/net-mail/bincimap/Manifest
index a5afa9842bed..0d3e89d8f729 100644
--- a/net-mail/bincimap/Manifest
+++ b/net-mail/bincimap/Manifest
@@ -1,5 +1,7 @@
+MD5 50bf63631ac58ce61ffbf79715129207 bincimap-1.2.9.ebuild 2471
MD5 50bf63631ac58ce61ffbf79715129207 bincimap-1.2.8.ebuild 2471
MD5 83c153a7f9ab268085b6b04f6b36287b ChangeLog 3363
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
diff --git a/net-mail/bincimap/bincimap-1.2.9.ebuild b/net-mail/bincimap/bincimap-1.2.9.ebuild
new file mode 100644
index 000000000000..ad6511e41255
--- /dev/null
+++ b/net-mail/bincimap/bincimap-1.2.9.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.9.ebuild,v 1.1 2004/07/20 18:02:07 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.9-gentoo.diff b/net-mail/bincimap/files/bincimap-1.2.9-gentoo.diff
new file mode 100644
index 000000000000..717092eb17d1
--- /dev/null
+++ b/net-mail/bincimap/files/bincimap-1.2.9-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.9 b/net-mail/bincimap/files/digest-bincimap-1.2.9
new file mode 100644
index 000000000000..f2b54a6f2aad
--- /dev/null
+++ b/net-mail/bincimap/files/digest-bincimap-1.2.9
@@ -0,0 +1 @@
+MD5 0fa92216715a540f5f405118cc92d994 bincimap-1.2.9final.tar.bz2 412006