Tue Oct 31 01:54:45 2023 UTC ()
Add getmail6:

Getmail 6 is a fork of getmail v5.14 by Charles Cazabon with adaptations to
work with Python 3 and newer.

(https://getmail6.org/)


(sekiya)
diff -r1.622 -r1.623 pkgsrc/mail/Makefile
diff -r0 -r1.1 pkgsrc/mail/getmail6/DESCR
diff -r0 -r1.1 pkgsrc/mail/getmail6/Makefile
diff -r0 -r1.1 pkgsrc/mail/getmail6/PLIST
diff -r0 -r1.1 pkgsrc/mail/getmail6/distinfo
diff -r0 -r1.1 pkgsrc/mail/getmail6/patches/patch-setup.py

cvs diff -r1.622 -r1.623 pkgsrc/mail/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/Makefile 2023/09/06 10:40:29 1.622
+++ pkgsrc/mail/Makefile 2023/10/31 01:54:44 1.623
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.622 2023/09/06 10:40:29 hauke Exp $ 1# $NetBSD: Makefile,v 1.623 2023/10/31 01:54:44 sekiya Exp $
2# 2#
3 3
4COMMENT= Electronic mail utilities 4COMMENT= Electronic mail utilities
5 5
6SUBDIR+= GNUMail 6SUBDIR+= GNUMail
7SUBDIR+= OSBF-lua 7SUBDIR+= OSBF-lua
8SUBDIR+= Pantomime 8SUBDIR+= Pantomime
9SUBDIR+= R-mime 9SUBDIR+= R-mime
10SUBDIR+= akonadi 10SUBDIR+= akonadi
11SUBDIR+= akonadi-import-wizard 11SUBDIR+= akonadi-import-wizard
12SUBDIR+= akonadi-mime 12SUBDIR+= akonadi-mime
13SUBDIR+= alpine 13SUBDIR+= alpine
14SUBDIR+= amavisd-milter 14SUBDIR+= amavisd-milter
@@ -91,26 +91,27 @@ SUBDIR+= exmh @@ -91,26 +91,27 @@ SUBDIR+= exmh
91SUBDIR+= ezmlm 91SUBDIR+= ezmlm
92SUBDIR+= ezmlm-idx 92SUBDIR+= ezmlm-idx
93SUBDIR+= faces 93SUBDIR+= faces
94SUBDIR+= fastforward 94SUBDIR+= fastforward
95SUBDIR+= fdm 95SUBDIR+= fdm
96SUBDIR+= feed2exec 96SUBDIR+= feed2exec
97SUBDIR+= fetchmail 97SUBDIR+= fetchmail
98SUBDIR+= fetchmailconf 98SUBDIR+= fetchmailconf
99SUBDIR+= fix-mime-charset 99SUBDIR+= fix-mime-charset
100SUBDIR+= fml 100SUBDIR+= fml
101SUBDIR+= fml4 101SUBDIR+= fml4
102SUBDIR+= fromto 102SUBDIR+= fromto
103SUBDIR+= getmail 103SUBDIR+= getmail
 104SUBDIR+= getmail6
104SUBDIR+= gld 105SUBDIR+= gld
105SUBDIR+= gmime 106SUBDIR+= gmime
106SUBDIR+= gmime24 107SUBDIR+= gmime24
107SUBDIR+= gmime3 108SUBDIR+= gmime3
108SUBDIR+= gnarwl 109SUBDIR+= gnarwl
109SUBDIR+= greetdelay 110SUBDIR+= greetdelay
110SUBDIR+= grepmail 111SUBDIR+= grepmail
111SUBDIR+= greylisting-spp 112SUBDIR+= greylisting-spp
112SUBDIR+= gyb 113SUBDIR+= gyb
113SUBDIR+= heirloom-mailx 114SUBDIR+= heirloom-mailx
114SUBDIR+= himalaya 115SUBDIR+= himalaya
115SUBDIR+= hypermail 116SUBDIR+= hypermail
116SUBDIR+= ifile 117SUBDIR+= ifile

File Added: pkgsrc/mail/getmail6/DESCR
Getmail 6 is a fork of getmail v5.14 by Charles Cazabon with adaptations to
work with Python 3 and newer.

File Added: pkgsrc/mail/getmail6/Makefile
# $NetBSD: Makefile,v 1.1 2023/10/31 01:54:45 sekiya Exp $

DISTNAME=		getmail6-${GETMAIL6_VERSION}
#PKGREVISION=		1
CATEGORIES=		mail
MASTER_SITES=		${MASTER_SITE_GITHUB:=getmail6/}
GITHUB_TYPE=		tag
GITHUB_TAG=		refs/tags/v${GETMAIL6_VERSION}

GETMAIL6_VERSION=	6.18.13

WRKSRC=			${WRKDIR}/${DISTNAME}

MAINTAINER=		sekiya@NetBSD.org
HOMEPAGE=		https://getmail6.org/
COMMENT=		Secure, flexible, reliable fetchmail replacement
LICENSE=		gnu-gpl-v2

USE_LANGUAGES=		# none

REPLACE_PYTHON=		*.py getmailcore/*.py
PLIST_SUBST+=		GETMAIL6_VERSION="${GETMAIL6_VERSION}"

.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/mail/getmail6/PLIST
@comment $NetBSD: PLIST,v 1.1 2023/10/31 01:54:45 sekiya Exp $
bin/getmail
bin/getmail-gmail-xoauth-tokens
bin/getmail_fetch
bin/getmail_maildir
bin/getmail_mbox
bin/getmails
share/doc/getmail-${GETMAIL6_VERSION}/BUGS
share/doc/getmail-${GETMAIL6_VERSION}/CHANGELOG
share/doc/getmail-${GETMAIL6_VERSION}/COPYING
share/doc/getmail-${GETMAIL6_VERSION}/README
share/doc/getmail-${GETMAIL6_VERSION}/THANKS
share/doc/getmail-${GETMAIL6_VERSION}/configuration.html
share/doc/getmail-${GETMAIL6_VERSION}/configuration.txt
share/doc/getmail-${GETMAIL6_VERSION}/documentation.html
share/doc/getmail-${GETMAIL6_VERSION}/documentation.txt
share/doc/getmail-${GETMAIL6_VERSION}/faq.html
share/doc/getmail-${GETMAIL6_VERSION}/faq.txt
share/doc/getmail-${GETMAIL6_VERSION}/getmaildocs.css
share/doc/getmail-${GETMAIL6_VERSION}/getmailrc-examples
share/doc/getmail-${GETMAIL6_VERSION}/troubleshooting.html
share/doc/getmail-${GETMAIL6_VERSION}/troubleshooting.txt
man/man1/getmail.1
man/man1/getmail_fetch.1
man/man1/getmail_maildir.1
man/man1/getmail_mbox.1
man/man1/getmails.1
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/getmailcore/__init__.py
${PYSITELIB}/getmailcore/__init__.pyc
${PYSITELIB}/getmailcore/__init__.pyo
${PYSITELIB}/getmailcore/_retrieverbases.py
${PYSITELIB}/getmailcore/_retrieverbases.pyc
${PYSITELIB}/getmailcore/_retrieverbases.pyo
${PYSITELIB}/getmailcore/baseclasses.py
${PYSITELIB}/getmailcore/baseclasses.pyc
${PYSITELIB}/getmailcore/baseclasses.pyo
${PYSITELIB}/getmailcore/constants.py
${PYSITELIB}/getmailcore/constants.pyc
${PYSITELIB}/getmailcore/constants.pyo
${PYSITELIB}/getmailcore/destinations.py
${PYSITELIB}/getmailcore/destinations.pyc
${PYSITELIB}/getmailcore/destinations.pyo
${PYSITELIB}/getmailcore/exceptions.py
${PYSITELIB}/getmailcore/exceptions.pyc
${PYSITELIB}/getmailcore/exceptions.pyo
${PYSITELIB}/getmailcore/filters.py
${PYSITELIB}/getmailcore/filters.pyc
${PYSITELIB}/getmailcore/filters.pyo
${PYSITELIB}/getmailcore/imap_utf7.py
${PYSITELIB}/getmailcore/imap_utf7.pyc
${PYSITELIB}/getmailcore/imap_utf7.pyo
${PYSITELIB}/getmailcore/logging.py
${PYSITELIB}/getmailcore/logging.pyc
${PYSITELIB}/getmailcore/logging.pyo
${PYSITELIB}/getmailcore/message.py
${PYSITELIB}/getmailcore/message.pyc
${PYSITELIB}/getmailcore/message.pyo
${PYSITELIB}/getmailcore/retrievers.py
${PYSITELIB}/getmailcore/retrievers.pyc
${PYSITELIB}/getmailcore/retrievers.pyo
${PYSITELIB}/getmailcore/utilities.py
${PYSITELIB}/getmailcore/utilities.pyc
${PYSITELIB}/getmailcore/utilities.pyo

File Added: pkgsrc/mail/getmail6/distinfo
$NetBSD: distinfo,v 1.1 2023/10/31 01:54:45 sekiya Exp $

BLAKE2s (getmail6-6.18.13.tar.gz) = dd4523d32fa36b0d87a76e1175f448a77b4ff925ae8ed2e1140bcaa07540941b
SHA512 (getmail6-6.18.13.tar.gz) = 437c057d6e3d499a2e11be82d4e69aafc24d74d42fb1fa51de06fccd33d6e9e1ef7bba20ae5fc070a80dd656f184386083d462f65b05dafcf516d7dc0b2138a0
Size (getmail6-6.18.13.tar.gz) = 213033 bytes
SHA1 (patch-setup.py) = 68ac253a4d0f2b3ffe0effef547f9257e39d7695

File Added: pkgsrc/mail/getmail6/patches/patch-setup.py
$NetBSD: patch-setup.py,v 1.1 2023/10/31 01:54:45 sekiya Exp $

Fix mandir per pkgsrc

--- setup.py~	2023-10-31 10:46:37.492574240 +0900
+++ setup.py	2023-10-31 10:46:56.670550748 +0900
@@ -39,7 +39,7 @@
 DOCDIR = os.path.join('share','doc','getmail-%s' % __version__)
 GETMAILDOCDIR = os.path.join(datadir or prefix, DOCDIR)
 
-MANDIR = os.path.join('share','man','man1')
+MANDIR = os.path.join('man','man1')
 GETMAILMANDIR = os.path.join( datadir or prefix, MANDIR)
 
 if '--show-default-install-dirs' in args: