From: Matteo Azzali Date: Wed, 28 Mar 2007 14:23:49 +0000 (+0000) Subject: Fixed sys-backend bug as per bug 172450. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f66a2caa682617687c06a30e074541847f64558;p=gentoo.git Fixed sys-backend bug as per bug 172450. Package-Manager: portage-2.1.2.2 --- diff --git a/net-misc/knemo/ChangeLog b/net-misc/knemo/ChangeLog index 77d00dffedc9..e3b6f73fb4fb 100644 --- a/net-misc/knemo/ChangeLog +++ b/net-misc/knemo/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/knemo -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/knemo/ChangeLog,v 1.28 2006/11/19 22:03:34 troll Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/knemo/ChangeLog,v 1.29 2007/03/28 14:23:49 mattepiu Exp $ + +*knemo-0.4.6-r1 (28 Mar 2007) + + 28 Mar 2007; Matteo Azzali + +files/knemo-0.4.6-sysbackend.patch, +knemo-0.4.6-r1.ebuild: + Fixed sys-backend as per bug 172450. Thanks to Alberto Zennaro. *knemo-0.4.6 (19 Nov 2006) diff --git a/net-misc/knemo/Manifest b/net-misc/knemo/Manifest index 588a7cb168d3..77e89f156b82 100644 --- a/net-misc/knemo/Manifest +++ b/net-misc/knemo/Manifest @@ -1,6 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX knemo-0.4.6-sysbackend.patch 315 RMD160 77f64b196e7d8d3fe08727bda006357cb5a0b38d SHA1 e8246c87b04f257bec08005a6facf6fae4beb310 SHA256 a6bbe5bb673660d1c03626e18eb5c86bda96754b8006b7e81fad569adf548ee6 +MD5 13dc4210946431e61099dcf9993d326f files/knemo-0.4.6-sysbackend.patch 315 +RMD160 77f64b196e7d8d3fe08727bda006357cb5a0b38d files/knemo-0.4.6-sysbackend.patch 315 +SHA256 a6bbe5bb673660d1c03626e18eb5c86bda96754b8006b7e81fad569adf548ee6 files/knemo-0.4.6-sysbackend.patch 315 DIST 12956-knemo-0.4.5.tar.bz2 603267 RMD160 152a8ea60a829ee0c23ec1cd213e742e5a2dca31 SHA1 5caaa8d47488dbe819a20a4287781aa35542cc11 SHA256 b5f8307b6d51292a3d50dd79942186638f81570c9edcbcb523a90b7336eca464 DIST knemo-0.4.0.tar.bz2 586915 RMD160 ece6b21354fd6fea08ca13a0343b72e33c30b5a7 SHA1 e37da9e4a26ebcf78e7614dafdfb3018b8a431c7 SHA256 b4e23556dfd9bd4082bdccd0ca79af087857009ea2603ebf5b70844c1078c50d DIST knemo-0.4.6-4.tar.bz2 603220 RMD160 ce129b94a940437e89a8dbbf0f0e831bf093912a SHA1 921f0c1dc6b03278391cdbfc6f59b28e104e9f1e SHA256 f645799ca062240e2ce1b38df12dc5f9313bf844a21835d9db108077acf7376e @@ -12,14 +13,18 @@ EBUILD knemo-0.4.5.ebuild 1004 RMD160 80fadb3683aa8bb0052d64821fb14437e2145c95 S MD5 94f6e37b270ce0abb4a450a5f22e04a1 knemo-0.4.5.ebuild 1004 RMD160 80fadb3683aa8bb0052d64821fb14437e2145c95 knemo-0.4.5.ebuild 1004 SHA256 8a70793f2f7af4ae73b428b5cc8c3aa5a7f9ab0a7f749de123ff5e40afb6d143 knemo-0.4.5.ebuild 1004 +EBUILD knemo-0.4.6-r1.ebuild 1110 RMD160 ac55dcaa54109ea3f4166b0e616212c8c6c54fd5 SHA1 84b8b216c0920c9f9222201dc2ba989ba6a72355 SHA256 103a0c9652722572f127747db7850ee31dbc54d4b7d777def2e1ac574c9068cc +MD5 338fa57c2f3c798fb2d9a9078a8eb3f6 knemo-0.4.6-r1.ebuild 1110 +RMD160 ac55dcaa54109ea3f4166b0e616212c8c6c54fd5 knemo-0.4.6-r1.ebuild 1110 +SHA256 103a0c9652722572f127747db7850ee31dbc54d4b7d777def2e1ac574c9068cc knemo-0.4.6-r1.ebuild 1110 EBUILD knemo-0.4.6.ebuild 1022 RMD160 57ef7bc3260ad1bacea1be94146d9740d44ab057 SHA1 a3761cda064da54070716d410638c745aa2a5432 SHA256 3d50cd3bb39f400be80b15cc9319da04da35c49e6d1b2ef828de6e6b37f46204 MD5 bb73e813af6df036d2c91a92902bdda2 knemo-0.4.6.ebuild 1022 RMD160 57ef7bc3260ad1bacea1be94146d9740d44ab057 knemo-0.4.6.ebuild 1022 SHA256 3d50cd3bb39f400be80b15cc9319da04da35c49e6d1b2ef828de6e6b37f46204 knemo-0.4.6.ebuild 1022 -MISC ChangeLog 3952 RMD160 e6e1d708bbfed20f0b3ddc1d7514736771f17bd7 SHA1 403b70f76f691ac9aef69f0f9ce34923609f3a88 SHA256 74a2ab364f9760cd20891c2a59c2629d35d7d558a6a326fd20a8b9d2705e2fac -MD5 42e3921365f57a6cbf5cccae9d92f4a1 ChangeLog 3952 -RMD160 e6e1d708bbfed20f0b3ddc1d7514736771f17bd7 ChangeLog 3952 -SHA256 74a2ab364f9760cd20891c2a59c2629d35d7d558a6a326fd20a8b9d2705e2fac ChangeLog 3952 +MISC ChangeLog 4167 RMD160 6b704a7368b520961388d1331ea8f7c6e23e0d83 SHA1 f1ce705f95dfba2c8542e30ed547c3d781b83e37 SHA256 9e17cbbda0269f0e628c86dba1143aaec9b4b5a3e9530ffa7248d2930c24acf5 +MD5 25c17353a24c86e2689ebd875ab8b9ea ChangeLog 4167 +RMD160 6b704a7368b520961388d1331ea8f7c6e23e0d83 ChangeLog 4167 +SHA256 9e17cbbda0269f0e628c86dba1143aaec9b4b5a3e9530ffa7248d2930c24acf5 ChangeLog 4167 MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 @@ -33,10 +38,6 @@ SHA256 be2f3d6338ed7df584a16824c208d75784ebd92f694d41de66ecb22e3bbe96e7 files/di MD5 5dd97d2dea1088b2f76a18bc5bd6b2d9 files/digest-knemo-0.4.6 244 RMD160 47ba059cbb7d9459e27b738c23fad300f33edde8 files/digest-knemo-0.4.6 244 SHA256 643ef05c5ea3a268d3afcc264ec9d1292061e1e0952f16d4c12541efc2e40c36 files/digest-knemo-0.4.6 244 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) - -iD8DBQFFYNHOexDpKttj3ykRAnrNAJ4ulrlNnOZTVmxtsnxSES0KT3WtWgCdHE1p -48ICfXoiE45WVsXRCBr64io= -=1fyd ------END PGP SIGNATURE----- +MD5 5dd97d2dea1088b2f76a18bc5bd6b2d9 files/digest-knemo-0.4.6-r1 244 +RMD160 47ba059cbb7d9459e27b738c23fad300f33edde8 files/digest-knemo-0.4.6-r1 244 +SHA256 643ef05c5ea3a268d3afcc264ec9d1292061e1e0952f16d4c12541efc2e40c36 files/digest-knemo-0.4.6-r1 244 diff --git a/net-misc/knemo/files/digest-knemo-0.4.6-r1 b/net-misc/knemo/files/digest-knemo-0.4.6-r1 new file mode 100644 index 000000000000..1e99bcd01c54 --- /dev/null +++ b/net-misc/knemo/files/digest-knemo-0.4.6-r1 @@ -0,0 +1,3 @@ +MD5 01252dc9f96956710339e9655c1ddfe5 knemo-0.4.6-4.tar.bz2 603220 +RMD160 ce129b94a940437e89a8dbbf0f0e831bf093912a knemo-0.4.6-4.tar.bz2 603220 +SHA256 f645799ca062240e2ce1b38df12dc5f9313bf844a21835d9db108077acf7376e knemo-0.4.6-4.tar.bz2 603220 diff --git a/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch b/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch new file mode 100644 index 000000000000..11b8f053a7d6 --- /dev/null +++ b/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch @@ -0,0 +1,10 @@ +--- src/knemod/backends/sysbackend.cpp.orig 2006-10-24 22:40:51.000000000 +0200 ++++ src/knemod/backends/sysbackend.cpp 2007-03-28 16:09:27.000000000 +0200 +@@ -289,6 +289,7 @@ + { + data.subnetMask = inet_ntoa(((struct sockaddr_in*)&ifr.ifr_netmask)->sin_addr); + } ++ close(fd); + } + } + diff --git a/net-misc/knemo/knemo-0.4.6-r1.ebuild b/net-misc/knemo/knemo-0.4.6-r1.ebuild new file mode 100644 index 000000000000..1cc9acd5dae9 --- /dev/null +++ b/net-misc/knemo/knemo-0.4.6-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/knemo/knemo-0.4.6-r1.ebuild,v 1.1 2007/03/28 14:23:49 mattepiu Exp $ + +inherit kde eutils + +MY_P="${P}-4" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="KNemo - the KDE Network Monitor" +SRC_URI="http://www.eris23.de/${PN}/${MY_P}.tar.bz2" +HOMEPAGE="http://kde-apps.org/content/show.php?content=12956" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="wifi" + +RDEPEND="kernel_linux? ( sys-apps/net-tools ) + wifi? ( net-wireless/wireless-tools )" + +need-kde 3.4 + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-sysbackend.patch +} + +pkg_postinst() { + echo + einfo "KNemo is not an executable but a KDED service. Since version 0.4.5" + einfo "KNemo has to be started using KDE Control Center/Internet & Network/" + einfo "Network Monitor. Please do no longer use the KDE Service Manager to" + einfo "start and stop KNemo. This change was necessary to keep KNemo from" + einfo "starting automatically for every user in a multiuser environment." + echo +}