notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-spf-engine SPF engine for Postfix policy server and milter implemented in Python
3.0.4 mail on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.0.4Version of this port present on the latest quarterly branch.
Maintainer: yasu@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-05-31 13:49:34
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
People watching this port, also watch:: py39-pycparser, p5-Net-HTTP, json-c, python, tmux
Also Listed In: python
License: APACHE20 GPLv2+
WWW:
https://launchpad.net/spf-engine
Description:
This project provides the SPF (Sender Policy Framework) back-end for both pypolicyd-spf (for which it was originally developed) and an future SPF milter using pymilter. The goal is to provide a common back-end for common features for support SPF integration with Postfix and Sendmail using both the Postfix policy service and the Sendmail milter protocol (also available with Postfix).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}spf-engine>0:mail/py-spf-engine@${PY_FLAVOR}
To install the port:
cd /usr/ports/mail/py-spf-engine/ && make install clean
To add the package, run one of these commands:
  • pkg install mail/py-spf-engine
  • pkg install py39-spf-engine
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-spf-engine listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-spf-engine
Package flavors (<flavor>: <package>)
  • py39: py39-spf-engine
distinfo:
TIMESTAMP = 1681795743 SHA256 (spf-engine-3.0.4.tar.gz) = 19cc3b7a73486ff4eb64461ad19d387b31d499f32673527e6841fa1655db853a SIZE (spf-engine-3.0.4.tar.gz) = 61428

Packages (timestamps in pop-ups are UTC):
py37-spf-engine
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.9.2---2.9.2-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

py39-spf-engine
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.0.43.0.4--3.0.4---
FreeBSD:13:quarterly3.0.43.0.43.0.43.0.43.0.4-3.0.43.0.4
FreeBSD:14:latest3.0.43.0.42.9.3_1-3.0.43.0.4-3.0.4
FreeBSD:14:quarterly3.0.43.0.4-3.0.43.0.4-3.0.43.0.4
FreeBSD:15:latest3.0.43.0.4n/a3.0.4n/a-3.0.4-
FreeBSD:15:quarterly--n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-flit-core>=3.8<4 : devel/py-flit-core@py39
  2. python3.9 : lang/python39
  3. py39-build>=0 : devel/py-build@py39
  4. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-authres>0 : mail/py-authres@py39
  2. py39-milter>0 : mail/py-milter@py39
  3. py39-pyspf>0 : mail/py-pyspf@py39
  4. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py39-spf-engine-3.0.4: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
mail_py-spf-engine
USES:
python shebangfix
pkg-message:
For install:
# # Using policyd-spf with Postfix # Policyd-spf must be integrated with Postfix to be effective: 1. Add to your postfix master.cf: policyd-spf unix - n n - 0 spawn user=nobody argv=/usr/local/bin/policyd-spf 2. Configure the Postfix policy service in your main.cf so that the "smtpd_recipient_restrictions" includes a call to the policyd-spf policy filter. If you already have a "smtpd_recipient_restrictions" line, you can add the "check_policy_service" command anywhere *after* the line which reads "reject_unauth_destination" (otherwise you're system can become an open relay). smtpd_recipient_restrictions = ... reject_unauth_destination check_policy_service unix:private/policyd-spf ... policyd-spf_time_limit = 3600 3. Please consult the postfix documentation for more information on these and other settings you may wish to have in the "smtpd_recipient_restrictions" configuration. 4. Reload postfix. # # Automatically starting pyspf-milter at boot time. # Add 'pyspf_milter_enable="YES"' to /etc/rc.conf. # # Using pyspf-milter with Sendmail # Following is an example configuration line to include in your sendmail.mc. INPUT_MAIL_FILTER(`pyspf-milter', `S=local:/var/run/pyspf-milter/pyspf-milter.sock')dnl # # Using pyspf-milter with Postfix # Integration of pyspf-milter into Postfix is like any milter (See Postfix's README_FILES/MILTER_README). But care is required to segregate outbound mail from inbound mail to be checked. Here is example using milter macros to keep the mail streams segregated. /usr/local/etc/postfix/main.cf: smtpd_milters = unix:/var/run/pyspf-milter/pyspf-milter.sock /usr/local/etc/postfix/master.cf: smtp inet n - - - - smtpd ... -o milter_macro_daemon_name=VERIFYING ... /usr/local/etc/python-policyd-spf/policyd-spf.conf: MacroList daemon_name|VERIFYING
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/s/spf-engine/
  2. https://pypi.org/packages/source/s/spf-engine/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2023-02-27
    Affects: users of mail/py-spf-engine
    Author: yasu@FreeBSD.org
    Reason: 
      Default configuration file path of pyspf-milter has changed. Since
      it looks for ${PREFIX}/etc/etc/pyspf-milter/pyspf-milter.conf now,
      you should edit the file if you run pyspf-milter. Alternatively you
      can specify other configuration file path by setting
      pyspf_milter_conffile variable in /etc/rc.conf.
    
    

