Skip to content

Commit

Permalink
all: remove support for expired FreeBSD 13.1
Browse files Browse the repository at this point in the history
Approved by:	portmgr (implicit), salvadore (gcc ports)
Reviewed by:	jbeich

Differential Revision: https://reviews.freebsd.org/D40845
  • Loading branch information
rene0 committed Aug 1, 2023
1 parent 6983bfc commit 5981a24
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 49 deletions.
2 changes: 1 addition & 1 deletion Mk/bsd.port.mk
Expand Up @@ -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)
Expand Down
10 changes: 0 additions & 10 deletions comms/ebusd/files/patch-src_lib_ebus_datatype.cpp

This file was deleted.

7 changes: 1 addition & 6 deletions devel/bbparse/Makefile
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 0 additions & 2 deletions editors/libreoffice/Makefile
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion editors/openoffice-4/Makefile
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion editors/openoffice-devel/Makefile
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions emulators/virtualbox-ose/Makefile
Expand Up @@ -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
Expand Down
Expand Up @@ -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;
Expand Down
Expand Up @@ -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;
Expand Down
6 changes: 2 additions & 4 deletions net/samba416/Makefile
Expand Up @@ -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*
Expand Down Expand Up @@ -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
Expand Down
7 changes: 1 addition & 6 deletions net/tcplog_dumper/Makefile
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 1 addition & 6 deletions net/tcprtt/Makefile
Expand Up @@ -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
Expand Down
12 changes: 4 additions & 8 deletions sysutils/nfs-over-tls/Makefile
Expand Up @@ -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>

0 comments on commit 5981a24

Please sign in to comment.