diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2014-02-24 17:39:41 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2014-02-24 17:39:41 +0000 |
commit | a29f8a7fdf3f186f9224cda194fd0a3b532a6a75 (patch) | |
tree | 04a9358a175e1852dbb2f179465cdfb21ddbf42e /net-misc/dnetstats | |
parent | Stable on amd64 and x86, wrt bug #499410 (diff) | |
download | gentoo-2-a29f8a7fdf3f186f9224cda194fd0a3b532a6a75.tar.gz gentoo-2-a29f8a7fdf3f186f9224cda194fd0a3b532a6a75.tar.bz2 gentoo-2-a29f8a7fdf3f186f9224cda194fd0a3b532a6a75.zip |
Drop old
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-misc/dnetstats')
-rw-r--r-- | net-misc/dnetstats/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/dnetstats/dnetstats-1.2.6-r2.ebuild | 50 | ||||
-rw-r--r-- | net-misc/dnetstats/dnetstats-1.2.6.ebuild | 61 |
3 files changed, 5 insertions, 112 deletions
diff --git a/net-misc/dnetstats/ChangeLog b/net-misc/dnetstats/ChangeLog index cfef3180e511..0c8e7521ff90 100644 --- a/net-misc/dnetstats/ChangeLog +++ b/net-misc/dnetstats/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/dnetstats # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dnetstats/ChangeLog,v 1.14 2014/02/24 17:38:57 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dnetstats/ChangeLog,v 1.15 2014/02/24 17:39:41 pinkbyte Exp $ + + 24 Feb 2014; Sergey Popov <pinkbyte@gentoo.org> -dnetstats-1.2.6.ebuild, + -dnetstats-1.2.6-r2.ebuild: + Drop old 24 Feb 2014; Sergey Popov <pinkbyte@gentoo.org> dnetstats-1.2.6-r3.ebuild: Stable on amd64 and x86, wrt bug #499410 diff --git a/net-misc/dnetstats/dnetstats-1.2.6-r2.ebuild b/net-misc/dnetstats/dnetstats-1.2.6-r2.ebuild deleted file mode 100644 index 664773bebc47..000000000000 --- a/net-misc/dnetstats/dnetstats-1.2.6-r2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dnetstats/dnetstats-1.2.6-r2.ebuild,v 1.2 2014/02/24 02:01:21 phajdan.jr Exp $ - -EAPI=5 - -inherit eutils qt4-r2 - -MY_PN="DNetStats" -MY_P="${MY_PN}-v${PV}-release" - -DESCRIPTION="Qt4 network monitor utility" -HOMEPAGE="http://qt-apps.org/content/show.php/DNetStats?content=107467" -SRC_URI="http://qt-apps.org/CONTENT/content-files/107467-${MY_P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 x86" -IUSE="policykit" - -DEPEND=" - dev-qt/qtcore:4 - dev-qt/qtgui:4 -" -RDEPEND="${DEPEND} - policykit? ( sys-auth/polkit ) -" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - qt4-r2_src_prepare - - # clueless upstream ships generated files... - rm -rf moc_* qrc_* || die -} - -src_install() { - newbin mythread ${PN} - dodoc ReadMe - - newicon resource/energy.png ${PN}.png - make_desktop_entry ${PN} DNetStats ${PN} 'Qt;Network;Dialup' - - if use policykit; then - sed -i -e 's/^Exec=/&pkexec /' \ - "${ED}"usr/share/applications/${PN}*.desktop \ - || die - fi -} diff --git a/net-misc/dnetstats/dnetstats-1.2.6.ebuild b/net-misc/dnetstats/dnetstats-1.2.6.ebuild deleted file mode 100644 index 598fb41f639d..000000000000 --- a/net-misc/dnetstats/dnetstats-1.2.6.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dnetstats/dnetstats-1.2.6.ebuild,v 1.6 2013/03/02 23:00:01 hwoarang Exp $ - -EAPI="2" - -inherit eutils qt4-r2 - -MY_PN="DNetStats" -MY_P="${MY_PN}-v${PV}-release" - -DESCRIPTION="Qt4 network monitor utility" -HOMEPAGE="http://qt-apps.org/content/show.php/DNetStats?content=107467" -SRC_URI="http://qt-apps.org/CONTENT/content-files/107467-${MY_P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="kde gnome" - -DEPEND="dev-qt/qtgui:4" -RDEPEND="${DEPEND} - app-admin/sudo - kde? ( kde-base/kdesu ) - gnome? ( x11-libs/gksu )" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - if ! use kde && ! use gnome; then - ewarn - ewarn "You didn't enable nor kde neither gnome use flags." - ewarn "This means that no sudo GUI frontend will be used hence" - ewarn "the ${PN} menu entry won't work for normal users." - ewarn "Use 'sudo ${PN}' to launch the application or emerge ${PN} with" - ewarn "USE='kde' or USE='gnome' in order to make use of a graphical" - ewarn "sudo frontend" - ewarn - fi -} - -src_prepare() { - # remove old moc_* files - rm -rf moc_* || die "failed to remove old moc_* files" -} - -src_install() { - local gsudo - newbin mythread ${PN} || die "newbin failed" - dodoc ReadMe || die "dodoc failed" - newicon resource/energy.png ${PN}.png || die "doicon failed" - make_desktop_entry ${PN} DNetStats ${PN} 'Qt;Network;Dialup' - # adjust the .desktop file - use kde && gsudo="kdesu" - use gnome && gsudo="gksu" - if [[ -n ${gsudo} ]]; then - sed -i "/^Exec/s:${PN}:${gsudo} ${PN}:" \ - ${D}/usr/share/applications/"${PN}"-"${PN}".desktop \ - || die "failed to fix desktop file" - fi -} |