git: add731755b52 - main - mail/libspf: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 31 Dec 2023 00:07:59 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=add731755b522784c90f62e2070a4e6cb8dce83e

commit add731755b522784c90f62e2070a4e6cb8dce83e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-29 22:23:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-31 00:06:23 +0000

    mail/libspf: Remove expired port
    
    2023-12-31 mail/libspf: Abandonware, last commit upstream 14 years ago. Consider migrating to mail/libspf2
---
 MOVED                                     |   1 +
 mail/Makefile                             |   1 -
 mail/libspf/Makefile                      |  70 ------------------
 mail/libspf/distinfo                      |   2 -
 mail/libspf/files/patch-configure.in      | 117 ------------------------------
 mail/libspf/files/patch-src_libspf_main.c |  11 ---
 mail/libspf/pkg-descr                     |   5 --
 mail/libspf/pkg-plist                     |  44 -----------
 8 files changed, 1 insertion(+), 250 deletions(-)

diff --git a/MOVED b/MOVED
index ccf796166630..6314157a0a65 100644
--- a/MOVED
+++ b/MOVED
@@ -8230,3 +8230,4 @@ audio/mythplugin-mythmusic||2023-12-31|Has expired: Depends on deprecated www/qt
 devel/strace||2023-12-31|Has expired: BROKEN on all supported versions after EOL of 12
 audio/tuneradio||2023-12-31|Has expired: Requires defunct bktr
 net/skstream||2023-12-31|Has expired: There has been no release for most of the Worldforge libraries in the past 10 years.
+mail/libspf||2023-12-31|Has expired: Abandonware, last commit upstream 14 years ago. Consider migrating to mail/libspf2
diff --git a/mail/Makefile b/mail/Makefile
index 1c72e737ae82..4a9cff2bf89e 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -181,7 +181,6 @@
     SUBDIR += libpst
     SUBDIR += libsieve
     SUBDIR += libspamtest
-    SUBDIR += libspf
     SUBDIR += libspf2
     SUBDIR += libsrs2
     SUBDIR += libsrs_alt
