Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2024 00:13:04 GMT
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 8f7da18ea248 - releng/14.1 - Modernize DVD package set in preparation for 14.1
Message-ID:  <202405240013.44O0D4gN043828@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch releng/14.1 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=8f7da18ea2482e49bab7021ad759b4ca17366369

commit 8f7da18ea2482e49bab7021ad759b4ca17366369
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2024-05-20 17:42:49 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2024-05-24 00:08:37 +0000

    Modernize DVD package set in preparation for 14.1
    
    Remove archivers/unzip (now in base) and emulators/linux_base-c7 (old
    and unlikely to be useful without other linux packages being installed),
    ports-mgmt/portmaster (now largely obsolete and discouraged in favour
    of using pkg and binary packages) and x11-drivers/xf86-video-vmware
    (questionably useful).
    
    Replace devel/git with devel/git@lite (sufficient for most purposes),
    and adjust the "ensure the ports exist to sanitize the list" code to
    ignore the @lite part when checking that /usr/ports/devel/git exists.
    
    Add sysutils/seatd and x11-wm/sway for wayland support.
    
    Approved by:    re (cperciva)
    MFC after:      1 minute
    Differential Revision:  https://reviews.freebsd.org/D45278
    
    (cherry picked from commit d31ed58b9f9360cecd9acfbd12999190edca6e56)
    (cherry picked from commit 0543cdc36ac6c91dccc2f1c5ae1df42c6d4d2a1d)
---
 release/scripts/pkg-stage.sh | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/release/scripts/pkg-stage.sh b/release/scripts/pkg-stage.sh
index 551876eca8c6..5742f84b0258 100755
--- a/release/scripts/pkg-stage.sh
+++ b/release/scripts/pkg-stage.sh
@@ -12,9 +12,7 @@ export ROOTDIR="$PWD/dvd"
 export PKGCMD="/usr/sbin/pkg -d --rootdir ${ROOTDIR}"
 export PORTSDIR="${PORTSDIR:-/usr/ports}"
 
-_DVD_PACKAGES="archivers/unzip
-devel/git
-emulators/linux_base-c7
+_DVD_PACKAGES="devel/git@lite
 graphics/drm-kmod
 graphics/drm-510-kmod
 graphics/drm-515-kmod
@@ -22,19 +20,19 @@ misc/freebsd-doc-all
 net/mpd5
 net/rsync
 ports-mgmt/pkg
-ports-mgmt/portmaster
 shells/bash
 shells/zsh
 security/sudo
 sysutils/screen
+sysutils/seatd
 sysutils/tmux
 www/firefox
 www/links
-x11-drivers/xf86-video-vmware
 x11/gnome
 x11/kde5
 x11/sddm
-x11/xorg"
+x11/xorg
+x11-wm/sway"
 
 # If NOPORTS is set for the release, do not attempt to build pkg(8).
 if [ ! -f ${PORTSDIR}/Makefile ]; then
@@ -61,10 +59,10 @@ fi
 # Ensure the ports listed in _DVD_PACKAGES exist to sanitize the
 # final list.
 for _P in ${_DVD_PACKAGES}; do
-	if [ -d "${PORTSDIR}/${_P}" ]; then
+	if [ -d "${PORTSDIR}/${_P%%@*}" ]; then
 		DVD_PACKAGES="${DVD_PACKAGES} ${_P}"
 	else
-		echo "*** Skipping nonexistent port: ${_P}"
+		echo "*** Skipping nonexistent port: ${_P%%@*}"
 	fi
 done
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405240013.44O0D4gN043828>