summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/hashcat/Makefile2
-rw-r--r--security/isal-kmod/Makefile1
-rw-r--r--security/libfido2/Makefile9
-rw-r--r--security/libfido2/files/extra-patch-openssl26
-rw-r--r--security/nettle/Makefile4
-rw-r--r--security/openssl-quictls/Makefile11
-rw-r--r--security/openssl/Makefile11
-rw-r--r--security/openssl111/Makefile11
-rw-r--r--security/openssl31-quictls/Makefile8
-rw-r--r--security/openssl31/Makefile11
-rw-r--r--security/openssl32/Makefile11
-rw-r--r--security/openvpn-devel/Makefile1
-rw-r--r--security/openvpn/Makefile1
-rw-r--r--security/opie/Makefile1
-rw-r--r--security/p5-Crypt-Curve25519/Makefile1
-rw-r--r--security/p5-PGP/Makefile2
-rw-r--r--security/pam_ssh_agent_auth/Makefile1
-rw-r--r--security/pam_u2f/Makefile4
-rw-r--r--security/picocrypt/Makefile2
-rw-r--r--security/pkcs11-tools/Makefile13
-rw-r--r--security/rcracki_mt/Makefile2
-rw-r--r--security/snort3/Makefile6
-rw-r--r--security/sssd-devel/Makefile10
-rw-r--r--security/tor/Makefile1
-rw-r--r--security/wazuh-manager/Makefile6
-rw-r--r--security/zeek/Makefile2
26 files changed, 14 insertions, 144 deletions
diff --git a/security/hashcat/Makefile b/security/hashcat/Makefile
index 11d69c0e7c9b..8cffda08e8b3 100644
--- a/security/hashcat/Makefile
+++ b/security/hashcat/Makefile
@@ -11,7 +11,7 @@ WWW= https://hashcat.net/hashcat/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/docs/license.txt
-NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe sparc64
+NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe
NOT_FOR_ARCHS_REASON= fails to compile: compiling for big-endian architecture not supported
BUILD_DEPENDS= minizip:archivers/minizip
diff --git a/security/isal-kmod/Makefile b/security/isal-kmod/Makefile
index cca352e2722e..befec1fe072e 100644
--- a/security/isal-kmod/Makefile
+++ b/security/isal-kmod/Makefile
@@ -10,7 +10,6 @@ WWW= https://github.com/bsdjhb/ocf_isa_l
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/isa-l_crypto/LICENSE
-IGNORE_FreeBSD_12= requires FreeBSD 13.0 or later
ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= yasm:devel/yasm
diff --git a/security/libfido2/Makefile b/security/libfido2/Makefile
index edfba955c1eb..e1f38b4b97ce 100644
--- a/security/libfido2/Makefile
+++ b/security/libfido2/Makefile
@@ -23,11 +23,4 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-# Skip libcrypto.pc while using OpenSSL from base system on older FreeBSD versions which does not skip this file
-.if ${SSL_DEFAULT} == base && !exists(/usr/libdata/pkgconfig/libcrypto.pc)
-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openssl
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/libfido2/files/extra-patch-openssl b/security/libfido2/files/extra-patch-openssl
deleted file mode 100644
index 6cab9adce02d..000000000000
--- a/security/libfido2/files/extra-patch-openssl
+++ /dev/null
@@ -1,26 +0,0 @@
---- CMakeLists.txt.orig 2022-01-17 12:42:03 UTC
-+++ CMakeLists.txt
-@@ -196,14 +196,10 @@ if(MSVC)
- else()
- include(FindPkgConfig)
- pkg_search_module(CBOR libcbor)
-- pkg_search_module(CRYPTO libcrypto)
- pkg_search_module(ZLIB zlib)
-
- if(NOT CBOR_FOUND AND NOT HAVE_CBOR_H)
- message(FATAL_ERROR "could not find libcbor")
-- endif()
-- if(NOT CRYPTO_FOUND AND NOT HAVE_OPENSSLV_H)
-- message(FATAL_ERROR "could not find libcrypto")
- endif()
- if(NOT ZLIB_FOUND)
- message(FATAL_ERROR "could not find zlib")
---- src/libfido2.pc.in.orig 2022-01-17 12:42:03 UTC
-+++ src/libfido2.pc.in
-@@ -7,6 +7,5 @@ Name: @PROJECT_NAME@
- Description: A FIDO2 library
- URL: https://github.com/yubico/libfido2
- Version: @FIDO_VERSION@
--Requires: libcrypto
- Libs: -L${libdir} -lfido2
- Cflags: -I${includedir}
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index c35970d715af..8867eca464ce 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -36,10 +36,6 @@ EXAMPLES_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-Makefile.in
.include <bsd.port.options.mk>
-.if ${ARCH} == "sparc64"
-CONFIGURE_ENV+= CCPIC=-fPIC
-.endif
-
.if ${ARCH} == "mips64"
post-patch:
@${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure
diff --git a/security/openssl-quictls/Makefile b/security/openssl-quictls/Makefile
index 40274968ad91..f602baf253bf 100644
--- a/security/openssl-quictls/Makefile
+++ b/security/openssl-quictls/Makefile
@@ -47,8 +47,7 @@ OPTIONS_DEFINE= ASYNC CRYPTODEV CT KTLS MAN3 RFC3779 SHARED ZLIB
OPTIONS_DEFAULT=ASM ASYNC CT DES EC FIPS GOST KTLS MAN3 MD4 NEXTPROTONEG \
RC2 RC4 RMD160 SCTP SHARED SSE2 THREADS TLS1 TLS1_1 TLS1_2
-OPTIONS_EXCLUDE=${${OSVERSION} < 1300042:?KTLS:} \
- ${${OSVERSION} > 1300000:?CRYPTODEV:}
+OPTIONS_EXCLUDE= CRYPTODEV
OPTIONS_EXCLUDE_i386= FIPS
OPTIONS_GROUP_OPTIMIZE_amd64= EC
@@ -143,19 +142,11 @@ PORTSCOUT= limit=^3\.0\.
IGNORE= the OpenSSL port can not be installed over the base version
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 && !${PORT_OPTIONS:MCRYPTODEV}
-CONFIGURE_ARGS+= no-devcryptoeng
-.endif
-
OPENSSLDIR?= ${PREFIX}/openssl
PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==}
.include "version.mk"
-.if ${PORT_OPTIONS:MASM}
-BROKEN_sparc64= option ASM generates illegal instructions
-.endif
-
post-patch:
${REINPLACE_CMD} -Ee 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \
-e 's|^(build\|install)_docs: .*|\1_docs: \1_man_docs|' \
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index ef3b5819accc..3faff9631310 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -45,8 +45,7 @@ OPTIONS_DEFINE= ASYNC CRYPTODEV CT KTLS MAN3 RFC3779 SHARED ZLIB
OPTIONS_DEFAULT=ASM ASYNC CT DES EC FIPS GOST KTLS MAN3 MD4 NEXTPROTONEG \
RFC3779 RC2 RC4 RMD160 SCTP SHARED SSE2 THREADS TLS1 TLS1_1 TLS1_2
-OPTIONS_EXCLUDE=${${OSVERSION} < 1300042:?KTLS:} \
- ${${OSVERSION} > 1300000:?CRYPTODEV:}
+OPTIONS_EXCLUDE=CRYPTODEV
.if ${MACHINE_ARCH} == "amd64"
OPTIONS_GROUP_OPTIMIZE+= EC
@@ -149,19 +148,11 @@ CONFIGURE_ARGS+= BSD-riscv64
IGNORE= the OpenSSL port can not be installed over the base version
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 && !${PORT_OPTIONS:MCRYPTODEV}
-CONFIGURE_ARGS+= no-devcryptoeng
-.endif
-
OPENSSLDIR?= ${PREFIX}/openssl
PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==}
.include "version.mk"
-.if ${PORT_OPTIONS:MASM}
-BROKEN_sparc64= option ASM generates illegal instructions
-.endif
-
post-patch:
${REINPLACE_CMD} -Ee 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \
-e 's|^(build\|install)_docs: .*|\1_docs: \1_man_docs|' \
diff --git a/security/openssl111/Makefile b/security/openssl111/Makefile
index 13392adb2556..4c5563aa0546 100644
--- a/security/openssl111/Makefile
+++ b/security/openssl111/Makefile
@@ -45,8 +45,7 @@ OPTIONS_DEFINE= ASYNC CRYPTODEV CT KTLS MAN3 RFC3779 SHARED ZLIB
OPTIONS_DEFAULT=ASM ASYNC CT GOST DES EC KTLS MAN3 MD4 NEXTPROTONEG RC2 \
RC4 RMD160 SCTP SHARED SSE2 THREADS TLS1 TLS1_1 TLS1_2
-OPTIONS_EXCLUDE=${${OSVERSION} < 1300042:?KTLS:} \
- ${${OSVERSION} > 1300000:?CRYPTODEV:}
+OPTIONS_EXCLUDE=CRYPTODEV
.if ${MACHINE_ARCH} == "amd64"
OPTIONS_GROUP_OPTIMIZE+= EC
@@ -125,19 +124,11 @@ PORTSCOUT= limit=^1\.1\.1
IGNORE= the OpenSSL port can not be installed over the base version
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 && !${PORT_OPTIONS:MCRYPTODEV}
-CONFIGURE_ARGS+= no-devcryptoeng
-.endif
-
OPENSSLDIR?= ${PREFIX}/openssl
PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==}
.include "version.mk"
-.if ${PORT_OPTIONS:MASM}
-BROKEN_sparc64= option ASM generates illegal instructions
-.endif
-
post-patch:
${REINPLACE_CMD} \
-e 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \
diff --git a/security/openssl31-quictls/Makefile b/security/openssl31-quictls/Makefile
index da0d71cdb92b..19bfd5545a73 100644
--- a/security/openssl31-quictls/Makefile
+++ b/security/openssl31-quictls/Makefile
@@ -143,19 +143,11 @@ PORTSCOUT= limit=^3\.1\.
IGNORE= the OpenSSL port can not be installed over the base version
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 && !${PORT_OPTIONS:MCRYPTODEV}
-CONFIGURE_ARGS+= no-devcryptoeng
-.endif
-
OPENSSLDIR?= ${PREFIX}/openssl
PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==}
.include "version.mk"
-.if ${PORT_OPTIONS:MASM}
-BROKEN_sparc64= option ASM generates illegal instructions
-.endif
-
post-patch:
${REINPLACE_CMD} -Ee 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \
-e 's|^(build\|install)_docs: .*|\1_docs: \1_man_docs|' \
diff --git a/security/openssl31/Makefile b/security/openssl31/Makefile
index a441a22b9e96..fc4432765c41 100644
--- a/security/openssl31/Makefile
+++ b/security/openssl31/Makefile
@@ -45,8 +45,7 @@ OPTIONS_DEFINE= ASYNC CRYPTODEV CT KTLS MAN3 RFC3779 SHARED ZLIB
OPTIONS_DEFAULT=ASM ASYNC CT DES EC FIPS GOST KTLS MAN3 MD4 NEXTPROTONEG \
RFC3779 RC2 RC4 RMD160 SCTP SHARED SSE2 THREADS TLS1 TLS1_1 TLS1_2
-OPTIONS_EXCLUDE=${${OSVERSION} < 1300042:?KTLS:} \
- ${${OSVERSION} > 1300000:?CRYPTODEV:}
+OPTIONS_EXCLUDE=CRYPTODEV
OPTIONS_GROUP_OPTIMIZE_amd64= EC
@@ -151,19 +150,11 @@ CONFIGURE_ARGS+= BSD-riscv64
IGNORE= the OpenSSL port can not be installed over the base version
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 && !${PORT_OPTIONS:MCRYPTODEV}
-CONFIGURE_ARGS+= no-devcryptoeng
-.endif
-
OPENSSLDIR?= ${PREFIX}/openssl
PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==}
.include "version.mk"
-.if ${PORT_OPTIONS:MASM}
-BROKEN_sparc64= option ASM generates illegal instructions
-.endif
-
post-patch:
${REINPLACE_CMD} -Ee 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \
-e 's|^(build\|install)_docs: .*|\1_docs: \1_man_docs|' \
diff --git a/security/openssl32/Makefile b/security/openssl32/Makefile
index 47970cdfc98f..566acda3648d 100644
--- a/security/openssl32/Makefile
+++ b/security/openssl32/Makefile
@@ -45,8 +45,7 @@ OPTIONS_DEFAULT=ASM ASYNC CT DES EC FIPS GOST MAN3 MD4 NEXTPROTONEG \
THREADPOOL THREADS TLS1 TLS1_1 TLS1_2
#OPTIONS_DEFAULT+= KTLS pending updated KTLS patch
-OPTIONS_EXCLUDE=${${OSVERSION} < 1300042:?KTLS:} \
- ${${OSVERSION} > 1300000:?CRYPTODEV:}
+OPTIONS_EXCLUDE=CRYPTODEV
OPTIONS_GROUP_OPTIMIZE_amd64= EC
@@ -162,19 +161,11 @@ CONFIGURE_ARGS+= BSD-riscv64
IGNORE= the OpenSSL port can not be installed over the base version
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 && !${PORT_OPTIONS:MCRYPTODEV}
-CONFIGURE_ARGS+= no-devcryptoeng
-.endif
-
OPENSSLDIR?= ${PREFIX}/openssl
PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==}
.include "version.mk"
-.if ${PORT_OPTIONS:MASM}
-BROKEN_sparc64= option ASM generates illegal instructions
-.endif
-
post-patch:
${REINPLACE_CMD} -Ee 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \
-e 's|^(build\|install)_docs: .*|\1_docs: \1_man_docs|' \
diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile
index 698b157e175b..5a9657090966 100644
--- a/security/openvpn-devel/Makefile
+++ b/security/openvpn-devel/Makefile
@@ -54,7 +54,6 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EASYRSA EXAMPLES LZ4 PKCS11 SMALL DCO TEST \
X509ALTUSERNAME
OPTIONS_DEFAULT= EASYRSA LZ4 OPENSSL TEST DCO
-OPTIONS_EXCLUDE_FreeBSD_12= DCO # FreeBSD 14 only
OPTIONS_EXCLUDE_FreeBSD_13= DCO # FreeBSD 14 only
OPTIONS_SINGLE= SSL
OPTIONS_SINGLE_SSL= MBEDTLS OPENSSL
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index 287566b2c685..e05870b5b11c 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -42,7 +42,6 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= ASYNC_PUSH DCO DOCS EASYRSA EXAMPLES LZ4 LZO PKCS11 SMALL \
TEST UNITTESTS X509ALTUSERNAME
OPTIONS_DEFAULT= DCO EASYRSA LZ4 LZO PKCS11 TEST
-OPTIONS_EXCLUDE_FreeBSD_12= DCO # FreeBSD 14 only
OPTIONS_EXCLUDE_FreeBSD_13= DCO # FreeBSD 14 only
ASYNC_PUSH_DESC= Enable async-push support
diff --git a/security/opie/Makefile b/security/opie/Makefile
index 89962434ee61..5a7b6ca1332f 100644
--- a/security/opie/Makefile
+++ b/security/opie/Makefile
@@ -22,7 +22,6 @@ MAKE_ARGS= BINDIR=${PREFIX}/bin \
LIBDIR=${PREFIX}/lib \
MANDIR=${MANPREFIX}/man/man
-IGNORE_FreeBSD_12= FreeBSD 12 has OPIE in base
IGNORE_FreeBSD_13= FreeBSD 13 has OPIE in base
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Curve25519/Makefile b/security/p5-Crypt-Curve25519/Makefile
index 9315f09133b7..b4657d1b601a 100644
--- a/security/p5-Crypt-Curve25519/Makefile
+++ b/security/p5-Crypt-Curve25519/Makefile
@@ -13,7 +13,6 @@ LICENSE_COMB= dual
BROKEN_mips= fails to build: -m32 flag is not supported by this configuration
BROKEN_mips64= fails to build: -m32 flag is not supported by this configuration
-BROKEN_sparc64= fails to build: -m32 flag is not supported by this configuration
USES= perl5 ssl
USE_PERL5= configure
diff --git a/security/p5-PGP/Makefile b/security/p5-PGP/Makefile
index 61bc20c9a115..df8211306fd3 100644
--- a/security/p5-PGP/Makefile
+++ b/security/p5-PGP/Makefile
@@ -9,7 +9,7 @@ MAINTAINER= bofh@FreeBSD.org
COMMENT= Perl5 module to work with PGP messages
WWW= https://metacpan.org/release/PGP
-ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le sparc64
+ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le
RUN_DEPENDS= pgpin:security/pgpin
diff --git a/security/pam_ssh_agent_auth/Makefile b/security/pam_ssh_agent_auth/Makefile
index cfb088362f74..e8cf839c16c7 100644
--- a/security/pam_ssh_agent_auth/Makefile
+++ b/security/pam_ssh_agent_auth/Makefile
@@ -16,7 +16,6 @@ GH_TAGNAME= 099beb2
GH_TUPLE= floodyberry:ed25519-donna:8757bd4:floodyberry_ed25519_donna/ed25519-donna
BROKEN_mips64= fails to compile: ed25519-donna-portable.h:85:4: Need a uint128_t implementation!
-BROKEN_FreeBSD_12_powerpc64= fails to compile on powerpc64 elfv1: ed25519-donna-portable.h: warning: ALIGN redefined
USES= perl5 ssl tar:bzip2
USE_PERL5= build
diff --git a/security/pam_u2f/Makefile b/security/pam_u2f/Makefile
index 8a80a097ea93..d69531e1f832 100644
--- a/security/pam_u2f/Makefile
+++ b/security/pam_u2f/Makefile
@@ -25,8 +25,4 @@ PLIST_FILES= bin/pamu2fcfg \
man/man1/pamu2fcfg.1.gz \
man/man8/pam_u2f.8.gz
-.if !exists(/usr/libdata/pkgconfig/libcrypto.pc)
-CONFIGURE_ENV= LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
-.endif
-
.include <bsd.port.mk>
diff --git a/security/picocrypt/Makefile b/security/picocrypt/Makefile
index 2b364edfb448..73a76dbb1daa 100644
--- a/security/picocrypt/Makefile
+++ b/security/picocrypt/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/HACKERALERT/Picocrypt
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/../LICENSE
-ONLY_FOR_ARCHS= aarch64 amd64 mips64 powerpc64 powerpc64le riscv64 sparc64
+ONLY_FOR_ARCHS= aarch64 amd64 mips64 powerpc64 powerpc64le riscv64
ONLY_FOR_ARCHS_REASON= upstream only supports 64-bit
# https://github.com/HACKERALERT/Picocrypt/issues/127
diff --git a/security/pkcs11-tools/Makefile b/security/pkcs11-tools/Makefile
index 09f20141c785..26cb5b80b6dc 100644
--- a/security/pkcs11-tools/Makefile
+++ b/security/pkcs11-tools/Makefile
@@ -38,8 +38,6 @@ MAKE_ENV= LIBCRYPTO_RPATH=${OPENSSLBASE}/lib
INSTALL_TARGET= install-strip
-.include <bsd.port.options.mk>
-
post-extract:
@${RMDIR} ${WRKSRC}/.gnulib ${WRKSRC}/include/oasis-pkcs11
@${MV} ${WRKSRC_gnulib} ${WRKSRC}/.gnulib
@@ -48,17 +46,6 @@ post-extract:
pre-configure:
@cd ${WRKSRC} && BUILD_PORT=1 ${WRKSRC}/bootstrap.sh
-# FreeBSD<13 does not have system-deployed openssl information through PKGCONFIG
-# We need to provide a hint at configure time
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} <= 1300000 )
-LIBCRYPTO_CFLAGS+= -pthread
-LIBCRYPTO_LIBS+= -lcrypto
-
-do-configure:
- @cd ${WRKSRC} && ./configure LIBCRYPTO_CFLAGS=${LIBCRYPTO_CFLAGS} LIBCRYPTO_LIBS=${LIBCRYPTO_LIBS}
-.endif
-
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} \
diff --git a/security/rcracki_mt/Makefile b/security/rcracki_mt/Makefile
index d6857f7a99f5..3e97f477e835 100644
--- a/security/rcracki_mt/Makefile
+++ b/security/rcracki_mt/Makefile
@@ -10,7 +10,7 @@ WWW= https://www.freerainbowtables.com
LICENSE= GPLv2
-NOT_FOR_ARCHS= aarch64 armv6 armv7 mips mips64 riscv64 sparc64
+NOT_FOR_ARCHS= aarch64 armv6 armv7 mips mips64 riscv64
NOT_FOR_ARCHS_REASON= cannot detect endianness
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
diff --git a/security/snort3/Makefile b/security/snort3/Makefile
index 760cd2660877..9d21b1ab614e 100644
--- a/security/snort3/Makefile
+++ b/security/snort3/Makefile
@@ -62,12 +62,6 @@ STATICDAQ_CMAKE_BOOL= ENABLE_STATIC_DAQ
THREADSANITIZER_CMAKE_BOOL= ENABLE_THREAD_SANITIZER
TSC_CMAKE_BOOL= ENABLE_TSC_CLOCK
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000
-BUILD_DEPENDS= flex>0:textproc/flex
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's|_LIBDIR}/pkgconfig|_PREFIX}/libdata/pkgconfig|g' \
${WRKSRC}/cmake/create_pkg_config.cmake
diff --git a/security/sssd-devel/Makefile b/security/sssd-devel/Makefile
index 48b36bb55dc3..ab8c12d7dbc1 100644
--- a/security/sssd-devel/Makefile
+++ b/security/sssd-devel/Makefile
@@ -56,13 +56,8 @@ LIB_DEPENDS= libcares.so:dns/c-ares \
RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi \
sudo>0:security/sudo
-.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300076
-IGNORE=SSSD is only supported on FreeBSD 13.1 and above
-.endif
-
USES= autoreconf cpe gettext gmake gssapi:bootstrap,flags,mit iconv ldap \
- libtool pathfix pkgconfig python:3.9+ shebangfix ssl
+ libtool localbase:ldflags pathfix pkgconfig python:3.9+ shebangfix ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
@@ -127,7 +122,7 @@ CONFIGURE_ARGS= --disable-dependency-tracking \
--with-unicode-lib=libunistring
CFLAGS+= -fstack-protector-all
-CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/samba4
+CFLAGS+= -I${LOCALBASE}/include/samba4
LIBS+= -L${LOCALBASE}/lib \
-L${LOCALBASE}/lib/samba4/private \
@@ -142,7 +137,6 @@ KRB5_LIBS= -L${LOCALBASE}/lib -lkrb5
LDFLAGS+= -lgssapi
LDFLAGS_SL+= -lgssapi
-LDFLAGS+= -L${LOCALBASE}/lib
INCLUDES+= -I${LOCALBASE}/include
CONFIGURE_ENV+= INCLUDES="${INCLUDES}" \
LDFLAGS_SL="${LDFLAGS_SL}"
diff --git a/security/tor/Makefile b/security/tor/Makefile
index fee8bb7c77e6..8fb2980f86c8 100644
--- a/security/tor/Makefile
+++ b/security/tor/Makefile
@@ -25,7 +25,6 @@ OPTIONS_GROUP= COMPRESSION TRACING
OPTIONS_GROUP_COMPRESSION= ZSTD LZMA
OPTIONS_GROUP_TRACING= LTTNG USDT LOG_DEBUG
OPTIONS_DEFAULT=MANPAGES ZSTD LZMA
-OPTIONS_EXCLUDE_FreeBSD_12=DOCS MANPAGES # XXX(rene) a2x somehow broken there
OPTIONS_SUB= yes
STATIC_TOR_DESC= Build a static tor
COMPRESSION_DESC= Supported compression libraries
diff --git a/security/wazuh-manager/Makefile b/security/wazuh-manager/Makefile
index 5668c83407c9..bbe702b60d7b 100644
--- a/security/wazuh-manager/Makefile
+++ b/security/wazuh-manager/Makefile
@@ -141,10 +141,8 @@ FBSD_RELEASE= freebsd_${UNAME_r:S/./_/g:S/-/_/g}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 1200500 && ${OSVERSION} < 1300000
-IGNORE= FreeBSD 12.x (EoL) is not supported on ${ARCH}
-.elif ${OSVERSION} >= 1300139 && ${OSVERSION} < 1400000
-FBSD_VERSION_BASE=freebsd_13_2_release_p8
+.if ${OSVERSION} >= 1300139 && ${OSVERSION} < 1400000
+FBSD_VERSION_BASE=freebsd_13_2_release_p4
WAZUH_CACHENAME=${PORTNAME}-cache-fbsd13-${ARCH}-${DISTVERSION}
DISTFILES+= ${WAZUH_CACHENAME}${EXTRACT_SUFX}:wazuh_cache
.elif ${OSVERSION} >= 1400000 && ${OSVERSION} < 1500000
diff --git a/security/zeek/Makefile b/security/zeek/Makefile
index 4623ee6c804a..d4c13b1e3da8 100644
--- a/security/zeek/Makefile
+++ b/security/zeek/Makefile
@@ -10,8 +10,6 @@ WWW= https://www.zeek.org/
LICENSE= CC-BY-4.0
-BROKEN_FreeBSD_12_powerpc64= does not build: error: zero-size array 'names'
-
BUILD_DEPENDS= bison>=3.3:devel/bison \
flex>=2.6:textproc/flex \
swig>=4.0.2:devel/swig