git: 6048f26e6640 - main - graphics/drm-fbsd12.0-kmod: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 31 Dec 2023 00:08:40 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6048f26e6640399cf6fdecb27f7be561ceeea611

commit 6048f26e6640399cf6fdecb27f7be561ceeea611
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-30 05:56:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-31 00:06:33 +0000

    graphics/drm-fbsd12.0-kmod: Remove expired port
    
    2023-12-31 graphics/drm-fbsd12.0-kmod: Requires soon to reach EOL FreeBSD 12
---
 MOVED                                  |  1 +
 graphics/Makefile                      |  1 -
 graphics/drm-fbsd12.0-kmod/Makefile    | 59 ----------------------------------
 graphics/drm-fbsd12.0-kmod/distinfo    |  3 --
 graphics/drm-fbsd12.0-kmod/pkg-descr   |  4 ---
 graphics/drm-fbsd12.0-kmod/pkg-message | 18 -----------
 graphics/drm-fbsd12.0-kmod/pkg-plist   |  9 ------
 graphics/drm-kmod/Makefile             |  5 +--
 8 files changed, 2 insertions(+), 98 deletions(-)

diff --git a/MOVED b/MOVED
index 0addb38ad793..c4a1c183adab 100644
--- a/MOVED
+++ b/MOVED
@@ -8270,3 +8270,4 @@ www/py-dj41-django-graphiql-debug-toolbar|www/py-dj42-django-graphiql-debug-tool
 www/py-dj41-drf-spectacular|www/py-dj42-drf-spectacular|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
 www/py-dj41-django-tables2|www/py-dj42-django-tables2|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
 www/py-httpx013||2023-12-31|Has expired: Old repo-copy needed for deprecated textproc/py-googletrans
+graphics/drm-fbsd12.0-kmod||2023-12-31|Has expired: Requires soon to reach EOL FreeBSD 12
diff --git a/graphics/Makefile b/graphics/Makefile
index 579da7352b23..974b1ddfe867 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -146,7 +146,6 @@
     SUBDIR += drawpile
     SUBDIR += drm-510-kmod
     SUBDIR += drm-515-kmod
-    SUBDIR += drm-fbsd12.0-kmod
     SUBDIR += drm-kmod
     SUBDIR += drm_info
     SUBDIR += dspdfviewer
