1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

all: remove support for expired FreeBSD 13.1

Approved by:	portmgr (implicit), salvadore (gcc ports)
Reviewed by:	jbeich

Differential Revision: https://reviews.freebsd.org/D40845
This commit is contained in:
Rene Ladan 2023-07-02 19:49:22 +02:00
parent 6983bfc505
commit 5981a24740
13 changed files with 13 additions and 49 deletions

View File

@ -1186,7 +1186,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC
. endif
_EXPORTED_VARS+= OSVERSION
. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1204000 || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1301000))
. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1204000 || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1302000))
_UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your ${OPSYS} version has ended, and no ports\
are guaranteed to build on this system. Please upgrade to a supported release.
. if defined(ALLOW_UNSUPPORTED_SYSTEM)

View File

@ -1,10 +0,0 @@
--- src/lib/ebus/datatype.cpp.orig 2023-06-07 06:49:34 UTC
+++ src/lib/ebus/datatype.cpp
@@ -22,6 +22,7 @@
#include "lib/ebus/datatype.h"
#include <math.h>
+#include <cmath> // Only required for FreeBSD 13.1, later versions seems to be fine without that
#include <iostream>
#include <sstream>
#include <iomanip>

View File

@ -10,6 +10,7 @@ WWW= https://github.com/Netflix/bbparse
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
IGNORE_FreeBSD_12=does not build
ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
USE_GITHUB= yes
@ -27,12 +28,6 @@ MANPAGE_LINKS= bbr_get_next bbr_get_stackname bbr_get_tlh bbr_init_fd bbr_init_f
PLIST_FILES+= man/man3/${l}.3.gz
.endfor
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300076
IGNORE= builds only on FreeBSD 13-head with minimum revision 356414
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib
${MKDIR} ${STAGEDIR}${PREFIX}/include

View File

@ -333,8 +333,6 @@ BINARY_ALIAS= sed=gsed
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( \
(${OSVERSION} >= 1300525 && ${OSVERSION} < 1301000) || \
(${OSVERSION} >= 1301500 && ${OSVERSION} < 1301502) || \
(${OSVERSION} >= 1400051 && ${OSVERSION} < 1400057))
BROKEN= please update FreeBSD base system first to fix an ABI incompatibility
.endif

View File

@ -203,7 +203,6 @@ WITH= SDK
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( \
(${OSVERSION} >= 1301500 && ${OSVERSION} < 1301502) || \
(${OSVERSION} >= 1400051 && ${OSVERSION} < 1400057))
BROKEN= please update FreeBSD base system first to fix an ABI incompatibility
.endif

View File

@ -233,7 +233,6 @@ WITH= SDK
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( \
(${OSVERSION} >= 1301500 && ${OSVERSION} < 1301502) || \
(${OSVERSION} >= 1400051 && ${OSVERSION} < 1400057))
BROKEN= please update FreeBSD base system first to fix an ABI incompatibility
.endif

View File

