commit:     37844ccfa07b3fd7b083c23241679a51e03ba143
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  8 02:49:35 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Dec  8 02:50:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37844ccf

sys-apps/openrazer: drop old vulnerable versions

Bug: https://bugs.gentoo.org/884801
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 sys-apps/openrazer/Manifest                  |   2 -
 sys-apps/openrazer/openrazer-3.4.0-r3.ebuild | 160 ---------------------------
 sys-apps/openrazer/openrazer-3.5.0.ebuild    | 160 ---------------------------
 3 files changed, 322 deletions(-)

diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index 3ee4ef472e88..8465e776d599 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1,3 +1 @@
-DIST openrazer-3.4.0.tar.gz 233490 BLAKE2B 
dc5236e75b998c72c4ebc2420d2c5f3d996af19e87d91d4d76dca7098c6120a12b642c314eca037973f140e4679ab42d0f25ce5225bc97d9839468f8325de56b
 SHA512 
ba9efb3ce2736365e453328e81683368df0ef894ac44ac79c7b34c5bd782b9394170a9528d58db954da880f18a5e72a3d84810ec11b5b34845eee7daa9babd22
-DIST openrazer-3.5.0.tar.gz 240079 BLAKE2B 
ac4565e01b7f8b4474d4cc2d64956dfce71a5ec96b1be1cec7d7418094d353d8156ea8ab30c7f87ccddb1fa92f18767e67ce931a4b58c7d248873bf6e86c1dbc
 SHA512 
e7fb1b056777a779978f42739cf486e17dcf64024e612b270960981cf0a03b75de0e880497842a7c90b6e7727fd3cd35d4704e9abbe7a9f764957b0949a699ea
 DIST openrazer-3.5.1.tar.gz 240254 BLAKE2B 
7f6b887c22c81c8cd3d7908f94748879aa4c89f6446e073aeaed0d33f8d58bd7b618768a9915a451d6659c0cdf428b52e055641420553a00f2cf41b0a9737487
 SHA512 
dc32f040f4b9ecbefbd2b4afc34edcc97fbda16f6dd9a64ed61d637233ea5d0e6f046685837635a177d3cab8506224c973ea26972a6ea7cc20d7bcce60065e39

