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) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
libspf2 Sender Policy Framework 2 C Implementation
1.2.11_1 mail on this many watch lists=39 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.2.11_1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2004-07-16 19:45:20
Last Update: 2023-10-08 11:54:11
Commit Hash: 31eb69a
People watching this port, also watch:: libiconv, png, pcre, unzip, expat
License: BSD2CLAUSE LGPL21 LGPL3
WWW:
https://www.libspf2.org/
https://github.com/shevek/libspf2
Description:
libspf2 implements the Sender Policy Framework, a part of the SPF/SRS protocol pair. libspf2 is a library which allows email systems such as Sendmail, Postfix, Exim, Zmailer and MS Exchange to check SPF records and make sure that the email is authorized by the domain name that it is coming from. This prevents email forgery, commonly used by spammers, scammers and email viruses/worms.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (35 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libspf2-1.2.11_1/catalog.mk
  3. /usr/local/share/licenses/libspf2-1.2.11_1/LICENSE
  4. /usr/local/share/licenses/libspf2-1.2.11_1/BSD2CLAUSE
  5. /usr/local/share/licenses/libspf2-1.2.11_1/LGPL21
  6. /usr/local/share/licenses/libspf2-1.2.11_1/LGPL3
  7. bin/spf_example
  8. bin/spf_example_static
  9. bin/spfd
  10. bin/spfd_static
  11. bin/spfquery
  12. bin/spfquery_static
  13. bin/spftest
  14. bin/spftest_static
  15. include/spf2/spf.h
  16. include/spf2/spf_dns.h
  17. include/spf2/spf_dns_cache.h
  18. include/spf2/spf_dns_null.h
  19. include/spf2/spf_dns_resolv.h
  20. include/spf2/spf_dns_rr.h
  21. include/spf2/spf_dns_test.h
  22. include/spf2/spf_dns_zone.h
  23. include/spf2/spf_lib_version.h
  24. include/spf2/spf_log.h
  25. include/spf2/spf_record.h
  26. include/spf2/spf_request.h
  27. include/spf2/spf_response.h
  28. include/spf2/spf_server.h
  29. lib/libspf2.a
  30. lib/libspf2.so
  31. lib/libspf2.so.2
  32. lib/libspf2.so.2.1.0
  33. @owner
  34. @group
  35. @mode
Collapse this list.
Dependency lines:
  • libspf2>0:mail/libspf2
To install the port:
cd /usr/ports/mail/libspf2/ && make install clean
To add the package, run one of these commands:
  • pkg install mail/libspf2
  • pkg install libspf2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libspf2
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1696470473 SHA256 (shevek-libspf2-1.2.11-d14abff_GH0.tar.gz) = 8b2a133c606d5f6fa643d0d8075cdc6bac40b3a9dc93962af0cb52e65b591742 SIZE (shevek-libspf2-1.2.11-d14abff_GH0.tar.gz) = 565182

Packages (timestamps in pop-ups are UTC):
libspf2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.2.11_11.2.11_11.2.10_21.2.11_11.2.11_1-1.2.10_2-
FreeBSD:13:quarterly1.2.11_11.2.11_11.2.111.2.11_11.2.11_11.2.11_11.2.11_11.2.11_1
FreeBSD:14:latest1.2.11_11.2.11_11.2.111.2.11_11.2.11_11.2.11-1.2.11
FreeBSD:14:quarterly1.2.11_11.2.11_1-1.2.11_11.2.11_11.2.11_11.2.11_11.2.11_1
FreeBSD:15:latest1.2.11_11.2.11_1n/a1.2.11_1n/a1.2.11_11.2.11_11.2.11_1
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. autoconf>=2.71 : devel/autoconf
  2. automake>=1.16.5 : devel/automake
  3. libtoolize : devel/libtool
This port is required by:
for Libraries
  1. mail/exim
  2. mail/exim-ldap2
  3. mail/exim-monitor
  4. mail/exim-mysql
  5. mail/exim-postgresql
  6. mail/exim-sa-exim
  7. mail/exim-sqlite
Expand this list (14 items / 7 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. mail/milter-callback
  3. mail/milter-greylist
  4. mail/opendmarc
  5. mail/spfmilter
  6. Collapse this list.

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. mail/milter-greylist-devel*
  2. mail/softfail*
  3. mail/xf-spf*
  4. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
mail_libspf2
USES:
autoreconf cpe libtool
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/shevek/libspf2/tar.gz/d14abff?dummy=/
Collapse this list.

Number of commits found: 45

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.2.11_1
08 Oct 2023 11:54:11
commit hash: 31eb69a6d04b5064d18bfe03c0d0d2f8b925548ecommit hash: 31eb69a6d04b5064d18bfe03c0d0d2f8b925548ecommit hash: 31eb69a6d04b5064d18bfe03c0d0d2f8b925548ecommit hash: 31eb69a6d04b5064d18bfe03c0d0d2f8b925548e files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
mail/libspf2: Update WWW
1.2.11_1
05 Oct 2023 01:58:46
commit hash: e0ce4912961cb8fcb88ea096eef3c3f82752be0bcommit hash: e0ce4912961cb8fcb88ea096eef3c3f82752be0bcommit hash: e0ce4912961cb8fcb88ea096eef3c3f82752be0bcommit hash: e0ce4912961cb8fcb88ea096eef3c3f82752be0b files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
mail/libspf2: Update to newer snapshot (d14abff)

- Bump PORTREVISION for package change

Changes:	https://github.com/shevek/libspf2/commits/master
PR:		274215
Reported by:	pi
Security:	CVE-2023-42118
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)
1.2.11
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit This port version is marked as vulnerable.
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)
1.2.11
20 Jul 2022 14:22:19
commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332 files touched by this commit This port version is marked as vulnerable.
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)
1.2.11
13 May 2022 11:40:16
commit hash: 97deffc5b76fc61eeef40559aa82d7999c698288commit hash: 97deffc5b76fc61eeef40559aa82d7999c698288commit hash: 97deffc5b76fc61eeef40559aa82d7999c698288commit hash: 97deffc5b76fc61eeef40559aa82d7999c698288 files touched by this commit This port version is marked as vulnerable.
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
mail/libspf2: Update to 1.2.11