diff --git a/graphics/drm-fbsd12.0-kmod/Makefile b/graphics/drm-fbsd12.0-kmod/Makefile
deleted file mode 100644
index c65324110422..000000000000
--- a/graphics/drm-fbsd12.0-kmod/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-PORTNAME=	drm-fbsd12.0-kmod
-PORTVERSION=	4.16.g20220126
-PORTREVISION=	1
-CATEGORIES=	graphics
-
-MAINTAINER=	x11@FreeBSD.org
-COMMENT=	DRM modules for the linuxkpi-based KMS components
-WWW=		https://github.com/freebsd/drm-kmod
-
-LICENSE=	BSD2CLAUSE MIT GPLv2
-LICENSE_COMB=	multi
-
-ONLY_FOR_ARCHS=	amd64 i386
-ONLY_FOR_ARCHS_REASON=	the new KMS components are only supported on amd64 and i386
-
-DEPRECATED=	Requires soon to reach EOL FreeBSD 12
-EXPIRATION_DATE=	2023-12-31
-
-OPTIONS_DEFINE=	DEBUG
-
-USES=		kmod uidfix compiler:c++11-lang
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	freebsd
-GH_PROJECT=	drm-kmod
-GH_TAGNAME=	drm_v4.16-fbsd12
-
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300000
-IGNORE=		only supported on FreeBSD 12.
-.endif
-.if ${OPSYS} != FreeBSD
-IGNORE=		not supported on anything but FreeBSD (missing linuxkpi functionality)
-.endif
-
-.if ${ARCH} == "amd64"
-PLIST_SUB+=     AMDGPU=""
-PLIST_SUB+=     AMDKFD=""
-PLIST_SUB+=     I915=""
-PLIST_SUB+=     VMWGFX=""
-.elif ${ARCH} == "i386"
-PLIST_SUB+=     AMDGPU="@comment "
-PLIST_SUB+=     AMDKFD="@comment "
-PLIST_SUB+=     I915=""
-PLIST_SUB+=     VMWGFX=""
-.elif ${ARCH} == "powerpc64"
-PLIST_SUB+=     AMDGPU=""
-PLIST_SUB+=     AMDKFD="@comment "
-PLIST_SUB+=     I915="@comment "
-PLIST_SUB+=     VMWGFX="@comment "
-.else
-PLIST_SUB+=     AMDGPU="@comment "
-PLIST_SUB+=     AMDKFD="@comment "
-PLIST_SUB+=     I915="@comment "
-PLIST_SUB+=     VMWGFX="@comment "
-.endif
-
-.include <bsd.port.mk>
diff --git a/graphics/drm-fbsd12.0-kmod/distinfo b/graphics/drm-fbsd12.0-kmod/distinfo
deleted file mode 100644
index f492f4007cf1..000000000000
--- a/graphics/drm-fbsd12.0-kmod/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1643223612
-SHA256 (freebsd-drm-kmod-4.16.g20220126-drm_v4.16-fbsd12_GH0.tar.gz) = 94568e3478aa587394f54130256700aba810a8cf7e2b8d0e60e056d60945d784
-SIZE (freebsd-drm-kmod-4.16.g20220126-drm_v4.16-fbsd12_GH0.tar.gz) = 13097610
diff --git a/graphics/drm-fbsd12.0-kmod/pkg-descr b/graphics/drm-fbsd12.0-kmod/pkg-descr
deleted file mode 100644
index 2e3261434342..000000000000
--- a/graphics/drm-fbsd12.0-kmod/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components.
-Currently corresponding to Linux 4.16 DRM.
-This version is for FreeBSD 12.x.
-amdgpu and radeonkms are known to fail with EFI boot.
diff --git a/graphics/drm-fbsd12.0-kmod/pkg-message b/graphics/drm-fbsd12.0-kmod/pkg-message
deleted file mode 100644
index c5907bcb3532..000000000000
--- a/graphics/drm-fbsd12.0-kmod/pkg-message
+++ /dev/null
@@ -1,18 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-The drm-fbsd12.0-kmod port can be enabled for amdgpu (for AMD GPUs starting
-with the HD7000 series / Tahiti) or i915kms (for Intel APUs starting with
-HD3000 / Sandy Bridge) through kld_list in /etc/rc.conf. radeonkms for older
-AMD GPUs can be loaded and there are some positive reports if EFI boot is NOT
-enabled (similar to amdgpu).
-
-For amdgpu: kld_list="amdgpu"
-For Intel: kld_list="/boot/modules/i915kms.ko"
-For radeonkms: kld_list="/boot/modules/radeonkms.ko"
-
-Please ensure that all users requiring graphics are members of the
-"video" group.
-EOM
-}
-]
diff --git a/graphics/drm-fbsd12.0-kmod/pkg-plist b/graphics/drm-fbsd12.0-kmod/pkg-plist
deleted file mode 100644
index 9aec7ed60a82..000000000000
--- a/graphics/drm-fbsd12.0-kmod/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-%%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
-%%AMDKFD%%/%%KMODDIR%%/amdkfd.ko
-/%%KMODDIR%%/debugfs.ko
-/%%KMODDIR%%/drm.ko
-%%I915%%/%%KMODDIR%%/i915kms.ko
-/%%KMODDIR%%/linuxkpi_gplv2.ko
-/%%KMODDIR%%/radeonkms.ko
-/%%KMODDIR%%/ttm.ko
-%%VMWGFX%%/%%KMODDIR%%/vmwgfx.ko
diff --git a/graphics/drm-kmod/Makefile b/graphics/drm-kmod/Makefile
index 9914b483c6fb..8ae7109c6a9e 100644
--- a/graphics/drm-kmod/Makefile
+++ b/graphics/drm-kmod/Makefile
@@ -16,10 +16,7 @@ RUN_DEPENDS=	gpu-firmware-kmod>=20220511:graphics/gpu-firmware-kmod
 .if ${OPSYS} != FreeBSD
 IGNORE=		not supported on anything but FreeBSD (missing linuxkpi functionality)
 .else
-.  if ${OSVERSION} < 1300000
-RUN_DEPENDS+=	${KMODDIR}/drm.ko:graphics/drm-fbsd12.0-kmod
-_DRM_ARCHS=	amd64 i386
-.  elif ${OSVERSION} >= 1301000 && ${OSVERSION} < 1400097
+.  if ${OSVERSION} >= 1302000 && ${OSVERSION} < 1400097
 RUN_DEPENDS+=	${KMODDIR}/drm.ko:graphics/drm-510-kmod
 _DRM_ARCHS=	aarch64 amd64 i386 powerpc64 powerpc64le
 .  elif ${OSVERSION} >= 1400097 && (${ARCH} == i386 || ${ARCH} == aarch64)