summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mail/getmail/ChangeLog7
-rw-r--r--net-mail/getmail/files/digest-getmail-4.6.23
-rw-r--r--net-mail/getmail/getmail-4.6.2.ebuild57
3 files changed, 66 insertions, 1 deletions
diff --git a/net-mail/getmail/ChangeLog b/net-mail/getmail/ChangeLog
index 7e90757682e4..de389a68d046 100644
--- a/net-mail/getmail/ChangeLog
+++ b/net-mail/getmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/getmail
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.124 2006/06/06 17:59:07 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.125 2006/06/09 10:56:47 ticho Exp $
+
+*getmail-4.6.2 (09 Jun 2006)
+
+ 09 Jun 2006; Andrej Kacian <ticho@gentoo.org> +getmail-4.6.2.ebuild:
+ Version bump.
06 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org> getmail-4.6.0.ebuild:
Stable on sparc
diff --git a/net-mail/getmail/files/digest-getmail-4.6.2 b/net-mail/getmail/files/digest-getmail-4.6.2
new file mode 100644
index 000000000000..db9dff0a7bf0
--- /dev/null
+++ b/net-mail/getmail/files/digest-getmail-4.6.2
@@ -0,0 +1,3 @@
+MD5 2aac9a3ecf5c8cea787de69611b87f4b getmail-4.6.2.tar.gz 139831
+RMD160 b3b4b7d834d39d921cef4c66f819f85b959d6bdc getmail-4.6.2.tar.gz 139831
+SHA256 a42dd7e9f36a68c4d75739bb35a67c1b907e3e8b3775e38e769fda64a0c2f7ef getmail-4.6.2.tar.gz 139831
diff --git a/net-mail/getmail/getmail-4.6.2.ebuild b/net-mail/getmail/getmail-4.6.2.ebuild
new file mode 100644
index 000000000000..8e5dbf0ede02
--- /dev/null
+++ b/net-mail/getmail/getmail-4.6.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/getmail-4.6.2.ebuild,v 1.1 2006/06/09 10:56:47 ticho Exp $
+
+inherit distutils
+
+IUSE=""
+DESCRIPTION="A POP3 mail retriever with reliable Maildir and mbox delivery"
+HOMEPAGE="http://pyropus.ca/software/getmail/"
+SRC_URI="http://pyropus.ca/software/getmail/old-versions/${P}.tar.gz"
+
+SLOT="4"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+DEPEND=">=dev-lang/python-2.3.3"
+
+src_compile() {
+ distutils_src_compile
+}
+
+src_install() {
+ distutils_src_install
+
+ if has_version "=net-mail/getmail-3*" ; then
+ mv ${D}/usr/bin/getmail ${D}/usr/bin/getmail4
+ mv ${D}/usr/bin/getmail_maildir ${D}/usr/bin/getmail_maildir4
+ mv ${D}/usr/bin/getmail_mbox ${D}/usr/bin/getmail_mbox4
+ fi
+
+ # handle docs the gentoo way
+ if [ ${P} != ${PF} ]; then
+ mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF}
+ fi
+
+ dodir /usr/share/doc/${PF}/html
+ mv ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/*.css ${D}/usr/share/doc/${PF}/html
+ gzip --silent ${D}/usr/share/doc/${PF}/*
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize /usr/lib/python${PYVER}/site-packages/getmailcore
+
+ if has_version "=net-mail/getmail-3*" ; then
+ echo
+ ewarn "An already installed instance of getmail v3 was detected. In order to"
+ ewarn "co-exist with it the three main scripts of getmail v4 were renamed to"
+ ewarn "getmail4, getmail_maildir4, getmail_mbox4."
+ echo
+ fi
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup
+}