From 6a325a4a3d9ecc69480245a87a5dc6a282246c10 Mon Sep 17 00:00:00 2001 From: Matteo Azzali Date: Thu, 29 Mar 2007 06:31:05 +0000 Subject: [PATCH] Fixed sysbackend patch. Package-Manager: portage-2.1.2.2 --- net-misc/knemo/ChangeLog | 6 +++++- net-misc/knemo/Manifest | 16 ++++++++-------- .../knemo/files/knemo-0.4.6-sysbackend.patch | 14 +++++++++++--- 3 files changed, 24 insertions(+), 12 deletions(-) diff --git a/net-misc/knemo/ChangeLog b/net-misc/knemo/ChangeLog index e3b6f73fb4fb..a7546404865c 100644 --- a/net-misc/knemo/ChangeLog +++ b/net-misc/knemo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/knemo # 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 $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/knemo/ChangeLog,v 1.30 2007/03/29 06:31:05 mattepiu Exp $ + + 29 Mar 2007; Matteo Azzali + files/knemo-0.4.6-sysbackend.patch: + fixed sysbackend patch. *knemo-0.4.6-r1 (28 Mar 2007) diff --git a/net-misc/knemo/Manifest b/net-misc/knemo/Manifest index 77e89f156b82..3a82b15f290f 100644 --- a/net-misc/knemo/Manifest +++ b/net-misc/knemo/Manifest @@ -1,7 +1,7 @@ -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 +AUX knemo-0.4.6-sysbackend.patch 536 RMD160 810c93813dec8d04a73570848c2c6e5b5bf25c2d SHA1 68a541bb967c1335781805848fea0e1643f1f6a5 SHA256 86e3ce87b55d9b5b2cd14bde646ddafb3d71a9f52d10a56a39861636feffc1c0 +MD5 998ce8d84be19fa95df612d1bccda96b files/knemo-0.4.6-sysbackend.patch 536 +RMD160 810c93813dec8d04a73570848c2c6e5b5bf25c2d files/knemo-0.4.6-sysbackend.patch 536 +SHA256 86e3ce87b55d9b5b2cd14bde646ddafb3d71a9f52d10a56a39861636feffc1c0 files/knemo-0.4.6-sysbackend.patch 536 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 @@ -21,10 +21,10 @@ EBUILD knemo-0.4.6.ebuild 1022 RMD160 57ef7bc3260ad1bacea1be94146d9740d44ab057 S 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 4167 RMD160 6b704a7368b520961388d1331ea8f7c6e23e0d83 SHA1 f1ce705f95dfba2c8542e30ed547c3d781b83e37 SHA256 9e17cbbda0269f0e628c86dba1143aaec9b4b5a3e9530ffa7248d2930c24acf5 -MD5 25c17353a24c86e2689ebd875ab8b9ea ChangeLog 4167 -RMD160 6b704a7368b520961388d1331ea8f7c6e23e0d83 ChangeLog 4167 -SHA256 9e17cbbda0269f0e628c86dba1143aaec9b4b5a3e9530ffa7248d2930c24acf5 ChangeLog 4167 +MISC ChangeLog 4283 RMD160 0607559ab2a8e8159f02ad3f1115aaf57ed4a719 SHA1 4fe3c78a6a8d695c06293c17fcc3986d3a3e1119 SHA256 d1efab30179c9a2976452cc2e96fd1472753c8106242d752fff1452ec5f41f40 +MD5 e5421cd94499403c6251678f53ae38f2 ChangeLog 4283 +RMD160 0607559ab2a8e8159f02ad3f1115aaf57ed4a719 ChangeLog 4283 +SHA256 d1efab30179c9a2976452cc2e96fd1472753c8106242d752fff1452ec5f41f40 ChangeLog 4283 MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 diff --git a/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch b/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch index 11b8f053a7d6..69392c85e568 100644 --- a/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch +++ b/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch @@ -1,10 +1,18 @@ --- 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 @@ +@@ -262,6 +262,7 @@ + in.s_addr = regExp.cap( 1 ).toULong( &ok, 16 ); + data.defaultGateway = inet_ntoa( in ); + } ++ routeFile.close(); + } + + // use ioctls for the rest +@@ -289,6 +290,7 @@ { data.subnetMask = inet_ntoa(((struct sockaddr_in*)&ifr.ifr_netmask)->sin_addr); } -+ close(fd); ++ close( fd ); } } - + -- 2.26.2