aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2022-06-27 11:36:11 +0000
committerRene Ladan <rene@FreeBSD.org>2022-06-27 11:36:20 +0000
commit2fb224a12bba79baeabc41519ab19ab876baec32 (patch)
tree8115f94fbdfbdf8b31976d21735e4f0676eedd4a /sysutils
parent466b6f0c645fe1cc208bb15c77ba24ebb2813b77 (diff)
cleanup: Remove expired ports:
2022-06-25 lang/cmucl: Not supported upstream since 2017 and broken since FreeBSD 12.1 2022-06-25 devel/qbs: Abandoned and not working with modern clang 2022-06-25 lang/cmucl-extra: lang/cmucl is not supported upstream since 2017 and broken since FreeBSD 12.1 2022-06-25 security/protonvpn-cli: This version is deprecated and unsupported upstream. The port needs an update, which would require a fair amount of effort. Use OpenVPN or Wireguard with configuration files provided by ProtonVPN instead. 2022-06-27 sysutils/firstboot-growfs: A better version is available on all FreeBSD version 2022-06-27 security/modsecurity3-apache: The project was not developed further 2022-06-29 net-mgmt/zabbix54-frontend: Unsupported by upstream 2022-06-29 net-mgmt/zabbix54-server: Unsupported by upstream
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/firstboot-growfs/Makefile21
-rw-r--r--sysutils/firstboot-growfs/files/firstboot_growfs.in57
-rw-r--r--sysutils/firstboot-growfs/pkg-descr4
4 files changed, 0 insertions, 83 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index eeb866370c41..2a489871e5a6 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -372,7 +372,6 @@
SUBDIR += finfo
SUBDIR += firstboot-cloudsetup
SUBDIR += firstboot-freebsd-update
- SUBDIR += firstboot-growfs
SUBDIR += firstboot-pkgs
SUBDIR += flasher
SUBDIR += flashrom
diff --git a/sysutils/firstboot-growfs/Makefile b/sysutils/firstboot-growfs/Makefile
deleted file mode 100644
index e28ff9711560..000000000000
--- a/sysutils/firstboot-growfs/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-PORTNAME= firstboot-growfs
-PORTVERSION= 1.0
-CATEGORIES= sysutils
-MASTER_SITES= # none
-DISTFILES= # none
-EXTRACT_ONLY= # none
-
-MAINTAINER= swills@FreeBSD.org
-COMMENT= Expand / when the system first boots
-
-DEPRECATED= A better version is available on all FreeBSD version
-EXPIRATION_DATE= 2022-06-27
-
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
-NO_INSTALL= yes
-NO_ARCH= yes
-
-USE_RC_SUBR= firstboot_growfs
-
-.include <bsd.port.mk>
diff --git a/sysutils/firstboot-growfs/files/firstboot_growfs.in b/sysutils/firstboot-growfs/files/firstboot_growfs.in
deleted file mode 100644
index d767e6876b25..000000000000
--- a/sysutils/firstboot-growfs/files/firstboot_growfs.in
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-
-# KEYWORD: firstboot
-# PROVIDE: firstboot_growfs
-# REQUIRE: NETWORKING
-# BEFORE: LOGIN
-
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf (in the disk
-# image, since this only runs on the first boot) to enable this:
-#
-# firstboot_growfs_enable="YES"
-
-. /etc/rc.subr
-
-: ${firstboot_growfs_enable:="NO"}
-: ${firstboot_growfs_fs:="/"}
-
-name="firstboot_growfs"
-rcvar=firstboot_growfs_enable
-start_cmd="firstboot_growfs_run"
-stop_cmd=":"
-
-firstboot_growfs_run()
-{
- local FSTYPE DISK GPTLABEL GPART GDISK GPARTNO
-
- FSTYPE=`mount -p | awk "{ if (\\$2 == \"${firstboot_growfs_fs}\") print \\$3 }"`
- case ${FSTYPE} in
- ufs)
- ;;
- *)
- echo "${firstboot_growfs_fs} is not a UFS volume, cannot resize"
- ;;
- esac
-
- DISK=`mount -p | awk "{ if (\\$2 == \"${firstboot_growfs_fs}\") print \\$1 }"`
- case ${DISK} in
- /dev/gpt/*)
- GPTLABEL=${DISK##/dev/gpt/}
- ;;
- *)
- echo "${firstboot_growfs_fs} is not on a GPT disk, cannot resize"
- return 0
- ;;
- esac
-
- GPART=`glabel status -s | awk "{ if (\\$1 == \"gpt/${GPTLABEL}\") print \\$3 }"`
- GDISK=${GPART%p*}
- GPARTNO=${GPART##*p}
-
- gpart recover ${GDISK}
- gpart resize -i ${GPARTNO} ${GDISK}
- growfs -y ${firstboot_growfs_fs}
-}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/sysutils/firstboot-growfs/pkg-descr b/sysutils/firstboot-growfs/pkg-descr
deleted file mode 100644
index 1c36bcfe9e0a..000000000000
--- a/sysutils/firstboot-growfs/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-When the system first boots, resize the (GPT) partition holding the root
-filesystem, then resize the (UFS) root filesystem. This is intended to be
-used in virtual machines where a VM image is built with one size but may
-be launched onto a larger disk.