@ -202,8 +202,7 @@ EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src_VBox_Devices_PC_DevFwCommon.cpp
# 2) llvm15 in FreeBSD miscompiles virtualbox 6.1 causing errors: PR#270189.
# Force llvm from ports.
.if ${OPSYS} == FreeBSD && \
(${OSVERSION} < 1203502 || ${OSVERSION} >= 1300000 && ${OSVERSION} < 1300109 || \
${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 || ${OSVERSION} >= 1400079)
(${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 || ${OSVERSION} >= 1400079)
# USES must be before .include <bsd.port.pre.mk>, but CHOSEN_COMPILER_TYPE must be after.
# This is a workaround with possibility to define different llvm via VBOX_LLVM_VER in make.conf.
#USES+= llvm:min=11,max=14

View File

@ -7,7 +7,7 @@
- version (FreeBSD_13) enum __FreeBSD_version = 1300000;
-else version (FreeBSD_12) enum __FreeBSD_version = 1202000;
+ version (FreeBSD_14) enum __FreeBSD_version = 1400000;
+else version (FreeBSD_13) enum __FreeBSD_version = 1301000;
+else version (FreeBSD_13) enum __FreeBSD_version = 1302000;
+else version (FreeBSD_12) enum __FreeBSD_version = 1204000;
else version (FreeBSD_11) enum __FreeBSD_version = 1104000;
else version (FreeBSD_10) enum __FreeBSD_version = 1004000;

View File

@ -7,7 +7,7 @@
- version (FreeBSD_13) enum __FreeBSD_version = 1300000;
-else version (FreeBSD_12) enum __FreeBSD_version = 1202000;
+ version (FreeBSD_14) enum __FreeBSD_version = 1400000;
+else version (FreeBSD_13) enum __FreeBSD_version = 1301000;
+else version (FreeBSD_13) enum __FreeBSD_version = 1302000;
+else version (FreeBSD_12) enum __FreeBSD_version = 1204000;
else version (FreeBSD_11) enum __FreeBSD_version = 1104000;
else version (FreeBSD_10) enum __FreeBSD_version = 1004000;

View File

@ -12,6 +12,8 @@ WWW= https://gitlab.com/samba-freebsd/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
IGNORE_FreeBSD_12= only runs on FreeBSD 13.1 and above due use of O_EMPTY_PATH
USES= cpe
CONFLICTS_INSTALL?= samba4*
@ -409,10 +411,6 @@ UTMP_CONFIGURE_WITH= utmp
##############################################################################
.include <bsd.port.options.mk>
##############################################################################
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300076
IGNORE=runs only on FreeBSD 13.1 and above due use of O_EMPTY_PATH
.endif
.if !defined(WANT_EXP_MODULES) || empty(WANT_EXP_MODULES)
WANT_EXP_MODULES= vfs_cacheprime
.endif

View File

@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= aarch64 amd64 mips64 mips64el mips64elhf mips64hf powerpc64 powerpc64le riscv64 riscv64sf
ONLY_FOR_ARCHS_REASON= only 64-bit platforms are supported
IGNORE_FreeBSD_12=does not build
USE_GITHUB= yes
GH_ACCOUNT= Netflix
@ -22,12 +23,6 @@ USE_RC_SUBR= tcplog_dumper
PLIST_FILES= sbin/tcplog_dumper \
man/man1/tcplog_dumper.1.gz
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300076
IGNORE= builds only on FreeBSD 13-head with minimum revision 356414
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/tcplog_dumper ${STAGEDIR}${PREFIX}/sbin

View File

@ -7,18 +7,13 @@ COMMENT= Measures the TCP handshake RTT using the stats(9) statistics framework
LICENSE= BSD2CLAUSE
IGNORE_FreeBSD_12=requires kernel OSVERSION 1300062 or above
USE_GITHUB= yes
GH_ACCOUNT= KlaraSystems
GH_TAGNAME= 1c857b8bd6e071290d118c96c051fbdf7db40129
PLIST_FILES= bin/tcprtt man/man8/${PORTNAME}.8.gz
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300062
IGNORE= requires kernel OSVERSION 1300062 or above
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcprtt ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tcprtt.8 ${STAGEDIR}${PREFIX}/man/man8

View File

@ -9,19 +9,15 @@ WWW= https://people.freebsd.org/~rmacklem/nfs-over-tls-setup.txt
LICENSE= BSD2CLAUSE
IGNORE_FreeBSD_12=requires FreeBSD 13 or later with in-kernel TLS support \
and OpenSSL with KTLS enabled
LIB_DEPENDS= libssl.so:security/openssl
USES= kmod ssl
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1300133
IGNORE= requires FreeBSD 13 or later with in-kernel TLS support \
and OpenSSL with KTLS enabled
.endif
.if exists(/usr/sbin/rpc.tlsclntd)
IGNORE= already included in the base system
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>