Index: MOVED =================================================================== --- MOVED +++ MOVED @@ -16479,3 +16479,4 @@ www/py-django-rest-swagger|www/py-drf-yasg|2021-09-17|Has expired: Has expired: Upstream no longer maintained, please use www/py-drf-yasg instead www/py-django-taggit-serializer|www/py-django-taggit|2021-09-17|Has expired: Obsolete, please use www/py-django-taggit instead www/efront||2021-09-17|Has expired: Unsupported by upstream +graphics/drm-fbsd11.2-kmod||2021-09-30|Removed, only useful on EOL FreeBSD 11.4 Index: Mk/Scripts/rust-compat11-canary.sh =================================================================== --- Mk/Scripts/rust-compat11-canary.sh +++ Mk/Scripts/rust-compat11-canary.sh @@ -3,7 +3,7 @@ set -eu set -o pipefail -if [ "${OPSYS}" != FreeBSD ] || [ "${OSVERSION}" -lt 1200000 ]; then +if [ "${OPSYS}" != FreeBSD ] ; then exit 0 fi Index: Mk/Uses/qca.mk =================================================================== --- Mk/Uses/qca.mk +++ Mk/Uses/qca.mk @@ -17,12 +17,7 @@ _QCA_DEFAULT_PORT= devel/qca _QCA_LEGACY_PORT= devel/qca-legacy - -. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base -_QCA_CHOSEN_PORT= LEGACY -. else _QCA_CHOSEN_PORT= DEFAULT -. endif LIB_DEPENDS+= ${_QCA_LIB}:${_QCA_${_QCA_CHOSEN_PORT}_PORT} Index: Mk/bsd.port.mk =================================================================== --- Mk/bsd.port.mk +++ Mk/bsd.port.mk @@ -1177,7 +1177,7 @@ .endif _EXPORTED_VARS+= OSVERSION -.if (${OPSYS} == FreeBSD && (${OSVERSION} < 1104000 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1202000))) || \ +.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1202000) || \ (${OPSYS} == DragonFly && ${DFLYVERSION} < 400400) _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. Index: Tools/scripts/tindex =================================================================== --- Tools/scripts/tindex +++ Tools/scripts/tindex @@ -27,7 +27,6 @@ # Location of ports tree and source trees export BASEDIR=/a/tindex export PORTSDIR=${BASEDIR}/ports -export SRCDIR11=${BASEDIR}/src.11 export SRCDIR12=${BASEDIR}/src.12 export SRCDIR13=${BASEDIR}/src.13 export SRCDIR14=${BASEDIR}/src.14 @@ -114,9 +113,6 @@ export INDEX_QUIET=1 # First update the source trees to get current OSVERSION -${SVN} -q up ${SRCDIR11}/sys/sys -OSVERSION11=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR11}/sys/sys/param.h) - ${SVN} -q up ${SRCDIR12}/sys/sys OSVERSION12=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR12}/sys/sys/param.h) @@ -127,7 +123,7 @@ OSVERSION14=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR14}/sys/sys/param.h) cd ${PORTSDIR} -rm -f INDEX-11 INDEX-11.bz2 INDEX-12 INDEX-12.bz2 INDEX-13 INDEX-13.bz2 INDEX-14 INDEX-14.bz2 +rm -f INDEX-12 INDEX-12.bz2 INDEX-13 INDEX-13.bz2 INDEX-14 INDEX-14.bz2 OLD_HEAD=$(${GIT} rev-parse HEAD) if ! ${GIT} pull --ff-only > git.log 2>&1 ; then (echo "Git update failed with conflicts:"; @@ -135,7 +131,7 @@ exit 1 fi -for branch in 11.x 12.x 13.x 14.x; do +for branch in 12.x 13.x 14.x; do release=$(echo $branch | sed -e 's,.x,,') eval _osver=\$OSVERSION${release} Index: archivers/py-zstandard/Makefile =================================================================== --- archivers/py-zstandard/Makefile +++ archivers/py-zstandard/Makefile @@ -9,7 +9,6 @@ LICENSE= BSD2CLAUSE -BROKEN_FreeBSD_11_powerpc64= fails to build: cffi.error.CDefError: parse error BROKEN_FreeBSD_12_powerpc64= fails to build: cffi.error.CDefError: parse error BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${PY_FLAVOR} Index: astro/kosmorro/Makefile =================================================================== --- astro/kosmorro/Makefile +++ astro/kosmorro/Makefile @@ -13,7 +13,8 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}termcolor>0:devel/py-termcolor@${PY_FLAVOR}\ - ${PYTHON_PKGNAMEPREFIX}kosmorrolib>0:astro/py-kosmorrolib@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}kosmorrolib>0:astro/py-kosmorrolib@${PY_FLAVOR} \ + ronn:textproc/rubygem-ronn RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}termcolor>0:devel/py-termcolor@${PY_FLAVOR}\ @@ -32,25 +33,9 @@ NO_ARCH= yes -.include - -# ronn is broken on 11.x => do not build manpages -.if ${OSVERSION} < 1200000 -PLIST_SUB+= MAN="@comment " -.else -BUILD_DEPENDS+= ronn:textproc/rubygem-ronn -PLIST_SUB+= MAN="" -.endif - pre-configure: ${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' ${WRKSRC}/Makefile -.if ${OSVERSION} < 1200000 - ${REINPLACE_CMD} -e 's|i18n manpages|manpages|' ${WRKSRC}/Makefile - ${REINPLACE_CMD} -e '/manpage\/kosmorro/d' ${WRKSRC}/setup.py -.else - post-build: (cd ${WRKSRC} && LC_ALL=C.UTF-8 ${MAKE} manpages) -.endif -.include +.include Index: astro/kosmorro/pkg-plist =================================================================== --- astro/kosmorro/pkg-plist +++ astro/kosmorro/pkg-plist @@ -68,5 +68,5 @@ %%PYTHON_SITELIBDIR%%/_kosmorro/locales/nl/LC_MESSAGES/messages.po %%PYTHON_SITELIBDIR%%/_kosmorro/locales/ru/LC_MESSAGES/messages.po %%PYTHON_SITELIBDIR%%/_kosmorro/main.py -%%MAN%%man/man1/kosmorro.1.gz -%%MAN%%man/man7/kosmorro.7.gz +man/man1/kosmorro.1.gz +man/man7/kosmorro.7.gz Index: astro/qmapshack/Makefile =================================================================== --- astro/qmapshack/Makefile +++ astro/qmapshack/Makefile @@ -15,8 +15,6 @@ DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 -BROKEN_FreeBSD_11= Requires OpenSSL 1.1.0+ - LIB_DEPENDS= libgdal.so:graphics/gdal \ libproj.so:graphics/proj \ libquazip1-qt5.so:archivers/quazip \ Index: audio/csound/Makefile =================================================================== --- audio/csound/Makefile +++ audio/csound/Makefile @@ -169,12 +169,6 @@ WIIMOTE_CMAKE_BOOL= BUILD_WIIMOTE_OPCODES WIIMOTE_BROKEN= Need to port wiiuse: https://github.com/rpavlik/wiiuse -.include - -.if ${ARCH} == "i386" -BROKEN_FreeBSD_11= libcsound64.so.6.0: undefined reference to `__atomic_store_8' / undefined reference to `__atomic_load_8' -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|/usr/include/Python2.7|${PYTHON_INCLUDEDIR}| ; \ @@ -196,4 +190,4 @@ post-install-FLTK-on: @${LN} -sf libCsoundAC.so.6.0 ${STAGEDIR}${PREFIX}/lib/libCsoundAC.so.6 -.include +.include Index: audio/moony-lv2/Makefile =================================================================== --- audio/moony-lv2/Makefile +++ audio/moony-lv2/Makefile @@ -10,8 +10,6 @@ MAINTAINER= yuri@FreeBSD.org COMMENT= Realtime Lua as programmable glue in LV2 -BROKEN_FreeBSD_11= undefined reference to `clog', see bug#237771 - LICENSE= ART20 LICENSE_FILE= ${WRKSRC}/COPYING Index: audio/surge-synthesizer-lv2/Makefile =================================================================== --- audio/surge-synthesizer-lv2/Makefile +++ audio/surge-synthesizer-lv2/Makefile @@ -10,8 +10,6 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11= error: use of undeclared identifier 'getline'; did you mean 'std::getline'? - BUILD_DEPENDS= lv2>0:audio/lv2 \ ${LOCALBASE}/include/nanosvg.h:graphics/nanosvg \ ${LOCALBASE}/include/simde/simde-common.h:devel/simde \ Index: audio/tagutil/Makefile =================================================================== --- audio/tagutil/Makefile +++ audio/tagutil/Makefile @@ -19,9 +19,6 @@ CMAKE_ARGS= -DMAN_PATH=${PREFIX}/man CMAKE_SOURCE_PATH= ${WRKSRC}/src -LDFLAGS_FreeBSD_11= -fuse-ld=lld -LDFLAGS+= ${LDFLAGS_${OPSYS}_${OSREL:R}} - PLIST_FILES= bin/tagutil \ man/man1/tagutil.1.gz Index: audio/vst3sdk/Makefile =================================================================== --- audio/vst3sdk/Makefile +++ audio/vst3sdk/Makefile @@ -11,7 +11,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_i386= fails to build: static_assert failed due to requirement 'alignof(Steinberg::Vst::ProcessContext) == (0 ? 8U : 0 ? 1U : 1 ? 8U : 8U) -BROKEN_FreeBSD_11= x11fileselector.cpp:57:9: error: use of undeclared identifier 'getline'; did you mean 'std::getline'? BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libexpat.so:textproc/expat2 \ Index: base/gcc6/Makefile =================================================================== --- base/gcc6/Makefile +++ base/gcc6/Makefile @@ -49,17 +49,14 @@ --with-gxx-include-dir=/usr/include/c++/v1/ \ --with-sysroot="/" \ --with-build-sysroot=${CROSS_SYSROOT} \ - -with-pkgversion="GNU Collection for FreeBSD" + -with-pkgversion="GNU Collection for FreeBSD" \ + --enable-initfini-array ALL_TARGET?= all-gcc INSTALL_TARGET?= install-gcc .include -.if ${OSVERSION} >= 1200000 -CONFIGURE_ARGS+= --enable-initfini-array -.endif - .if ${HOSTARCH} == "amd64" CONFIGURE_TARGET= x86_64-unknown-${OPSYS:tl}${OSREL} .else Index: biology/abyss/Makefile =================================================================== --- biology/abyss/Makefile +++ biology/abyss/Makefile @@ -9,7 +9,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= result of comparison of constant 18446744073709551615 with expression of type 'size_t', see https://github.com/bcgsc/abyss/issues/310 -BROKEN_FreeBSD_11= error: use of undeclared identifier 'getline'; did you mean 'std::getline'? BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs \ ghc:lang/ghc \ Index: biology/igv/Makefile =================================================================== --- biology/igv/Makefile +++ biology/igv/Makefile @@ -13,8 +13,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/license.txt -BROKEN_FreeBSD_11= FAILURE: Build failed with an exception. - BUILD_DEPENDS= openjfx14>0:java/openjfx14 \ gradle:devel/gradle6 RUN_DEPENDS= openjfx14>0:java/openjfx14 Index: biology/jalview/Makefile =================================================================== --- biology/jalview/Makefile +++ biology/jalview/Makefile @@ -14,8 +14,6 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11= gradle daemon systematically fails on 11: The message received from the daemon indicates that the daemon has disappeared. - BUILD_DEPENDS= gradle:devel/gradle6 USE_JAVA= yes Index: biology/ncbi-cxx-toolkit/Makefile =================================================================== --- biology/ncbi-cxx-toolkit/Makefile +++ biology/ncbi-cxx-toolkit/Makefile @@ -10,8 +10,6 @@ LICENSE= PD LICENSE_FILE= ${WRKSRC}/doc/public/LICENSE -BROKEN_FreeBSD_11= libxconnserv.so, not found (try using -rpath or -rpath-link) - LIB_DEPENDS= libcdd.so:math/cddlib \ liblmdb.so:databases/lmdb \ libpcre.so:devel/pcre Index: cad/astk-serveur/Makefile =================================================================== --- cad/astk-serveur/Makefile +++ cad/astk-serveur/Makefile @@ -61,8 +61,7 @@ .include -.if ${OPSYS} == FreeBSD && ((${OSREL:R} <= 12 && ${OSVERSION} < 1201506) \ - || (${OSREL:R} > 12 && ${OSVERSION} < 1300068)) +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300068 # ASTK is not useful without french/aster IGNORE= a larger value of ARG_MAX is needed for Code_Aster, please upgrade your system .endif Index: cad/openvsp/Makefile =================================================================== --- cad/openvsp/Makefile +++ cad/openvsp/Makefile @@ -12,7 +12,6 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= fails to compile: invokes x86 asm -BROKEN_FreeBSD_11= undefined reference to __atomic_load BUILD_DEPENDS= ${LOCALBASE}/lib/libopenNURBS.a:graphics/opennurbs \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ Index: cad/stepcode/Makefile =================================================================== --- cad/stepcode/Makefile +++ cad/stepcode/Makefile @@ -10,7 +10,6 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_11_powerpc64= fails to configure: Schema scan for 15926-0002-lifecycle_integration.exp exited with error code 1 BROKEN_FreeBSD_12_powerpc64= fails to configure: Schema scan for 15926-0002-lifecycle_integration.exp exited with error code 1 USES= cmake compiler:c++11-lang Index: comms/aprsd/Makefile =================================================================== --- comms/aprsd/Makefile +++ comms/aprsd/Makefile @@ -12,7 +12,6 @@ LICENSE= GPLv2 -BROKEN_FreeBSD_11_powerpc64= fails to link on powerpc64 elfv1: httpserver.o:(.text+0x1074): undefined reference to `convertUpTime(int)' BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: httpserver.o:(.text+0x1074): undefined reference to `convertUpTime(int)' GNU_CONFIGURE= yes Index: comms/usbmuxd/files/patch-src_usb.c =================================================================== --- comms/usbmuxd/files/patch-src_usb.c +++ /dev/null @@ -1,17 +0,0 @@ -libusb_has_capability() was implemented in r361977 and is only available on: -FreeBSD >= 1104501, 1201518, 1300098 -However, libusb in all supported versions of FreeBSD supports hotplug events. - -This patch can be safely removed after 11.4 and 12.1 EOL. - ---- src/usb.c.orig 2021-01-21 10:10:40 UTC -+++ src/usb.c -@@ -815,7 +815,7 @@ int usb_init(void) - collection_init(&device_list); - - #ifdef HAVE_LIBUSB_HOTPLUG_API -- if (libusb_has_capability(LIBUSB_CAP_HAS_HOTPLUG)) { -+ if (1) { - usbmuxd_log(LL_INFO, "Registering for libusb hotplug events"); - res = libusb_hotplug_register_callback(NULL, LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED | LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT, LIBUSB_HOTPLUG_ENUMERATE, VID_APPLE, LIBUSB_HOTPLUG_MATCH_ANY, 0, usb_hotplug_cb, NULL, &usb_hotplug_cb_handle); - if (res == LIBUSB_SUCCESS) { Index: databases/arrow/Makefile =================================================================== --- databases/arrow/Makefile +++ databases/arrow/Makefile @@ -14,8 +14,6 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/../LICENSE.txt -BROKEN_FreeBSD_11= The OpenSSL must be greater than or equal to 1.1.0 - LIB_DEPENDS= libboost_system.so:devel/boost-libs USES= cmake compiler:c++11-lang localbase pkgconfig python:build Index: databases/clickhouse/Makefile =================================================================== --- databases/clickhouse/Makefile +++ databases/clickhouse/Makefile @@ -207,14 +207,6 @@ CXX= clang++ .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " \ - MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" \ - MODERN_LIMITS="@comment " -.endif - SOVERSION= ${PORTVERSION} .include Index: databases/clickhouse/files/clickhouse.in =================================================================== --- databases/clickhouse/files/clickhouse.in +++ databases/clickhouse/files/clickhouse.in @@ -8,9 +8,6 @@ # # clickhouse_enable (bool): Set to "NO" by default # Set it to "YES" to enable clickhouse server -%%LEGACY_LIMITS%%# clickhouse_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U clickhouse` -%%LEGACY_LIMITS%%# just before clickhouse starts. # clickhouse_config (str): Path to config file (required). # (default: %%PREFIX%%/etc/clickhouse-server/config.xml) # clickhouse_rundir (str): Path to directory holding a pidfile. @@ -32,7 +29,6 @@ load_rc_config ${name} : ${clickhouse_enable="NO"} -%%LEGACY_LIMITS%%: ${clickhouse_limits="NO"} : ${clickhouse_config="%%PREFIX%%/etc/clickhouse-server/config.xml"} : ${clickhouse_rundir="/var/run/clickhouse"} : ${clickhouse_user="clickhouse"} @@ -54,12 +50,7 @@ install -d -o ${clickhouse_user} -g ${clickhouse_group} ${_dir} done -%%LEGACY_LIMITS%% if checkyesno clickhouse_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits -e -U ${clickhouse_user}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } run_rc_command "$1" Index: databases/couchdb3/Makefile =================================================================== --- databases/couchdb3/Makefile +++ databases/couchdb3/Makefile @@ -74,7 +74,7 @@ -e 's,$$LOG_FILE,${LOGFILE},g' \ ${WRKSRC}/configure # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238514 -.if ${OPSYS} == FreeBSD && (${OSVERSION} < 1200000 || ${ARCH} == i386) +.if ${OPSYS} == FreeBSD && ${ARCH} == i386 @${REINPLACE_CMD} \ -e 's,$$FLTO_FLAG ,,g' \ ${WRKSRC}/src/jiffy/rebar.config Index: databases/foundationdb-devel/Makefile =================================================================== --- databases/foundationdb-devel/Makefile +++ databases/foundationdb-devel/Makefile @@ -10,7 +10,6 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11= requires newer OpenSSL ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= not yet ported to anything else Index: databases/foundationdb/Makefile =================================================================== --- databases/foundationdb/Makefile +++ databases/foundationdb/Makefile @@ -8,7 +8,6 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11= requires newer OpenSSL ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= not yet ported to anything else Index: databases/gnats4/Makefile =================================================================== --- databases/gnats4/Makefile +++ databases/gnats4/Makefile @@ -12,7 +12,6 @@ BROKEN_mips= Does not build: error: conflicting types for yy_scan_string BROKEN_mips64= Does not build: error: conflicting types for yy_scan_string -BROKEN_FreeBSD_11_powerpc64= fails to build on powerpc64 elfv1: conflicting types for yy_scan_string BROKEN_FreeBSD_12_powerpc64= fails to build on powerpc64 elfv1: conflicting types for yy_scan_string GNU_CONFIGURE= yes Index: databases/mariadb103-server/Makefile =================================================================== --- databases/mariadb103-server/Makefile +++ databases/mariadb103-server/Makefile @@ -164,12 +164,6 @@ CMAKE_ARGS+= -DPLUGIN_${PLUGIN}=NO .endfor -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .endif # ${PKGNAMESUFFIX:M*-client} .if defined(WITH_OPENSSL_PORT) Index: databases/mariadb103-server/files/mysql-server.in =================================================================== --- databases/mariadb103-server/files/mysql-server.in +++ databases/mariadb103-server/files/mysql-server.in @@ -7,9 +7,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_(instance_)?enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_(instance_)?limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_(instance_)?dbdir (str): Default to "/var/db/mysql" # Base database directory. # mysql_(instance_)?args (str): Custom additional arguments to be passed @@ -31,9 +28,7 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} : ${mysql_user="mysql"} -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" : ${mysql_dbdir="/var/db/mysql"} : ${mysql_optfile="${mysql_dbdir}/my.cnf"} @@ -49,9 +44,7 @@ "$2 "*|*" $2 "*|*" $2"|"$2") eval mysql_args="\${mysql_${instance}_args:-\"${mysql_args}\"}" eval mysql_dbdir="\${mysql_${instance}_dbdir:-\"/var/db/mysql_${instance}\"}" - %%LEGACY_LIMITS%%eval mysql_limits="\${mysql_${instance}_limits:-\"${mysql_limits}\"}" eval mysql_user="\${mysql_${instance}_user:-\"${mysql_user}\"}" - %%LEGACY_LIMITS%%eval mysql_limits_args="\${mysql_${instance}_limits_args:-\"-e -U $mysql_user\"}" eval mysql_optfile="\${mysql_${instance}_optfile:-\"${mysql_dbdir}/my.cnf\"}" eval mysql_pidfile="\${mysql_${instance}_pidfile:-\"${mysql_dbdir}/`/bin/hostname`.pid\"}" ;; @@ -117,12 +110,7 @@ if [ ! -d "${mysql_dbdir}/mysql/." ]; then mysql_create_auth_tables || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } mysql_poststart() Index: databases/mariadb104-server/Makefile =================================================================== --- databases/mariadb104-server/Makefile +++ databases/mariadb104-server/Makefile @@ -190,12 +190,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} GSSAPI_BASE_IGNORE= BASE_GSSAPI is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system .endif Index: databases/mariadb104-server/files/mysql-server.in =================================================================== --- databases/mariadb104-server/files/mysql-server.in +++ databases/mariadb104-server/files/mysql-server.in @@ -7,9 +7,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_(instance_)?enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_(instance_)?limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_(instance_)?dbdir (str): Base database directory. # Default to "/var/db/mysql" # mysql_(instance_)?args (str): Custom additional arguments to be passed @@ -34,9 +31,7 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} : ${mysql_user="%%MARIADB_USER%%"} -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" : ${mysql_dbdir="/var/db/mysql"} : ${mysql_optfile="${mysql_dbdir}/my.cnf"} @@ -52,9 +47,7 @@ "$2 "*|*" $2 "*|*" $2"|"$2") eval mysql_args="\${mysql_${instance}_args:-\"${mysql_args}\"}" eval mysql_dbdir="\${mysql_${instance}_dbdir:-\"/var/db/mysql_${instance}\"}" - %%LEGACY_LIMITS%%eval mysql_limits="\${mysql_${instance}_limits:-\"${mysql_limits}\"}" eval mysql_user="\${mysql_${instance}_user:-\"${mysql_user}\"}" - %%LEGACY_LIMITS%%eval mysql_limits_args="\${mysql_${instance}_limits_args:-\"-e -U $mysql_user\"}" eval mysql_socket="\${mysql_${instance}_socket:-\"${mysql_socket}\"}" eval mysql_optfile="\${mysql_${instance}_optfile:-\"${mysql_dbdir}/my.cnf\"}" eval mysql_pidfile="\${mysql_${instance}_pidfile:-\"${mysql_dbdir}/`/bin/hostname`.pid\"}" @@ -126,12 +119,7 @@ install -d -o ${mysql_user} -g $(id -gn $mysql_user) "${mysql_rundir}" fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } mysql_poststart() Index: databases/mariadb105-server/Makefile =================================================================== --- databases/mariadb105-server/Makefile +++ databases/mariadb105-server/Makefile @@ -196,12 +196,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} GSSAPI_BASE_IGNORE= GSSAPI_BASE is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system .endif Index: databases/mariadb105-server/files/mysql-server.in =================================================================== --- databases/mariadb105-server/files/mysql-server.in +++ databases/mariadb105-server/files/mysql-server.in @@ -7,9 +7,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_(instance_)?enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_(instance_)?limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_(instance_)?dbdir (str): Default to "%%MARIADB_DBDIR%%" # Base database directory. # mysql_(instance_)?args (str): Custom additional arguments to be passed @@ -32,9 +29,7 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} : ${mysql_user="%%MARIADB_USER%%"} -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" : ${mysql_dbdir="%%MARIADB_DBDIR%%"} : ${mysql_optfile="%%ETCDIR%%/my.cnf"} : ${mysql_rundir="%%MARIADB_RUNDIR%%"} @@ -51,9 +46,7 @@ "$2 "*|*" $2 "*|*" $2"|"$2") eval mysql_args="\${mysql_${instance}_args:-\"${mysql_args}\"}" eval mysql_dbdir="\${mysql_${instance}_dbdir:-\"%%MARIADB_DBDIR%%_${instance}\"}" - %%LEGACY_LIMITS%%eval mysql_limits="\${mysql_${instance}_limits:-\"${mysql_limits}\"}" eval mysql_user="\${mysql_${instance}_user:-\"${mysql_user}\"}" - %%LEGACY_LIMITS%%eval mysql_limits_args="\${mysql_${instance}_limits_args:-\"-e -U $mysql_user\"}" eval mysql_socket="\${mysql_${instance}_socket:-\"%%MARIADB_RUNDIR%%_${instance}/%%MARIADB_SOCK%%\"}" eval mysql_optfile="\${mysql_${instance}_optfile:-\"%%ETCDIR%%_${instance}/my.cnf\"}" eval mysql_pidfile="\${mysql_${instance}_pidfile:-\"%%MARIADB_RUNDIR%%_${instance}/mysqld.pid\"}" @@ -125,12 +118,7 @@ if [ ! -d "${mysql_rundir}" ]; then install -d -o ${mysql_user} -g ${mysql_group} "${mysql_rundir}" fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 if [ ! -d "${mysql_rundir}" ]; then install -d -u${mysql_user} -g$(id -gn $mysql_user) -m755 ${mysql_rundir} fi Index: databases/memcached/Makefile =================================================================== --- databases/memcached/Makefile +++ databases/memcached/Makefile @@ -61,7 +61,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 +.if ${OPSYS} == FreeBSD CONFIGURE_ARGS+= --enable-tls USES+= ssl .endif Index: databases/mongodb36/Makefile =================================================================== --- databases/mongodb36/Makefile +++ databases/mongodb36/Makefile @@ -55,12 +55,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .if ${ARCH} == aarch64 EXTRA_PATCHES= ${FILESDIR}/aarch64 .endif Index: databases/mongodb36/files/mongod.in =================================================================== --- databases/mongodb36/files/mongod.in +++ databases/mongodb36/files/mongod.in @@ -9,9 +9,6 @@ # # mongod_enable (bool): Set to "NO" by default. # Set it to "YES" to enable mongod. -%%LEGACY_LIMITS%%# mongod_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mongodb` -%%LEGACY_LIMITS%%# just before mongod starts. # mongod_dbpath (str): Default to "/var/db/mongodb" # Base database directory. # mongod_flags (str): Custom additional arguments to be passed to mongod. @@ -28,7 +25,6 @@ load_rc_config $name : ${mongod_enable="NO"} -%%LEGACY_LIMITS%%: ${mongod_limits="NO"} : ${mongod_dbpath="/var/db/mongodb"} : ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend --setParameter=disabledSecureAllocatorDomains=\*"} : ${mongod_user="mongodb"} @@ -51,12 +47,7 @@ if [ ! -d ${mongod_dbpath} ]; then mongod_create_dbpath || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mongod_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits -e -U ${mongod_user}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } run_rc_command "$1" Index: databases/mongodb40/Makefile =================================================================== --- databases/mongodb40/Makefile +++ databases/mongodb40/Makefile @@ -54,12 +54,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .if ${ARCH} == aarch64 || ${ARCH} == powerpc64le EXTRA_PATCHES= ${FILESDIR}/${ARCH} .endif Index: databases/mongodb40/files/mongod.in =================================================================== --- databases/mongodb40/files/mongod.in +++ databases/mongodb40/files/mongod.in @@ -9,9 +9,6 @@ # # mongod_enable (bool): Set to "NO" by default. # Set it to "YES" to enable mongod. -%%LEGACY_LIMITS%%# mongod_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mongodb` -%%LEGACY_LIMITS%%# just before mongod starts. # mongod_dbpath (str): Default to "/var/db/mongodb" # Base database directory. # mongod_flags (str): Custom additional arguments to be passed to mongod. @@ -28,7 +25,6 @@ load_rc_config $name : ${mongod_enable="NO"} -%%LEGACY_LIMITS%%: ${mongod_limits="NO"} : ${mongod_dbpath="/var/db/mongodb"} : ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend --setParameter=disabledSecureAllocatorDomains=\*"} : ${mongod_user="mongodb"} @@ -51,12 +47,7 @@ if [ ! -d ${mongod_dbpath} ]; then mongod_create_dbpath || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mongod_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits -e -U ${mongod_user}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } run_rc_command "$1" Index: databases/mongodb42/Makefile =================================================================== --- databases/mongodb42/Makefile +++ databases/mongodb42/Makefile @@ -68,12 +68,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .if ${ARCH} == aarch64 || ${ARCH} == powerpc64le EXTRA_PATCHES= ${FILESDIR}/${ARCH} .endif Index: databases/mongodb42/files/mongod.in =================================================================== --- databases/mongodb42/files/mongod.in +++ databases/mongodb42/files/mongod.in @@ -9,9 +9,6 @@ # # mongod_enable (bool): Set to "NO" by default. # Set it to "YES" to enable mongod. -%%LEGACY_LIMITS%%# mongod_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mongodb` -%%LEGACY_LIMITS%%# just before mongod starts. # mongod_dbpath (str): Default to "/var/db/mongodb" # Base database directory. # mongod_flags (str): Custom additional arguments to be passed to mongod. @@ -28,7 +25,6 @@ load_rc_config $name : ${mongod_enable="NO"} -%%LEGACY_LIMITS%%: ${mongod_limits="NO"} : ${mongod_dbpath="/var/db/mongodb"} : ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend --setParameter=disabledSecureAllocatorDomains=\*"} : ${mongod_user="mongodb"} @@ -51,12 +47,7 @@ if [ ! -d ${mongod_dbpath} ]; then mongod_create_dbpath || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mongod_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits -e -U ${mongod_user}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } run_rc_command "$1" Index: databases/mongodb44/Makefile =================================================================== --- databases/mongodb44/Makefile +++ databases/mongodb44/Makefile @@ -63,12 +63,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .if ${ARCH} == aarch64 || ${ARCH} == powerpc64le EXTRA_PATCHES= ${FILESDIR}/${ARCH} .endif Index: databases/mongodb44/files/mongod.in =================================================================== --- databases/mongodb44/files/mongod.in +++ databases/mongodb44/files/mongod.in @@ -9,9 +9,6 @@ # # mongod_enable (bool): Set to "NO" by default. # Set it to "YES" to enable mongod. -%%LEGACY_LIMITS%%# mongod_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mongodb` -%%LEGACY_LIMITS%%# just before mongod starts. # mongod_dbpath (str): Default to "/var/db/mongodb" # Base database directory. # mongod_flags (str): Custom additional arguments to be passed to mongod. @@ -28,7 +25,6 @@ load_rc_config $name : ${mongod_enable="NO"} -%%LEGACY_LIMITS%%: ${mongod_limits="NO"} : ${mongod_dbpath="/var/db/mongodb"} : ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend --setParameter=disabledSecureAllocatorDomains=\*"} : ${mongod_user="mongodb"} @@ -51,12 +47,7 @@ if [ ! -d ${mongod_dbpath} ]; then mongod_create_dbpath || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mongod_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits -e -U ${mongod_user}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } run_rc_command "$1" Index: databases/mongodb50/Makefile =================================================================== --- databases/mongodb50/Makefile +++ databases/mongodb50/Makefile @@ -64,12 +64,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .if ${ARCH} == aarch64 || ${ARCH} == powerpc64le EXTRA_PATCHES= ${FILESDIR}/${ARCH} .endif Index: databases/mongodb50/files/mongod.in =================================================================== --- databases/mongodb50/files/mongod.in +++ databases/mongodb50/files/mongod.in @@ -9,9 +9,6 @@ # # mongod_enable (bool): Set to "NO" by default. # Set it to "YES" to enable mongod. -%%LEGACY_LIMITS%%# mongod_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mongodb` -%%LEGACY_LIMITS%%# just before mongod starts. # mongod_dbpath (str): Default to "/var/db/mongodb" # Base database directory. # mongod_flags (str): Custom additional arguments to be passed to mongod. @@ -28,7 +25,6 @@ load_rc_config $name : ${mongod_enable="NO"} -%%LEGACY_LIMITS%%: ${mongod_limits="NO"} : ${mongod_dbpath="/var/db/mongodb"} : ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend --setParameter=disabledSecureAllocatorDomains=\*"} : ${mongod_user="mongodb"} @@ -51,12 +47,7 @@ if [ ! -d ${mongod_dbpath} ]; then mongod_create_dbpath || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mongod_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits -e -U ${mongod_user}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } run_rc_command "$1" Index: databases/mysql-connector-c/Makefile =================================================================== --- databases/mysql-connector-c/Makefile +++ databases/mysql-connector-c/Makefile @@ -25,7 +25,7 @@ CFLAGS+= -march=i586 .endif -.if (${OPSYS} == FreeBSD && ${OSVERSION} > 1200085 && ${SSL_DEFAULT} == base) || ${SSL_DEFAULT} == openssl +.if (${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base) || ${SSL_DEFAULT} == openssl EXTRA_PATCHES+= ${FILESDIR}/extra-patch-vio_viosslfactories.c \ ${FILESDIR}/extra-patch-mysys__ssl_my__aes__openssl.cc .endif Index: databases/mysql55-server/Makefile =================================================================== --- databases/mysql55-server/Makefile +++ databases/mysql55-server/Makefile @@ -59,12 +59,6 @@ USE_CXXSTD= gnu++98 .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .if ${PORT_OPTIONS:MSSL} CMAKE_ARGS+= -DWITH_SSL=bundled .endif Index: databases/mysql55-server/files/mysql-server.in =================================================================== --- databases/mysql55-server/files/mysql-server.in +++ databases/mysql55-server/files/mysql-server.in @@ -8,9 +8,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_dbdir (str): Default to "/var/db/mysql" # Base database directory. # mysql_optfile (str): Server-specific option file. @@ -29,12 +26,10 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} : ${mysql_dbdir="/var/db/mysql"} : ${mysql_optfile="${mysql_dbdir}/my.cnf"} mysql_user="mysql" -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" : ${hostname:=`/bin/hostname`} pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"} command="/usr/sbin/daemon" @@ -56,12 +51,7 @@ if [ ! -d "${mysql_dbdir}/mysql/." ]; then mysql_create_auth_tables || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } mysql_poststart() Index: databases/mysql56-server/Makefile =================================================================== --- databases/mysql56-server/Makefile +++ databases/mysql56-server/Makefile @@ -146,12 +146,6 @@ USE_CXXSTD= c++11 .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .include post-patch: Index: databases/mysql56-server/files/mysql-server.in =================================================================== --- databases/mysql56-server/files/mysql-server.in +++ databases/mysql56-server/files/mysql-server.in @@ -8,9 +8,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_dbdir (str): Default to "%%MY_DBDIR%%" # Base database directory. # mysql_confdir (str): Default to "%%ETCDIR%%" @@ -33,7 +30,6 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} : ${mysql_dbdir="%%MY_DBDIR%%"} : ${mysql_confdir="%%ETCDIR%%"} if [ -f "${mysql_confdir}/my.cnf" ]; then @@ -46,7 +42,6 @@ fi mysql_user="mysql" -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" : ${hostname:=`/bin/hostname`} pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"} command="/usr/sbin/daemon" @@ -68,12 +63,7 @@ if [ ! -d "${mysql_dbdir}/mysql/." ]; then mysql_create_auth_tables || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } mysql_poststart() Index: databases/mysql57-server/Makefile =================================================================== --- databases/mysql57-server/Makefile +++ databases/mysql57-server/Makefile @@ -149,12 +149,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .include .if ${SSL_DEFAULT} == base Index: databases/mysql57-server/files/mysql-server.in =================================================================== --- databases/mysql57-server/files/mysql-server.in +++ databases/mysql57-server/files/mysql-server.in @@ -8,9 +8,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_dbdir (str): Default to "%%MY_DBDIR%%" # Base database directory. # mysql_confdir (str): Default to "%%ETCDIR%%" @@ -33,7 +30,6 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} : ${mysql_dbdir="%%MY_DBDIR%%"} : ${mysql_confdir="%%ETCDIR%%"} if [ -f "${mysql_confdir}/my.cnf" ]; then @@ -47,7 +43,6 @@ mysql_user="mysql" -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" : ${hostname:=`/bin/hostname`} pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"} command="/usr/sbin/daemon" @@ -68,12 +63,7 @@ if [ ! -d "${mysql_dbdir}/mysql/." ]; then mysql_create_auth_tables || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } mysql_poststart() Index: databases/mysql80-server/Makefile =================================================================== --- databases/mysql80-server/Makefile +++ databases/mysql80-server/Makefile @@ -180,22 +180,6 @@ CMAKE_ARGS+= -DDISABLE_PSI_MEMORY=1 .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - -.include - -.if ${ARCH} == "i386" && ${OSVERSION} < 1200000 -# clang 7.x and 8.x do not build properly on 11i386 -CPP= clang-cpp${LLVM_DEFAULT} -CC= clang${LLVM_DEFAULT} -CXX= clang++${LLVM_DEFAULT} -BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} -.endif - post-extract: @${RM} -rv ${WRKSRC}/sql/sql_hints.yy.cc ${WRKSRC}/sql/sql_hints.yy.h @@ -208,4 +192,4 @@ ${MKDIR} ${STAGEDIR}${MY_TMPDIR} .endif -.include +.include Index: databases/mysql80-server/files/mysql-server.in =================================================================== --- databases/mysql80-server/files/mysql-server.in +++ databases/mysql80-server/files/mysql-server.in @@ -8,9 +8,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_dbdir (str): Default to "%%MY_DBDIR%%" # Base database directory. # mysql_confdir (str): Default to "%%ETCDIR%%" @@ -33,7 +30,6 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} : ${mysql_dbdir="%%MY_DBDIR%%"} : ${mysql_confdir="%%ETCDIR%%"} if [ -f "${mysql_confdir}/my.cnf" ]; then @@ -46,7 +42,6 @@ fi mysql_user="mysql" -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" : ${hostname:=`/bin/hostname`} pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"} command="/usr/sbin/daemon" @@ -67,12 +62,7 @@ if [ ! -d "${mysql_dbdir}/mysql/." ]; then mysql_create_auth_tables || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } mysql_poststart() Index: databases/mysqlwsrep56-server/Makefile =================================================================== --- databases/mysqlwsrep56-server/Makefile +++ databases/mysqlwsrep56-server/Makefile @@ -133,12 +133,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .include # Plugin innodb_memcached requires -fcommon to avoid duplicate symbol linker Index: databases/mysqlwsrep56-server/files/mysql-server.in =================================================================== --- databases/mysqlwsrep56-server/files/mysql-server.in +++ databases/mysqlwsrep56-server/files/mysql-server.in @@ -8,9 +8,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_dbdir (str): Default to "/var/db/mysql" # Base database directory. # mysql_optfile (str): Server-specific option file. @@ -29,14 +26,8 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} -: ${mysql_dbdir="/var/db/mysql"} -: ${mysql_optfile="${mysql_dbdir}/my.cnf"} mysql_user="mysql" -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" -: ${hostname:=`/bin/hostname`} -pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"} command="/usr/sbin/daemon" command_args="-c -f %%PREFIX%%/bin/mysqld_safe --defaults-extra-file=${mysql_optfile} --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_args}" procname="%%PREFIX%%/libexec/mysqld" @@ -70,12 +61,7 @@ if [ ! -d "${mysql_dbdir}/mysql/." ]; then mysql_create_auth_tables || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } mysql_poststart() Index: databases/mysqlwsrep57-server/Makefile =================================================================== --- databases/mysqlwsrep57-server/Makefile +++ databases/mysqlwsrep57-server/Makefile @@ -162,12 +162,6 @@ SUB_LIST+= PERFSCHEMRC="--skip-performance-schema" .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - .include .if ${SSL_DEFAULT} == base @@ -178,13 +172,11 @@ # ${LOCALBASE}/include/lz4.h does not compile with Clang 6. # Also MySQL code itself needs -Wno-c++11-narrowing when Clang 6 is used. -.if ${OSVERSION} >= 1200056 CFLAGS+= -DLZ4_DISABLE_DEPRECATE_WARNINGS CXXFLAGS+= -DLZ4_DISABLE_DEPRECATE_WARNINGS LDFLAGS+= -L${LOCALBASE}/lib -. if ${CHOSEN_COMPILER_TYPE} == clang +.if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS+= -Wno-c++11-narrowing -. endif .endif # Ensure that assertions are not turned on in non-debug builds. Index: databases/mysqlwsrep57-server/files/mysql-server.in =================================================================== --- databases/mysqlwsrep57-server/files/mysql-server.in +++ databases/mysqlwsrep57-server/files/mysql-server.in @@ -8,9 +8,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_dbdir (str): Default to "%%MY_DBDIR%%" # Base database directory. # mysql_confdir (str): Default to "%%ETCDIR%%" @@ -35,7 +32,6 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} : ${mysql_dbdir="%%MY_DBDIR%%"} : ${mysql_confdir="%%ETCDIR%%"} if [ -f "${mysql_confdir}/my.cnf" ]; then @@ -48,7 +44,6 @@ fi mysql_user="mysql" -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" : ${hostname:=`/bin/hostname`} pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"} command="/usr/sbin/daemon" @@ -83,12 +78,7 @@ if [ ! -d "${mysql_dbdir}/mysql/." ]; then mysql_create_auth_tables || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } mysql_poststart() Index: databases/percona56-server/Makefile =================================================================== --- databases/percona56-server/Makefile +++ databases/percona56-server/Makefile @@ -97,12 +97,6 @@ # Workaround to clang11/gcc10 with -fno-common by default CFLAGS+= -fcommon -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - post-install: @${MKDIR} ${STAGEDIR}/var/db/mysql .endif Index: databases/percona56-server/files/mysql-server.in =================================================================== --- databases/percona56-server/files/mysql-server.in +++ databases/percona56-server/files/mysql-server.in @@ -8,9 +8,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_dbdir (str): Default to "/var/db/mysql" # Base database directory. # mysql_optfile (str): Server-specific option file. @@ -29,12 +26,10 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} : ${mysql_dbdir="/var/db/mysql"} : ${mysql_optfile="${mysql_dbdir}/my.cnf"} mysql_user="mysql" -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" : ${hostname:=`/bin/hostname`} pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"} command="/usr/sbin/daemon" @@ -56,12 +51,7 @@ if [ ! -d "${mysql_dbdir}/mysql/." ]; then mysql_create_auth_tables || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } mysql_poststart() Index: databases/percona57-server/Makefile =================================================================== --- databases/percona57-server/Makefile +++ databases/percona57-server/Makefile @@ -140,12 +140,6 @@ #MY_TESTDIR= "" #.endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 -SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" -.else -SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " -.endif - post-install: ${MKDIR} ${STAGEDIR}/var/db/mysql ${MKDIR} ${STAGEDIR}${ETCDIR}/keyring Index: databases/percona57-server/files/mysql-server.in =================================================================== --- databases/percona57-server/files/mysql-server.in +++ databases/percona57-server/files/mysql-server.in @@ -8,9 +8,6 @@ # Add the following line to /etc/rc.conf to enable mysql: # mysql_enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL. -%%LEGACY_LIMITS%%# mysql_limits (bool): Set to "NO" by default. -%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` -%%LEGACY_LIMITS%%# just before mysql starts. # mysql_dbdir (str): Default to "%%MY_DBDIR%%" # Base database directory. # mysql_confdir (str): Default to "%%ETCDIR%%" @@ -31,7 +28,6 @@ load_rc_config $name : ${mysql_enable="NO"} -%%LEGACY_LIMITS%%: ${mysql_limits="NO"} : ${mysql_dbdir="%%MY_DBDIR%%"} : ${mysql_confdir="%%ETCDIR%%"} if [ -f "${mysql_dbdir}/my.cnf" ]; then @@ -41,7 +37,6 @@ fi mysql_user="mysql" -%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" : ${hostname:=`/bin/hostname`} pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"} command="/usr/sbin/daemon" @@ -73,12 +68,7 @@ if [ ! -d "${mysql_dbdir}/mysql" ]; then mysql_create_auth_tables || return 1 fi -%%LEGACY_LIMITS%% if checkyesno mysql_limits; then -%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null -%%LEGACY_LIMITS%% else -%%LEGACY_LIMITS%% return 0 -%%LEGACY_LIMITS%% fi -%%MODERN_LIMITS%% return 0 + return 0 } mysql_poststart() Index: databases/rocksdb/Makefile =================================================================== --- databases/rocksdb/Makefile +++ databases/rocksdb/Makefile @@ -20,7 +20,6 @@ BROKEN_DragonFly= does not build on DragonFly BSD using GCC with -Werror BROKEN_armv6?= does not build: db/c.cc:2281:44: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') BROKEN_armv7?= does not build: /nxb-bin/usr/bin/ld: undefined reference to symbol `__gnu_Unwind_Find_exidx@@FBSD_1.4' (try adding -lc) #'` -BROKEN_FreeBSD_11_powerpc64= does not build: util/crc32c.cc:435:22: 'arch_ppc_probe' was not declared in this scope BROKEN_FreeBSD_12_powerpc64= does not build: util/crc32c.cc:435:22: 'arch_ppc_probe' was not declared in this scope BUILD_DEPENDS= bash:shells/bash Index: deskutils/ausweisapp2/Makefile =================================================================== --- deskutils/ausweisapp2/Makefile +++ deskutils/ausweisapp2/Makefile @@ -26,10 +26,4 @@ CMAKE_ARGS= -DVENDOR=${PORTNAME} MAKE_ENV= DESTDIR=${STAGEDIR} -.include - -.if ${SSL_DEFAULT} == base && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 -CMAKE_ON+= FORCE_LEGACY_OPENSSL -.endif - .include Index: deskutils/easystroke/Makefile =================================================================== --- deskutils/easystroke/Makefile +++ deskutils/easystroke/Makefile @@ -10,7 +10,6 @@ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11_powerpc64= fails to build on powerpc64 elfv1: handler.cc:560:27: call of overloaded 'abs(float&)' is ambiguous BROKEN_FreeBSD_12_powerpc64= fails to build on powerpc64 elfv1: handler.cc:560:27: call of overloaded 'abs(float&)' is ambiguous BUILD_DEPENDS= help2man:misc/help2man \ Index: deskutils/nextcloudclient/Makefile =================================================================== --- deskutils/nextcloudclient/Makefile +++ deskutils/nextcloudclient/Makefile @@ -51,10 +51,6 @@ CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Debug .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && !${SSL_DEFAULT:Mopenssl} -BROKEN= nextcloudclient requires OpenSSL 1.1.0, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt Index: deskutils/sysctlview/Makefile =================================================================== --- deskutils/sysctlview/Makefile +++ deskutils/sysctlview/Makefile @@ -29,9 +29,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200019 -IGNORE= needs oid_label member of struct sysctl_oid defined in sysctl.h which was first introduced in FreeBSD 12 -.endif .if ${OPSYS} != FreeBSD IGNORE= not supported on anything but FreeBSD .endif Index: devel/R-cran-data.table/Makefile =================================================================== --- devel/R-cran-data.table/Makefile +++ devel/R-cran-data.table/Makefile @@ -22,20 +22,10 @@ .include -.if ${ARCH} == i386 && ${OSVERSION} < 1202000 -# See PR 230888 : Missing 64 bit atomic functions for i386 -USES+= compiler:gcc-c++11-lib -.elif defined(PPC_ABI) && ${PPC_ABI} == ELFv1 +.if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 USE_GCC= yes .else USES+= cran:compiles .endif -.if ${ARCH} == i386 && ${OSVERSION} < 1202000 -# See PR 230888 : Missing 64 bit atomic functions for i386 -post-patch: - @${REINPLACE_CMD} -e '/^PKG_LIBS/s|$$| -latomic|' \ - ${WRKSRC}/src/Makevars.in -.endif - .include Index: devel/bazel/Makefile =================================================================== --- devel/bazel/Makefile +++ devel/bazel/Makefile @@ -15,7 +15,6 @@ BROKEN_aarch64= fails to build: java.lang.OutOfMemoryError: Java heap space BROKEN_armv6= fails to package: cp: bazel: No such file or directory BROKEN_armv7= fails to package: cp: bazel: No such file or directory -BROKEN_FreeBSD_11_powerpc64= fails to compile: Action failed to execute: java.io.IOException: Cannot run program /usr/bin/clang BROKEN_FreeBSD_12_powerpc64= fails to compile: Action failed to execute: java.io.IOException: Cannot run program /usr/bin/clang BUILD_DEPENDS= bash:shells/bash \ Index: devel/bazel029/Makefile =================================================================== --- devel/bazel029/Makefile +++ devel/bazel029/Makefile @@ -17,7 +17,6 @@ BROKEN_aarch64= fails to build: java.lang.OutOfMemoryError: Java heap space BROKEN_armv6= fails to package: cp: bazel: No such file or directory BROKEN_armv7= fails to package: cp: bazel: No such file or directory -BROKEN_FreeBSD_11_powerpc64= fails to compile: Action failed to execute: java.io.IOException: Cannot run program /usr/bin/clang BROKEN_FreeBSD_12_powerpc64= fails to compile: Action failed to execute: java.io.IOException: Cannot run program /usr/bin/clang BUILD_DEPENDS= bash:shells/bash \ Index: devel/bear/Makefile =================================================================== --- devel/bear/Makefile +++ devel/bear/Makefile @@ -30,13 +30,6 @@ OPTIONS_DEFINE= DOCS -.include - -# Patch 11.x, which requires #define _WITH_DPRINTF -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-source_intercept_source_report_libexec_Logger.cc -.endif - pre-install: ${MV} ${STAGEDIR}/${CONFIGURE_WRKSRC}/stage ${CONFIGURE_WRKSRC}/ ${RM} -r ${STAGEDIR}/wrkdirs Index: devel/bear/files/extra-patch-source_intercept_source_report_libexec_Logger.cc =================================================================== --- devel/bear/files/extra-patch-source_intercept_source_report_libexec_Logger.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- source/intercept/source/report/libexec/Logger.cc.orig 2021-07-22 21:19:02 UTC -+++ source/intercept/source/report/libexec/Logger.cc -@@ -20,6 +20,7 @@ - #include "report/libexec/Logger.h" - - #include -+#define _WITH_DPRINTF - #include - #include - Index: devel/bitkeeper/Makefile =================================================================== --- devel/bitkeeper/Makefile +++ devel/bitkeeper/Makefile @@ -14,7 +14,6 @@ BROKEN_aarch64= ld: error: undefined symbol: fpsetround BROKEN_riscv64= fails to compile: src/gui/tcltk/tcl/unix/tclUnixInit.c:401:16: error: use of undeclared identifier 'FP_RN' -BROKEN_FreeBSD_11= perl: No such file or directory BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:devel/gperf \ ${LOCALBASE}/include/tommath.h:math/libtommath \ Index: devel/creduce/Makefile =================================================================== --- devel/creduce/Makefile +++ devel/creduce/Makefile @@ -18,7 +18,6 @@ p5-Sys-CPU>=0:devel/p5-Sys-CPU \ p5-Getopt-Tabular>=0:devel/p5-Getopt-Tabular -BROKEN_FreeBSD_11_powerpc64= fails to configure: cannot compile and link test program with selected LLVM BROKEN_FreeBSD_12_powerpc64= fails to configure: cannot compile and link test program with selected LLVM GNU_CONFIGURE= yes Index: devel/dwarves/Makefile =================================================================== --- devel/dwarves/Makefile +++ devel/dwarves/Makefile @@ -14,8 +14,6 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/lib/bpf/LICENSE.LPGL-2.1 -IGNORE_FreeBSD_11= inherited from dependency devel/elfutils - BUILD_DEPENDS= gnulib>=0:devel/gnulib LIB_DEPENDS= libargp.so:devel/argp-standalone \ libdw.so:devel/elfutils Index: devel/elfutils/Makefile =================================================================== --- devel/elfutils/Makefile +++ devel/elfutils/Makefile @@ -14,7 +14,6 @@ LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING-GPLV2 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING-LGPLV3 -IGNORE_FreeBSD_11= fails to build: fails to compile dwarf_abbrev_hash.c BROKEN_armv6= fails to build: fails to compile i386_disasm.c BROKEN_sparc64= sparc patch does not apply cleanly to 0.172 Index: devel/erlang-exmpp/Makefile =================================================================== --- devel/erlang-exmpp/Makefile +++ devel/erlang-exmpp/Makefile @@ -47,7 +47,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base +.if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base BROKEN= Does not support OpenSSL 1.1 .endif Index: devel/folly/Makefile =================================================================== --- devel/folly/Makefile +++ devel/folly/Makefile @@ -9,7 +9,6 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11= bug in folly, confusion with Jemalloc: https://github.com/facebook/folly/issues/1458 BROKEN_i386= error: use of undeclared identifier 'DCHECK': https://github.com/facebook/folly/issues/1168 LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ Index: devel/goredo/Makefile =================================================================== --- devel/goredo/Makefile +++ devel/goredo/Makefile @@ -16,10 +16,4 @@ PLIST_FILES= bin/${PORTNAME} -.include - -.if ${OSVERSION} < 1200000 -EXTRACT_DEPENDS= zstd:archivers/zstd # 11 doesn't have the 'zstd' executable that tar(1) expects: Error opening archive: Can't initialize filter; unable to run program "zstd -d -qq" -.endif - .include Index: devel/hs-ShellCheck/Makefile =================================================================== --- devel/hs-ShellCheck/Makefile +++ devel/hs-ShellCheck/Makefile @@ -47,10 +47,6 @@ OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT= MANPAGES -# hs-pandoc is broken on 11.4 i386 due to missing __atomic_load_8; -# make sure we still have a package (just without a manual) there -# anyway. -OPTIONS_EXCLUDE= ${${ARCH} == i386 && ${OPSYS} == FreeBSD && ${OSVERSION} < 1201525:?MANPAGES:} MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc MANPAGES_PLIST_FILES= share/man/man1/shellcheck.1.gz Index: devel/indi/Makefile =================================================================== --- devel/indi/Makefile +++ devel/indi/Makefile @@ -8,8 +8,6 @@ LICENSE= LGPL21 -BROKEN_FreeBSD_11= error: use of undeclared identifier 'TIME_UTC' - BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libnova.so:astro/libnova \ Index: devel/juce/Makefile =================================================================== --- devel/juce/Makefile +++ devel/juce/Makefile @@ -11,8 +11,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md LICENSE_PERMS= auto-accept dist-mirror pkg-mirror -BROKEN_FreeBSD_11= error: use of undeclared identifier 'pthread_setname_np' - BUILD_DEPENDS= ladspa>0:audio/ladspa LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfreetype.so:print/freetype2 \ Index: devel/llbuild/Makefile =================================================================== --- devel/llbuild/Makefile +++ devel/llbuild/Makefile @@ -13,7 +13,6 @@ BROKEN_aarch64= fails to link: undefined symbol: sbrk BROKEN_riscv64= fails to link: undefined symbol: sbrk -BROKEN_FreeBSD_11_powerpc64= fails to build on powerpc64 elfv1: unrecognized command line option "-Wdocumentation" BROKEN_FreeBSD_12_powerpc64= fails to build on powerpc64 elfv1: unrecognized command line option "-Wdocumentation" LIB_DEPENDS= libsqlite3.so:databases/sqlite3 Index: devel/llvm13/Makefile =================================================================== --- devel/llvm13/Makefile +++ devel/llvm13/Makefile @@ -99,7 +99,6 @@ OPTIONS_DEFAULT_powerpc64_13= GOLD OPTIONS_DEFAULT_powerpc64_14= GOLD OPTIONS_DEFAULT_powerpc64le= GOLD OPENMP -OPTIONS_EXCLUDE_FreeBSD_11= COMPILER_RT OPTIONS_EXCLUDE_i386= FLANG OPTIONS_EXCLUDE_powerpc= FLANG OPTIONS_DEFAULT_riscv64= OPENMP Index: devel/nextpnr/Makefile =================================================================== --- devel/nextpnr/Makefile +++ devel/nextpnr/Makefile @@ -11,7 +11,6 @@ NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= clang segfault -BROKEN_FreeBSD_11_powerpc64= runaway build BROKEN_FreeBSD_12_powerpc64= runaway build BUILD_DEPENDS= ${LOCALBASE}/share/trellis/database:devel/trellis \ Index: devel/p4/Makefile =================================================================== --- devel/p4/Makefile +++ devel/p4/Makefile @@ -21,7 +21,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_mips64= fails to install: /wrkdirs/usr/ports/devel/p4/work/2016-1/p4-bin/p4: No such file or directory -BROKEN_FreeBSD_11_powerpc64= fails to build: /bin/sh: clang++: not found BROKEN_FreeBSD_12_powerpc64= fails to build: /bin/sh: clang++: not found BUILD_DEPENDS= ${JAM}:devel/jam Index: devel/p4api/Makefile =================================================================== --- devel/p4api/Makefile +++ devel/p4api/Makefile @@ -20,7 +20,6 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11_powerpc64= fails to build: /bin/sh: clang++: not found BROKEN_FreeBSD_12_powerpc64= fails to build: /bin/sh: clang++: not found BUILD_DEPENDS= ${JAM}:devel/jam Index: devel/performance/Makefile =================================================================== --- devel/performance/Makefile +++ devel/performance/Makefile @@ -13,7 +13,6 @@ BROKEN_aarch64= fails to build: gmake[2]: No rule to make target 'Performance/dependencies', needed by 'internal-doc-all_'. Stop. BROKEN_armv7= fails to build: gmake[2]: No rule to make target 'Performance/dependencies', needed by 'internal-doc-all_'. Stop. BROKEN_powerpc64= fails to build: gmake[2]: No rule to make target 'Performance/dependencies', needed by 'internal-doc-all_'. Stop. -BROKEN_FreeBSD_11= fails to build: gmake[2]: No rule to make target 'Performance/dependencies', needed by 'internal-doc-all_'. Stop. USES= gnustep USE_GNUSTEP= base build Index: devel/ptlib/Makefile =================================================================== --- devel/ptlib/Makefile +++ devel/ptlib/Makefile @@ -48,7 +48,7 @@ OPTIONS_DEFAULT+= BSDVIDEO .endif -.if (${OPSYS} == FreeBSD && ${OSVERSION} > 1200085 && ${SSL_DEFAULT} == base) || ${SSL_DEFAULT} == openssl +.if (${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base) || ${SSL_DEFAULT} == openssl EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_ptclib_pssl.cxx-openssl111 .else EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_ptclib_pssl.cxx Index: devel/py-keystone-engine/Makefile =================================================================== --- devel/py-keystone-engine/Makefile +++ devel/py-keystone-engine/Makefile @@ -10,7 +10,6 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.TXT -BROKEN_FreeBSD_11_powerpc64= fails to install: /wrkdirs/usr/ports/devel/py-keystone-engine/work-py36/keystone-engine-0.9.1-3/src/build/llvm/lib/libkeystone.so: No such file or directory BROKEN_FreeBSD_12_powerpc64= fails to install: /wrkdirs/usr/ports/devel/py-keystone-engine/work-py36/keystone-engine-0.9.1-3/src/build/llvm/lib/libkeystone.so: No such file or directory BUILD_DEPENDS= cmake:devel/cmake Index: devel/qca/Makefile =================================================================== --- devel/qca/Makefile +++ devel/qca/Makefile @@ -50,10 +50,4 @@ TEST_TEST_TARGET= test TEST_USE= QT=network,testlib -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base -IGNORE= Does not support OpenSSL < 1.1 -.endif - -.include +.include Index: devel/rubygem-rice/Makefile =================================================================== --- devel/rubygem-rice/Makefile +++ devel/rubygem-rice/Makefile @@ -9,7 +9,6 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_11_powerpc64= fails to configure: could not find ruby.h BROKEN_FreeBSD_12_powerpc64= fails to configure: could not find ruby.h USES= gem Index: devel/zpu-gcc/Makefile =================================================================== --- devel/zpu-gcc/Makefile +++ devel/zpu-gcc/Makefile @@ -10,7 +10,6 @@ LICENSE= GPLv2 -BROKEN_FreeBSD_11_powerpc64= fails to compile on powerpc64 elfv1: libgcc2.h: conflicting types for '__structdi3' BROKEN_FreeBSD_12_powerpc64= fails to compile on powerpc64 elfv1: libgcc2.h: conflicting types for '__structdi3' BUILD_DEPENDS= ${LOCALBASE}/zpu/bin/zpu-elf-as:devel/zpu-binutils Index: dns/bundy/Makefile =================================================================== --- dns/bundy/Makefile +++ dns/bundy/Makefile @@ -18,7 +18,6 @@ BROKEN_armv6= fails to build: Child process terminated abnormally: Segmentation fault BROKEN_armv7= fails to build: Child process terminated abnormally: Segmentation fault -BROKEN_FreeBSD_11_powerpc64= fails to configure on powerpc64 elfv1: checking for botan/botan.h... no BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: checking for botan/botan.h... no BROKEN_FreeBSD_14= fails to build: error: Boost shared memory does not compile on this system. Index: dns/gdnsd3/Makefile =================================================================== --- dns/gdnsd3/Makefile +++ dns/gdnsd3/Makefile @@ -40,14 +40,6 @@ MAXMINDDB_DESC= Enable GeoIP1 + GeoIP2 Support MAXMINDDB_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -CONFIGURE_ARGS+=--without-hardening -CFLAGS+= -fstack-protector-strong -fexceptions -ftrapv -LDFLAGS+= -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -.endif - post-patch: @${REINPLACE_CMD} -e 's|$${localstatedir}/lib/$${PACKAGE_NAME}|/var/db/${PORTNAME}|g' \ ${WRKSRC}/configure @@ -57,4 +49,4 @@ ${STAGEDIR}${PREFIX}/etc/gdnsd/zones \ ${STAGEDIR}/var/run/gdnsd -.include +.include Index: dns/ldns/Makefile =================================================================== --- dns/ldns/Makefile +++ dns/ldns/Makefile @@ -103,11 +103,6 @@ .include -.if ${PORT_OPTIONS:MDANETAUSAGE} && \ - ((${OSVERSION} < 1200084 && ${SSL_DEFAULT} == base)) -BROKEN= this option requires openssl >= 1.1.0 ${OSVERSION} ${SSL_DEFAULT} -.endif - .if ! ${PORT_OPTIONS:MGOST} NO_GOST= --disable-gost .endif Index: dns/powerdns-recursor/Makefile =================================================================== --- dns/powerdns-recursor/Makefile +++ dns/powerdns-recursor/Makefile @@ -31,7 +31,8 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns \ --without-net-snmp \ - --without-systemd + --without-systemd \ + --with-libsodium=no SUB_FILES= pkg-message @@ -59,18 +60,7 @@ LUA_USES= lua -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} != openssl -CONFIGURE_ARGS+= --with-libdecaf \ - --with-libsodium -LIB_DEPENDS+= libdecaf.so:security/libdecaf \ - libsodium.so:security/libsodium -.else -CONFIGURE_ARGS+= --with-libsodium=no -.endif - post-install: @${MKDIR} ${STAGEDIR}/var/run/pdns-recursor -.include +.include Index: dns/powerdns/Makefile =================================================================== --- dns/powerdns/Makefile +++ dns/powerdns/Makefile @@ -28,7 +28,8 @@ --sysconfdir="${PREFIX}/etc/pdns" \ --with-boost="${LOCALBASE}" \ --with-dynmodules="pipe bind ${MODULES}" \ - --with-modules="" + --with-modules="" \ + --with-libsodium=no SCRIPTS_ENV= CURDIR2="${.CURDIR}" \ DISTNAME="${DISTNAME}" \ @@ -124,20 +125,9 @@ ZEROMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 ZEROMQ_CONFIGURE_ON= --enable-remotebackend-zeromq -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} != openssl -CONFIGURE_ARGS+= --with-libdecaf \ - --with-libsodium -LIB_DEPENDS+= libdecaf.so:security/libdecaf \ - libsodium.so:security/libsodium -.else -CONFIGURE_ARGS+= --with-libsodium=no -.endif - post-install:: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}/var/run/pdns @${STAGEDIR}${PREFIX}/sbin/pdns_server --module-dir=${STAGEDIR}${PREFIX}/lib/pdns --launch="pipe bind ${MODULES}" --config > ${STAGEDIR}${EXAMPLESDIR}/pdns.conf @${REINPLACE_CMD} -e 's;${STAGEDIR};;' -i '' ${STAGEDIR}${EXAMPLESDIR}/pdns.conf -.include +.include Index: editors/libreoffice/Makefile =================================================================== --- editors/libreoffice/Makefile +++ editors/libreoffice/Makefile @@ -120,11 +120,6 @@ OPTIONS_DEFINE= COINMP CUPS DOCS GNOME GTK3 GTK4 JAVA KF5 LTO MMEDIA PGSQL MARIADB QT5 SDK TEST WEBDAV OPTIONS_DEFAULT= CUPS JAVA MMEDIA QT5 -.if !defined(DEFAULT_VERSIONS) || ! ${DEFAULT_VERSIONS:Mssl=*} -# Blocked by net/qt5-network: cannot use QT5 with default OpenSSL -OPTIONS_EXCLUDE_FreeBSD_11+= QT5 -.endif - COINMP_DESC= Enable CoinMP (deprecated) math solver GTK3_DESC= GTK+ 3 GUI toolkit support GTK4_DESC= GTK+ 4 GUI toolkit support Index: editors/libreoffice6/Makefile =================================================================== --- editors/libreoffice6/Makefile +++ editors/libreoffice6/Makefile @@ -118,11 +118,6 @@ OPTIONS_DEFINE= COINMP CUPS DOCS GNOME GTK3 I18N JAVA KF5 MMEDIA PGSQL QT5 SDK TEST WEBDAV OPTIONS_DEFAULT= CUPS MMEDIA QT5 -.if !defined(DEFAULT_VERSIONS) || ! ${DEFAULT_VERSIONS:Mssl=*} -# Blocked by net/qt5-network: cannot use QT5 with default OpenSSL -OPTIONS_EXCLUDE_FreeBSD_11+= QT5 -.endif - COINMP_DESC= Enable CoinMP (deprecated) math solver GTK3_DESC= GTK+ 3 GUI toolkit support (incomplete visual style) I18N_DESC= Build i18n resources Index: emulators/i386-wine-devel/Makefile =================================================================== --- emulators/i386-wine-devel/Makefile +++ emulators/i386-wine-devel/Makefile @@ -27,7 +27,7 @@ distinfo-update: ${RM} ${.CURDIR}/distinfo~ -.for osrel in 11 12 13 14 +.for osrel in 12 13 14 ${MAKE} makesum OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel} ${CAT} ${.CURDIR}/distinfo >> ${.CURDIR}/distinfo~ .endfor Index: emulators/i386-wine-devel/Makefile.amd64 =================================================================== --- emulators/i386-wine-devel/Makefile.amd64 +++ emulators/i386-wine-devel/Makefile.amd64 @@ -21,7 +21,7 @@ BUNDLE_LIBS= yes PKGMESSAGE= ${WRKDIR}/pkg-message -.for osrel in 11 12 13 14 +.for osrel in 12 13 14 .if ${OSREL:C/\..*//} == ${osrel} PLIST_SUB+= OSREL${osrel}="" PLIST_SUB+= NOOSREL${osrel}="@comment " @@ -31,8 +31,8 @@ .endif .endfor -.if ${OPSYS} != FreeBSD || (!(${OSVERSION} >= 1104001 && ${OSVERSION} < 1200000) && !(${OSVERSION} >= 1202000 && ${OSVERSION} < 1300000) && !(${OSVERSION} >= 1300139 && ${OSVERSION} < 1400000) && !(${OSVERSION} >= 1400024)) -IGNORE= binaries compiled for FreeBSD 11.4+, 12.2+, 13.0+ and 14.0+ only +.if ${OPSYS} != FreeBSD || (!(${OSVERSION} >= 1202000 && ${OSVERSION} < 1300000) && !(${OSVERSION} >= 1300139 && ${OSVERSION} < 1400000) && !(${OSVERSION} >= 1400024)) +IGNORE= binaries compiled for FreeBSD 12.2+, 13.0+ and 14.0+ only .endif OPTIONS_DEFINE= GECKO MONO Index: emulators/i386-wine/Makefile =================================================================== --- emulators/i386-wine/Makefile +++ emulators/i386-wine/Makefile @@ -26,7 +26,7 @@ distinfo-update: ${RM} ${.CURDIR}/distinfo ${.CURDIR}/distinfo~ -.for osrel in 11 12 13 14 +.for osrel in 12 13 14 ${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel} ${MAKE} makesum OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel} ${CAT} ${.CURDIR}/distinfo >> ${.CURDIR}/distinfo~ Index: emulators/i386-wine/Makefile.amd64 =================================================================== --- emulators/i386-wine/Makefile.amd64 +++ emulators/i386-wine/Makefile.amd64 @@ -22,7 +22,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message PORTSCOUT= limitw:1,even -.for osrel in 11 12 13 14 +.for osrel in 12 13 14 .if ${OSREL:C/\..*//} == ${osrel} PLIST_SUB+= OSREL${osrel}="" PLIST_SUB+= NOOSREL${osrel}="@comment " @@ -32,8 +32,8 @@ .endif .endfor -.if ${OPSYS} != FreeBSD || (!(${OSVERSION} >= 1104001 && ${OSVERSION} < 1200000) && !(${OSVERSION} >= 1202000 && ${OSVERSION} < 1300000) && !(${OSVERSION} >= 1300139 && ${OSVERSION} < 1400000) && !(${OSVERSION} >= 1400024)) -IGNORE= binaries compiled for FreeBSD 11.4+, 12.2+, 13.0+ & 14.0+ only +.if ${OPSYS} != FreeBSD || (!(${OSVERSION} >= 1202000 && ${OSVERSION} < 1300000) && !(${OSVERSION} >= 1300139 && ${OSVERSION} < 1400000) && !(${OSVERSION} >= 1400024)) +IGNORE= binaries compiled for FreeBSD 12.2+, 13.0+ & 14.0+ only .endif OPTIONS_DEFINE= GECKO MONO Index: emulators/libc6-shim/Makefile =================================================================== --- emulators/libc6-shim/Makefile +++ emulators/libc6-shim/Makefile @@ -8,7 +8,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -IGNORE_FreeBSD_11=not supported ONLY_FOR_ARCHS= amd64 USE_GITHUB= yes Index: emulators/linux_base-c7/Makefile =================================================================== --- emulators/linux_base-c7/Makefile +++ emulators/linux_base-c7/Makefile @@ -131,8 +131,7 @@ .include -.if ${OPSYS} == FreeBSD && (${OSVERSION} < 1201524 \ - || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300077)) +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300077) GLIBC_VER= 2.17-292.el7 MASTER_SITE_SUBDIR+= centos/7.7.1908/os/x86_64/Packages/:DEFAULT,amd64 \ centos/7.7.1908/updates/x86_64/Packages/:DEFAULT,amd64 \ Index: emulators/qemu-devel/Makefile =================================================================== --- emulators/qemu-devel/Makefile +++ emulators/qemu-devel/Makefile @@ -13,7 +13,6 @@ LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 powerpc powerpc64 powerpc64 powerpc64le -IGNORE_FreeBSD_11= Unable to produce Position Independent Code BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ bash:shells/bash Index: emulators/qemu-guest-agent/Makefile =================================================================== --- emulators/qemu-guest-agent/Makefile +++ emulators/qemu-guest-agent/Makefile @@ -163,12 +163,6 @@ CONFIGURE_ARGS+= --sparc_cpu=v9 .endif -.if ${OSVERSION} < 1200000 -PKGMESSAGE= ${.CURDIR}/pkg-message-11 -.else -PKGMESSAGE= ${.CURDIR}/pkg-message -.endif - PLIST_SUB+= LINUXBOOT_DMA="" # XXX need to disable usb host code on head while it's not ported to the Index: emulators/qemu-guest-agent/pkg-message-11 =================================================================== --- emulators/qemu-guest-agent/pkg-message-11 +++ /dev/null @@ -1,24 +0,0 @@ -[ -{ type: install - message: <var.freq; -#if P_OSREL_MAJOR(__FreeBSD_version) >= 12 timespecadd(&sc->var.lasttime, &increment, &sc->var.lasttime); timespecadd(&sc->var.lasttime, &increment, &nexttime); -#else - timespecadd(&sc->var.lasttime, &increment); - nexttime.tv_sec = sc->var.lasttime.tv_sec; - nexttime.tv_nsec = sc->var.lasttime.tv_nsec; - timespecadd(&nexttime, &increment); -#endif if (timespeccmp(&nexttime, &curtime, <)) { /* Catch up if we lag curtime */ -#if P_OSREL_MAJOR(__FreeBSD_version) >= 12 timespecsub(&curtime, &increment, &sc->var.lasttime); timespecsub(&nexttime, &curtime, &nexttime); -#else - sc->var.lasttime.tv_sec = curtime.tv_sec; - sc->var.lasttime.tv_nsec = curtime.tv_nsec; - timespecsub(&sc->var.lasttime, &increment); - timespecsub(&nexttime, &curtime); -#endif #if 0 printf("lagging curtime by %d.%ld\n", nexttime.tv_sec, nexttime.tv_nsec); #endif goto restart; } else { -#if P_OSREL_MAJOR(__FreeBSD_version) >= 12 timespecsub(&nexttime, &curtime, &nexttime); -#else - timespecsub(&nexttime, &curtime); -#endif sleep = nexttime.tv_nsec / (1000000000 / hz); } callout_reset(&sc->var.rtc_handle, sleep, &rtc_callback, xtp); Index: emulators/xen-kernel/Makefile =================================================================== --- emulators/xen-kernel/Makefile +++ emulators/xen-kernel/Makefile @@ -34,10 +34,6 @@ IGNORE= only supported on FreeBSD .endif -.if ${OSVERSION} < 1200074 -IGNORE= only supported on FreeBSD 12.0 or newer -.endif - # The ports native 'build' target cannot be used because it sets # CFLAGS, and that breaks the Xen build system. do-build: Index: finance/ledger/Makefile =================================================================== --- finance/ledger/Makefile +++ finance/ledger/Makefile @@ -12,7 +12,6 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md -BROKEN_FreeBSD_11_powerpc64= fails to link on powerpc64 elfv1: ibledger.so.3: undefined reference to boost::match_results BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: ibledger.so.3: undefined reference to boost::match_results BUILD_DEPENDS= ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp Index: french/aster/Makefile =================================================================== --- french/aster/Makefile +++ french/aster/Makefile @@ -92,8 +92,7 @@ .include "${.CURDIR}/../../french/aster/bsd.aster.mk" .include -.if ${OPSYS} == FreeBSD && ((${OSREL:R} <= 12 && ${OSVERSION} < 1201506) \ - || (${OSREL:R} > 12 && ${OSVERSION} < 1300068)) +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300068 BROKEN= a larger value of ARG_MAX is needed for Code_Aster, please upgrade your system .endif Index: ftp/bsdftpd-ssl/Makefile =================================================================== --- ftp/bsdftpd-ssl/Makefile +++ ftp/bsdftpd-ssl/Makefile @@ -29,10 +29,6 @@ .include -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_11= undefined reference to `X509_OBJECT_new' -.endif - .if ${PORT_OPTIONS:MSERVER} && ${PORT_OPTIONS:MEXAMPLES} SUB_FILES= pkg-message .endif Index: games/0ad/Makefile =================================================================== --- games/0ad/Makefile +++ games/0ad/Makefile @@ -10,7 +10,6 @@ MAINTAINER= madpilot@FreeBSD.org COMMENT= Real-time strategy (RTS) game of ancient warfare -BROKEN_FreeBSD_11= fails to link: undefined reference to gloox::Client::Client(...) BROKEN_aarch64= fails to compile: no member named verifyHeapAccessDisassembly BROKEN_armv6= fails to link: fatal error: conftest: Unknown error: -1 BROKEN_armv7= fails to link: fatal error: conftest: Unknown error: -1 Index: games/eduke32/Makefile =================================================================== --- games/eduke32/Makefile +++ games/eduke32/Makefile @@ -76,7 +76,7 @@ .include -.if (${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == riscv64) || ${OSVERSION} < 1202000 +.if ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == riscv64 MAKE_ARGS+= LTO=0 .endif Index: games/fishsupper/Makefile =================================================================== --- games/fishsupper/Makefile +++ games/fishsupper/Makefile @@ -12,7 +12,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:devel/boost-libs -BROKEN_FreeBSD_11_powerpc64= fails to compile: Log.h: expected initializer before '<' token BROKEN_FreeBSD_12_powerpc64= fails to compile: Log.h: expected initializer before '<' token GNU_CONFIGURE= yes Index: games/hyperrogue/Makefile =================================================================== --- games/hyperrogue/Makefile +++ games/hyperrogue/Makefile @@ -9,8 +9,6 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_11= does not build: hyperrogue-hyper.o: file not recognized: File format not recognized - LIB_DEPENDS= libpng.so:graphics/png USE_GITHUB= yes Index: games/lander/Makefile =================================================================== --- games/lander/Makefile +++ games/lander/Makefile @@ -11,7 +11,6 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_11_powerpc64= fails to configure on powerpc64 elfv1: could not link against boost_filesystem-boost_filesystem BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: could not link against boost_filesystem-boost_filesystem LIB_DEPENDS= libfreetype.so:print/freetype2 \ Index: games/libretro-snes9x/Makefile =================================================================== --- games/libretro-snes9x/Makefile +++ games/libretro-snes9x/Makefile @@ -11,8 +11,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror pkg-mirror auto-accept -BROKEN_FreeBSD_11= linker error: unrecognized option '-plugin' - USES= compiler:c++11-lib gmake USE_LDCONFIG= yes Index: games/libretro-snes9x2010/Makefile =================================================================== --- games/libretro-snes9x2010/Makefile +++ games/libretro-snes9x2010/Makefile @@ -21,16 +21,10 @@ PLIST_FILES= lib/libretro/snes9x2010_libretro.so -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -MAKE_ENV= LTO= -.else MAKE_ENV= LTO=-flto # may drop this branch on next port update -.endif do-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro ${INSTALL_LIB} ${WRKSRC}/snes9x2010_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro -.include +.include Index: games/linux-steam-utils/Makefile =================================================================== --- games/linux-steam-utils/Makefile +++ games/linux-steam-utils/Makefile @@ -9,7 +9,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -IGNORE_FreeBSD_11= not tested at all ONLY_FOR_ARCHS= amd64 RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ Index: games/rlvm/Makefile =================================================================== --- games/rlvm/Makefile +++ games/rlvm/Makefile @@ -11,7 +11,6 @@ LICENSE= GPLv2 GPLv3 MIT LICENSE_COMB= multi -BROKEN_FreeBSD_11_powerpc64= fails to link on powerpc64 elfv1: gcn_platform.cc: undefined reference to gcn::Exception::Exception BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: gcn_platform.cc: undefined reference to gcn::Exception::Exception BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ Index: graphics/Makefile =================================================================== --- graphics/Makefile +++ graphics/Makefile @@ -144,7 +144,6 @@ SUBDIR += drawpile SUBDIR += drm-current-kmod SUBDIR += drm-devel-kmod - SUBDIR += drm-fbsd11.2-kmod SUBDIR += drm-fbsd12.0-kmod SUBDIR += drm-fbsd13-kmod SUBDIR += drm-kmod Index: graphics/drm-fbsd11.2-kmod/Makefile =================================================================== --- graphics/drm-fbsd11.2-kmod/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# Created by: Johannes Dieterich - -PORTNAME= drm-fbsd11.2-kmod -PORTVERSION= 4.11g20200420 -PORTREVISION= 1 -CATEGORIES= graphics - -MAINTAINER= x11@FreeBSD.org -COMMENT= DRM modules for the linuxkpi-based KMS components - -LICENSE= BSD2CLAUSE MIT GPLv2 -LICENSE_COMB= multi - -ONLY_FOR_ARCHS= amd64 -ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64 - -RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod - -OPTIONS_DEFINE= DEBUG - -USES= kmod uidfix - -USE_GITHUB= yes -GH_ACCOUNT= FreeBSDDesktop -GH_PROJECT= kms-drm -GH_TAGNAME= d7d433d - -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 -IGNORE= only supported on FreeBSD 11. -.endif - -.if ${OPSYS} != FreeBSD -IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality) -.endif - -.include Index: graphics/drm-fbsd11.2-kmod/distinfo =================================================================== --- graphics/drm-fbsd11.2-kmod/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1587398846 -SHA256 (FreeBSDDesktop-kms-drm-4.11g20200420-d7d433d_GH0.tar.gz) = ad292fa6508b98b2f2c576633b79eb080bf9cc84b83bca18dbbb66d7a3c429eb -SIZE (FreeBSDDesktop-kms-drm-4.11g20200420-d7d433d_GH0.tar.gz) = 7362180 Index: graphics/drm-fbsd11.2-kmod/pkg-descr =================================================================== --- graphics/drm-fbsd11.2-kmod/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components. -Currently corresponding to Linux 4.11 DRM. -This version is for FreeBSD 11.4. -amdgpu and radeonkms are known to fail with EFI boot. - -WWW: https://github.com/FreeBSDDesktop/kms-drm Index: graphics/drm-fbsd11.2-kmod/pkg-message =================================================================== --- graphics/drm-fbsd11.2-kmod/pkg-message +++ /dev/null @@ -1,21 +0,0 @@ -[ -{ type: install - message: < -.if ${OPSYS} == FreeBSD && (${OSVERSION} < 1200058 || ${OSVERSION} >= 1300000) +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300000 IGNORE= only supported on FreeBSD 12. .endif .if ${OPSYS} != FreeBSD Index: graphics/drm-kmod/Makefile =================================================================== --- graphics/drm-kmod/Makefile +++ graphics/drm-kmod/Makefile @@ -16,9 +16,7 @@ IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality) .else .if ${ARCH} == "amd64" -.if ${OSVERSION} >= 1103000 && ${OSVERSION} < 1200000 -RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-fbsd11.2-kmod -.elif ${OSVERSION} >= 1200058 && ${OSVERSION} < 1300000 +.if ${OSVERSION} < 1300000 RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-fbsd12.0-kmod .elif ${OSVERSION} >= 1300000 && ${OSVERSION} < 1300136 IGNORE= not supported on older 13, no kernel support Index: graphics/dspdfviewer/Makefile =================================================================== --- graphics/dspdfviewer/Makefile +++ graphics/dspdfviewer/Makefile @@ -39,7 +39,7 @@ CFLAGS+= -Wno-error=undefined-func-template .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200039 && ${CHOSEN_COMPILER_TYPE} == clang +.if ${OPSYS} == FreeBSD && ${CHOSEN_COMPILER_TYPE} == clang # (rene) also related to issue #191 which is still open as of 2020-10-21 CFLAGS+= -Wno-error=zero-as-null-pointer-constant .endif Index: graphics/mesa-dri/Makefile.common =================================================================== --- graphics/mesa-dri/Makefile.common +++ graphics/mesa-dri/Makefile.common @@ -81,10 +81,6 @@ PKGINSTALL= ${.CURDIR}/pkg-install PKGDEINSTALL= ${.CURDIR}/pkg-deinstall -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src_util_build__id.c -.endif - .include BINARY_ALIAS+= python3=${PYTHON_VERSION} Index: graphics/mesa-dri/files/extra-patch-src_util_build__id.c =================================================================== --- graphics/mesa-dri/files/extra-patch-src_util_build__id.c +++ /dev/null @@ -1,15 +0,0 @@ -# Elf_ doesn't exist, use Elf32_ or Elf64_ -# ---- src/util/build_id.c.orig 2017-12-21 17:31:22 UTC -+++ src/util/build_id.c -@@ -38,6 +38,10 @@ - #define ElfW(type) Elf_##type - #endif - -+#if defined(__FreeBSD__) && __FreeBSD__ < 12 -+typedef Elf_Note Elf_Nhdr; -+#endif -+ - struct build_id_note { - ElfW(Nhdr) nhdr; - Index: graphics/pcl-pointclouds/Makefile =================================================================== --- graphics/pcl-pointclouds/Makefile +++ graphics/pcl-pointclouds/Makefile @@ -11,7 +11,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_i386= undefined reference to `__atomic_load' -BROKEN_FreeBSD_11= surface/CMakeFiles/pcl_surface.dir/src/mls.cpp.o: file not recognized: File format not recognized NOT_FOR_ARCHS= armv6 armv7 NOT_FOR_ARCHS_REASON= common/include/pcl/pcl_macros.h:420:4: error: aligned_malloc not supported on your platform Index: graphics/pixie/Makefile =================================================================== --- graphics/pixie/Makefile +++ graphics/pixie/Makefile @@ -17,7 +17,6 @@ BROKEN_armv6= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_armv7= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_riscv64= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer -BROKEN_FreeBSD_11_powerpc64= fails to compile on powerpc64 elfv1: ../common/mathSpec.h:548:37: error: 'max' was not declared in this scope BROKEN_FreeBSD_12_powerpc64= fails to compile on powerpc64 elfv1: ../common/mathSpec.h:548:37: error: 'max' was not declared in this scope LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ Index: graphics/rawtherapee/Makefile =================================================================== --- graphics/rawtherapee/Makefile +++ graphics/rawtherapee/Makefile @@ -103,19 +103,6 @@ # ------------------------------------------------------------------- -.if (${OPSYS} == FreeBSD) && (${OSVERSION} < 1200000) -# can't save 16-bit TIFF on FreeBSD 11.3 and 11.4 i386 -# "TIFFWriteDirectoryTagIfdIfd8Array: Attempt to write value -# larger than 0xFFFFFFFF in Classic TIFF file" -# -# And no, the maintainer is not going to spend any time on it -# unless there is a tested proven well-integrated patch offered. -# -# Tier-2 only supported on the latest stable FreeBSD release. -ONLY_FOR_ARCHS= amd64 -ONLY_FOR_ARCHS_REASON=On i386, rawtherapee malfunctions under FreeBSD 11.x - upgrade to 12.x -.endif - .if (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1400000) # don't waste everybody's time with Tier-2 and moving targets. # might add ARM64 later on if they are established by the Index: irc/ircproxy/Makefile =================================================================== --- irc/ircproxy/Makefile +++ irc/ircproxy/Makefile @@ -41,10 +41,8 @@ post-patch: @${REINPLACE_CMD} -e 's|EUSER="ircproxy"|EUSER="ircproxyd"|g; \ s|EGROUP="users"|EGROUP="ircproxyd"|g' ${WRKSRC}/data/${PORTNAME}d.conf -.if ${OSVERSION} > 1200084 @${REINPLACE_CMD} -e '/gnutls/!s,SSL_library_init,OPENSSL_init_ssl,' \ ${WRKSRC}/configure.in -.endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/imkpasswd ${STAGEDIR}${PREFIX}/bin/ircproxyd Index: java/bootstrap-openjdk11/Makefile =================================================================== --- java/bootstrap-openjdk11/Makefile +++ java/bootstrap-openjdk11/Makefile @@ -29,9 +29,7 @@ .include # Support aarch64, armv6 and armv7 on FreeBSD 12 and up -.if ${OSVERSION} >= 1200500 ONLY_FOR_ARCHS+=aarch64 armv6 armv7 -.endif .if ${ARCH} == aarch64 || ${ARCH:Marmv*} DISTNAME= ${JDK_PORT}-${JDK_ARCH}-12-${PORTVERSION} Index: java/openjdk11/Makefile =================================================================== --- java/openjdk11/Makefile +++ java/openjdk11/Makefile @@ -12,7 +12,7 @@ LICENSE= GPLv2 -ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le +ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ @@ -114,11 +114,6 @@ .include -# Support aarch64, armv6 and armv7 on FreeBSD 12 and up -.if ${OSVERSION} >= 1200500 -ONLY_FOR_ARCHS+=aarch64 armv6 armv7 -.endif - BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk11 \ ${LOCALBASE}/bootstrap-openjdk11 Index: java/openjdk12/Makefile =================================================================== --- java/openjdk12/Makefile +++ java/openjdk12/Makefile @@ -10,7 +10,7 @@ LICENSE= GPLv2 -ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le +ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ @@ -102,11 +102,6 @@ .include -# Support aarch64 on FreeBSD 12 and up -.if ${OSVERSION} >= 1200500 -ONLY_FOR_ARCHS+=aarch64 -.endif - BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk12 \ ${LOCALBASE}/openjdk11 \ ${LOCALBASE}/bootstrap-openjdk11 Index: java/openjdk13/Makefile =================================================================== --- java/openjdk13/Makefile +++ java/openjdk13/Makefile @@ -9,7 +9,7 @@ LICENSE= GPLv2 -ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le +ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ @@ -101,11 +101,6 @@ .include -# Support aarch64 on FreeBSD 12 and up -.if ${OSVERSION} >= 1200500 -ONLY_FOR_ARCHS+=aarch64 -.endif - BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk13 \ ${LOCALBASE}/openjdk12 Index: java/openjdk14/Makefile =================================================================== --- java/openjdk14/Makefile +++ java/openjdk14/Makefile @@ -10,7 +10,7 @@ LICENSE= GPLv2 -ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le +ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ @@ -103,11 +103,6 @@ .include -# Support aarch64 on FreeBSD 12 and up -.if ${OSVERSION} >= 1200500 -ONLY_FOR_ARCHS+=aarch64 -.endif - BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk14 \ ${LOCALBASE}/openjdk13 Index: java/openjdk15/Makefile =================================================================== --- java/openjdk15/Makefile +++ java/openjdk15/Makefile @@ -9,7 +9,7 @@ LICENSE= GPLv2 -ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le +ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ @@ -102,11 +102,6 @@ .include -# Support aarch64 on FreeBSD 12 and up -.if ${OSVERSION} >= 1200500 -ONLY_FOR_ARCHS+=aarch64 -.endif - BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk15 \ ${LOCALBASE}/openjdk14 Index: java/openjdk16/Makefile =================================================================== --- java/openjdk16/Makefile +++ java/openjdk16/Makefile @@ -9,7 +9,7 @@ LICENSE= GPLv2 -ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le +ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ @@ -104,11 +104,6 @@ .include -# Support aarch64 on FreeBSD 12 and up -.if ${OSVERSION} >= 1200500 -ONLY_FOR_ARCHS+=aarch64 -.endif - BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk16 \ ${LOCALBASE}/openjdk15 Index: lang/ccl/Makefile =================================================================== --- lang/ccl/Makefile +++ lang/ccl/Makefile @@ -26,11 +26,6 @@ .include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk" -.include - -.if ${OSVERSION} < 1200000 -IGNORE= does not build on FreeBSD < 12.0 -.endif BUILD_DEPENDS+= as:devel/binutils LISP_ARCH= x8664 @@ -64,4 +59,4 @@ done ${INSTALL_SCRIPT} ${WRKDIR}/ccl.sh ${STAGEDIR}${PREFIX}/bin/ccl -.include +.include Index: lang/clover/Makefile =================================================================== --- lang/clover/Makefile +++ lang/clover/Makefile @@ -13,7 +13,6 @@ ONLY_FOR_ARCHS= i386 amd64 powerpc64le powerpc64 ONLY_FOR_ARCHS_REASON= Clover needs a GPU supported by the Radeon KMS driver -BROKEN_FreeBSD_11= undefined reference to `vl_video_buffer_plane_order' .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" Index: lang/crystal/Makefile =================================================================== --- lang/crystal/Makefile +++ lang/crystal/Makefile @@ -11,7 +11,6 @@ LICENSE= APACHE20 -IGNORE_FreeBSD_11= prebuilt bootstrap only built for FreeBSD >=12 (ino64) ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= requires prebuilt bootstrap compiler Index: lang/gcc6-aux/Makefile =================================================================== --- lang/gcc6-aux/Makefile +++ lang/gcc6-aux/Makefile @@ -50,17 +50,7 @@ .if ${OPSYS} == FreeBSD ONLY_FOR_ARCHS= aarch64 amd64 i386 MODERN_BINUTILS= yes -. if ${ARCH} == aarch64 && ${OSVERSION} > 1200075 #ino64 -BOOTSTRAP_COMPILER= ada-bootstrap.aarch64.freebsd.120.tar.bz2 -. elif ${ARCH} == aarch64 -BOOTSTRAP_COMPILER= ada-bootstrap.aarch64.freebsd.111.tar.bz2 -. elif ${ARCH} == amd64 && ${OSVERSION} > 1200030 #ino64 -BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.freebsd.120.tar.bz2 -. elif ${ARCH} == i386 && ${OSVERSION} > 1200030 #ino64 -BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.freebsd.120.tar.bz2 -. else -BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.freebsd.100B.tar.bz2 -. endif +BOOTSTRAP_COMPILER= ada-bootstrap.${ARCH}.freebsd.120.tar.bz2 .endif .if ${OPSYS} == DragonFly ONLY_FOR_ARCHS= x86_64 Index: lang/ghc/Makefile =================================================================== --- lang/ghc/Makefile +++ lang/ghc/Makefile @@ -132,10 +132,7 @@ .if empty(PORT_OPTIONS:MBOOT) BOOTSTRAPS_SUFFIX?= ${BOOTSTRAPS_SUFFIX_${ARCH}} BOOTSTRAPS_SUFFIX_powerpc64?= -${PPC_ABI:tl} -. if ${OSVERSION} < 1200000 && (${ARCH} == amd64 || ${ARCH} == i386) -ELEVEN_SUFX= 11 -. endif -DISTFILES+= ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${BOOTSTRAPS_SUFFIX}${ELEVEN_SUFX}${EXTRACT_SUFX}:boot +DISTFILES+= ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${BOOTSTRAPS_SUFFIX}${EXTRACT_SUFX}:boot .endif # MBOOT .if ${ARCH} == aarch64 || ${ARCH:Marmv*} Index: lang/gnustep-base/Makefile =================================================================== --- lang/gnustep-base/Makefile +++ lang/gnustep-base/Makefile @@ -12,7 +12,6 @@ LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi -BROKEN_FreeBSD_11_powerpc64= fails to link: ld.lld: error: /usr/src/lib/csu/common/crtend.c:55: relocation R_PPC64_ADDR16_DS out of range: -32776 is not in [-32768, 32767] BROKEN_FreeBSD_12_powerpc64= fails to link: ld.lld: error: /usr/src/lib/csu/common/crtend.c:55: relocation R_PPC64_ADDR16_DS out of range: -32776 is not in [-32768, 32767] LIB_DEPENDS+= libffi.so:devel/libffi Index: lang/go/Makefile =================================================================== --- lang/go/Makefile +++ lang/go/Makefile @@ -65,12 +65,6 @@ GOARM_armv6= 6 GOARM_armv7= 7 -.include - -.if ${ARCH} == aarch64 && ${OSVERSION} < 1200000 -IGNORE= aarch64 support requires FreeBSD 12.0 or newer -.endif - post-patch: @${REINPLACE_CMD} -e 's|^if ulimit -T|false \&\& &|' ${WRKSRC}/src/run.bash @@ -126,4 +120,4 @@ ${RM} ${DISTINFO_FILE}.tmp .endif -.include +.include Index: lang/hermes/Makefile =================================================================== --- lang/hermes/Makefile +++ lang/hermes/Makefile @@ -24,12 +24,6 @@ BINARY_ALIAS= python=${PYTHON_CMD} python3=${PYTHON_CMD} -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1201518 -BROKEN= needs pthread_getname_np from OSVERSION 1201518 or above -.endif - do-test: # some tests are known to fail: https://github.com/facebook/hermes/issues/347 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DHERMES_ENABLE_TEST_SUITE:BOOL=ON ${CMAKE_SOURCE_PATH} && \ Index: lang/ldc/Makefile =================================================================== --- lang/ldc/Makefile +++ lang/ldc/Makefile @@ -44,7 +44,7 @@ CFLAGS+= -fPIC .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1200029 +.if ${OPSYS} == FreeBSD EXTRA_PATCHES= ${PATCHDIR}/fbsd12-* .endif Index: lang/luajit-openresty/Makefile =================================================================== --- lang/luajit-openresty/Makefile +++ lang/luajit-openresty/Makefile @@ -39,15 +39,9 @@ USE_GCC=yes .endif -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -MAKE_ARGS+= XCFLAGS=-DLJ_TARGET_HAS_GETENTROPY=0 -.endif - post-install: ${LN} -sf ${PORTNAME}-${LUAJIT_VERSION} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.include +.include Index: lang/perl5-devel/Makefile =================================================================== --- lang/perl5-devel/Makefile +++ lang/perl5-devel/Makefile @@ -46,7 +46,8 @@ HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure -CONFIGURE_ARGS= -Darchlib=${PREFIX}/${_ARCH_LIB} \ +CONFIGURE_ARGS= -Accflags='-DUSE_THREAD_SAFE_LOCALE' \ + -Darchlib=${PREFIX}/${_ARCH_LIB} \ -Dcc="${CC}" \ -Dcf_by=${MAINTAINER:C,@.*,,} \ -Dcf_email=${MAINTAINER} \ @@ -197,10 +198,6 @@ .include .sinclude "${_PERL5_DEFAULT_FILE}" -.if ${OSVERSION} >= 1200004 -CONFIGURE_ARGS+= -Accflags='-DUSE_THREAD_SAFE_LOCALE' -.endif - # if this port is default due PERL5_DEFAULT # change PKGNAME to reflect this .if ${PERL_VER} == ${PERL5_DEFAULT} || ${PERL5_DEFAULT} == devel # XXX Remove devel case Index: lang/perl5.30/Makefile =================================================================== --- lang/perl5.30/Makefile +++ lang/perl5.30/Makefile @@ -43,7 +43,8 @@ -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dusenm=n \ -Dcc="${CC}" -Duseshrplib -Dinc_version_list=none \ -Dcf_by=${MAINTAINER:C,@.*,,} -Dcf_email=${MAINTAINER} \ - -Dcf_time="`${STAT} -t \"%a %b %d %T %Z %Y\" -f %Sm ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}`" + -Dcf_time="`${STAT} -t \"%a %b %d %T %Z %Y\" -f %Sm ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}`" \ + -Accflags='-DUSE_THREAD_SAFE_LOCALE' # Keep the following two in sync. # lddlflags is used for all .so linking # shrpldflags is used for libperl.so, so remove all the extra bits inherited from lddlflags. @@ -166,10 +167,6 @@ .include .sinclude "${_PERL5_DEFAULT_FILE}" -.if ${OSVERSION} >= 1200004 -CONFIGURE_ARGS+= -Accflags='-DUSE_THREAD_SAFE_LOCALE' -.endif - # if this port is default due PERL5_DEFAULT # change PKGNAME to reflect this .if ${PERL_VER} == ${PERL5_DEFAULT} Index: lang/perl5.32/Makefile =================================================================== --- lang/perl5.32/Makefile +++ lang/perl5.32/Makefile @@ -52,7 +52,8 @@ -sde \ -Ui_iconv \ -Ui_malloc \ - -Uinstallusrbinperl + -Uinstallusrbinperl \ + -Accflags='-DUSE_THREAD_SAFE_LOCALE' # Keep the following two in sync. # lddlflags is used for all .so linking # shrpldflags is used for libperl.so, so remove all the extra bits inherited from lddlflags. @@ -172,10 +173,6 @@ .include .sinclude "${_PERL5_DEFAULT_FILE}" -.if ${OSVERSION} >= 1200004 -CONFIGURE_ARGS+= -Accflags='-DUSE_THREAD_SAFE_LOCALE' -.endif - # if this port is default due PERL5_DEFAULT # change PKGNAME to reflect this .if ${PERL_VER} == ${PERL5_DEFAULT} Index: lang/perl5.34/Makefile =================================================================== --- lang/perl5.34/Makefile +++ lang/perl5.34/Makefile @@ -52,7 +52,8 @@ -sde \ -Ui_iconv \ -Ui_malloc \ - -Uinstallusrbinperl + -Uinstallusrbinperl \ + -Accflags='-DUSE_THREAD_SAFE_LOCALE' # Keep the following two in sync. # lddlflags is used for all .so linking # shrpldflags is used for libperl.so, so remove all the extra bits inherited from lddlflags. @@ -172,10 +173,6 @@ .include .sinclude "${_PERL5_DEFAULT_FILE}" -.if ${OSVERSION} >= 1200004 -CONFIGURE_ARGS+= -Accflags='-DUSE_THREAD_SAFE_LOCALE' -.endif - # if this port is default due PERL5_DEFAULT # change PKGNAME to reflect this .if ${PERL_VER} == ${PERL5_DEFAULT} Index: lang/python310/Makefile =================================================================== --- lang/python310/Makefile +++ lang/python310/Makefile @@ -112,8 +112,8 @@ .endif # Python 3.10 requires OpenSSL >= 1.1.1 (PEP 644), so with -# older OpenSSL or libressl, some modules are not built -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 && !${SSL_DEFAULT:Mopenssl*} || ${SSL_DEFAULT:Mlibressl*} +# libressl, some modules are not built +.if ${SSL_DEFAULT:Mlibressl*} PLIST_SUB+= SUPPORTED_OPENSSL="@comment " .else PLIST_SUB+= SUPPORTED_OPENSSL="" Index: lang/rust-bootstrap/Makefile =================================================================== --- lang/rust-bootstrap/Makefile +++ lang/rust-bootstrap/Makefile @@ -120,8 +120,6 @@ .if ${OPSYS} != FreeBSD IGNORE= is only for FreeBSD -.elif ${OSVERSION} < 1200502 -IGNORE= will not build on 12.0 due to old toolchain; 11.x untested .endif .if ${FLAVOR} == powerpc64le && ${OSVERSION} < 1300116 IGNORE= will not build on 12.x due to old system Index: lang/rust/Makefile =================================================================== --- lang/rust/Makefile +++ lang/rust/Makefile @@ -24,8 +24,6 @@ LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT -IGNORE_FreeBSD_11_powerpc64= is missing a bootstrap for FreeBSD 11.x powerpc64 -IGNORE_FreeBSD_11_powerpc= is missing a bootstrap for FreeBSD 11.x powerpc IGNORE_FreeBSD_12_powerpc= is missing a bootstrap for FreeBSD 12.x powerpc ONLY_FOR_ARCHS?= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le \ powerpc @@ -109,11 +107,6 @@ STRIP_CMD= ${LOCALBASE}/bin/strip # unsupported e_type with base strip .endif -# remove when 11.4 is EOL -.if ${ARCH} == aarch64 && ${OSVERSION} < 1202000 -IGNORE= fails to run due to a bug in rtld, update to 12.2-RELEASE or newer -.endif - .ifdef QEMU_EMULATING IGNORE= fails to build with qemu-user-static .endif Index: lang/zig-devel/Makefile =================================================================== --- lang/zig-devel/Makefile +++ lang/zig-devel/Makefile @@ -11,7 +11,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -IGNORE_FreeBSD_11= expects getrandom(2) which is unavailable on FreeBSD < 12.0 ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= not yet supported Index: lang/zig/Makefile =================================================================== --- lang/zig/Makefile +++ lang/zig/Makefile @@ -9,7 +9,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -IGNORE_FreeBSD_11= expects getrandom(2) which is unavailable on FreeBSD < 12.0 ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= not yet supported Index: mail/imapfilter/Makefile =================================================================== --- mail/imapfilter/Makefile +++ mail/imapfilter/Makefile @@ -10,8 +10,6 @@ LICENSE= MIT -BROKEN_FreeBSD_11=Requires openssl111 to build - LIB_DEPENDS= libpcre2-8.so:devel/pcre2 USES= lua ssl Index: mail/isync/Makefile =================================================================== --- mail/isync/Makefile +++ mail/isync/Makefile @@ -27,16 +27,10 @@ CPPFLAGS+= -I${BDB_INCLUDE_DIR} LDFLAGS+= -L${BDB_LIB_DIR} -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base -BROKEN= requires OpenSSL 1.1.1, upgrade to FreeBSD 12.x/13.x or add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf -.endif - post-patch: @${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|\$$(docdir)/examples|\$$(sysconfdir)|g' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's|-ansi||g' ${WRKSRC}/${CONFIGURE_SCRIPT} -.include +.include Index: mail/opensmtpd-devel/Makefile =================================================================== --- mail/opensmtpd-devel/Makefile +++ mail/opensmtpd-devel/Makefile @@ -62,7 +62,7 @@ .include .if ${OPSYS} == FreeBSD && \ - ((${OSVERSION} > 1200084 && ${SSL_DEFAULT} == "base") || \ + ((${SSL_DEFAULT} == "base") || \ (${SSL_DEFAULT} == "openssl")) BROKEN= Incompatible with Openssl 1.1.x yet .endif Index: mail/opensmtpd/Makefile =================================================================== --- mail/opensmtpd/Makefile +++ mail/opensmtpd/Makefile @@ -55,14 +55,7 @@ --with-user-queue=_smtpq \ --with-group-queue=_smtpq -.include - -.if ${OPSYS} == FreeBSD && \ - (${OSVERSION} < 1200084 && ${SSL_DEFAULT} == "base") -BROKEN= Openssl 1.0 API is EoL, upgrade to FreeBSD 12.x/13.x or add DEFAULT_VERSIONS+=ssl=[openssl|libressl*] to /etc/make.conf -.endif - post-install-TABLE_DB-on: @${LN} -sf ${PREFIX}/sbin/smtpctl ${STAGEDIR}${PREFIX}/libexec/opensmtpd/makemap -.include +.include Index: mail/postfix-current/Makefile =================================================================== --- mail/postfix-current/Makefile +++ mail/postfix-current/Makefile @@ -87,7 +87,7 @@ MAKEFILEFLAGS+= pie=yes CC="${CC}" OPT="${CFLAGS}" -.if (${OSREL:R} < 12 && ${SSL_DEFAULT} == base) || (${SSL_DEFAULT} == libressl) +.if ${SSL_DEFAULT} == libressl BROKEN= error: OpenSSL-1.1.1 is the minimum supported version. \ LibreSSL is not supported .endif Index: mail/postfix/Makefile =================================================================== --- mail/postfix/Makefile +++ mail/postfix/Makefile @@ -87,7 +87,7 @@ MAKEFILEFLAGS+= pie=yes CC="${CC}" OPT="${CFLAGS}" -.if (${OSREL:R} < 12 && ${SSL_DEFAULT} == base) || (${SSL_DEFAULT} == libressl) +.if ${SSL_DEFAULT} == libressl BROKEN= error: OpenSSL-1.1.1 is the minimum supported version. \ LibreSSL is not supported .endif Index: mail/qpopper/Makefile =================================================================== --- mail/qpopper/Makefile +++ mail/qpopper/Makefile @@ -122,7 +122,7 @@ .endif # openssl-1.1.1 no longer has SSLv2 support -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 +.if ${OPSYS} == FreeBSD CFLAGS+= -DOPENSSL_NO_SSL2 CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" .endif Index: mail/sendmail/Makefile =================================================================== --- mail/sendmail/Makefile +++ mail/sendmail/Makefile @@ -77,10 +77,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -PKGNAMESUFFIX?= ${TLS_SUFFIX}${SASL_SUFFIX}${LDAP_SUFFIX}${BDB_SUFFIX}${PKGNAMESUFFIX2} -.endif - .if ${PORT_OPTIONS:MSHMEM} && !defined(BUILDING_INDEX) IPCCHECK!= ipcrm -q 0 2>&1 || true .if ${IPCCHECK:Mimplemented} Index: math/clblas/Makefile =================================================================== --- math/clblas/Makefile +++ math/clblas/Makefile @@ -12,7 +12,6 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11_powerpc64= src/library/tools/tune/tune.c:137: error: 'CLOCK_REALTIME' undeclared (first use in this function) BROKEN_FreeBSD_12_powerpc64= src/library/tools/tune/tune.c:137: error: 'CLOCK_REALTIME' undeclared (first use in this function) BUILD_DEPENDS= opencl>=0:devel/opencl Index: math/libflame/Makefile =================================================================== --- math/libflame/Makefile +++ math/libflame/Makefile @@ -63,10 +63,6 @@ CONFIGURE_ARGS+= --enable-multithreading=no .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200060 -IGNORE= requires a newer linker such as lld -.endif - .if !(defined(USE_GCC) || !empty(CC:M*gcc4*)) CONFIGURE_ARGS+= --disable-autodetect-f77-ldflags \ --disable-autodetect-f77-name-mangling Index: math/openturns/Makefile =================================================================== --- math/openturns/Makefile +++ math/openturns/Makefile @@ -10,8 +10,6 @@ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER -BROKEN_FreeBSD_11= SymbolicParserExprTk.cxx.o: file not recognized: File format not recognized - BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ flex:textproc/flex \ spectra>0:math/spectra Index: math/py-ducc0/Makefile =================================================================== --- math/py-ducc0/Makefile +++ math/py-ducc0/Makefile @@ -10,8 +10,6 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11= ducc.o: file not recognized: File format not recognized - BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} Index: math/pynac/Makefile =================================================================== --- math/pynac/Makefile +++ math/pynac/Makefile @@ -33,10 +33,4 @@ USE_LDCONFIG= yes TEST_TARGET= check -.include - -.if ${PORT_OPTIONS:MGIAC} -BROKEN_FreeBSD_11= libgiac is broken (undefined reference to `__divmodti4@GCC_7.0.0') -.endif - .include Index: misc/free42/Makefile =================================================================== --- misc/free42/Makefile +++ misc/free42/Makefile @@ -10,8 +10,6 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_11= error: unknown type name 'cha'; did you mean 'char'? - LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 Index: misc/freebsd-doc-en/Makefile =================================================================== --- misc/freebsd-doc-en/Makefile +++ misc/freebsd-doc-en/Makefile @@ -12,7 +12,6 @@ LICENSE= BSD2CLAUSE -BROKEN_FreeBSD_11_powerpc64= fails to build: Java Runtime Environment: SIGSEGV happened inside stack but outside yellow and red zone. BROKEN_FreeBSD_12_powerpc64= fails to build: Java Runtime Environment: SIGSEGV happened inside stack but outside yellow and red zone. BUILD_DEPENDS= docproj>=2.0_6:textproc/docproj \ Index: misc/xplr/Makefile =================================================================== --- misc/xplr/Makefile +++ misc/xplr/Makefile @@ -172,13 +172,4 @@ ${INSTALL_DATA} ${_EXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} -.include - -# XXX: getentropy(3) did not appear until FreeBSD 12, anything lower will -# not compile, throwing an undefined reference to `getentropy'. We can -# safely remove this once FreeBSD 11 is EOL. -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -EXTRA_PATCHES= ${PATCHDIR}/extra-cargo-crates_luajit-src-210.2.0+resty5f13855_luajit2_src_lj__prng.c -.endif - -.include +.include Index: multimedia/cclive/Makefile =================================================================== --- multimedia/cclive/Makefile +++ multimedia/cclive/Makefile @@ -11,7 +11,6 @@ LICENSE= GPLv3 -BROKEN_FreeBSD_11_powerpc64= fails to configure on powerpc64 elfv1: cannot find the flags to link with Boost date_time BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: cannot find the flags to link with Boost date_time LIB_DEPENDS= libboost_system.so:devel/boost-libs \ Index: multimedia/gstreamer1-plugins-rust/Makefile =================================================================== --- multimedia/gstreamer1-plugins-rust/Makefile +++ multimedia/gstreamer1-plugins-rust/Makefile @@ -402,7 +402,6 @@ OPTIONS_DEFINE= CSOUND DAV1D PANGO SODIUM OPTIONS_DEFAULT=CSOUND DAV1D PANGO SODIUM -OPTIONS_EXCLUDE_FreeBSD_11= ${ARCH:Mi386:C/.+/CSOUND/} OPTIONS_SUB= yes CSOUND_DESC= Audio filtering via Csound Index: multimedia/mkvtoolnix/Makefile =================================================================== --- multimedia/mkvtoolnix/Makefile +++ multimedia/mkvtoolnix/Makefile @@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_sparc64= does not install -BROKEN_FreeBSD_11= requires non-building qt5 libs even in the non-GUI builds BUILD_DEPENDS= rake:devel/rubygem-rake \ docbook-xsl>=0:textproc/docbook-xsl \ Index: multimedia/vlc/Makefile =================================================================== --- multimedia/vlc/Makefile +++ multimedia/vlc/Makefile @@ -83,11 +83,6 @@ OPTIONS_DEFAULT_powerpc64= ALTIVEC OPTIONS_SUB= yes -.if !defined(DEFAULT_VERSIONS) || ! ${DEFAULT_VERSIONS:Mssl=*} -# Blocked by net/qt5-network: cannot use QT5 with default OpenSSL -OPTIONS_EXCLUDE_FreeBSD_11+= QT5 -.endif - AOM_DESC= AV1 video encoding/decoding via libaom ASS_DESC= ASS/SSA subtitle rendering CHROMECAST_DESC=Streaming to Chromecast devices Index: multimedia/vvdec/Makefile =================================================================== --- multimedia/vvdec/Makefile +++ multimedia/vvdec/Makefile @@ -21,6 +21,4 @@ CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= FREEBSD_VVDEC_ENABLE_X86_SIMD -BROKEN_FreeBSD_11= /usr/bin/ld: unrecognized option '-plugin' - .include Index: multimedia/zoneminder/Makefile =================================================================== --- multimedia/zoneminder/Makefile +++ multimedia/zoneminder/Makefile @@ -87,7 +87,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1200000 +.if ${OPSYS} == FreeBSD EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt .endif Index: net-im/ejabberd/Makefile =================================================================== --- net-im/ejabberd/Makefile +++ net-im/ejabberd/Makefile @@ -170,10 +170,6 @@ post-patch: @${REINPLACE_CMD} -e 's,^convert,${LOCALBASE}/bin/convert,' ${WRKSRC}/tools/captcha.sh @${REINPLACE_CMD} -e 's,%%PORTVERSION%%,${PORTVERSION},' ${WRKSRC}/configure.ac -.if ${OSVERSION} < 1200000 - # Disable LTO required by dependency, not available by default in < 12.x - @${REINPLACE_CMD} -e 's/$$FLTO_FLAG//' ${WRKSRC}/deps/jiffy/rebar.config -.endif pre-configure: cd ${WRKSRC} && ${SH} autogen.sh Index: net-im/licq/Makefile =================================================================== --- net-im/licq/Makefile +++ net-im/licq/Makefile @@ -14,7 +14,6 @@ LIB_DEPENDS= libboost_regex.so:devel/boost-libs -BROKEN_FreeBSD_11_powerpc64= fails to pass tests BROKEN_FreeBSD_12_powerpc64= fails to pass tests BROKEN_sparc64= fails to link Index: net-im/mtxclient/Makefile =================================================================== --- net-im/mtxclient/Makefile +++ net-im/mtxclient/Makefile @@ -9,8 +9,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -IGNORE_FreeBSD_11= unsupported SSL in base - BUILD_DEPENDS= nlohmann-json>=3:devel/nlohmann-json LIB_DEPENDS= libsodium.so:security/libsodium \ libboost_date_time.so:devel/boost-libs \ Index: net-im/tg_owt/Makefile =================================================================== --- net-im/tg_owt/Makefile +++ net-im/tg_owt/Makefile @@ -37,10 +37,4 @@ # Disable DCHECKs, otherwise video calls will crash. CXXFLAGS+= -DNDEBUG -.include - -.if ${SSL_DEFAULT} == "base" && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 -BROKEN= This port requires OpenSSL 1.1.0. Try DEFAULT_VERSIONS+=ssl=[openssl|libressl*] -.endif - .include Index: net-mgmt/kismet/Makefile =================================================================== --- net-mgmt/kismet/Makefile +++ net-mgmt/kismet/Makefile @@ -65,7 +65,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 +.if ${OPSYS} == FreeBSD EXTRA_PATCHES+= ${FILESDIR}/extra-patch-restricted-plugin-ptw_aircrack-crypto.cc .endif Index: net-mgmt/net-snmp/Makefile =================================================================== --- net-mgmt/net-snmp/Makefile +++ net-mgmt/net-snmp/Makefile @@ -245,7 +245,7 @@ post-patch: @${REINPLACE_CMD} -E -e 's|return pci_lookup_name|disabled broken|g' \ ${WRKSRC}/configure -.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085) || ${SSL_DEFAULT:Mopenssl} +.if ${OPSYS} == FreeBSD || ${SSL_DEFAULT:Mopenssl} @${REINPLACE_CMD} -E -e 's|SSL_library_init|OPENSSL_init_ssl|g' \ ${WRKSRC}/configure .endif Index: net-mgmt/netdata/Makefile =================================================================== --- net-mgmt/netdata/Makefile +++ net-mgmt/netdata/Makefile @@ -84,9 +84,6 @@ LTO_CONFIGURE_ENABLE= lto .include -.if ${PORT_OPTIONS:MLTO} && ${OPSYS}_${OSREL:R} == FreeBSD_11 -BROKEN= Link-Time Optimization breaks compilation on FreeBSD 11 -.endif .if ${PORT_OPTIONS:MLTO} && ${ARCH} == powerpc64 USE_GCC= yes Index: net-mgmt/nstat/Makefile =================================================================== --- net-mgmt/nstat/Makefile +++ net-mgmt/nstat/Makefile @@ -25,10 +25,4 @@ ${INSTALL_PROGRAM} ${WRKSRC}/nstat ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/nstat.1.gz ${STAGEDIR}${PREFIX}/man/man1 -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1200027 -BROKEN= Does not build without clock_nanosleep -.endif - -.include +.include Index: net-mgmt/py-gstat_exporter/Makefile =================================================================== --- net-mgmt/py-gstat_exporter/Makefile +++ net-mgmt/py-gstat_exporter/Makefile @@ -9,8 +9,6 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -IGNORE_FreeBSD_11= needs "gstat -C", available since FreeBSD 12.0 - RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7.1:net-mgmt/py-prometheus-client@${PY_FLAVOR} USES= python:3.6+ Index: net-p2p/monero-cli/Makefile =================================================================== --- net-p2p/monero-cli/Makefile +++ net-p2p/monero-cli/Makefile @@ -60,8 +60,6 @@ # /usr/bin/ld -melf_amd64 -r -b binary -o blocksdat.o blocks.dat # See Bug 226996 - net-p2p/monero-cli: fails to link with lld as the system linker # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226996 -.if ${OSVERSION} >= 1200000 - .if ${ARCH} == aarch64 LD_EMULATION= aarch64elf .elif ${ARCH} == amd64 @@ -76,8 +74,6 @@ CMAKE_ARGS+= -DLD_RAW_FLAGS:STRING=-m${LD_EMULATION} -.endif - # keep in sync with all platforms where libunwind is available .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le LIB_DEPENDS+= libunwind.so:devel/libunwind Index: net-p2p/qtum/Makefile =================================================================== --- net-p2p/qtum/Makefile +++ net-p2p/qtum/Makefile @@ -27,7 +27,8 @@ GNU_CONFIGURE= yes CONFIGURE_ENV+= BDB_CFLAGS="-I${BDB_INCLUDE_DIR}" \ BDB_LIBS="-L${BDB_LIB_DIR} -l${BDB_LIB_CXX_NAME}" \ - LDFLAGS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib" \ + CPPFLAGS="-I${LOCALBASE}/include" # * Man pages have not been adjusted after cloning the Bitcoin code base. # They are the old Bitcoin man pages, so do not install them. # * --with-incompatible-bdb is required in order to use bdb-5. @@ -62,15 +63,4 @@ SSL_LIBS="-lssl" .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -# Force PIC on FreeBSD 11.x because otherwise linking fails: -# /usr/bin/ld: qtum_cli-bitcoin-cli.o: relocation R_X86_64_32 against `a local -# symbol' can not be used when making a shared object; recompile with -fPIC -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -fPIC -DPIC" -post-patch: - ${REINPLACE_CMD} -e 's/AC_SUBST(PIE_FLAGS)//' ${WRKSRC}/configure.ac -.else -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" -.endif - .include Index: net/dhcprelya/Makefile =================================================================== --- net/dhcprelya/Makefile +++ net/dhcprelya/Makefile @@ -26,7 +26,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 +.if ${OPSYS} == FreeBSD LDFLAGS+= -Wl,-E .endif Index: net/hostapd-devel/Makefile =================================================================== --- net/hostapd-devel/Makefile +++ net/hostapd-devel/Makefile @@ -14,8 +14,6 @@ GH_TAGNAME= b4f7506ff COMMIT_DATE= 2021.07.14 -BROKEN_FreeBSD_11= Does not support OpenSSL 1.0.2 - LICENSE= BSD3CLAUSE USES= cpe gmake ssl Index: net/httping/Makefile =================================================================== --- net/httping/Makefile +++ net/httping/Makefile @@ -45,7 +45,7 @@ MAKE_ENV+= SSL=no .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 +.if ${OPSYS} == FreeBSD MAKE_ENV+= TFO=yes .endif Index: net/krill/Makefile =================================================================== --- net/krill/Makefile +++ net/krill/Makefile @@ -20,9 +20,6 @@ GH_ACCOUNT= NLnetLabs .include -.if ${OSVERSION} < 1200000 && ${SSL_DEFAULT} == base -IGNORE= Does not build with base ssl on RELEASE ${OSREL} ${OSVERSION} -.endif USE_RC_SUBR= ${PORTNAME} Index: net/libpfctl/Makefile =================================================================== --- net/libpfctl/Makefile +++ net/libpfctl/Makefile @@ -11,7 +11,6 @@ LICENSE= BSD2CLAUSE -BROKEN_FreeBSD_11= Will not work until nvlist-ified ioctls are available BROKEN_FreeBSD_12= Will not work until nvlist-ified ioctls are available BROKEN_FreeBSD_13= Will not work until nvlist-ified ioctls are available Index: net/ntpsec/Makefile =================================================================== --- net/ntpsec/Makefile +++ net/ntpsec/Makefile @@ -29,12 +29,6 @@ PORTSCOUT= limit:^\d+\. # prevent alpha-numeric strings -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 && ${SSL_DEFAULT} == base -BROKEN= Needs OpenSSL with TLSv1.3 support but OpenSSL in base on FreeBSD 11 doesn't support TLSv1.3 -.endif - post-install: # autoplist: plist varies depending on the python version @cd ${STAGEDIR}${PREFIX} && \ ${FIND} * -type f -or -type l | ${SED} -e 's|^share/man/.*|&.gz|' >> ${TMPPLIST} Index: net/openldap25-server/Makefile =================================================================== --- net/openldap25-server/Makefile +++ net/openldap25-server/Makefile @@ -316,12 +316,6 @@ PLIST_SUB+= SHLIB_MINOR=${OPENLDAP_SHLIB_MINOR} PLIST_SUB+= OPENLDAP_MAJOR=${OPENLDAP_MAJOR} -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base -BROKEN= Requires OpenSSL 1.1.1+ -.endif - .if ${PORT_OPTIONS:MFETCH} && (defined(OPENSSL_INSTALLED) && ${OPENSSL_INSTALLED} != "" || ${SSL_DEFAULT} != base) BROKEN= using OpenSSL from ports and OPTION FETCH together is not supported . endif @@ -439,4 +433,4 @@ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib$${library}-${OPENLDAP_MAJOR}.so.${OPENLDAP_SHLIB_MAJOR}; \ done -.include +.include Index: net/packetdrill/Makefile =================================================================== --- net/packetdrill/Makefile +++ net/packetdrill/Makefile @@ -7,8 +7,6 @@ LICENSE= GPLv2 -BROKEN_FreeBSD_11= TCP Fast Open struct changes - USES= bison python:run uidfix USE_GITHUB= yes GH_ACCOUNT= freebsd-net Index: net/qt5-network/Makefile =================================================================== --- net/qt5-network/Makefile +++ net/qt5-network/Makefile @@ -22,11 +22,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == "base" -# 1200085 339270 October 19, 2018 12.0-STABLE after updating OpenSSL to version 1.1.1. -BROKEN= Qt5 requires Openssl 1.1.1, upgrade to FreeBSD 12.x/13.x or add DEFAULT_VERSIONS+=ssl=[openssl|libressl*] to /etc/make.conf -.endif - # LibreSSL does not currently support BIO_ADDR in DTLSv1_listen() .if ${SSL_DEFAULT:Mlibressl*} CONFIGURE_ARGS+= -no-feature-dtls Index: net/rdist6/Makefile =================================================================== --- net/rdist6/Makefile +++ net/rdist6/Makefile @@ -20,7 +20,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200050 +.if ${OPSYS} == FreeBSD RUN_DEPENDS+= rsh:net/bsdrcmds .endif Index: net/rpki-client/Makefile =================================================================== --- net/rpki-client/Makefile +++ net/rpki-client/Makefile @@ -27,13 +27,7 @@ GROUPS= ${USERS} PLIST_SUB= USERS="${USERS}" -.include - -.if ${OSREL:R} < 12 && ${SSL_DEFAULT} == "base" -BROKEN= requires OpenSSL 1.1.1, upgrade to FreeBSD 12.x/13.x or add DEFAULT_VERSIONS+=ssl=[openssl|libressl*] to /etc/make.conf -.endif - pre-configure: cd ${WRKSRC} && ${SH} update.sh -.include +.include Index: net/usockets/Makefile =================================================================== --- net/usockets/Makefile +++ net/usockets/Makefile @@ -9,7 +9,6 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11= error: unknown type name 'u_short'; did you mean 'short'?, etc BROKEN_riscv64= fails to build: Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension USES= compiler:c++17-lang gmake ssl # c++17 only for temp C_++ code, otherwise it is c11 Index: net/wireguard-kmod/Makefile =================================================================== --- net/wireguard-kmod/Makefile +++ net/wireguard-kmod/Makefile @@ -11,8 +11,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../COPYING -IGNORE_FreeBSD_11= only for FreeBSD 12.1 and newer - USES= kmod tar:xz uidfix WRKSRC_SUBDIR= src Index: net/wireguard/Makefile =================================================================== --- net/wireguard/Makefile +++ net/wireguard/Makefile @@ -10,12 +10,6 @@ USES= metaport -.include - -.if ${OSVERSION} < 1201000 -RUN_DEPENDS+= wireguard-go:net/wireguard-go -.else RUN_DEPENDS+= ${KMODDIR}/if_wg.ko:net/wireguard-kmod -.endif .include Index: print/pdf-tools/Makefile =================================================================== --- print/pdf-tools/Makefile +++ print/pdf-tools/Makefile @@ -12,7 +12,6 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_11_powerpc64= fails to configure on powerpc64 elfv1: cannot find necessary poppler-private header (see README.org) BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: cannot find necessary poppler-private header (see README.org) BUILD_DEPENDS= cask${EMACS_PKGNAMESUFFIX}>0:devel/cask@${EMACS_FLAVOR} \ Index: science/siconos/Makefile =================================================================== --- science/siconos/Makefile +++ science/siconos/Makefile @@ -9,7 +9,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_i386= non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp', see https://github.com/siconos/siconos/issues/416 -BROKEN_FreeBSD_11= error: use of undeclared identifier 'RTLD_DEEPBIND' BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ Index: security/afl++/Makefile =================================================================== --- security/afl++/Makefile +++ security/afl++/Makefile @@ -35,10 +35,6 @@ OPTIONS_DEFINE= DEBUG DOCS EXAMPLES GCC LIBDISLOCATOR LLVM PYTHON OPTIONS_DEFAULT= GCC LIBDISLOCATOR LLVM PYTHON -# libdislocator fails to build on FreeBSD 11.x -# error: typedef redefinition with different types ('struct max_align_t' vs '__max_align_t') -OPTIONS_EXCLUDE_FreeBSD_11= LIBDISLOCATOR - # On non-x86 architectures LLVM is mandatory OPTIONS_SLAVE= ${ARCH:Namd64:Ni386:S/${ARCH}/LLVM/} OPTIONS_SUB= yes Index: security/botan2/Makefile =================================================================== --- security/botan2/Makefile +++ security/botan2/Makefile @@ -65,10 +65,6 @@ CONFIGURE_ARGS+= --cpu="ppc64" .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -CONFIGURE_ARGS+= --without-os-features=getentropy,elf_aux_info -.endif - .if ${ARCH} == i386 || ${ARCH} == amd64 PLIST_SUB+= HAS_RDRAND_RNG="" .else Index: security/dsniff/Makefile =================================================================== --- security/dsniff/Makefile +++ security/dsniff/Makefile @@ -34,11 +34,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 -USES+= ssl -.endif - -.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085) || ${SSL_DEFAULT} == openssl +.if ${OPSYS} == FreeBSD || ${SSL_DEFAULT} == openssl # Requires LibreSSL for old SSL interface BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage CPPFLAGS+= -nostdinc -I/usr/include -I${WRKDIR}/libressl/include Index: security/fwbuilder/Makefile =================================================================== --- security/fwbuilder/Makefile +++ security/fwbuilder/Makefile @@ -9,7 +9,6 @@ MAINTAINER= cy@FreeBSD.org COMMENT= Firewall Builder GUI and policy compilers -BROKEN_FreeBSD_11_powerpc64= fails to configure on powerpc64 elfv1: libz library not found BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: libz library not found LIB_DEPENDS= libxslt.so:textproc/libxslt \ Index: security/gost-engine/Makefile =================================================================== --- security/gost-engine/Makefile +++ security/gost-engine/Makefile @@ -30,11 +30,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 -BROKEN_SSL+= base -BROKEN_SSL_REASON_base= needs features only available in OpenSSL 1.1.1+ -.endif - post-patch: ${REINPLACE_CMD} 's/-Werror //' ${WRKSRC}/CMakeLists.txt Index: security/ipsec-tools/Makefile =================================================================== --- security/ipsec-tools/Makefile +++ security/ipsec-tools/Makefile @@ -100,7 +100,7 @@ ${INSTALL_DATA} ${WRKSRC}/src/racoon/doc/* ${STAGEDIR}/${DOCSDIR} .if ${OPSYS} == FreeBSD -. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} != openssl +. if ${SSL_DEFAULT} != openssl EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ipsec-tools PLIST_FILES+= include/racoon/openssl_compat.h . endif Index: security/isal-kmod/Makefile =================================================================== --- security/isal-kmod/Makefile +++ security/isal-kmod/Makefile @@ -9,7 +9,6 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/isa-l_crypto/LICENSE -IGNORE_FreeBSD_11= requires FreeBSD 13.0 or later IGNORE_FreeBSD_12= requires FreeBSD 13.0 or later ONLY_FOR_ARCHS= amd64 Index: security/krb5-devel/Makefile =================================================================== --- security/krb5-devel/Makefile +++ security/krb5-devel/Makefile @@ -15,8 +15,6 @@ MAINTAINER= cy@FreeBSD.org COMMENT= MIT implementation of RFC 4120 network authentication service -BROKEN_FreeBSD_11= OpenSSL 1.0.2 is not supported - LICENSE= MIT USE_GITHUB= yes Index: security/libretls/Makefile =================================================================== --- security/libretls/Makefile +++ security/libretls/Makefile @@ -8,8 +8,6 @@ LICENSE= ISCL -BROKEN_FreeBSD_11= requires newer OpenSSL - USES= libtool ssl pkgconfig INSTALL_TARGET= install-strip GNU_CONFIGURE= yes Index: security/ncrack/Makefile =================================================================== --- security/ncrack/Makefile +++ security/ncrack/Makefile @@ -19,10 +19,4 @@ CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} -.include - -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_11= OpenSSL > 1.0 required -.endif - -.include +.include Index: security/openca-tools-forked/Makefile =================================================================== --- security/openca-tools-forked/Makefile +++ security/openca-tools-forked/Makefile @@ -31,7 +31,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${SSL_DEFAULT} == base +.if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base BROKEN= OpenSSL-1.1.1 not supported by the upstream .endif Index: security/openiked-portable/Makefile =================================================================== --- security/openiked-portable/Makefile +++ security/openiked-portable/Makefile @@ -19,14 +19,8 @@ USERS= _iked GROUPS= _iked -.include - -.if ${OSREL:R} < 12 && ${SSL_DEFAULT} == "base" -BROKEN= requires OpenSSL 1.1.1, upgrade to FreeBSD 12.x/13.x or add DEFAULT_VERSIONS+=ssl=[openssl|libressl*] to /etc/make.conf -.endif - post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/iked.conf \ ${STAGEDIR}${PREFIX}/etc/iked.conf.sample -.include +.include Index: security/p5-Crypt-OpenSSL-CA/Makefile =================================================================== --- security/p5-Crypt-OpenSSL-CA/Makefile +++ security/p5-Crypt-OpenSSL-CA/Makefile @@ -34,7 +34,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base +.if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base BROKEN= Does not support OpenSSL 1.1 .endif Index: security/p5-OpenCA-OpenSSL/Makefile =================================================================== --- security/p5-OpenCA-OpenSSL/Makefile +++ security/p5-OpenCA-OpenSSL/Makefile @@ -27,7 +27,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base +.if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base BROKEN= Does not support OpenSSL 1.1 .endif Index: security/pam_ssh_agent_auth/Makefile =================================================================== --- security/pam_ssh_agent_auth/Makefile +++ security/pam_ssh_agent_auth/Makefile @@ -14,7 +14,6 @@ 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_11_powerpc64= fails to compile on powerpc64 elfv1: ed25519-donna-portable.h: warning: ALIGN redefined BROKEN_FreeBSD_12_powerpc64= fails to compile on powerpc64 elfv1: ed25519-donna-portable.h: warning: ALIGN redefined USES= perl5 ssl tar:bzip2 Index: security/pkcs11-tools/Makefile =================================================================== --- security/pkcs11-tools/Makefile +++ security/pkcs11-tools/Makefile @@ -36,10 +36,6 @@ .include -.if ${SSL_DEFAULT} == base && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 -BROKEN= OpenSSL version is too old, lacks symbols: error: use of undeclared identifier 'EVP_PKEY_X25519', etc. -.endif - post-extract: @${RMDIR} ${WRKSRC}/.gnulib ${WRKSRC}/include/oasis-pkcs11 @${MV} ${WRKSRC_gnulib} ${WRKSRC}/.gnulib Index: security/pks/Makefile =================================================================== --- security/pks/Makefile +++ security/pks/Makefile @@ -53,7 +53,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base +.if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base BROKEN= Does not build with OpenSSL 1.1 .endif Index: security/py-cryptography/Makefile =================================================================== --- security/py-cryptography/Makefile +++ security/py-cryptography/Makefile @@ -45,20 +45,9 @@ # We need to keep old py-cryptography and py-openssl for 11.x release # due to outdated OpenSSL version in base -.if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == "base" -. if ${OSVERSION} >= 1103500 && ${OSVERSION} < 1200085 -# 1103500 352193 2019-09-10 11.3-STABLE got OpenSSL 1.0.2t -# 1200085 339270 2018-10-19 12.0-STABLE got OpenSSL 1.1.1 -PORTVERSION= 2.9.2 -EXTRA_PATCHES= ${PATCHDIR}/openssl102u -. endif -.endif # Apply LibreSSL upstream patch that conflicts with above patch for 2.9.2 -# XXX convert back to unconditional when FreeBSD 11 goes EOL -.if ${SSL_DEFAULT:Mlibressl*} EXTRA_PATCHES= ${PATCHDIR}/extra-patch-Fix-build-with-LibreSSL-3.3.2-5988 -.endif .if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 post-patch: Index: security/py-openssl/Makefile =================================================================== --- security/py-openssl/Makefile +++ security/py-openssl/Makefile @@ -33,15 +33,6 @@ # We need to keep old py-cryptography and py-penssl for 11.x release # due to outdated OpenSSL version in base -.if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == "base" -. if ${OSVERSION} >= 1103500 && ${OSVERSION} < 1200085 -# 1103500 352193 2019-09-10 11.3-STABLE got OpenSSL 1.0.2t -# 1200085 339270 2018-10-19 12.0-STABLE got OpenSSL 1.1.1 -#.sinclude "${.CURDIR}/Makefile.${OPSYS}-${OSREL:R}" -PORTVERSION= 19.1.0 -PORTEPOCH= 1 -. endif -.endif # These tests will be skipped due the following reasons: # Index: security/racoon2/Makefile =================================================================== --- security/racoon2/Makefile +++ security/racoon2/Makefile @@ -10,8 +10,6 @@ MAINTAINER= cy@FreeBSD.org COMMENT= Racoon2 IPsec daemon -BROKEN_FreeBSD_11= Requires openssl to build - CONFLICTS= racoon2-legacy-* USE_GITHUB= yes Index: security/seahorse/Makefile =================================================================== --- security/seahorse/Makefile +++ security/seahorse/Makefile @@ -57,10 +57,4 @@ LDAP_USE= OPENLDAP=yes LDAP_MESON_TRUE= ldap-support -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -LDFLAGS+= -fuse-ld=lld -.endif - .include Index: security/softhsm2/Makefile =================================================================== --- security/softhsm2/Makefile +++ security/softhsm2/Makefile @@ -59,9 +59,7 @@ .endif # openssl-1.1.1 (default after 1200080) doesn't support GHOST (yet), punt for now. -.if ${OSVERSION}>=1200080 CONFIGURE_ARGS+= --disable-gost -.endif post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/p11-kit/modules Index: security/tpm2-tools/Makefile =================================================================== --- security/tpm2-tools/Makefile +++ security/tpm2-tools/Makefile @@ -20,10 +20,4 @@ BROKEN_SSL= openssl -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 -BROKEN_SSL+= base -.endif - -.include +.include Index: security/uacme/Makefile =================================================================== --- security/uacme/Makefile +++ security/uacme/Makefile @@ -20,7 +20,7 @@ --sysconfdir=${PREFIX}/etc OPTIONS_DEFINE= DOCS EXAMPLES MANPAGES UALPN -_OPENSSL_SAFE= ${(${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base) || ${SSL_DEFAULT} == libressl || ${SSL_DEFAULT} == libressl-devel:?no:yes} +_OPENSSL_SAFE= ${${SSL_DEFAULT} == libressl || ${SSL_DEFAULT} == libressl-devel:?no:yes} OPTIONS_DEFAULT= ${${_OPENSSL_SAFE} == no:?GNUTLS:OPENSSL} MANPAGES \ UALPN OPTIONS_SINGLE= CRYPTO Index: security/wpa_supplicant-devel/Makefile =================================================================== --- security/wpa_supplicant-devel/Makefile +++ security/wpa_supplicant-devel/Makefile @@ -13,8 +13,6 @@ GH_TAGNAME= b4f7506ff COMMIT_DATE= 2021.07.14 -BROKEN_FreeBSD_11= Does not support OpenSSL 1.0.2 - LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/README Index: security/zeek/Makefile =================================================================== --- security/zeek/Makefile +++ security/zeek/Makefile @@ -12,7 +12,6 @@ LICENSE= BSD3CLAUSE -BROKEN_FreeBSD_11_powerpc64= Does not build: error: zero-size array 'names' BROKEN_FreeBSD_12_powerpc64= Does not build: error: zero-size array 'names' USES= bison cmake compiler:c++11-lang cpe gettext-runtime ninja perl5 \ Index: sysutils/acpica-tools/Makefile =================================================================== --- sysutils/acpica-tools/Makefile +++ sysutils/acpica-tools/Makefile @@ -12,7 +12,6 @@ LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual -BROKEN_FreeBSD_11_powerpc64= fails to compile on powerpc64 elfv1: comparison is always true due to limited range of data type BROKEN_FreeBSD_12_powerpc64= fails to compile on powerpc64 elfv1: comparison is always true due to limited range of data type USES= gmake Index: sysutils/apache-mesos/Makefile =================================================================== --- sysutils/apache-mesos/Makefile +++ sysutils/apache-mesos/Makefile @@ -13,8 +13,6 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -IGNORE_FreeBSD_11= does not build - BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ elfio>0:devel/elfio \ http-parser>0:www/http-parser \ Index: sysutils/arcconf/Makefile =================================================================== --- sysutils/arcconf/Makefile +++ sysutils/arcconf/Makefile @@ -25,13 +25,8 @@ PERIODICSCRIPT= 410.status-aac-raid -.include -.if ${OSREL:R} >= 12 DIST_TYPE= 12_x64 RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libncurses.so.8:misc/compat12x -.else -DIST_TYPE= 11_x64 -.endif NO_BUILD= yes NO_WRKSUBDIR= yes @@ -44,4 +39,4 @@ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${STAGEDIR}${PREFIX}/etc/periodic/daily -.include +.include Index: sysutils/barrier/Makefile =================================================================== --- sysutils/barrier/Makefile +++ sysutils/barrier/Makefile @@ -20,8 +20,6 @@ OPTIONS_DEFINE= EXAMPLES GUI OPTIONS_DEFAULT= GUI -# no GUI option on 11.x with base SSL since qt5-network is not available -OPTIONS_EXCLUDE= ${${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base:?GUI:} OPTIONS_SUB= yes GUI_DESC= Build configuration utility (requires Qt 5) Index: sysutils/cfengine310/Makefile =================================================================== --- sysutils/cfengine310/Makefile +++ sysutils/cfengine310/Makefile @@ -76,7 +76,7 @@ .include -.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1200085 +.if ${OPSYS} == "FreeBSD" .if ${SSL_DEFAULT} != "openssl" BROKEN_FreeBSD_12= fails to build with openssl BROKEN_FreeBSD_13= fails to build with openssl Index: sysutils/crate/Makefile =================================================================== --- sysutils/crate/Makefile +++ sysutils/crate/Makefile @@ -13,8 +13,6 @@ BROKEN= STL feature 'filesystem' isn't available # ' .endif -IGNORE_FreeBSD_11= getline isn't available on 11 by simply including as its manpage says #' - BUILD_DEPENDS= rang>0:devel/rang LIB_DEPENDS= libyaml-cpp.so:devel/yaml-cpp Index: sysutils/ddpt/Makefile =================================================================== --- sysutils/ddpt/Makefile +++ sysutils/ddpt/Makefile @@ -11,8 +11,6 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_11= lack of NVME_STATUS_GET_SCT and NVME_STATUS_GET_SC - USES= gmake tar:tgz USE_LDCONFIG= yes GNU_CONFIGURE= yes Index: sysutils/dtrace-toolkit/Makefile =================================================================== --- sysutils/dtrace-toolkit/Makefile +++ sysutils/dtrace-toolkit/Makefile @@ -78,7 +78,7 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1200031 +.if ${OPSYS} == FreeBSD # lstat calls are no longer available on 12.0+ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-dtruss .endif Index: sysutils/fluent-bit/Makefile =================================================================== --- sysutils/fluent-bit/Makefile +++ sysutils/fluent-bit/Makefile @@ -41,10 +41,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-lib_luajit__src__lj_prng.c -.endif - .if ${ARCH:Mpowerpc64*} CMAKE_ARGS+= -DFLB_LUAJIT:BOOL=OFF .elif ${ARCH} == powerpc Index: sysutils/hid-tools/Makefile =================================================================== --- sysutils/hid-tools/Makefile +++ sysutils/hid-tools/Makefile @@ -10,8 +10,6 @@ LICENSE= GPLv2 -IGNORE_FreeBSD_11= Is missing a hidraw(4) driver - RUN_DEPENDS_FreeBSD_12= iichid>=0.0.6:sysutils/iichid RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parse>=0:textproc/py-parse@${PY_FLAVOR} \ Index: sysutils/iichid/Makefile =================================================================== --- sysutils/iichid/Makefile +++ sysutils/iichid/Makefile @@ -10,7 +10,6 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -IGNORE_FreeBSD_11= Requires FreeBSD 12.1 or later IGNORE_FreeBSD_13= Is a part of base system IGNORE_FreeBSD_14= Is a part of base system Index: sysutils/ipmitool/Makefile =================================================================== --- sysutils/ipmitool/Makefile +++ sysutils/ipmitool/Makefile @@ -48,7 +48,7 @@ .include -.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085) || ${SSL_DEFAULT} == openssl +.if ${OPSYS} == FreeBSD || ${SSL_DEFAULT} == openssl EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src_plugins_lanplus_lanplus__crypt__impl.c .endif Index: sysutils/kvmclock-kmod/Makefile =================================================================== --- sysutils/kvmclock-kmod/Makefile +++ sysutils/kvmclock-kmod/Makefile @@ -8,7 +8,6 @@ LICENSE= BSD2CLAUSE -BROKEN_FreeBSD_11= fails to build: pvclock.c:248:30: error: too many arguments ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= not yet tested for non-x86 Index: sysutils/libdnf/Makefile =================================================================== --- sysutils/libdnf/Makefile +++ sysutils/libdnf/Makefile @@ -8,8 +8,6 @@ LICENSE= LGPL21 # no LICENSE tag for Version 2.1 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_11= fatal error: sys/auxv.h: No such file or directory - BUILD_DEPENDS= check>0:devel/check LIB_DEPENDS= libassuan.so:security/libassuan \ libgpgme.so:security/gpgme \ Index: sysutils/nsysctl/Makefile =================================================================== --- sysutils/nsysctl/Makefile +++ sysutils/nsysctl/Makefile @@ -24,9 +24,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200019 -IGNORE= needs oid_label member of struct sysctl_oid defined in sysctl.h which was first introduced in FreeBSD 12 -.endif .if ${OPSYS} != FreeBSD IGNORE= not supported on anything but FreeBSD .endif Index: sysutils/nvme-cli/Makefile =================================================================== --- sysutils/nvme-cli/Makefile +++ sysutils/nvme-cli/Makefile @@ -12,7 +12,6 @@ # only tested on amd64, all other archs are no-go until we're sure amd64 works. # And there's plenty in amd64 that compiles, but won't run (eg using /sys/, etc) ONLY_FOR_ARCHS= amd64 -BROKEN_FreeBSD_11= Uses newer API than in 11.x USES= gmake USE_GITHUB= yes Index: sysutils/openzfs-kmod/Makefile =================================================================== --- sysutils/openzfs-kmod/Makefile +++ sysutils/openzfs-kmod/Makefile @@ -29,7 +29,7 @@ .include -.if (${OSVERSION} < 1200504) || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300013) +.if ${OSVERSION} >= 1300000 && ${OSVERSION} < 1300013 IGNORE= needs FreeBSD 12/13 with AES-CCM support .endif Index: sysutils/openzfs/Makefile =================================================================== --- sysutils/openzfs/Makefile +++ sysutils/openzfs/Makefile @@ -29,7 +29,7 @@ .include -.if (${OSVERSION} < 1200504) || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300013) +.if ${OSVERSION} >= 1300000 && ${OSVERSION} < 1300013 IGNORE= needs FreeBSD 12/13 with AES-CCM support .endif Index: sysutils/panicmail/Makefile =================================================================== --- sysutils/panicmail/Makefile +++ sysutils/panicmail/Makefile @@ -8,21 +8,16 @@ LICENSE= BSD2CLAUSE -RUN_DEPENDS= pkesh:security/pkesh +RUN_DEPENDS= pkesh:security/pkesh \ + ${LOCALBASE}/bin/gdb:devel/gdb NO_BUILD= yes PLIST_FILES= etc/rc.d/panicmail \ etc/cperciva-panicmail.pem -# Pull in gdb from ports for FreeBSD versions where it's not in base -.include -.if ${OSVERSION} > 1200028 -RUN_DEPENDS+= ${LOCALBASE}/bin/gdb:devel/gdb -.endif - do-install: ${INSTALL_SCRIPT} ${WRKSRC}/panicmail ${STAGEDIR}${PREFIX}/etc/rc.d/ ${INSTALL_DATA} ${WRKSRC}/cperciva-panicmail.pem ${STAGEDIR}${PREFIX}/etc -.include +.include Index: sysutils/rshim-user-space/Makefile =================================================================== --- sysutils/rshim-user-space/Makefile +++ sysutils/rshim-user-space/Makefile @@ -25,7 +25,7 @@ .include -.if ${OPSYS} != FreeBSD || ${OSVERSION} < 1201500 || !exists(/usr/lib/libcuse.so) +.if ${OPSYS} != FreeBSD || !exists(/usr/lib/libcuse.so) IGNORE= not supported on this operating system combination .endif Index: sysutils/sdparm/Makefile =================================================================== --- sysutils/sdparm/Makefile +++ sysutils/sdparm/Makefile @@ -10,8 +10,6 @@ LICENSE= BSD3CLAUSE -BROKEN_FreeBSD_11= Lack of NVME_STATUS_GET_SCT - USE_LDCONFIG= yes USES= shebangfix tar:tgz GNU_CONFIGURE= yes Index: sysutils/sysctlbyname-improved-kmod/Makefile =================================================================== --- sysutils/sysctlbyname-improved-kmod/Makefile +++ sysutils/sysctlbyname-improved-kmod/Makefile @@ -23,12 +23,6 @@ .include -# Once the sysctlinfo interface (review D21700) lands into the base tree this -# node can be added to the interface and the following statement needs -# to be expanded -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200019 -IGNORE= needs oid_label member of struct sysctl_oid defined in sysctl.h which was first introduced in FreeBSD 12 -.endif .if ${OPSYS} != FreeBSD IGNORE= not supported on anything but FreeBSD .endif Index: sysutils/sysctlinfo-kmod/Makefile =================================================================== --- sysutils/sysctlinfo-kmod/Makefile +++ sysutils/sysctlinfo-kmod/Makefile @@ -26,11 +26,6 @@ .include -# Once the sysctlinfo interface (review D21700) lands into the base tree the -# following statement needs to be expanded -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200019 -IGNORE= needs oid_label member of struct sysctl_oid defined in sysctl.h which was first introduced in FreeBSD 12 -.endif .if ${OPSYS} != FreeBSD IGNORE= not supported on anything but FreeBSD .endif Index: sysutils/u-boot-master/Makefile =================================================================== --- sysutils/u-boot-master/Makefile +++ sysutils/u-boot-master/Makefile @@ -248,12 +248,4 @@ .endfor ${INSTALL_DATA} ${DESCR} ${STAGEDIR}/${INST}/README -.include - -.if defined(FAMILY) -.if ${FAMILY} == qemu && ${OPSYS} == FreeBSD && ${OSVERSION} <= 1200000 -BROKEN= Base openssl too old -.endif -.endif - .include Index: sysutils/u-boot-sopine-spi/Makefile =================================================================== --- sysutils/u-boot-sopine-spi/Makefile +++ sysutils/u-boot-sopine-spi/Makefile @@ -10,7 +10,6 @@ UBOOT_PLIST= u-boot-sunxi-with-spl.bin \ boot.scr PLIST_EXTRAS= sopine-spi-flasher.img -IGNORE_FreeBSD_11= No makefs msdos support post-build: mkimage -C none -A arm64 -T script -d ${.CURDIR}/../u-boot-sopine-spi/files/boot.cmd ${WRKSRC}/boot.scr Index: sysutils/xen-tools/Makefile =================================================================== --- sysutils/xen-tools/Makefile +++ sysutils/xen-tools/Makefile @@ -65,10 +65,6 @@ IGNORE= only supported on FreeBSD .endif -.if ${OSVERSION} < 1200074 -IGNORE= only supported on FreeBSD 12.0 or newer -.endif - .if ${PORT_OPTIONS:MSPICE} && ${OSVERSION} < 1300008 BROKEN= SPICE support requires FreeBSD version 13.0 or higher .endif Index: sysutils/ztop/Makefile =================================================================== --- sysutils/ztop/Makefile +++ sysutils/ztop/Makefile @@ -10,8 +10,6 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -IGNORE_FreeBSD_11= lacks required kernel functionality - USES= cargo USE_GITHUB= yes GH_ACCOUNT= asomers Index: textproc/apertium/Makefile =================================================================== --- textproc/apertium/Makefile +++ textproc/apertium/Makefile @@ -11,7 +11,6 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_11_powerpc64= fails to configure on powerpc64 elfv1: *** unable to locate pcrecpp library *** BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: *** unable to locate pcrecpp library *** BUILD_DEPENDS= bash:shells/bash Index: textproc/libucl/Makefile =================================================================== --- textproc/libucl/Makefile +++ textproc/libucl/Makefile @@ -53,7 +53,7 @@ .include # https://github.com/vstakhov/libucl/issues/203 -.if ${PORT_OPTIONS:MSIGNATURES} && ((${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base) || ${SSL_DEFAULT} == openssl) +.if ${PORT_OPTIONS:MSIGNATURES} && ((${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base) || ${SSL_DEFAULT} == openssl) BROKEN= Signatures checking support does not build with OpenSSL 1.1.1 .endif Index: textproc/xmlwrapp/Makefile =================================================================== --- textproc/xmlwrapp/Makefile +++ textproc/xmlwrapp/Makefile @@ -12,7 +12,6 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11_powerpc64= fails to configure: invalid value: boost_major_version= BROKEN_FreeBSD_12_powerpc64= fails to configure: invalid value: boost_major_version= LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs Index: www/chromium/Makefile =================================================================== --- www/chromium/Makefile +++ www/chromium/Makefile @@ -14,7 +14,6 @@ LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi -BROKEN_FreeBSD_11_aarch64= components/safe_browsing_db/v4_rice.cc:120:18: use of overloaded operator '&' is ambiguous BROKEN_i386= ../../base/files/file_util_posix.cc:1258:29: error: no matching function for call to 'sendfile' (ssize_t vs off_t) ONLY_FOR_ARCHS= aarch64 amd64 i386 Index: www/cpp-httplib/Makefile =================================================================== --- www/cpp-httplib/Makefile +++ www/cpp-httplib/Makefile @@ -29,8 +29,8 @@ lib/cmake/httplib/httplibConfigVersion.cmake \ lib/cmake/httplib/httplibTargets.cmake -OPTIONS_DEFINE= BROTLI ${${OSVERSION}>1200085:?SSL:} -OPTIONS_DEFAULT= BROTLI ${${OSVERSION}>1200085:?SSL:} +OPTIONS_DEFINE= BROTLI SSL +OPTIONS_DEFAULT= BROTLI SSL BROTLI_CMAKE_BOOL= HTTPLIB_REQUIRE_BROTLI HTTPLIB_USE_BROTLI_IF_AVAILABLE BROTLI_BUILD_DEPENDS= brotli>0:archivers/brotli Index: www/epiphany/Makefile =================================================================== --- www/epiphany/Makefile +++ www/epiphany/Makefile @@ -54,10 +54,4 @@ PLIST_SUB+= EPHY_VERSION=${PORTVERSION:R} -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-lib_ephy-sync-utils.c -.endif - -.include +.include Index: www/h2o-devel/Makefile =================================================================== --- www/h2o-devel/Makefile +++ www/h2o-devel/Makefile @@ -14,7 +14,6 @@ BROKEN_armv6= fails to compile: asm_arm.inc:139:36: '.syntax divided' arm assembly not supported BROKEN_armv7= fails to compile: asm_arm.inc:139:36: '.syntax divided' arm assembly not supported -BROKEN_FreeBSD_11_powerpc64= fails to link on powerpc64 elfv1: unrecognized option '-Wl,-rpath=/usr/local/lib/gcc6' BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: unrecognized option '-Wl,-rpath=/usr/local/lib/gcc6' LIB_DEPENDS= libuv.so:devel/libuv Index: www/h2o/Makefile =================================================================== --- www/h2o/Makefile +++ www/h2o/Makefile @@ -13,7 +13,6 @@ BROKEN_armv6= fails to compile: asm_arm.inc:139:36: '.syntax divided' arm assembly not supported BROKEN_armv7= fails to compile: asm_arm.inc:139:36: '.syntax divided' arm assembly not supported -BROKEN_FreeBSD_11_powerpc64= fails to link: unrecognized option '-Wl,-rpath=/usr/local/lib/gcc6' BROKEN_FreeBSD_12_powerpc64= fails to link: unrecognized option '-Wl,-rpath=/usr/local/lib/gcc6' LIB_DEPENDS= libuv.so:devel/libuv Index: www/httest/Makefile =================================================================== --- www/httest/Makefile +++ www/httest/Makefile @@ -37,12 +37,6 @@ MAKE_JOBS_UNSAFE= yes -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base -BROKEN= requires OpenSSL 1.1.1, upgrade to FreeBSD 12.x/13.x or add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf -.endif - post-patch: @${REINPLACE_CMD} -e 's|`$$APR_CONFIG --cflags`||; s|-llua|-llua-${LUA_VER}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/generate_modules_c.sh @@ -53,4 +47,4 @@ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.htt ${STAGEDIR}${EXAMPLESDIR} -.include +.include Index: www/lagrange/Makefile =================================================================== --- www/lagrange/Makefile +++ www/lagrange/Makefile @@ -28,10 +28,4 @@ OPENSSL_LDFLAGS= -lssl -lcrypto -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base -BROKEN= requires at least OpenSSL version 1.1.1 to build -.endif - -.include +.include Index: www/libdatachannel/Makefile =================================================================== --- www/libdatachannel/Makefile +++ www/libdatachannel/Makefile @@ -24,16 +24,10 @@ CMAKE_ON= USE_SYSTEM_SRTP NO_EXAMPLES NO_TESTS -.include - -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_11= OpenSSL is too old: use of undeclared identifier 'X509_getm_notBefore' -.endif - do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DNO_TESTS:BOOL=OFF ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ./tests-${DISTVERSION:C/-.*//} -.include +.include Index: www/mod_authnz_crowd/Makefile =================================================================== --- www/mod_authnz_crowd/Makefile +++ www/mod_authnz_crowd/Makefile @@ -14,7 +14,6 @@ BROKEN_mips= fails to build: error: curl/curl.h: No such file or directory BROKEN_mips64= fails to build: error: curl/curl.h: No such file or directory -BROKEN_FreeBSD_11_powerpc64= fails to build on powerpc64 elfv1: curl/curl.h: No such file or directory BROKEN_FreeBSD_12_powerpc64= fails to build on powerpc64 elfv1: curl/curl.h: No such file or directory LIB_DEPENDS= libsvn_client-1.so:devel/subversion \ Index: www/node/Makefile =================================================================== --- www/node/Makefile +++ www/node/Makefile @@ -19,7 +19,6 @@ OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS DTRACE OPTIONS_DEFAULT= DTRACE -OPTIONS_DEFAULT_FreeBSD_11= BUNDLED_SSL OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} OPTIONS_SUB= yes @@ -88,10 +87,6 @@ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tools_v8__gypfiles_v8.gyp .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 -BROKEN_SSL+= base -.endif - .if ${PORT_OPTIONS:MBUNDLED_SSL} && ${ARCH} != amd64 CONFIGURE_ARGS+=--openssl-no-asm .endif Index: www/node10/Makefile =================================================================== --- www/node10/Makefile +++ www/node10/Makefile @@ -23,7 +23,6 @@ OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS DTRACE OPTIONS_DEFAULT= DTRACE -OPTIONS_DEFAULT_FreeBSD_11= BUNDLED_SSL OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} OPTIONS_SUB= yes @@ -78,10 +77,6 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 -BROKEN_SSL+= base -.endif - .if ${PORT_OPTIONS:MBUNDLED_SSL} && ${ARCH} != amd64 && ${ARCH} != i386 CONFIGURE_ARGS+=--openssl-no-asm .elif (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc64le Index: www/node14/Makefile =================================================================== --- www/node14/Makefile +++ www/node14/Makefile @@ -20,7 +20,6 @@ OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS DTRACE OPTIONS_DEFAULT= DTRACE -OPTIONS_DEFAULT_FreeBSD_11= BUNDLED_SSL OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} OPTIONS_SUB= yes @@ -89,10 +88,6 @@ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tools_v8__gypfiles_v8.gyp .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 -BROKEN_SSL+= base -.endif - .if ${PORT_OPTIONS:MBUNDLED_SSL} && ${ARCH} != amd64 CONFIGURE_ARGS+=--openssl-no-asm .endif Index: www/polipo/files/pkg-install.in =================================================================== --- www/polipo/files/pkg-install.in +++ www/polipo/files/pkg-install.in @@ -65,12 +65,4 @@ fi -OSVER=`uname -r | sed -e 's/\..*//'` -if [ ${OSVER} = "8" -o ${OSVER} = "9" ]; then - CACHEPARENT=`dirname ${POLIPOCACHE}` - echo "You will need to manually run:" - echo " chmod o+x %%DESTDIR%%$CACHEPARENT" - echo "to ensure the cache is useable." -fi - exit 0 Index: www/quark/Makefile =================================================================== --- www/quark/Makefile +++ www/quark/Makefile @@ -22,11 +22,6 @@ .include -# _WITH_DPRINTF support was removed precisely in r303524. -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200002 -CFLAGS+= -D_WITH_DPRINTF -.endif - _COMMIT_HASH= 3c7049e9063edebbd1934178f263f9f3c9b8ddf5 pre-everything:: Index: www/sitecopy/Makefile =================================================================== --- www/sitecopy/Makefile +++ www/sitecopy/Makefile @@ -42,7 +42,7 @@ ${WRKSRC}/src/sitestore.c @${REINPLACE_CMD} -e 's|25 26 27 28|& 29 30 31|g' \ ${WRKSRC}/configure -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200072 +.if ${OPSYS} == FreeBSD @${REINPLACE_CMD} -e '/#define ksize_t /d' \ ${WRKSRC}/configure .endif Index: www/squid3/Makefile =================================================================== --- www/squid3/Makefile +++ www/squid3/Makefile @@ -274,7 +274,7 @@ # Finally, add additional user specified configuration options: CONFIGURE_ARGS+= ${SQUID_CONFIGURE_ARGS} -.if ${PORT_OPTIONS:MSSL} && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base +.if ${PORT_OPTIONS:MSSL} && ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base BROKEN= does not build with OpenSSL 1.1; you may add DEFAULT_VERSIONS+=ssl=libressl to /etc/make.conf as a workaround .endif Index: x11-servers/xorg-server/Makefile =================================================================== --- x11-servers/xorg-server/Makefile +++ x11-servers/xorg-server/Makefile @@ -23,10 +23,7 @@ OPTIONS_RADIO= CONF OPTIONS_RADIO_CONF= DEVD UDEV OPTIONS_DEFAULT= SUID -OPTIONS_DEFAULT_FreeBSD_11= DEVD -OPTIONS_DEFAULT_FreeBSD_12= UDEV -OPTIONS_DEFAULT_FreeBSD_13= UDEV -OPTIONS_DEFAULT_FreeBSD_14= UDEV +OPTIONS_DEFAULT_FreeBSD= UDEV OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} SUID_DESC= Install setuid wrapper to allow startx as non-root Index: x11-toolkits/gnustep-gui/Makefile =================================================================== --- x11-toolkits/gnustep-gui/Makefile +++ x11-toolkits/gnustep-gui/Makefile @@ -20,8 +20,6 @@ LIB_DEPENDS+= libao.so:audio/libao LIB_DEPENDS+= libflite.so:audio/flite -BROKEN_FreeBSD_11= compiler segfault - USES= gnustep jpeg pkgconfig xorg USE_GNUSTEP= base build USE_XORG= x11 xt Index: x11/foot/Makefile =================================================================== --- x11/foot/Makefile +++ x11/foot/Makefile @@ -27,7 +27,6 @@ OPTIONS_DEFAULT=LTO NOTIFY PGO UTF8PROC XDG OPTIONS_EXCLUDE+= ${CC:T:Mgcc*:C/.+/LTO/} # undefined reference to `xstrdup' OPTIONS_EXCLUDE_powerpc64= ${"${/usr/bin/ld:L:tA}"==/usr/bin/ld.lld:?LTO:} # LLVM bug 47353 -OPTIONS_EXCLUDE_FreeBSD_11= ${WAYLAND_DISPLAY:UPGO} # ./pgo hangs OPTIONS_EXCLUDE_FreeBSD_12= ${WAYLAND_DISPLAY:UPGO} # ./pgo hangs DOCS_BUILD_DEPENDS= scdoc:textproc/scdoc Index: x11/libxkbcommon/Makefile =================================================================== --- x11/libxkbcommon/Makefile +++ x11/libxkbcommon/Makefile @@ -18,7 +18,6 @@ MESON_ARGS= -Denable-docs=false \ -Dx-locale-root="${PREFIX}/lib/X11/locale" \ ${MESON_ARGS_${OPSYS}_${OSREL:R}} -MESON_ARGS_FreeBSD_11= -Ddefault-rules=xorg OPTIONS_DEFINE= EVDEV WAYLAND X11 OPTIONS_DEFAULT=EVDEV WAYLAND X11 Index: x11/nvidia-driver/Makefile =================================================================== --- x11/nvidia-driver/Makefile +++ x11/nvidia-driver/Makefile @@ -155,12 +155,10 @@ ${WRKSRC}/src/nvidia-modeset/nvidia-modeset-freebsd.c .endif # KPI of kmem_alloc_contig(),kmem_free() changed in FreeBSD src r338143,r338318 -.if ${OSVERSION} >= 1200079 ${REINPLACE_CMD} \ -e 's/kmem_alloc_contig(kmem_arena, /kmem_alloc_contig(/' \ -e 's/kmem_free(kmem_arena, /kmem_free(/' \ ${WRKSRC}/src/${NVSRC}/nvidia_subr.c -.endif # Pull the right header after FreeBSD src r347984 .if ${OSVERSION} >= 1300029 && ${NVVERSION} >= 358.009 ${REINPLACE_CMD} -e '/^#include/s:lock\.h:mutex.h:' \ Index: x11/squeekboard/Makefile =================================================================== --- x11/squeekboard/Makefile +++ x11/squeekboard/Makefile @@ -10,7 +10,6 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_11= requires getrandom() BROKEN_FreeBSD_12_powerpc64= fails to compile: rs.e2mg9us3-cgu.14:(.text.imservice_handle_commit_state+0x228): undefined reference to 'eekboard_context_service_show_keyboard' BROKEN_FreeBSD_13_powerpc64= fails to link: ld: error: undefined symbol: eekboard_context_service_get_overlay Index: x11/wayland-logout/Makefile =================================================================== --- x11/wayland-logout/Makefile +++ x11/wayland-logout/Makefile @@ -20,7 +20,7 @@ # Cannot use C implementation without cr_pid .if make(makesum) DISTFILES= ${DISTNAME:S/${DISTVERSION}/1.3/}${EXTRACT_SUFX} -.elif ${OPSYS} != FreeBSD || ${OSVERSION} < 1202506 +.elif ${OPSYS} != FreeBSD DISTVERSION= 1.3 NO_ARCH= yes MESON_ARGS+= -Dimplementation=shell Index: x11/xlockmore/Makefile =================================================================== --- x11/xlockmore/Makefile +++ x11/xlockmore/Makefile @@ -92,10 +92,6 @@ .include -.if ${PORT_OPTIONS:MFREETYPE} -IGNORE_FreeBSD_11= FREETYPE support requires FreeBSD version 12+ -.endif - .if defined(XLOCKMORE_LANG) CONFIGURE_ARGS+= --with-lang=${XLOCKMORE_LANG} .endif Index: x11/xorg-minimal/Makefile =================================================================== --- x11/xorg-minimal/Makefile +++ x11/xorg-minimal/Makefile @@ -14,14 +14,8 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/Xorg:x11-servers/xorg-server \ ${LOCALBASE}/bin/xinit:x11/xinit \ - ${LOCALBASE}/bin/xauth:x11/xauth - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 -RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/input/mouse_drv.so:x11-drivers/xf86-input-mouse -RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/input/kbd_drv.so:x11-drivers/xf86-input-keyboard -.else -RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/input/libinput_drv.so:x11-drivers/xf86-input-libinput -.endif + ${LOCALBASE}/bin/xauth:x11/xauth \ + ${LOCALBASE}/lib/xorg/modules/input/libinput_drv.so:x11-drivers/xf86-input-libinput .if ${VIDEO_DRIVER} == "nvidia" RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/drivers/nvidia_drv.so:x11/nvidia-driver