diff --git a/mail/libspf/Makefile b/mail/libspf/Makefile
deleted file mode 100644
index c42d04529d10..000000000000
--- a/mail/libspf/Makefile
+++ /dev/null
@@ -1,70 +0,0 @@
-PORTNAME=	libspf
-DISTVERSION=	1.0.0-p5
-PORTREVISION=	1
-CATEGORIES=	mail
-MASTER_SITES=	http://www.libspf.org/files/src/ \
-		LOCAL/mnag/${PORTNAME}
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Sender Policy Framework (SPF) library and client
-WWW=		http://software.schmorp.de/pkg/libspf.html
-
-LICENSE=	BSD2CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-DEPRECATED=	Abandonware, last commit upstream 14 years ago. Consider migrating to mail/libspf2
-EXPIRATION_DATE=2023-12-31
-
-MAKE_JOBS_UNSAFE=yes
-
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
-USES=		autoreconf cpe libtool tar:bzip2
-USE_LDCONFIG=	yes
-
-PORTDOCS=	*
-
-OPTIONS_DEFINE=	RFC_RECURSION LOGFILE_STATS DEBUG DOCS EXAMPLES
-RFC_RECURSION_DESC=	Change SPF recursion to 20 (as per RFC)
-LOGFILE_STATS_DESC=	Enables logfile stats
-
-RFC_RECURSION_CONFIGURE_ON=	--enable-rfc-recursion
-LOGFILE_STATS_CONFIGURE_ON=	--enable-logfile-stats
-DEBUG_CONFIGURE_ON=	--enable-debug
-
-post-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	@${FIND} ${WRKSRC}/patches -type d -name CVS | ${XARGS} ${RM} -r
-.for i in patches patches/qmail patches/qmail/1.03 patches/qmail/1.05 patches/Postfix \
-	patches/Postfix/2.1.x patches/Sendmail patches/Sendmail/8.12.x patches/Sendmail/8.13.x \
-	patches/Courier-MTA
-	@${MKDIR} ${STAGEDIR}${DATADIR}/${i}
-	@for f in `${FIND} ${WRKSRC}/${i} ! -type d -maxdepth 1`; do \
-		${INSTALL_DATA} $${f} ${STAGEDIR}${DATADIR}/${i}; \
-	done
-.endfor
-
-post-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	@${FIND} ${WRKSRC}/examples -type d -name CVS | ${XARGS} ${RM} -r
-.for i in examples/qmail examples/qmail/control examples/Sendmail
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${i}
-	@for f in `${FIND} ${WRKSRC}/${i} ! -type d -maxdepth 1`; do \
-		${INSTALL_DATA} $${f} ${STAGEDIR}${EXAMPLESDIR}/${i}; \
-	done
-.endfor
-
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${FIND} ${WRKSRC}/docs -type d -name CVS | ${XARGS} ${RM} -r
-.for i in docs docs/API docs/API/doxygen docs/API/doxygen/html docs/RFC docs/qmail \
-	docs/qmail/1.03 docs/qmail/1.04 docs/qmail/1.05 docs/spfqtool docs/Postfix \
-	docs/Postfix/2.1.x docs/Sendmail docs/Sendmail/8.12.x docs/Sendmail/8.13.x \
-	docs/Courier-MTA docs/history
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/${i}
-	@for f in `${FIND} ${WRKSRC}/${i} ! -type d -maxdepth 1`; do \
-		${INSTALL_DATA} $${f} ${STAGEDIR}${DOCSDIR}/${i}; \
-	done
-.endfor
-
-.include <bsd.port.mk>
diff --git a/mail/libspf/distinfo b/mail/libspf/distinfo
deleted file mode 100644
index 57e384930c9b..000000000000
--- a/mail/libspf/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (libspf-1.0.0-p5.tar.bz2) = 0a2f2dea74a8ee78133b05efcfc2ad8ca1df664598fbbbc09aefe9ba7154df95
-SIZE (libspf-1.0.0-p5.tar.bz2) = 961254
diff --git a/mail/libspf/files/patch-configure.in b/mail/libspf/files/patch-configure.in
deleted file mode 100644
index 280d572ee8aa..000000000000
--- a/mail/libspf/files/patch-configure.in
+++ /dev/null
@@ -1,117 +0,0 @@
---- configure.in.orig	2006-05-08 22:06:01 UTC
-+++ configure.in
-@@ -839,7 +839,7 @@
-     AC_MSG_ERROR(bad value ${enableval} for --enable-libbind)
-     ;;
- esac],
--[libbind=false] AC_MSG_RESULT(no))
-+[libbind=false]; AC_MSG_RESULT(no))
- 
- if test "$libbind" = "true"; then
-   LIBSPF_RESOLV_LIB="-lbind"
-@@ -927,14 +927,12 @@
-     AC_MSG_ERROR(bad value ${enableval} for --enable-debug)
-     ;;
- esac],
--[debug=false] AC_MSG_RESULT(no))
-+[debug=false]; AC_MSG_RESULT(no))
- 
--CFLAGS=""
- if test "$debug" = "true"; then
--  CFLAGS="-ggdb -O -D_SPF_DEBUG"
-+  CFLAGS="$CFLAGS -D_SPF_DEBUG"
- else
-   AC_MSG_RESULT(Enabling GCC optimisations)
--  CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer"
- 
-   if [[ "x$GCC_VERSION" = "x3" ]]; then
-     AC_MSG_RESULT(Enabling GCC v3 optimizations)
-@@ -976,7 +974,7 @@
-       AC_MSG_ERROR(bad value ${enableval} for --enable-debug-logfile)
-       ;;
-   esac],
--  [debug_logfile=true] AC_MSG_RESULT(no))
-+  [debug_logfile=true]; AC_MSG_RESULT(no))
- 
-   if test "$debug_logfile" = "true"; then
-     CFLAGS="-D_SPF_DEBUG_LOGFILE $CFLAGS"
-@@ -1005,7 +1003,7 @@
-     AC_MSG_ERROR(bad value ${enableval} for --enable-logfile-stats)
-     ;;
- esac],
--[logfile_stats=false] AC_MSG_RESULT(no))
-+[logfile_stats=false]; AC_MSG_RESULT(no))
- 
- if test "$logfile_stats" = "true"; then
-   CFLAGS="-D_SPF_LOGFILE_STATS $CFLAGS"
-@@ -1033,7 +1031,7 @@
-     AC_MSG_ERROR(bad value ${enableval} for --enable-rfc-recursion)
-     ;;
- esac],
--[rfc_recursion=false] AC_MSG_RESULT(no))
-+[rfc_recursion=false]; AC_MSG_RESULT(no))
- 
- if test "$rfc_recursion" = "true"; then
-   CFLAGS="-D_RFC_RECURSION $CFLAGS"
-@@ -1079,7 +1077,7 @@
-     AC_MSG_ERROR(bad value ${enableval} for --enable-paranoid-malloc)
-     ;;
- esac],
--[paranoid_malloc=true] AC_MSG_RESULT(yes))
-+[paranoid_malloc=true]; AC_MSG_RESULT(yes))
- 
- if test "$paranoid_malloc" = "true"; then
-   CFLAGS="-D_WITH_PARANOID_MALLOC $CFLAGS"
-@@ -1109,7 +1107,7 @@
-     AC_MSG_ERROR(bad value ${enableval} for --enable-res_search)
-     ;;
- esac],
--[res_search=falsee] AC_MSG_RESULT(no))
-+[res_search=falsee]; AC_MSG_RESULT(no))
- 
- if test "$res_search" = "true"; then 
-   CFLAGS="-D_WITH_RES_SEARCH $CFLAGS"
-@@ -1136,7 +1134,7 @@
-     AC_MSG_ERROR(bad value ${enableval} for --disable-spfqtool)
-     ;;
- esac],
--[spfqtool=false] AC_MSG_RESULT(no))
-+[spfqtool=false]; AC_MSG_RESULT(no))
- 
- if test "$spfqtool" = "true"; then
-   LIBSPF_BUILD_DIRS="libspf"
-@@ -1168,7 +1166,7 @@
-     AC_MSG_ERROR(bad value ${enableval} for --enable-pthreads)
-     ;;
- esac],
--[pthreads=false] AC_MSG_RESULT(no))
-+[pthreads=false]; AC_MSG_RESULT(no))
- 
- if test "$pthreads" = "true"; then
- 
-@@ -1226,7 +1224,7 @@
-     AC_MSG_ERROR(bad value ${enableval} for --enable-spfmilter)
-     ;;
- esac],
--[spfmilter=false] AC_MSG_RESULT(no))
-+[spfmilter=false]; AC_MSG_RESULT(no))
- 
- if test "$pthreads" = "false"; then
-   if test "$spfmilter" = "true"; then
-@@ -1314,7 +1312,7 @@
-       AC_MSG_ERROR(bad value ${enableval} for --enable-full-optimizations)
-       ;;
-   esac],
--  [full_optimizations=false] AC_MSG_RESULT(no))
-+  [full_optimizations=false]; AC_MSG_RESULT(no))
- 
-   if test "$full_optimizations" = "true"; then
-     if [[ "x$GCCVER" != "xno" ]]; then
-@@ -1337,7 +1335,6 @@
-   src/spfqtool/Makefile \
-   src/libspf/spf.h \
-   src/libspf/util.c \
--  src/spfmilter/Makefile \
- )
- #AC_OUTPUT(src/Makefile)
- #AC_OUTPUT(src/libspf/Makefile)
diff --git a/mail/libspf/files/patch-src_libspf_main.c b/mail/libspf/files/patch-src_libspf_main.c
deleted file mode 100644
index 4c5eaf80ac97..000000000000
--- a/mail/libspf/files/patch-src_libspf_main.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/libspf/main.c.orig Thu Jul 28 17:23:42 2005
-+++ src/libspf/main.c      Thu Jul 28 17:24:11 2005
-@@ -1683,7 +1683,7 @@
-     xfree(p->from);
-   }
-
--  if (p->spf_rlevel > 0)
-+  if (p->spf_rlevel > 0 && p->current_domain != p->original_domain)
-   {
-     xfree(p->current_domain);
-   }
diff --git a/mail/libspf/pkg-descr b/mail/libspf/pkg-descr
deleted file mode 100644
index cbe18a964b39..000000000000
--- a/mail/libspf/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Sender Policy Framework (SPF) library and client in C.
-SPF is a standard under development for email envelope sender
-verification. Domain owners can specify who is qualified to send
-mail for the domain by publishing SPF TXT records in DNS.
-Read all about SPF at http://spf.pobox.com/
diff --git a/mail/libspf/pkg-plist b/mail/libspf/pkg-plist
deleted file mode 100644
index 615bf71923e9..000000000000
--- a/mail/libspf/pkg-plist
+++ /dev/null
@@ -1,44 +0,0 @@
-bin/spfqtool
-bin/spfqtool_static
-include/_stdint.h
-include/spf.h
-lib/libspf-1.0.so.0
-lib/libspf-1.0.so.0.0.26
-lib/libspf.a
-lib/libspf.so
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/Sendmail/sendmail.cf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/Sendmail/sendmail.mc.example
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/Sendmail/spf.m4
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spfaction
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spfbestguess
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spfdebugstate
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spfexplainstate
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spfexplanation
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spfguessstate
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spfheaderstate
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spftarpit
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spftarpittime
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spftrustedforwarder
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/qmail/control/spftrustedstate
-%%DATADIR%%/patches/Courier-MTA/courier-0.45.4-spf.diff
-%%DATADIR%%/patches/Postfix/2.1.x/postfix-2.1.4-libspf-1.0-RC6.diff
-%%DATADIR%%/patches/Postfix/README
-%%DATADIR%%/patches/README
-%%DATADIR%%/patches/Sendmail/8.12.x/sendmail-8.12.10-libspf.0.24.diff
-%%DATADIR%%/patches/Sendmail/8.12.x/sendmail-8.12.11-libspf.0.25.diff
-%%DATADIR%%/patches/Sendmail/8.12.x/sendmail-8.12.11-libspf.0.25.fixed.diff
-%%DATADIR%%/patches/Sendmail/8.13.x/sendmail-8.13.0-libspf-1.0-RC3.diff
-%%DATADIR%%/patches/Sendmail/8.13.x/sendmail-8.13.1-libspf-1.0-RC5.diff
-%%DATADIR%%/patches/Sendmail/8.13.x/sendmail-8.13.1-libspf-1.0-RC6.diff
-%%DATADIR%%/patches/Sendmail/8.13.x/sendmail-8.13.4-libspf-1.0.diff
-%%DATADIR%%/patches/Sendmail/README
-%%DATADIR%%/patches/qmail/1.03/qmail-1.03.solaris.patch
-%%DATADIR%%/patches/qmail/1.05/Makefile-dynamic-1.05.diff
-%%DATADIR%%/patches/qmail/1.05/Makefile-static-1.05.diff
-%%DATADIR%%/patches/qmail/1.05/netqmail-1.05-libspf-0.25.diff
-%%DATADIR%%/patches/qmail/1.05/netqmail-1.05-libspf-1.0.0-RC5.diff
-%%DATADIR%%/patches/qmail/1.05/netqmail-1.05-libspf-1.0.0-RC6.diff
-%%DATADIR%%/patches/qmail/README
-%%PORTDOCS%%@dir %%DOCSDIR%%/docs/qmail/1.04
-%%PORTDOCS%%@dir %%DOCSDIR%%/docs/qmail/1.03
-%%PORTDOCS%%@dir %%DOCSDIR%%/docs/Postfix/2.1.x