svn commit: r545250 - in head/mail: . getmail6 getmail6/files
Joseph Mingrone
jrm at FreeBSD.org
Tue Aug 18 19:10:46 UTC 2020
Author: jrm
Date: Tue Aug 18 19:10:44 2020
New Revision: 545250
URL: https://svnweb.freebsd.org/changeset/ports/545250
Log:
New port, mail/getmail6: A python3 fork of mail/getmail
PR: 248633
Submitted by: Michael Bueker <m.bueker at berlin.de> (maintainer)
Reviewed by: koobs
Differential Revision: https://reviews.freebsd.org/D26057
Added:
head/mail/getmail6/
head/mail/getmail6/Makefile (contents, props changed)
head/mail/getmail6/distinfo (contents, props changed)
head/mail/getmail6/files/
head/mail/getmail6/files/patch-setup.py (contents, props changed)
head/mail/getmail6/pkg-descr (contents, props changed)
head/mail/getmail6/pkg-message (contents, props changed)
Modified:
head/mail/Makefile (contents, props changed)
Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile Tue Aug 18 19:09:36 2020 (r545249)
+++ head/mail/Makefile Tue Aug 18 19:10:44 2020 (r545250)
@@ -138,6 +138,7 @@
SUBDIR += geary
SUBDIR += gensig
SUBDIR += getmail
+ SUBDIR += getmail6
SUBDIR += gmime2
SUBDIR += gmime2-sharp
SUBDIR += gmime24
Added: head/mail/getmail6/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/getmail6/Makefile Tue Aug 18 19:10:44 2020 (r545250)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME= getmail6
+DISTVERSIONPREFIX= v
+DISTVERSION= 6.03
+CATEGORIES= mail python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= m.bueker at berlin.de
+COMMENT= POP3/IMAP4 mail retriever (Python3 fork)
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/docs/COPYING
+
+USES= python
+USE_GITHUB= yes
+USE_PYTHON= autoplist concurrent distutils
+
+CONFLICTS= getmail
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+PORTDOCS= *.css *.html *.txt BUGS CHANGELOG README THANKS
+PORTEXAMPLES= getmailrc-examples
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install:
+ @${CHMOD} -R 644 ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/getmailcore/*
+
+post-install-DOCS-on:
+ @${CP} ${WRKSRC}/README ${WRKSRC}/docs/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/getmailrc-examples ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
Added: head/mail/getmail6/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/getmail6/distinfo Tue Aug 18 19:10:44 2020 (r545250)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1597771268
+SHA256 (getmail6-getmail6-v6.03_GH0.tar.gz) = 4333592d32c89009e5ef50f538402b4b32a2fd14faca72fc01dd65b6cce34549
+SIZE (getmail6-getmail6-v6.03_GH0.tar.gz) = 182699
Added: head/mail/getmail6/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/getmail6/files/patch-setup.py Tue Aug 18 19:10:44 2020 (r545250)
@@ -0,0 +1,40 @@
+--- setup.py.orig 2020-08-18 15:00:41 UTC
++++ setup.py
+@@ -35,12 +35,11 @@ GETMAILDOCDIR = os.path.join(
+ datadir or prefix,
+ 'share',
+ 'doc',
+- 'getmail-%s' % __version__
++ 'getmail'
+ )
+
+ GETMAILMANDIR = os.path.join(
+ datadir or prefix,
+- 'share',
+ 'man',
+ 'man1'
+ )
+@@ -96,23 +95,6 @@ setup(
+ 'getmail-gmail-xoauth-tokens',
+ ],
+ data_files=[
+- (GETMAILDOCDIR, [
+- './README',
+- 'docs/BUGS',
+- 'docs/COPYING',
+- 'docs/CHANGELOG',
+- 'docs/THANKS',
+- 'docs/configuration.html',
+- 'docs/configuration.txt',
+- 'docs/documentation.html',
+- 'docs/documentation.txt',
+- 'docs/faq.html',
+- 'docs/faq.txt',
+- 'docs/getmaildocs.css',
+- 'docs/getmailrc-examples',
+- 'docs/troubleshooting.html',
+- 'docs/troubleshooting.txt',
+- ]),
+ (GETMAILMANDIR, [
+ 'docs/getmail.1',
+ 'docs/getmail_fetch.1',
Added: head/mail/getmail6/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/getmail6/pkg-descr Tue Aug 18 19:10:44 2020 (r545250)
@@ -0,0 +1,20 @@
+POP3/IMAP4 mail retriever with Maildir and command delivery (python3 fork).
+
+Summary of features:
+- Retrieve mail from an unlimited number of POP3/IMAP4 mailboxes and servers.
+- Support for POP3-over-SSL and IMAP-over-SSL, as well as SDPS
+ WARNING: even with SSL, "no certificate or key validation is done." so
+ that getmail does not detect or protect from man-in-the-middle attacks.
+- Support for multidrop or domain mailboxes.
+- Safe and reliable delivery to qmail-style Maildirs, as well as program
+ (pipe) delivery for use with arbitrary external MDAs. Includes an MDA
+ for mbox files that supports mboxrd format and fcntl-type flock locking.
+- Does not destroy information by rewriting mail headers.
+- Does not cause mail loops by doing SMTP injection, and therefore does
+ not require that you run an MTA (like qmail or sendmail) on your host.
+- Can remember which mail it has already retrieved, and can be set to
+ only download new messages.
+- Written in Python, and therefore easy to extend or customize.
+- Simple to install, configure, and use.
+
+WWW: https://github.com/getmail6/getmail6/
Added: head/mail/getmail6/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/getmail6/pkg-message Tue Aug 18 19:10:44 2020 (r545250)
@@ -0,0 +1,9 @@
+[
+{ type: install
+ message: <<EOM
+This fork of getmail 5.14 was modified to work with python3. It is work in
+progress, and bugs should be reported at:
+https://github.com/getmail6/getmail6/issues
+EOM
+}
+]
More information about the svn-ports-all
mailing list