[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / ports / mail / libspf2

File: [local] / ports / mail / libspf2 / Makefile (download)

Revision 1.19, Mon Oct 2 21:33:37 2023 UTC (7 months, 4 weeks ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.18: +4 -3 lines

update libspf2 to a fork with some recent and not-so-recent fixes.
no idea if it will fix CVE-2023-42118 as there is no info about that
vulnerability but we can hope...

libspf2 support has been disabled in exim and milter-greylist for 7.4.
still enabled in opendmarc for now.

COMMENT=	SPF library

#GH_ACCOUNT=	shevek
GH_ACCOUNT=	nomis
GH_PROJECT=	libspf2
GH_COMMIT=	0198cc55113c2866e2bf8cffa899404593677e53

DISTNAME=	libspf2-1.2.11pre20231001

SHARED_LIBS +=	spf2                 4.0      # 3.0

CATEGORIES=	mail
HOMEPAGE=	https://www.libspf2.org/

# BSD
PERMIT_PACKAGE=	Yes

WANTLIB += c iconv intl pthread

LIB_DEPENDS=		devel/gettext,-runtime

CONFIGURE_STYLE=	autoreconf
AUTOCONF_VERSION=	2.69
AUTOMAKE_VERSION=	1.16

CONFIGURE_ARGS=		--bindir=${PREFIX}/libexec/libspf2
CONFIGURE_ENV=		LDFLAGS="-L${LOCALBASE}/lib"
SEPARATE_BUILD=		Yes

post-install:
	rm ${PREFIX}/libexec/libspf2/*_static

.include <bsd.port.mk>