3651dfc9fc
Fetchmail 6.6.5 is the sixth fetchmail 6.6 release on 2026-06-17, it fixed a buffer sizing bug in the RPA code that could crash fetchmail due to a buffer overrun when long user names and service realm and challenges were used, POP3 was used, the username contained @compuserve.com and the server would offer a non-standard "AUTH"-without-arguments request that would list RPA (case-insensitively) as supported authentication option. Changelog: https://sourceforge.net/projects/fetchmail/files/branch_6.6/ Improve mail/fetchmailconf: - Replace PORTVERSION with DISTVERSION. - Fix antipattern "BUILD_DEPENDS=RUN_DEPENDS". - Fix warnings from portclippy. PR: 296204 283227 Approved by: Corey Halpin <chalpin@cs.wisc.edu> (maintainer) Sponsored by: UNIS Labs Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> MFH: 2026Q2
47 lines
1.5 KiB
Makefile
47 lines
1.5 KiB
Makefile
PORTNAME= fetchmailconf
|
|
PORTREVISION= 0
|
|
DISTNAME= fetchmail-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
|
|
# NOTE: MASTER_SITES in ../fetchmail must NOT use the $PORTNAME variable,
|
|
# else _this_ port (fetchmailconf) becomes unfetchable
|
|
|
|
MAINTAINER= chalpin@cs.wisc.edu
|
|
COMMENT= Python-based GUI to configure fetchmail
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
# minimum required version 6.4.2 - not codified, on the assumption
|
|
# that fetchmail port updated at the same time
|
|
_BR_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} \
|
|
fetchmail>=${DISTVERSION}:mail/fetchmail
|
|
BUILD_DEPENDS= ${_BR_DEPENDS}
|
|
RUN_DEPENDS= ${_BR_DEPENDS}
|
|
|
|
USES= python shebangfix tar:xz
|
|
USE_PYTHON= py3kplist
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= PKG_CONFIG=:
|
|
ALL_TARGET= fetchmailconf
|
|
INSTALL_TARGET= install-data-am install-nodist_binSCRIPTS install-man
|
|
|
|
FILESDIR= ${.CURDIR}/files
|
|
MASTERDIR= ${.CURDIR}/../fetchmail
|
|
PATCHDIR= ${FILESDIR}
|
|
NO_ARCH= yes
|
|
|
|
SUB_FILES= fetchmailconf
|
|
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
|
|
PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
post-install:
|
|
# first, run smoke tests - the version check makes sure we have all
|
|
# modules listed in the *_DEPENDS variables:
|
|
${PYTHON_CMD} ${WRKSRC}/fetchmailconf.py -V
|
|
# then install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${STAGEDIR}${PREFIX}/bin
|
|
${RM} ${STAGEDIR}${PREFIX}/share/man/man1/fetchmail.1*
|
|
|
|
.include "${MASTERDIR}/Makefile"
|