- Update MASTER_SITES

Changes:	https://github.com/shevek/libspf2/commits/master
Security:	CVE-2021-20314
PR:		259938
Reported by:	Dmitriy <supportme@ukr.net>
1.2.10_2
25 Oct 2021 15:57:15
commit hash: 70cc6289813de7d93ce1b094faffc502af6301d6commit hash: 70cc6289813de7d93ce1b094faffc502af6301d6commit hash: 70cc6289813de7d93ce1b094faffc502af6301d6commit hash: 70cc6289813de7d93ce1b094faffc502af6301d6 files touched by this commit This port version is marked as vulnerable.
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
mail/libspf2: Cosmetic change
1.2.10_2
23 Oct 2021 21:11:22
commit hash: 4ad8a06eabe2841b0a99d0480ed54fda88c15cb2commit hash: 4ad8a06eabe2841b0a99d0480ed54fda88c15cb2commit hash: 4ad8a06eabe2841b0a99d0480ed54fda88c15cb2commit hash: 4ad8a06eabe2841b0a99d0480ed54fda88c15cb2 files touched by this commit This port version is marked as vulnerable.
Stefan Eßer (se) search for other commits by this committer
mail/libspf2: Add CPE information

Approved by:    portmgr (blanket)
1.2.10_2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit This port version is marked as vulnerable.
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.2.10_2
19 Sep 2019 09:38:20
Revision:512323Original commit files touched by this commit This port version is marked as vulnerable.
amdmi3 search for other commits by this committer
- Update WWW

Approved by:	portmgr blanket
1.2.10_2
12 Sep 2019 19:07:31
Revision:511899Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
Fix COMMENT

PR:		240491
Submitted by:	Martin Waschbusch <martin@waschbuesch.de>
1.2.10_2
29 May 2017 15:26:57
Revision:442000Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
Remove CONFLICTS