diff --git a/sys-apps/openrazer/openrazer-3.4.0-r3.ebuild 
b/sys-apps/openrazer/openrazer-3.4.0-r3.ebuild
deleted file mode 100644
index 7b19f04fe4bf..000000000000
--- a/sys-apps/openrazer/openrazer-3.4.0-r3.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 
linux-mod
-
-DESCRIPTION="Drivers and user-space daemon to control Razer devices on 
GNU/Linux"
-HOMEPAGE="https://openrazer.github.io/
-       https://github.com/openrazer/openrazer/";
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
-       -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="+client +daemon"
-REQUIRED_USE="
-       client? ( daemon )
-       daemon? ( ${PYTHON_REQUIRED_USE} )
-       test? ( daemon )
-"
-
-RDEPEND="
-       client? ( dev-python/numpy[${PYTHON_USEDEP}] )
-       daemon? (
-               acct-group/plugdev
-               dev-python/daemonize[${PYTHON_USEDEP}]
-               dev-python/dbus-python[${PYTHON_USEDEP}]
-               dev-python/notify2[${PYTHON_USEDEP}]
-               dev-python/pygobject:3[${PYTHON_USEDEP}]
-               dev-python/pyudev[${PYTHON_USEDEP}]
-               dev-python/setproctitle[${PYTHON_USEDEP}]
-               x11-libs/gtk+:3[introspection]
-               x11-misc/xautomation
-               x11-misc/xdotool
-       )
-"
-BDEPEND="
-       ${RDEPEND}
-       virtual/linux-sources
-"
-
-DOCS=( README.md )
-
-DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
-(razeraccessory, razerkbd, razerkraken and/or razermouse),
-add your user to the \"plugdev\" group and start the OpenRazer daemon.
-To automatically start up the OpenRazer daemon on session login copy
-/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
-~/.config/autostart/ directory."
-
-BUILD_TARGETS="clean driver"
-BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
-MODULE_NAMES="
-       razeraccessory(hid:${S}/driver)
-       razerkbd(hid:${S}/driver)
-       razerkraken(hid:${S}/driver)
-       razermouse(hid:${S}/driver)
-"
-
-distutils_enable_tests unittest
-
-python_compile() {
-       if use daemon ; then
-               ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
-       fi
-       if use client ; then
-               ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
-       fi
-}
-
-python_install() {
-       if use daemon ; then
-               ( cd "${S}"/daemon || die ; distutils-r1_python_install )
-               python_scriptinto /usr/bin
-               python_newscript "${S}"/daemon/run_openrazer_daemon.py 
${PN}-daemon
-       fi
-       if use client ; then
-               ( cd "${S}"/pylib || die ; distutils-r1_python_install )
-       fi
-}
-
-src_prepare() {
-       xdg_environment_reset
-       distutils-r1_src_prepare
-
-       # Remove bad tests.
-       rm "${S}"/daemon/tests/test_effect_sync.py || die
-}
-
-src_compile() {
-       linux-mod_src_compile
-       distutils-r1_src_compile
-
-       if use daemon ; then
-               emake -C "${S}"/daemon PREFIX=/usr service
-       fi
-
-       readme.gentoo_create_doc
-}
-
-src_test() {
-       ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
-}
-
-src_install() {
-       linux-mod_src_install
-       distutils-r1_src_install
-
-       udev_dorules "${S}"/install_files/udev/99-razer.rules
-       exeinto "$(get_udevdir)"
-       doexe "${S}"/install_files/udev/razer_mount
-
-       # Install configuration example so that the daemon does not complain.
-       insinto /usr/share/${PN}
-       newins "${S}"/daemon/resources/razer.conf razer.conf.example
-
-       if use daemon ; then
-               # dbus service
-               insinto /usr/share/dbus-1/services
-               doins "${S}"/daemon/org.razer.service
-
-               # systemd unit
-               systemd_douserunit "${S}"/daemon/${PN}-daemon.service
-
-               # xdg autostart example file
-               insinto /usr/share/${PN}
-               doins "${S}"/install_files/desktop/openrazer-daemon.desktop
-
-               # Manpages
-               doman "${S}"/daemon/resources/man/${PN}-daemon.8
-               doman "${S}"/daemon/resources/man/razer.conf.5
-       fi
-}
-
-pkg_postinst() {
-       linux-mod_pkg_postinst
-       udev_reload
-
-       if use daemon ; then
-               xdg_icon_cache_update
-               xdg_desktop_database_update
-       fi
-
-       readme.gentoo_print_elog
-}
-
-pkg_postrm() {
-       linux-mod_pkg_postrm
-       udev_reload
-
-       if use daemon ; then
-               xdg_icon_cache_update
-               xdg_desktop_database_update
-       fi
-}

