View | Details | Raw Unified | Return to bug 248633 | Differences between
and this patch

Collapse All | Expand All

(-)/tmp/ports/mail/getmail6/Makefile (+40 lines)
Line 0 Link Here
1
# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
2
# $FreeBSD: head/mail/getmail/Makefile 528058 2020-03-08 17:01:46Z antoine $
3
4
PORTNAME=		getmail6
5
DISTVERSION=		6.02
6
DISTVERSIONPREFIX=	v
7
8
CATEGORIES=	mail python
9
10
MAINTAINER=	jrm@FreeBSD.org
11
COMMENT=	POP3/IMAP4 mail retriever with Maildir and command delivery (python3 fork)
12
13
LICENSE=	GPLv2
14
LICENSE_FILE=	${WRKSRC}/docs/COPYING
15
16
USE_GITHUB=	yes
17
18
USES=		python
19
USE_PYTHON=	autoplist distutils concurrent
20
21
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
22
NO_ARCH=	yes
23
PORTDOCS=	README BUGS CHANGELOG THANKS TODO *.txt *.html *.css
24
25
OPTIONS_DEFINE=	DOCS EXAMPLES
26
27
post-install:
28
	@${CHMOD} -R 644 ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/getmailcore/*
29
30
post-install-EXAMPLES-on:
31
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
32
	${INSTALL_DATA} ${WRKSRC}/docs/getmailrc-examples ${STAGEDIR}${EXAMPLESDIR}
33
34
post-install-DOCS-on:
35
	@${CP} ${WRKSRC}/README ${WRKSRC}/docs/
36
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
37
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}
38
39
.include <bsd.port.mk>
40
	
(-)/tmp/ports/mail/getmail6/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1597318348
2
SHA256 (getmail6-getmail6-v6.02_GH0.tar.gz) = 0e1456f3f5c4d8b027ed6babd8fd8e52858164190a99a1a0a3344356c43b4ec1
3
SIZE (getmail6-getmail6-v6.02_GH0.tar.gz) = 188228
(-)/tmp/ports/mail/getmail6/files/patch-setup.py (+41 lines)
Line 0 Link Here
1
--- setup.py.orig	2009-01-08 21:55:25 UTC
2
+++ setup.py
3
@@ -39,12 +39,11 @@ GETMAILDOCDIR = os.path.join(
4
     datadir or prefix,
5
     'share',
6
     'doc',
7
-    'getmail-%s' % __version__
8
+    'getmail'
9
 )
10
 
11
 GETMAILMANDIR = os.path.join(
12
     datadir or prefix,
13
-    'share',
14
     'man',
15
     'man1'
16
 )
17
@@ -98,24 +97,6 @@ setup(
18
     'getmail_mbox'
19
     ],
20
     data_files=[
21
-        (GETMAILDOCDIR, [
22
-            './README',
23
-            'docs/BUGS',
24
-            'docs/COPYING',
25
-            'docs/CHANGELOG',
26
-            'docs/TODO',
27
-            'docs/THANKS',
28
-            'docs/configuration.html',
29
-            'docs/configuration.txt',
30
-            'docs/documentation.html',
31
-            'docs/documentation.txt',
32
-            'docs/faq.html',
33
-            'docs/faq.txt',
34
-            'docs/getmaildocs.css',
35
-            'docs/getmailrc-examples',
36
-            'docs/troubleshooting.html',
37
-            'docs/troubleshooting.txt',
38
-        ]),
39
         (GETMAILMANDIR, [
40
             'docs/getmail.1',
41
             'docs/getmail_fetch.1',
(-)/tmp/ports/mail/getmail6/pkg-descr (+20 lines)
Line 0 Link Here
1
POP3/IMAP4 mail retriever with Maildir and command delivery (python3 fork).
2
3
Summary of features:
4
- Retrieve mail from an unlimited number of POP3/IMAP4 mailboxes and servers.
5
- Support for POP3-over-SSL and IMAP-over-SSL, as well as SDPS
6
  WARNING: even with SSL, "no certificate or key validation is done." so
7
  that getmail does not detect or protect from man-in-the-middle attacks.
8
- Support for multidrop or domain mailboxes.
9
- Safe and reliable delivery to qmail-style Maildirs, as well as program
10
  (pipe) delivery for use with arbitrary external MDAs. Includes an MDA
11
  for mbox files that supports mboxrd format and fcntl-type flock locking.
12
- Does not destroy information by rewriting mail headers.
13
- Does not cause mail loops by doing SMTP injection, and therefore does
14
  not require that you run an MTA (like qmail or sendmail) on your host.
15
- Can remember which mail it has already retrieved, and can be set to
16
  only download new messages.
17
- Written in Python, and therefore easy to extend or customize.
18
- Simple to install, configure, and use.
19
20
WWW: https://github.com/getmail6/getmail6/
(-)/tmp/ports/mail/getmail6/pkg-message (+9 lines)
Line 0 Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
This fork of getmail 5.14 was modified to work with python3. It is work in
5
progress, and bugs should be reported at:
6
https://github.com/getmail6/getmail6/issues
7
EOM
8
}
9
]

Return to bug 248633