Number of commits found: 14

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.0.4
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3.0.4
08 May 2023 06:20:28
commit hash: 205e246ff97b23559868c103055e7451b1a366b3commit hash: 205e246ff97b23559868c103055e7451b1a366b3commit hash: 205e246ff97b23559868c103055e7451b1a366b3commit hash: 205e246ff97b23559868c103055e7451b1a366b3 files touched by this commit
Yasuhiro Kimura (yasu) search for other commits by this committer
mail/py-spf-engine: Update to 3.0.4

ChangeLog:	https://git.launchpad.net/spf-engine/tree/CHANGES?h=3.0.4
3.0.3_1
04 Apr 2023 18:29:11
commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123 files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
USE_PYTHON=pep517: bump PORTREVISION
3.0.3
27 Feb 2023 01:45:15
commit hash: f32e5a0b505a1a398b34fc86578c827d4a66a531commit hash: f32e5a0b505a1a398b34fc86578c827d4a66a531commit hash: f32e5a0b505a1a398b34fc86578c827d4a66a531commit hash: f32e5a0b505a1a398b34fc86578c827d4a66a531 files touched by this commit
Yasuhiro Kimura (yasu) search for other commits by this committer
mail/py-spf-engine: Update to 3.0.3

* Since 3.0.0 spf-engine uses flit-core as build backend. So switch to
  use 'USE_PYTHON=pep517'.
* Add entry to UPDATING as default configuration file path of
  pyspf-milter has changed.

ChangeLog:	https://git.launchpad.net/spf-engine/tree/CHANGES?h=3.0.3
2.9.3_1
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.9.3_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.9.3_1
05 Sep 2022 20:18:13
commit hash: 00b787288fc81a2e5dba2a62a2627da760772b50commit hash: 00b787288fc81a2e5dba2a62a2627da760772b50commit hash: 00b787288fc81a2e5dba2a62a2627da760772b50commit hash: 00b787288fc81a2e5dba2a62a2627da760772b50 files touched by this commit
Yasuhiro Kimura (yasu) search for other commits by this committer
mail/py-spf-engine: Miscellaneous bug fixes and improvements

* Fix runtime error of pyspf-milter that happens when either 'UMask'
  or 'IntHosts' is set in configuration file.
* Stop installing backup files.
* Make miscellaneous paths consistent between library files, man
  pages, pkg-message and rc.d script.
* Remove CONFLICTS as mail/postfix-policyd-spf-python is removed from
  ports tree

MFH:		2022Q3
2.9.3
20 Jul 2022 14:22:19
commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
mail: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ashish@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam David <adam@FreeBSD.org>
  *  Adam McDougall <mcdouga9@egr.msu.edu>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alex Deiter <tiamat@komi.mts.ru>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
  *  Alex Perel <veers@disturbed.net>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.9.3
08 Feb 2022 10:32:22
commit hash: 03fd784f40bc8ae7bc6da359b2096e0e859a8f47commit hash: 03fd784f40bc8ae7bc6da359b2096e0e859a8f47commit hash: 03fd784f40bc8ae7bc6da359b2096e0e859a8f47commit hash: 03fd784f40bc8ae7bc6da359b2096e0e859a8f47 files touched by this commit
Yasuhiro Kimura (yasu) search for other commits by this committer
mail/py-spf-engine: Update to 2.9.3

* Switch to DISTVERSION
* Pet portclippy
* Tidy up Makefile with portfmt

ChangeLog:	https://git.launchpad.net/spf-engine/tree/CHANGES?h=2.9.3
2.9.2
28 Sep 2021 05:13:33
commit hash: 10c30f1825b82a7e2e27e2d9e176fe8f325ffce3commit hash: 10c30f1825b82a7e2e27e2d9e176fe8f325ffce3commit hash: 10c30f1825b82a7e2e27e2d9e176fe8f325ffce3commit hash: 10c30f1825b82a7e2e27e2d9e176fe8f325ffce3 files touched by this commit
Yasuhiro Kimura (yasu) search for other commits by this committer
*/*: Update MAINTAINER address of my ports to that of FreeBSD.org

Approved by:	meta (mentor)
Differential Revision:	https://reviews.freebsd.org/D32170
2.9.2
06 Apr 2021 14:31:13
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
2.9.2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.9.2
31 May 2020 13:49:28
Revision:537162Original commit files touched by this commit
dbaio search for other commits by this committer
Add mail/py-spf-engine, Deprecate mail/postfix-policyd-spf-python

Give time to users to change their env

The new port is the successor, it supports milter feature and its
config file is in another path.

PR:		244424
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)

Number of commits found: 14