aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2024-05-20 17:42:49 +0000
committerColin Percival <cperciva@FreeBSD.org>2024-05-24 00:01:59 +0000
commitd31ed58b9f9360cecd9acfbd12999190edca6e56 (patch)
tree17dc893b854a147117a413f8885420f69210703e
parent45bce6fa306fc3a211949f63c9bbb7932fe5a3bd (diff)
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. MFC after: 1 minute Differential Revision: https://reviews.freebsd.org/D45278
-rwxr-xr-xrelease/scripts/pkg-stage.sh14
1 files 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