head	1.8;
access;
symbols
	pkgsrc-2026Q1:1.8.0.4
	pkgsrc-2026Q1-base:1.8
	pkgsrc-2025Q4:1.8.0.2
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.5.0.2
	pkgsrc-2025Q3-base:1.5
	pkgsrc-2025Q2:1.2.0.14
	pkgsrc-2025Q2-base:1.2
	pkgsrc-2025Q1:1.2.0.12
	pkgsrc-2025Q1-base:1.2
	pkgsrc-2024Q4:1.2.0.10
	pkgsrc-2024Q4-base:1.2
	pkgsrc-2024Q3:1.2.0.8
	pkgsrc-2024Q3-base:1.2
	pkgsrc-2024Q2:1.2.0.6
	pkgsrc-2024Q2-base:1.2
	pkgsrc-2024Q1:1.2.0.4
	pkgsrc-2024Q1-base:1.2
	pkgsrc-2023Q4:1.2.0.2
	pkgsrc-2023Q4-base:1.2;
locks; strict;
comment	@# @;


1.8
date	2025.10.19.21.20.26;	author jym;	state Exp;
branches;
next	1.7;
commitid	z0Gi02x36ogSYdfG;

1.7
date	2025.10.19.21.07.55;	author jym;	state Exp;
branches;
next	1.6;
commitid	3Vzig2CAVMDuVdfG;

1.6
date	2025.09.21.21.37.07;	author wiz;	state Exp;
branches;
next	1.5;
commitid	LZ9X7vvyU4ftZCbG;

1.5
date	2025.08.31.15.19.17;	author jym;	state Exp;
branches;
next	1.4;
commitid	WhPxnrFfuteqzT8G;

1.4
date	2025.08.09.20.11.10;	author wiz;	state Exp;
branches;
next	1.3;
commitid	kJYwhdSJNiJFT56G;

1.3
date	2025.08.09.20.10.23;	author wiz;	state Exp;
branches;
next	1.2;
commitid	AiUwsJJ550ajT56G;

1.2
date	2023.10.31.14.55.36;	author schmonz;	state Exp;
branches;
next	1.1;
commitid	tsfpk7aUgCYPYMKE;

1.1
date	2023.10.31.01.54.45;	author sekiya;	state Exp;
branches;
next	;
commitid	w4ReNwmWXA4OEIKE;


desc
@@


1.8
log
@Make getmail6 conflict with getmail5 explicitly.

Not bumping PKGREVISION as there is no binary change to the package.
@
text
@# $NetBSD: Makefile,v 1.7 2025/10/19 21:07:55 jym Exp $

DISTNAME=		getmail6-6.19.10
CATEGORIES=		mail
MASTER_SITES=		${MASTER_SITE_GITHUB:=getmail6/}
GITHUB_TAG=		v${PKGVERSION_NOREV}

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		https://getmail6.org/
COMMENT=		Secure, flexible, reliable fetchmail replacement
LICENSE=		gnu-gpl-v2 AND apache-2.0