- mail/libspf2-10 has been removed over 5.5 years
- mail/p5-Mail-SPF-Query has been removed over 3 years
1.2.10_2
19 May 2016 10:44:12
Revision:415499Original commit files touched by this commit This port version is marked as vulnerable.
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
1.2.10_2
22 Nov 2014 18:42:44
Revision:373086Original commit files touched by this commit This port version is marked as vulnerable.
antoine search for other commits by this committer
Cleanup plist
1.2.10_2
17 Aug 2014 15:59:41
Revision:365196Original commit files touched by this commit This port version is marked as vulnerable.
tijl search for other commits by this committer
mail/libspf2:
- Convert to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip

(Also some white space fixes in dependent ports)

Approved by:	portmgr (implicit, bump unstaged port)
1.2.10_1
26 Dec 2013 21:43:06
Revision:337619Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update LICENSE
1.2.10_1
25 Sep 2013 00:54:09
Revision:328226Original commit files touched by this commit This port version is marked as vulnerable.
bdrewery search for other commits by this committer
- Remove NO_STAGE as these have been tested to be safe

With hat:	portmgr
1.2.10_1
20 Sep 2013 19:59:14
Revision:327742Original commit files touched by this commit This port version is marked as vulnerable.
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
mail)
1.2.10_1
14 Sep 2013 16:51:53
Revision:327303Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Sort PLIST
1.2.10_1
16 Jun 2013 18:16:16
Revision:321065Original commit files touched by this commit This port version is marked as vulnerable.
stefan search for other commits by this committer
- Let mail/p5-Mail-SPF always install spfquery as spfquery.pl unconditionally to
  avoid conflict with mail/libspf2.
- Unregister conflict between mail/p5-Mail-SPF and mail/libspf2.

PR:		157107
1.2.10
13 Jun 2013 18:54:38
Revision:320828Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.2.10
- Add LICENSE

Changes:	https://github.com/shevek/libspf2/commits/master
1.2.9_2
26 Apr 2013 09:19:34
Revision:316592Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Mark CONFLICTS among mail/libspf2, mail/p5-Mail-SPF and
mail/p5-Mail-SPF-Query, all of them installs PREFIX/bin/spfquery [1]
- Bump PORTREVISION for package change
- While I'm here:
  - Replace removed PTHREAD_LIBS with -pthread
  - Cleanup Makefile header
  - Add CPAN as primary WWW for mail/p5-Mail-SPF-Query

PR:		ports/177682 [1]
Submitted by:	dougb
1.2.9_1
12 Feb 2012 03:38:52
Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Fix build with clang

PR:             ports/164974
Submitted by:   James Kelly <james@hicag.org>
1.2.9_1
01 Feb 2012 18:55:13
Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Add my LOCAL as MASTER_SITES
- Take maintainership
1.2.9_1
01 Feb 2012 15:53:08
Original commit files touched by this commit This port version is marked as vulnerable.
tabthorpe search for other commits by this committer
- Reassign to the heap
1.2.9_1
03 Jul 2011 13:53:52
Original commit files touched by this commit This port version is marked as vulnerable.
ohauer search for other commits by this committer
- remove MD5
1.2.9_1
04 Dec 2010 07:34:27
Original commit files touched by this commit This port version is marked as vulnerable.
ade search for other commits by this committer
Sync to new bsd.autotools.mk
1.2.9_1
04 Dec 2009 14:00:51
Original commit files touched by this commit This port version is marked as vulnerable.
mnag search for other commits by this committer
- Fix a bug which cause signal 6 in milter-greylist.
- Fix other bug on IP6.
- Bump PORTREVISION.

Submitted by:   ume
1.2.9
02 Aug 2009 19:36:34
Original commit files touched by this commit This port version is marked as vulnerable.
mezz search for other commits by this committer
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:      marcus and kwm
Pointyhat-exp:  a few times by pav
Tested by:      pgollucci, "Romain Tartière" <romain@blogreen.org>, and
                a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:    marcus
