diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-04-10 01:26:18 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-05-06 22:01:41 +0200 |
commit | ed08ddd597778e74bc2d008e662d198764d23099 (patch) | |
tree | de6496d645854714f3df76c95bda30b8227800db /net-firewall/ufw-frontends | |
parent | net-firewall/ufw-frontends: Change back to kdesu symlink (diff) | |
download | gentoo-ed08ddd597778e74bc2d008e662d198764d23099.tar.gz gentoo-ed08ddd597778e74bc2d008e662d198764d23099.tar.bz2 gentoo-ed08ddd597778e74bc2d008e662d198764d23099.zip |
net-firewall/ufw-frontends: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-firewall/ufw-frontends')
-rw-r--r-- | net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild | 65 | ||||
-rw-r--r-- | net-firewall/ufw-frontends/ufw-frontends-0.3.2-r4.ebuild | 66 |
2 files changed, 0 insertions, 131 deletions
diff --git a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild deleted file mode 100644 index 3a97cc90f7f9..000000000000 --- a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 - -DESCRIPTION="Provides graphical frontend to ufw" -HOMEPAGE="https://github.com/baudm/ufw-frontends" -SRC_URI="https://github.com/baudm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -# CC-BY-NC-SA-3.0 is for a png file -LICENSE="GPL-3 CC-BY-NC-SA-3.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="kde policykit" - -DEPEND="" -RDEPEND="${DEPEND} - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk[${PYTHON_USEDEP}] - dev-python/pyinotify[${PYTHON_USEDEP}] - net-firewall/ufw[${PYTHON_USEDEP}] - !policykit? ( - kde? ( kde-apps/kdesu ) ) - policykit? ( sys-auth/polkit ) -" - -python_prepare_all() { - if use policykit; then - sed -i 's/^Exec=su-to-root -X -c/Exec=pkexec/' \ - share/ufw-gtk.desktop || die - elif use kde; then - sed -i 's/^Exec=su-to-root -X -c/Exec=kdesu/' \ - share/ufw-gtk.desktop || die - fi - - # don't try to override run() to install the script - # under /usr/sbin; it does not work with distutils-r1 - # and so it is handled differently (in python_install) - sed -i '/cmdclass=/d' setup.py || die - - # Qt version is unusable - rm gfw/frontend_qt.py || die - distutils-r1_python_prepare_all - - # fix crash when no ufw logs in supported locations can - # be found - epatch "${FILESDIR}/${P}-no-log-crash.patch" -} - -python_install() { - distutils-r1_python_install --install-scripts="/usr/sbin" -} - -python_install_all() { - distutils-r1_python_install_all - - if use policykit; then - insinto /usr/share/polkit-1/actions/ - doins "${FILESDIR}"/org.gentoo.pkexec.ufw-gtk.policy - elif ! use kde; then - rm "${D}usr/share/applications/ufw-gtk.desktop" || die - fi -} diff --git a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r4.ebuild b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r4.ebuild deleted file mode 100644 index d1d8138a3de6..000000000000 --- a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r4.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 - -DESCRIPTION="Provides graphical frontend to ufw" -HOMEPAGE="https://github.com/baudm/ufw-frontends" -SRC_URI="https://github.com/baudm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -# CC-BY-NC-SA-3.0 is for a png file -LICENSE="GPL-3 CC-BY-NC-SA-3.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="kde policykit" - -DEPEND="" -RDEPEND="${DEPEND} - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk[${PYTHON_USEDEP}] - dev-python/pyinotify[${PYTHON_USEDEP}] - net-firewall/ufw[${PYTHON_USEDEP}] - !policykit? ( - kde? ( kde-plasma/kde-cli-tools[kdesu] ) - ) - policykit? ( sys-auth/polkit ) -" - -python_prepare_all() { - if use policykit; then - sed -i 's/^Exec=su-to-root -X -c/Exec=pkexec/' \ - share/ufw-gtk.desktop || die - elif use kde; then - sed -i 's/^Exec=su-to-root -X -c/Exec=kdesu5/' \ - share/ufw-gtk.desktop || die - fi - - # don't try to override run() to install the script - # under /usr/sbin; it does not work with distutils-r1 - # and so it is handled differently (in python_install) - sed -i '/cmdclass=/d' setup.py || die - - # Qt version is unusable - rm gfw/frontend_qt.py || die - distutils-r1_python_prepare_all - - # fix crash when no ufw logs in supported locations can - # be found - epatch "${FILESDIR}/${P}-no-log-crash.patch" -} - -python_install() { - distutils-r1_python_install --install-scripts="/usr/sbin" -} - -python_install_all() { - distutils-r1_python_install_all - - if use policykit; then - insinto /usr/share/polkit-1/actions/ - doins "${FILESDIR}"/org.gentoo.pkexec.ufw-gtk.policy - elif ! use kde; then - rm "${D}usr/share/applications/ufw-gtk.desktop" || die - fi -} |