Page MenuHomeFreeBSD

D26057.id75792.diff
No OneTemporary

D26057.id75792.diff

Index: mail/Makefile
===================================================================
--- mail/Makefile
+++ mail/Makefile
@@ -138,6 +138,7 @@
SUBDIR += geary
SUBDIR += gensig
SUBDIR += getmail
+ SUBDIR += getmail6
SUBDIR += gmime2
SUBDIR += gmime2-sharp
SUBDIR += gmime24
Index: mail/getmail6/Makefile
===================================================================
--- /dev/null
+++ mail/getmail6/Makefile
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME= getmail6
+DISTVERSIONPREFIX= v
+DISTVERSION= 6.02
+CATEGORIES= mail python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= m.bueker@berlin.de
+COMMENT= POP3/IMAP4 mail retriever, python3 fork
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/docs/COPYING
+
+USES= python:3.6+
+USE_GITHUB= yes
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+PORTDOCS= README BUGS CHANGELOG THANKS TODO *.txt *.html *.css
+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>
Index: mail/getmail6/distinfo
===================================================================
--- /dev/null
+++ mail/getmail6/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1597318348
+SHA256 (getmail6-getmail6-v6.02_GH0.tar.gz) = 0e1456f3f5c4d8b027ed6babd8fd8e52858164190a99a1a0a3344356c43b4ec1
+SIZE (getmail6-getmail6-v6.02_GH0.tar.gz) = 188228
Index: mail/getmail6/files/patch-setup.py
===================================================================
--- /dev/null
+++ mail/getmail6/files/patch-setup.py
@@ -0,0 +1,41 @@
+--- setup.py.orig 2009-01-08 21:55:25 UTC
++++ setup.py
+@@ -39,12 +39,11 @@ GETMAILDOCDIR = os.path.join(
+ datadir or prefix,
+ 'share',
+ 'doc',
+- 'getmail-%s' % __version__
++ 'getmail'
+ )
+
+ GETMAILMANDIR = os.path.join(
+ datadir or prefix,
+- 'share',
+ 'man',
+ 'man1'
+ )
+@@ -98,24 +97,6 @@ setup(
+ 'getmail_mbox'
+ ],
+ data_files=[
+- (GETMAILDOCDIR, [
+- './README',
+- 'docs/BUGS',
+- 'docs/COPYING',
+- 'docs/CHANGELOG',
+- 'docs/TODO',
+- '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',
Index: mail/getmail6/pkg-descr
===================================================================
--- /dev/null
+++ mail/getmail6/pkg-descr
@@ -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/
Index: mail/getmail6/pkg-message
===================================================================
--- /dev/null
+++ mail/getmail6/pkg-message
@@ -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
+}
+]

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 26, 12:52 AM (6 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37259169
Default Alt Text
D26057.id75792.diff (4 KB)

Event Timeline