TOOL_DEPENDS+=		${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools

USE_LANGUAGES=		# none

REPLACE_PYTHON=		*.py getmailcore/*.py

CONFLICTS+=		getmail5-[0-9]*

# Original getmail is parked as mail/getmail5
SUPERSEDES=		getmail<=5.16nb4

.include "../../lang/python/application.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.7
log
@mail/getmail6 supersedes mail/getmail v5.16 and lower.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2025/09/21 21:37:07 wiz Exp $
d19 2
@


1.6
log
@*: reset maintainer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2025/08/31 15:19:17 jym Exp $
d19 2
a20 2
# not yet
#SUPERSEDES=		getmail-[0-9]*
@


1.5
log
@Update getmail6 to 6.19.10.

Reword DESCR to make it clearer that getmail6 stems from the original project
getmail made by Cazabon but is neither supported nor sanctioned by getmail's
original author.

Remove patches/patch-getmailcore_baseclasses.py as it is now upstreamed in
v6.19.09.

Add apache-2.0 license due to getmail-gmail-xoauth-tokens addition (Copyright
2012 Google Inc.).

Changelog:

v6.19.10 hotfix due to MacOS issue
fix MacOS issue #250 forcing fork method in multiprocessing (by @@jymigeon)

v6.19.09: bugfixes
Fix get_code in getmail-gmail-xoauth-tokens (#248, garylin/patch-1)
Unhandled Exception for SimpleIMAPSSLRetriever when password contains non-ascii
 chars (#244)
Fix: Locking/Signal handling of subprocesses (deliver or filter_external) (#245
, by @@jymigeon)
fix #247: Faulty error messages "server does not support IDLE"
fix #243: KeyError: "code" -> Google approval URL format has changed
Python 3.14 related fixes (#242, meeuw/python3.14)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2025/08/09 20:11:10 wiz Exp $
d8 1
a8 1
MAINTAINER=		sekiya@@NetBSD.org
@


1.4
log
@getmail6: doesn't actually conflict with getmail(5)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2025/08/09 20:10:23 wiz Exp $
d3 1
a3 1
DISTNAME=		getmail6-6.19.08
d11 1
a11 1
LICENSE=		gnu-gpl-v2
a21 2
WHEEL_NAME=		${DISTNAME:S/08/8/}

@


1.3
log
@getmail6: update to 6.19.08.

Prepare for this replacing mail/getmail.

Version 6.19.08
14.May.2025
    - fix #105 by converting empty string to None, which has smtplib handling
    - fix #226 by handling all Exception instead of just OSError on SIGCHLD to parent
    - fix #239 by catching ssl.SSLError
    - Merge pull request #237 from meeuw/integration-tests
    - remove python 2 code: only supporting python 3
    - Merge pull request #238 from yshingai/v6.19.07-add-alias
    - support windows-874 cp874
    - Merge pull request #234 from meeuw/fix-incorrect-fsf-address
    - Merge pull request #233 from meeuw/fix-license
    - #220 allow uid_cache=true (latest UID from oldmail-file) in addition to uid_cache=<uidfile>

Version 6.19.07
26.January.2025
    - #225 Missing comma in getmailcore/message.py

Version 6.19.06
18.January.2025
    - #223 publish to pypi workflow
    - #219 #220 increase IMAP efficiency through uid_cache  (needs to be configured) storing last fetched UID
    - updated tests
    - update copyright to 2025

Version 6.19.05
02.October.2024
    - fix #211: --only-oldmail-file command line = only_oldmail_file config: regenerate oldmail file with mails currenlty on server
    - fix #212: oldmail-* reverts when --to-oldmail-on-each-mail is used
    - Pyp2 fixes (#210)
    - fix #209: using the suggested simpler fix as pathlib is not used so far
    - build and upload sdist
    - Fix invalid SPDX expression

Version 6.19.04
25.August.2024
    - Update getmailrc-examples (#204, #206, #207)
    - #205: pop3: Support use_xoauth2

Version 6.19.03
08 July 2024
    - #199 fix: fails with "TypeError: IMAP4_SSL.__init__()" after changing to Python 3.12 (when keyfile/certfile in config)

Version 6.19.02
01 July 2024
    - #196 fix: handle KeyError (getmail-gmail-xoauth-tokens)
    - #197 fix: detect if --port is set to force the use of the local http server (getmail-gmail-xoauth-tokens)

Version 6.19.01
7 June 2024
    - #195 fix: make mark_read option act same as -ds,

Version 6.19.00
31 May 2024
    - #191 -m/--mark-read and mark_read in [options] of rcfile
    - #190 -o/--only-account to choose rcfile by username (=email)
    - #189 IMAP retrievers support imap_id_extension
    - #137 Add mailbox name to log line

Version 6.18.14
20 March 2024
    - fix make lint
    - fix #183: in case of TypeError keyfile and certfile are used later in wrap_socket (Python 3.12)
    - fix #182: make log to trace
    - Allow to customize 'redirect_uri' (pull request #179 from jerome-pouiller/master)
    - fix #176: Maildir Filename Generation Issue with Truncated Hostname (use full hostname)
    - remove "Labels" before deleting uid (pull request #175 from ewft/fix_gmail_deletion)
    - Redact real email in test data (pull request #170 from h3xx/remove-email)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2023/10/31 14:55:36 schmonz Exp $
a18 1
CONFLICTS+=		getmail-[0-9]*
@


1.2
log
@getmail6: avoid conflicts with getmail. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2023/10/31 01:54:45 sekiya Exp $
d3 1
a3 2
DISTNAME=		getmail6-6.18.13
PKGREVISION=		1
d13 2
d17 5
a21 1
REPLACE_PYTHON=		*.py getmail6core/*.py
d23 1
a23 11
SUBST_CLASSES+=		core
SUBST_STAGE.core=	pre-configure
SUBST_FILES.core=	* */*
SUBST_SED.core=		-e 's|getmailcore|getmail6core|g'

post-extract:
	cd ${WRKSRC} && \
	for f in getmail* docs/getmail*.1; do \
		g=$$(echo $$f | sed -e 's|getmail|getmail6|'); \
		${MV} $$f $$g; \
	done
d26 1
a26 1
.include "../../lang/python/egg.mk"
@


1.1
log
@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/)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.179 2023/08/14 05:24:46 wiz Exp $
d3 2
a4 2
DISTNAME=		getmail6-${GETMAIL6_VERSION}
#PKGREVISION=		1
d7 1
a7 6
GITHUB_TYPE=		tag
GITHUB_TAG=		refs/tags/v${GETMAIL6_VERSION}

GETMAIL6_VERSION=	6.18.13

WRKSRC=			${WRKDIR}/${DISTNAME}
d16 13
a28 2
REPLACE_PYTHON=		*.py getmailcore/*.py
PLIST_SUBST+=		GETMAIL6_VERSION="${GETMAIL6_VERSION}"
@

