summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-06-05 10:29:56 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-06-05 10:29:56 +0000
commitdfd4d296828c5f68736cc6800441f17c8ee7e42d (patch)
treea0c347fc759888f62a706a3fad93177cea7d55fe /sys-apps/ifplugd/files
parentVersion bump. (diff)
downloadhistorical-dfd4d296828c5f68736cc6800441f17c8ee7e42d.tar.gz
historical-dfd4d296828c5f68736cc6800441f17c8ee7e42d.tar.bz2
historical-dfd4d296828c5f68736cc6800441f17c8ee7e42d.zip
Version bump.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'sys-apps/ifplugd/files')
-rw-r--r--sys-apps/ifplugd/files/digest-ifplugd-0.281
-rw-r--r--sys-apps/ifplugd/files/ifplugd-0.28-gentoo.diff24
2 files changed, 25 insertions, 0 deletions
diff --git a/sys-apps/ifplugd/files/digest-ifplugd-0.28 b/sys-apps/ifplugd/files/digest-ifplugd-0.28
new file mode 100644
index 000000000000..a53e0fb022c3
--- /dev/null
+++ b/sys-apps/ifplugd/files/digest-ifplugd-0.28
@@ -0,0 +1 @@
+MD5 df6f4bab52f46ffd6eb1f5912d4ccee3 ifplugd-0.28.tar.gz 142677
diff --git a/sys-apps/ifplugd/files/ifplugd-0.28-gentoo.diff b/sys-apps/ifplugd/files/ifplugd-0.28-gentoo.diff
new file mode 100644
index 000000000000..cb407822e445
--- /dev/null
+++ b/sys-apps/ifplugd/files/ifplugd-0.28-gentoo.diff
@@ -0,0 +1,24 @@
+diff -urN ifplugd-0.26.orig/src/ifplugd.c ifplugd-0.26/src/ifplugd.c
+--- ifplugd-0.26.orig/src/ifplugd.c 2004-12-20 08:39:14.682706517 -0500
++++ ifplugd-0.26/src/ifplugd.c 2004-12-20 08:40:56.903506651 -0500
+@@ -64,7 +64,7 @@
+ interface_do_message = 1;
+
+ char *interface = NULL;
+-char *run = SYSCONFDIR"/ifplugd/ifplugd.action";
++char *run = "/usr/sbin/ifplugd.action";
+ char *extra_arg = NULL;
+
+ int polltime = 1,
+diff -urN ifplugd-0.26.orig/src/nlapi.c ifplugd-0.26/src/nlapi.c
+--- ifplugd-0.26.orig/src/nlapi.c 2004-12-20 08:39:14.682706517 -0500
++++ ifplugd-0.26/src/nlapi.c 2004-12-20 08:39:50.185734092 -0500
+@@ -86,7 +86,7 @@
+ for (; bytes > 0; p = NLMSG_NEXT(p, bytes)) {
+ struct callback_info *c;
+
+- if (!NLMSG_OK(p, bytes) || (size_t) bytes < sizeof(struct nlmsghdr) || (size_t) bytes < p->nlmsg_len) {
++ if (!NLMSG_OK(p, (size_t) bytes) || (size_t) bytes < sizeof(struct nlmsghdr) || (size_t) bytes < (size_t) p->nlmsg_len) {
+ daemon_log(LOG_ERR, "NLAPI: Packet too small or truncated!\n");
+ return -1;
+ }