Index: MOVED =================================================================== --- MOVED +++ MOVED @@ -10494,3 +10494,6 @@ net-p2p/dogecoin||2018-08-21|Has expired: Broken for more than 5 months misc/freebsd-doc-sr||2018-08-23|Removed www/py-django18|www/py-django111|2018-08-25|Has expired: End of Live since 01/04/2018 +graphics/drm-stable-kmod|graphics/drm-linux49-kmod|2018-08-25|Follow Linux versioning +graphics/drm-next-kmod|graphics/drm-linux411-kmod|2018-08-25|Follow Linux versioning +graphics/drm-devel-kmod|graphics/drm-linux416-kmod|2018-08-25|Follow Linux versioning Index: UPDATING =================================================================== --- UPDATING +++ UPDATING @@ -5,6 +5,17 @@ You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20180826: + AFFECTS: graphics/drm-?-kmod + AUTHOR: jmd@FreeBSD.org + + The LinuxKPI ports have been renamed to correspond to their Linux DRM version. + drm-stable-kmod became drm-linux49-kmod, drm-next-kmod became + drm-linux411-kmod, and linux-devel-kmod became drm-linux416-kmod. + Additionally, a metaport, graphics/drm-lkpi-kmod, was introduced. It is + recommended to use the metaport from now on, which will select a recommended + version based on the FreeBSD version. + 20180813: AFFECTS: net/geoipupdate AUTHOR: adamw@FreeBSD.org Index: graphics/Makefile =================================================================== --- graphics/Makefile +++ graphics/Makefile @@ -153,10 +153,11 @@ SUBDIR += dmtx-utils SUBDIR += drawpile SUBDIR += driconf - SUBDIR += drm-devel-kmod SUBDIR += drm-legacy-kmod - SUBDIR += drm-next-kmod - SUBDIR += drm-stable-kmod + SUBDIR += drm-linux49-kmod + SUBDIR += drm-linux411-kmod + SUBDIR += drm-linux416-kmod + SUBDIR += drm-lkpi-kmod SUBDIR += dspdfviewer SUBDIR += duhdraw SUBDIR += dynamechs Index: graphics/drm-linux411-kmod/Makefile =================================================================== --- graphics/drm-linux411-kmod/Makefile +++ graphics/drm-linux411-kmod/Makefile @@ -1,7 +1,7 @@ # Created by: Johannes Dieterich # $FreeBSD$ -PORTNAME= drm-next-kmod +PORTNAME= drm-linux411-kmod PORTVERSION= 4.11.g20180822 CATEGORIES= graphics @@ -16,7 +16,7 @@ RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod -CONFLICTS_INSTALL= drm-devel-kmod drm-stable-kmod drm-legacy-kmod +CONFLICTS_INSTALL= drm-linux416-kmod drm-linux49-kmod drm-legacy-kmod OPTIONS_DEFINE= DEBUG Index: graphics/drm-linux416-kmod/Makefile =================================================================== --- graphics/drm-linux416-kmod/Makefile +++ graphics/drm-linux416-kmod/Makefile @@ -1,7 +1,7 @@ # Created by: Johannes Dieterich # $FreeBSD$ -PORTNAME= drm-devel-kmod +PORTNAME= drm-linux416-kmod PORTVERSION= 4.16.g20180824 CATEGORIES= graphics kld @@ -16,7 +16,7 @@ RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod -CONFLICTS_INSTALL= drm-next-kmod drm-stable-kmod drm-legacy-kmod +CONFLICTS_INSTALL= drm-linux411-kmod drm-linux49-kmod drm-legacy-kmod OPTIONS_DEFINE= DEBUG Index: graphics/drm-linux49-kmod/Makefile =================================================================== --- graphics/drm-linux49-kmod/Makefile +++ graphics/drm-linux49-kmod/Makefile @@ -1,7 +1,7 @@ # Created by: Johannes Dieterich # $FreeBSD$ -PORTNAME= drm-stable-kmod +PORTNAME= drm-linux49-kmod PORTVERSION= g20180822 CATEGORIES= graphics @@ -16,7 +16,7 @@ RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod -CONFLICTS_INSTALL= drm-devel-kmod drm-next-kmod drm-legacy-kmod +CONFLICTS_INSTALL= drm-linux416-kmod drm-linux411-kmod drm-legacy-kmod OPTIONS_DEFINE= DEBUG Index: graphics/drm-lkpi-kmod/Makefile =================================================================== --- graphics/drm-lkpi-kmod/Makefile +++ graphics/drm-lkpi-kmod/Makefile @@ -0,0 +1,42 @@ +# Created by: Johannes Dieterich +# $FreeBSD$ + +PORTNAME= drm-lkpi-kmod +PORTVERSION= g20180825 +CATEGORIES= graphics + +MAINTAINER= jmd@FreeBSD.org +COMMENT= Metaport of DRM modules for the linuxkpi-based KMS components + +CONFLICTS_INSTALL= drm-legacy-kmod + +USES= metaport + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101510 +IGNORE= not supported on 11.1 or older, no kernel support +.endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1101510 && ${OSVERSION} < 1200000 +RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-linux49-kmod +.endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200045 +IGNORE= not supported on older CURRENT, no kernel support +.endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200045 && ${OSVERSION} < 1200058 +RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-linux49-kmod +.endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200058 && ${OSVERSION} < 1200067 +RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-linux411-kmod +.endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200067 +OPTIONS_DEFINE= DEVEL +DEVEL_DESC= Select the latest, bleeding-edge DRM +DEVEL_RUN_DEPENDS_OFF= ${KMODDIR}/drm.ko:graphics/drm-linux411-kmod +DEVEL_RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-linux416-kmod +.endif +.if ${OPSYS} != FreeBSD +IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality) +.endif + +.include Index: graphics/drm-lkpi-kmod/pkg-descr =================================================================== --- graphics/drm-lkpi-kmod/pkg-descr +++ graphics/drm-lkpi-kmod/pkg-descr @@ -0,0 +1,5 @@ +amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components. +Metaport for different versions of Linux DRM based on the FreeBSD version +in use. + +WWW: https://github.com/FreeBSDDesktop/kms-drm