From nobody Thu May 08 12:16:08 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZtWLw2765z5wFWN; Thu, 08 May 2025 12:16:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZtWLw1hJbz3bn2; Thu, 08 May 2025 12:16:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746706568; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L1uxKMUUbWJFpmldvDGGOaN8ANxHkVBecdjJSbXZwfE=; b=Vt3MRjFq7MduoSCfKGfdbrNHqhJ3Yjf5Kox4MwxH9thyDPbzm9zyHKsyLFYOc+VDQ4HJB0 7kbtxdTY3SeFfCZo6/GNGkQ23e6uu+M0lyb5cc82hi0eF6xfpOAX+DOlkVOcgSGgaLRXlM gSpBdO2pW8WnMKbgNGNr48XTiCY4+tl8ongOx4Z2CRq/l5F09IVE2/xgNvbfvraDrc1Og8 PFOpbCCsa+RHvO0DSXtgJSmRDdB97dJy2vToTu4m8HZoGYHtxsOIeR3GNFQcmYpB6umVJ+ Mck+D6ifBgwpMiE3vARcH8XN0mHyZMVTyBZaYUqgMBEcBg1kuCfKv8s+aw5CXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746706568; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L1uxKMUUbWJFpmldvDGGOaN8ANxHkVBecdjJSbXZwfE=; b=SeMn1HeU9q22Pn6NxSThgXcpm7WWQilXvLTS2tLG1l7hS/J/TCuijUZZH37pXLk1ZF7VaB pI/0Z/0Br/3g/5+CYzAoyYthX7jLJWkXNhDy9xj2jgUOeXhy2GSyJG0c8N0ApI9Mp/BOnm wk4Y6gmwUnW6ml28Oz582Eqen34inoiqtJHfAd9cKH/RKdjZrloPRyA/gYOVDD1zxMR1NU TGjFrj6brb+QzbTbZFAFNaRunLuifKzgxzpw/x4uwciW9b7CsWzxTrLhjrMGZCZ+hsF7T3 foMqeETcTGnuEWMdxt+t54XLYfSSC0KfvKTGZ3ZPuGcF6tXclrgyrbK333c1tg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746706568; a=rsa-sha256; cv=none; b=S1dHVU+U9LdOsRWYvoAj/vjfjqsSCr1TkwUsEZl5aPFRag0Zt7qgzXGz2o/dKBFD9xw5oI tI0uZglN8pXLNfWwXMlJWIBmMmDLAQlksf8aWeRiHGLRlqyKOWUkpoPkrcvIkMjFHS/tI3 6CQYnr4Ojc7aACd67qmnrzijU7om55g37e3qUYT6dU9i2z/m5zDEo1kHZ3xcNTfZyzxdTW OcpB4A2cbcsOkS+HFR7FmWTn9/IPFs81tjCpAmh7wbnM4eoINWSAQzjLXciBeG3u2mCVHF H6a7lS/Utnr39SEGoOL4Dv4vrRSPdgGgphQsLQOx6rDwGq6SurVnK/o1T+rakw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZtWLw0rN7z9s; Thu, 08 May 2025 12:16:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 548CG8jq041992; Thu, 8 May 2025 12:16:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 548CG8u7041986; Thu, 8 May 2025 12:16:08 GMT (envelope-from git) Date: Thu, 8 May 2025 12:16:08 GMT Message-Id: <202505081216.548CG8u7041986@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthew Seaman Subject: git: 692601581330 - main - mail/py-pymilter: update to 1.0.6, add options, rename List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: matthew X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6926015813308129969e123fa27a6c4a24ccd726 Auto-Submitted: auto-generated The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=6926015813308129969e123fa27a6c4a24ccd726 commit 6926015813308129969e123fa27a6c4a24ccd726 Author: Matthew Seaman AuthorDate: 2025-05-08 12:09:59 +0000 Commit: Matthew Seaman CommitDate: 2025-05-08 12:16:04 +0000 mail/py-pymilter: update to 1.0.6, add options, rename Take maintainership. Move port from mail/py-milter to mail/py-pymilter to match the name of the PyPI package being ported. Update to version 1.0.6 Use ${PORTSDIR}/mail/sendmail/bsd.milter.mk for consistency with most other milter ports. Add options to force selection between the mail/libmilter port and the libmilter.so bundled with the base FreeBSD-sendmail package. Prefer the mail/libmilter port on general principles: given that all major MTA software supports the milter interface, it should be possible to install milters from pkg(8) without forcing the FreeBSD-sendmail to be installed. Changes: https://github.com/sdgathman/pymilter/compare/pymilter-1.0.5...pymilter-1.0.6 Approved by: Gerhard Schmidt (former maintainer) PR: 286630 --- MOVED | 1 + mail/Makefile | 2 +- mail/py-milter/Makefile | 30 ---------------------- mail/py-milter/distinfo | 3 --- mail/py-pymilter/Makefile | 41 +++++++++++++++++++++++++++++++ mail/py-pymilter/distinfo | 3 +++ mail/{py-milter => py-pymilter}/pkg-descr | 0 7 files changed, 46 insertions(+), 34 deletions(-) diff --git a/MOVED b/MOVED index 87dffc8892b3..82f1c8371052 100644 --- a/MOVED +++ b/MOVED @@ -4396,3 +4396,4 @@ science/gtamsanalyzer||2025-05-05|Has expired: Upstream unmaintained as last rel www/dot-http||2025-05-05|Remove broken, unmaintained upstream port security/linux-rl9-libxcrypt|emulators/linux_base-rl9|2025-05-06|Integrated into linux_base-rl9 graphics/quat-gui||2025-05-06|Has expired: Last upstream release was in 2003 +mail/py-milter|mail/py-pymilter|2025-05-08|Renamed to match upstream PyPI package name diff --git a/mail/Makefile b/mail/Makefile index fc5773b5abf5..c0347ccfe408 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -529,7 +529,6 @@ SUBDIR += py-mailnag SUBDIR += py-mailsuite SUBDIR += py-managesieve3 - SUBDIR += py-milter SUBDIR += py-notmuch SUBDIR += py-notmuch2 SUBDIR += py-offlineimap3 @@ -537,6 +536,7 @@ SUBDIR += py-premailer SUBDIR += py-pyisemail SUBDIR += py-pymailq + SUBDIR += py-pymilter SUBDIR += py-pysasl SUBDIR += py-pyspf SUBDIR += py-python-slimta diff --git a/mail/py-milter/Makefile b/mail/py-milter/Makefile deleted file mode 100644 index 9c8737bf219d..000000000000 --- a/mail/py-milter/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -PORTNAME= milter -PORTVERSION= 1.0.5 -PORTREVISION= 1 -DISTVERSIONPREFIX= ${GH_PROJECT}- -CATEGORIES= mail python -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} - -MAINTAINER= estartu@augusta.de -COMMENT= Python interface to Sendmail milter API -WWW= https://pythonhosted.org/milter/ - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -.if !exists(/usr/lib/libmilter.so) -LIB_DEPENDS= libmilter.so:mail/libmilter -CFLAGS+= -I${LOCALBASE}/include -.endif - -USES= python - -USE_GITHUB= yes -GH_ACCOUNT= sdgathman -GH_PROJECT= py${PORTNAME} -USE_PYTHON= distutils autoplist flavors - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/milter*.so - -.include diff --git a/mail/py-milter/distinfo b/mail/py-milter/distinfo deleted file mode 100644 index b2b4275d7f87..000000000000 --- a/mail/py-milter/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1662401352 -SHA256 (sdgathman-pymilter-pymilter-1.0.5_GH0.tar.gz) = 8093032829ddd53261dbe2991959514156767f3785dfb095ed9b17f3fba965e1 -SIZE (sdgathman-pymilter-pymilter-1.0.5_GH0.tar.gz) = 1030610 diff --git a/mail/py-pymilter/Makefile b/mail/py-pymilter/Makefile new file mode 100644 index 000000000000..9678f0a167d5 --- /dev/null +++ b/mail/py-pymilter/Makefile @@ -0,0 +1,41 @@ +PORTNAME= pymilter +DISTVERSION= 1.0.6 +DISTVERSIONPREFIX= ${GH_PROJECT}- +CATEGORIES= mail python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Python interface to Sendmail milter API +WWW= https://www.pymilter.org/ \ + https://github.com/sdgathman/pymilter + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= python + +USE_GITHUB= yes +GH_ACCOUNT= sdgathman + +USE_PYTHON= distutils autoplist flavors + +OPTIONS_SINGLE= MILTER +OPTIONS_SINGLE_MILTER= LIBMILTER BASE +OPTIONS_DEFAULT= LIBMILTER + +LIBMILTER_DESC= Link against libmilter from mail/libmilter +LIBMILTER_VARS= WITH_MILTER_PORT=yes +LIBMILTER_VARS_OFF= WITH_MILTER_BASE= + +BASE_DESC= Link against libmilter from base Sendmail +BASE_VARS= WITH_MILTER_BASE=yes +BASE_VARS_OFF= WITH_MILTER_PORT= + +.include + +.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/milter*.so + +.include diff --git a/mail/py-pymilter/distinfo b/mail/py-pymilter/distinfo new file mode 100644 index 000000000000..127ae5af92a5 --- /dev/null +++ b/mail/py-pymilter/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1746522427 +SHA256 (sdgathman-pymilter-pymilter-1.0.6_GH0.tar.gz) = 1c30abcf4b229e0e0f526a4e61eb7a7e9d88e14c6101001353b8219719325fcb +SIZE (sdgathman-pymilter-pymilter-1.0.6_GH0.tar.gz) = 1030816 diff --git a/mail/py-milter/pkg-descr b/mail/py-pymilter/pkg-descr similarity index 100% rename from mail/py-milter/pkg-descr rename to mail/py-pymilter/pkg-descr