diff options
Diffstat (limited to 'net-mail/bincimap')
-rw-r--r-- | net-mail/bincimap/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/bincimap/Manifest | 7 | ||||
-rw-r--r-- | net-mail/bincimap/bincimap-1.2.8.ebuild | 86 | ||||
-rw-r--r-- | net-mail/bincimap/files/bincimap-1.2.8-gentoo.diff | 32 | ||||
-rw-r--r-- | net-mail/bincimap/files/digest-bincimap-1.2.8 | 1 |
5 files changed, 131 insertions, 3 deletions
diff --git a/net-mail/bincimap/ChangeLog b/net-mail/bincimap/ChangeLog index 71bd80bf1106..9c62e2a26f05 100644 --- a/net-mail/bincimap/ChangeLog +++ b/net-mail/bincimap/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-mail/bincimap # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.17 2004/06/10 20:37:11 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.18 2004/06/11 11:44:17 nakano Exp $ + +*bincimap-1.2.8 (11 Jun 2004) + + 11 Jun 2004; Masatomo Nakano <nakano@gentoo.org> + +files/bincimap-1.2.8-gentoo.diff, +bincimap-1.2.8.ebuild: + Version bump. see http://www.bincimap.org/dl/ChangeLog for details. 10 Jun 2004; Aron Griffis <agriffis@gentoo.org> bincimap-1.2.6.ebuild, bincimap-1.2.7-r1.ebuild: diff --git a/net-mail/bincimap/Manifest b/net-mail/bincimap/Manifest index 81e0df13b409..a99ac1a41072 100644 --- a/net-mail/bincimap/Manifest +++ b/net-mail/bincimap/Manifest @@ -1,8 +1,11 @@ -MD5 483913b99bf49803094d69ac0ef7bd39 ChangeLog 2610 MD5 ec69cf1923f6ed3441f651e10342c073 bincimap-1.2.6.ebuild 2112 +MD5 22d0801cd35e6221a65592bb65fcb8ef .#bincimap-1.2.7-r1.ebuild.1.3 3185 +MD5 aa1c506585225e44c6f116ba1dc6cc91 bincimap-1.2.8.ebuild 2478 MD5 3489632793529cc4b83063a7580fe4b1 bincimap-1.2.7-r1.ebuild 2476 +MD5 483913b99bf49803094d69ac0ef7bd39 ChangeLog 2610 MD5 38f7e7e07cecf943cd078f4aef09fef1 metadata.xml 250 -MD5 7f1e2005fb3643a54f2a77505ed79f48 files/bincimap-1.2.6-gentoo.diff 6565 MD5 56784c856803c71ea3d91e738b08a115 files/bincimap-1.2.7-gentoo.diff 1426 MD5 bf88a86c174f13b9059bf6c6f5b95ed9 files/digest-bincimap-1.2.6 72 +MD5 e3ea45f8264cbffd139c68609947ad35 files/digest-bincimap-1.2.8 72 MD5 ca8425d79faf2c0c420135cd10fa5372 files/digest-bincimap-1.2.7-r1 72 +MD5 7f1e2005fb3643a54f2a77505ed79f48 files/bincimap-1.2.6-gentoo.diff 6565 diff --git a/net-mail/bincimap/bincimap-1.2.8.ebuild b/net-mail/bincimap/bincimap-1.2.8.ebuild new file mode 100644 index 000000000000..743889461226 --- /dev/null +++ b/net-mail/bincimap/bincimap-1.2.8.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/bincimap-1.2.8.ebuild,v 1.1 2004/06/11 11:44:18 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" +IUSE="ssl" + +DEPEND="virtual/glibc + 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.8-gentoo.diff b/net-mail/bincimap/files/bincimap-1.2.8-gentoo.diff new file mode 100644 index 000000000000..717092eb17d1 --- /dev/null +++ b/net-mail/bincimap/files/bincimap-1.2.8-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.8 b/net-mail/bincimap/files/digest-bincimap-1.2.8 new file mode 100644 index 000000000000..80eb0b076dc5 --- /dev/null +++ b/net-mail/bincimap/files/digest-bincimap-1.2.8 @@ -0,0 +1 @@ +MD5 1369d3c7d96491568b1261d8c9984794 bincimap-1.2.8final.tar.bz2 400969 |