diff --git a/sys-apps/openrazer/openrazer-3.5.0.ebuild 
b/sys-apps/openrazer/openrazer-3.5.0.ebuild
deleted file mode 100644
index 7b19f04fe4bf..000000000000
--- a/sys-apps/openrazer/openrazer-3.5.0.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 
linux-mod
-
-DESCRIPTION="Drivers and user-space daemon to control Razer devices on 
GNU/Linux"
-HOMEPAGE="https://openrazer.github.io/
-       https://github.com/openrazer/openrazer/";
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
-       -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="+client +daemon"
-REQUIRED_USE="
-       client? ( daemon )
-       daemon? ( ${PYTHON_REQUIRED_USE} )
-       test? ( daemon )
-"
-
-RDEPEND="
-       client? ( dev-python/numpy[${PYTHON_USEDEP}] )
-       daemon? (
-               acct-group/plugdev
-               dev-python/daemonize[${PYTHON_USEDEP}]
-               dev-python/dbus-python[${PYTHON_USEDEP}]
-               dev-python/notify2[${PYTHON_USEDEP}]
-               dev-python/pygobject:3[${PYTHON_USEDEP}]
-               dev-python/pyudev[${PYTHON_USEDEP}]
-               dev-python/setproctitle[${PYTHON_USEDEP}]
-               x11-libs/gtk+:3[introspection]
-               x11-misc/xautomation
-               x11-misc/xdotool
-       )
-"
-BDEPEND="
-       ${RDEPEND}
-       virtual/linux-sources
-"
-
-DOCS=( README.md )
-
-DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
-(razeraccessory, razerkbd, razerkraken and/or razermouse),
-add your user to the \"plugdev\" group and start the OpenRazer daemon.
-To automatically start up the OpenRazer daemon on session login copy
-/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
-~/.config/autostart/ directory."
-
-BUILD_TARGETS="clean driver"
-BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
-MODULE_NAMES="
-       razeraccessory(hid:${S}/driver)
-       razerkbd(hid:${S}/driver)
-       razerkraken(hid:${S}/driver)
-       razermouse(hid:${S}/driver)
-"
-
-distutils_enable_tests unittest
-
-python_compile() {
-       if use daemon ; then
-               ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
-       fi
-       if use client ; then
-               ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
-       fi
-}
-
-python_install() {
-       if use daemon ; then
-               ( cd "${S}"/daemon || die ; distutils-r1_python_install )
-               python_scriptinto /usr/bin
-               python_newscript "${S}"/daemon/run_openrazer_daemon.py 
${PN}-daemon
-       fi
-       if use client ; then
-               ( cd "${S}"/pylib || die ; distutils-r1_python_install )
-       fi
-}
-
-src_prepare() {
-       xdg_environment_reset
-       distutils-r1_src_prepare
-
-       # Remove bad tests.
-       rm "${S}"/daemon/tests/test_effect_sync.py || die
-}
-
-src_compile() {
-       linux-mod_src_compile
-       distutils-r1_src_compile
-
-       if use daemon ; then
-               emake -C "${S}"/daemon PREFIX=/usr service
-       fi
-
-       readme.gentoo_create_doc
-}
-
-src_test() {
-       ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
-}
-
-src_install() {
-       linux-mod_src_install
-       distutils-r1_src_install
-
-       udev_dorules "${S}"/install_files/udev/99-razer.rules
-       exeinto "$(get_udevdir)"
-       doexe "${S}"/install_files/udev/razer_mount
-
-       # Install configuration example so that the daemon does not complain.
-       insinto /usr/share/${PN}
-       newins "${S}"/daemon/resources/razer.conf razer.conf.example
-
-       if use daemon ; then
-               # dbus service
-               insinto /usr/share/dbus-1/services
-               doins "${S}"/daemon/org.razer.service
-
-               # systemd unit
-               systemd_douserunit "${S}"/daemon/${PN}-daemon.service
-
-               # xdg autostart example file
-               insinto /usr/share/${PN}
-               doins "${S}"/install_files/desktop/openrazer-daemon.desktop
-
-               # Manpages
-               doman "${S}"/daemon/resources/man/${PN}-daemon.8
-               doman "${S}"/daemon/resources/man/razer.conf.5
-       fi
-}
-
-pkg_postinst() {
-       linux-mod_pkg_postinst
-       udev_reload
-
-       if use daemon ; then
-               xdg_icon_cache_update
-               xdg_desktop_database_update
-       fi
-
-       readme.gentoo_print_elog
-}
-
-pkg_postrm() {
-       linux-mod_pkg_postrm
-       udev_reload
-
-       if use daemon ; then
-               xdg_icon_cache_update
-               xdg_desktop_database_update
-       fi
-}

Reply via email to