commit: 236faee392747226bf442c012f44f222a8daa906 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Tue Jul 2 16:16:17 2024 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Tue Jul 2 16:16:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=236faee3
app-emulation/phpvirtualbox: treeclean Closes: https://bugs.gentoo.org/933239 Bug: https://bugs.gentoo.org/828068 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> app-emulation/phpvirtualbox/Manifest | 1 - app-emulation/phpvirtualbox/files/README.gentoo | 16 ------ app-emulation/phpvirtualbox/files/vboxinit-initd | 39 --------------- app-emulation/phpvirtualbox/metadata.xml | 9 ---- .../phpvirtualbox/phpvirtualbox-5.2.1.ebuild | 57 ---------------------- profiles/package.mask | 5 -- 6 files changed, 127 deletions(-) diff --git a/app-emulation/phpvirtualbox/Manifest b/app-emulation/phpvirtualbox/Manifest deleted file mode 100644 index 201ae4e3058a..000000000000 --- a/app-emulation/phpvirtualbox/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST phpvirtualbox-5.2-1.tar.gz 3882921 BLAKE2B 6eb76d3f4372bbd83648f4c1b1f37ec7478a1818e7dcef345bddf603d9ae51314f6fd0a448b42d7434389a364e4c8e177f4b13936f50c6c30a58e00aa0b714e7 SHA512 6805f58a3abdfdac9bb34170d3980ba3fae1118526bbb587b67a55032cc2c25923bf2d7bec01ed60439b3070f2e0668079f73e41ca29d18dd9e24abe3219830c diff --git a/app-emulation/phpvirtualbox/files/README.gentoo b/app-emulation/phpvirtualbox/files/README.gentoo deleted file mode 100644 index 45699ef72f06..000000000000 --- a/app-emulation/phpvirtualbox/files/README.gentoo +++ /dev/null @@ -1,16 +0,0 @@ -Local or remote virtualbox hosts must be compiled with -'vboxwebsrv' useflag and the respective init script -must be running to use this interface: -/etc/init.d/vboxwebsrv start - -To enable the automatic startup mode feature uncomment the -following line in the config.php file: -var $startStopConfig = true; - -You should also add the /etc/init.d/vboxinit-@@SLOT@@ script to the -default runlevel on the virtualbox host: -`rc-update add vboxinit-@@SLOT@@ default` -If the server is on a remote host, than the script must be -copied manually from -@@FILESDIR@@/vboxinit-initd to -/etc/init.d/vboxinit on the remote host. diff --git a/app-emulation/phpvirtualbox/files/vboxinit-initd b/app-emulation/phpvirtualbox/files/vboxinit-initd deleted file mode 100644 index 891137a2d267..000000000000 --- a/app-emulation/phpvirtualbox/files/vboxinit-initd +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/openrc-run - -description="Controls VirtualBox sessions" - -. /etc/conf.d/vboxwebsrv - -su_command="su - ${VBOXWEBSRV_USER} -c" - -depend() { - need localmount - after bootmisc -} - -start() { - einfo "Starting VirtualBox machines" - eindent - MACHINES=$($su_command "VBoxManage list vms | awk '{ print \$NF }' | sed -e 's/[{}]//g'") - for UUID in $MACHINES; do - STARTUP=$($su_command "VBoxManage getextradata $UUID 'pvbx/startupMode'" | awk '{ print $NF }') - VMNAME=$($su_command "VBoxManage showvminfo $UUID | sed -n '0,/^Name:/s/^Name:[ \t]*//p'") - if [ "${STARTUP}" == "auto" ]; then - ebegin "Starting machine ${VMNAME}" - $su_command "VBoxManage startvm $UUID --type headless" &>> /var/log/vboxinit.log - eend $? - fi - done -} - -stop() { - einfo "Saving VirtualBox machines" - eindent - MACHINES=$($su_command "VBoxManage list runningvms | awk '{ print \$NF }' | sed -e 's/[{}]//g'") - for UUID in $MACHINES; do - VMNAME=$($su_command "VBoxManage showvminfo $UUID | sed -n '0,/^Name:/s/^Name:[ \t]*//p'") - ebegin "Stopping machine ${VMNAME}" - $su_command "VBoxManage controlvm $UUID savestate" &>> /var/log/vboxinit.log - eend $? - done -} diff --git a/app-emulation/phpvirtualbox/metadata.xml b/app-emulation/phpvirtualbox/metadata.xml deleted file mode 100644 index ead318766d1d..000000000000 --- a/app-emulation/phpvirtualbox/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">phpvirtualbox/phpvirtualbox</remote-id> - <remote-id type="sourceforge">phpvirtualbox</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-emulation/phpvirtualbox/phpvirtualbox-5.2.1.ebuild b/app-emulation/phpvirtualbox/phpvirtualbox-5.2.1.ebuild deleted file mode 100644 index 4738dfe6851e..000000000000 --- a/app-emulation/phpvirtualbox/phpvirtualbox-5.2.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eapi7-ver webapp readme.gentoo-r1 - -MY_PV="$(ver_rs 2 '-')" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="Web-based administration for VirtualBox in PHP" -HOMEPAGE="https://sourceforge.net/projects/phpvirtualbox/" -SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" - -LICENSE="GPL-3" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - dev-lang/php:*[gd,session,soap,unicode] - virtual/httpd-php:* -" - -S="${WORKDIR}/${MY_P}" - -src_install() { - - local DISABLE_AUTOFORMATTING="true" - local DOC_CONTENTS=$(sed -e "s;@@FILESDIR@@;${FILESDIR};" \ - -e "s;@@SLOT@@;${SLOT};" "${FILESDIR}/README.gentoo") - - webapp_src_preinst - - dodoc CHANGELOG.txt README.md - rm -f CHANGELOG.txt LICENSE.txt README.md - - insinto "${MY_HTDOCSDIR}" - doins -r . - - webapp_configfile "${MY_HTDOCSDIR}"/config.php-example - webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example - - webapp_src_install - if has_version app-emulation/virtualbox[vboxwebsrv] || \ - has_version app-emulation/virtualbox-bin[vboxwebsrv] - then - newinitd "${FILESDIR}"/vboxinit-initd vboxinit-${SLOT} - fi - - readme.gentoo_create_doc - -} - -pkg_postinst() { - webapp_pkg_postinst - readme.gentoo_print_elog -} diff --git a/profiles/package.mask b/profiles/package.mask index 27c6cd8ab648..db731c6bdbc3 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -544,11 +544,6 @@ dev-ruby/rspec-rails:5 # Removal on 2024-06-30. Bugs #933241, #889912, #880267, #562822, #930500. net-mail/gnubiff -# Arthur Zamarin <[email protected]> (2024-05-31) -# EAPI=6, no activity upstream, maintianer-needed. -# Removal on 2024-06-30. Bugs #933239, #828068. -app-emulation/phpvirtualbox - # Sam James <[email protected]> (2024-05-28) # Breaks reverse dependencies like protobuf-c (bug #932857) and protobuf-26.1 # itself isn't compatible with this abseil-cpp version (bug #932848).
