summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/netwatch')
-rw-r--r--net-analyzer/netwatch/ChangeLog5
-rw-r--r--net-analyzer/netwatch/Manifest5
-rw-r--r--net-analyzer/netwatch/files/netwatch.c.patch11
-rw-r--r--net-analyzer/netwatch/netwatch-1.3.0.1-r1.ebuild (renamed from net-analyzer/netwatch/netwatch-1.3.0.1.ebuild)9
4 files changed, 27 insertions, 3 deletions
diff --git a/net-analyzer/netwatch/ChangeLog b/net-analyzer/netwatch/ChangeLog
index ecaa4009b..3c9db1ae0 100644
--- a/net-analyzer/netwatch/ChangeLog
+++ b/net-analyzer/netwatch/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Mar 2009; Christian Ruppert <idl0r@gentoo.org>
+ -netwatch-1.3.0.1.ebuild, +netwatch-1.3.0.1-r1.ebuild,
+ +files/netwatch.c.patch:
+ rev bump. added glibc-2.8 patch, thanks to Coran Fisher (bug 246071).
+
14 Jan 2009; Christian Ruppert (idl0r) <spooky85@gmail.com>
-netwatch-1.2.0.2.ebuild, +netwatch-1.3.0.1.ebuild:
Version bump to 1.3.0.1.
diff --git a/net-analyzer/netwatch/Manifest b/net-analyzer/netwatch/Manifest
index 7eaca4ec1..14d509892 100644
--- a/net-analyzer/netwatch/Manifest
+++ b/net-analyzer/netwatch/Manifest
@@ -1,4 +1,5 @@
+AUX netwatch.c.patch 548 RMD160 b092cdea55efb3a0fac7cf6988ac748a292e828e SHA1 712ec1cd85ca6a774a28d8218c2a54362dc0a69c SHA256 f114d8d78434c99d56352a48e3f8e0eca02274dfe813d063dca2d827908414cc
DIST netwatch-1.3.0-1.tgz 187936 RMD160 420f4007742ab52e6296f30754b705344ea5a7c8 SHA1 bb8c27ad2f1cb106d2cf079d9558189e0030d2f6 SHA256 9fedc77e271cb3c3054e78f219962d5190294a90d4768797e06c6cd3fc8bd02d
-EBUILD netwatch-1.3.0.1.ebuild 784 RMD160 7cbe63e76a477fab3ef2430788a1485564293ffe SHA1 e4c6604ee51d04b90430134e940b89994a6244a5 SHA256 b6a53965ef36a222105bf2645cf7634def4920f83d7e63edfe76c3e65ba749b1
-MISC ChangeLog 428 RMD160 0e6f2f4a8c0ff66eae056ce74dfbcec34c538335 SHA1 240c78a477f4149fb2173eff38a18ebca80f6e12 SHA256 a4008a7ecc5201bf19d7868a00d13329e4f1ab668fdab9c89d132a5f222f13c9
+EBUILD netwatch-1.3.0.1-r1.ebuild 870 RMD160 854ca64dd6391f2ec0102feea38614eba1244853 SHA1 0c0cd1ae28ae9834e5d62e287fb9e6f09b2081ac SHA256 26634647b12712bef1e65ee80e156fe4e808c9846ac390612f271228639d243b
+MISC ChangeLog 637 RMD160 703389c67cd0b0cc6d27b29ec8a023787693024e SHA1 9418f3994924856da34fc20b564214c533990d87 SHA256 160b2815c4802f80025dad1ebdce2c64e2d0b348a3ae849fc01846ee79e3b868
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-analyzer/netwatch/files/netwatch.c.patch b/net-analyzer/netwatch/files/netwatch.c.patch
new file mode 100644
index 000000000..cef591f74
--- /dev/null
+++ b/net-analyzer/netwatch/files/netwatch.c.patch
@@ -0,0 +1,11 @@
+--- netwatch-1.3.0/netwatch.c.old 2009-01-03 04:08:50.000000000 +0100
++++ netwatch-1.3.0/netwatch.c 2009-03-19 19:44:12.268281240 +0100
+@@ -2758,7 +2758,7 @@ updatecurrent (HOSTINFO * work, struct i
+ work->plog = open (nam, O_APPEND | O_WRONLY);
+ if (work->plog < 0)
+ {
+- work->plog = open (nam, O_APPEND | O_CREAT | O_WRONLY);
++ work->plog = open (nam, O_APPEND | O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
+ st = write (work->plog, &starttime, sizeof (starttime));
+ st = write (work->plog, &simmagic, sizeof (simmagic));
+ }
diff --git a/net-analyzer/netwatch/netwatch-1.3.0.1.ebuild b/net-analyzer/netwatch/netwatch-1.3.0.1-r1.ebuild
index 2a2722398..9ec604ad1 100644
--- a/net-analyzer/netwatch/netwatch-1.3.0.1.ebuild
+++ b/net-analyzer/netwatch/netwatch-1.3.0.1-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit versionator
+inherit versionator eutils
MY_PV=$(replace_version_separator 3 '-')
@@ -21,6 +21,13 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}.c.patch"
+}
+
src_install() {
dosbin netresolv netwatch || die "dosbin failed"