Approved by:    portmgr
1.2.9
22 Feb 2009 22:41:18
Original commit files touched by this commit This port version is marked as vulnerable.
mnag search for other commits by this committer
- Update to 1.2.9
1.2.8
29 Oct 2008 12:48:50
Original commit files touched by this commit This port version is marked as vulnerable.
mnag search for other commits by this committer
- Update to 1.2.8

PR:             128298
Submitted by:   Jeffrey Goldberg <jeffrey___goldmark.org>
1.2.5_3
21 Aug 2008 06:18:49
Original commit files touched by this commit This port version is marked as vulnerable.
rafan search for other commits by this committer
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.2.5_3
11 Feb 2008 14:49:20
Original commit files touched by this commit This port version is marked as vulnerable.
mnag search for other commits by this committer
- Add patch to respect RFC 4408. Section 10.1 say that maximun DNS checks are 10
for every A, MX or PTR records.
- Bump PORTREVISION

PR:             118859
Submitted by:   dawnshade <h-k___mail.ru> [partial]
1.2.5_2
01 Feb 2007 02:42:06
Original commit files touched by this commit This port version is marked as vulnerable.
kris search for other commits by this committer
Use libtool port instead of included version to avoid objformat a.out botch
1.2.5_2
13 Dec 2006 02:57:08
Original commit files touched by this commit This port version is marked as vulnerable.
mnag search for other commits by this committer
- Fix SIGSEGV in amd64 using size_t instead of int. [1]
- res_state has to be initialized before calling res_ninit(). [2]
- Where res_ndestroy() is available, when thread is destroyed, we
  need to call res_ndestroy() instead of res_nclose(), to free the
  resource which is allocated by the resolver internally. [2]
- portlint(1)
- Bump PORTREVISION

PR:             105001 [1]
Submitted by:   Christophe Thil<chris___thil.de> [1], ume [2]
1.2.5_1
10 May 2006 22:37:39
Original commit files touched by this commit This port version is marked as vulnerable.
edwin search for other commits by this committer
Remove USE_REINPLACE from ports starting with M
1.2.5_1
23 Feb 2006 10:40:45
Original commit files touched by this commit This port version is marked as vulnerable.
ade search for other commits by this committer
Conversion to a single libtool environment.

Approved by:    portmgr (kris)
1.2.5
15 Nov 2005 06:52:12
Original commit files touched by this commit This port version is marked as vulnerable.
ade search for other commits by this committer
Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
        http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
1.2.5
09 Nov 2005 02:32:50
Original commit files touched by this commit This port version is marked as vulnerable.
mnag search for other commits by this committer
Add SHA256
1.2.5
17 Oct 2005 01:54:39
Original commit files touched by this commit This port version is marked as vulnerable.
mnag search for other commits by this committer
Use PTHREAD_LIBS
Fix forced libtool path

Notified by:    pointyhat by kris
1.2.5
16 Sep 2005 17:58:32
Original commit files touched by this commit This port version is marked as vulnerable.
mnag search for other commits by this committer
Update my email

Approved by: pav (mentor)
1.2.5
11 Sep 2005 21:26:39
Original commit files touched by this commit This port version is marked as vulnerable.
vsevolod search for other commits by this committer
Completing repo-copy of mail/libspf2 to mail/libspf2-10.

PR:             85000
Submitted by:   Marcus Grando <marcus@corp.grupos.com.br>
Repocopy by:    marcus
1.0.4
12 Apr 2005 03:26:57
Original commit files touched by this commit This port version is marked as vulnerable.
obrien search for other commits by this committer
At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
1.0.4
11 Apr 2005 08:04:41
Original commit files touched by this commit This port version is marked as vulnerable.
obrien search for other commits by this committer
Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
1.0.4
16 Jul 2004 19:44:14
Original commit files touched by this commit This port version is marked as vulnerable.
eik search for other commits by this committer
Add libspf2 and libsrs2, C implementations SPF + SRS

PR:             68817, 68832
Submitted by:   snowchyld@mokney.org

Number of commits found: 45