diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-06-05 10:29:56 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-06-05 10:29:56 +0000 |
commit | b92d0bd3db1f67c27cad19f16fd1aab8fc6fa1d9 (patch) | |
tree | 97488082c86adf7c864d63f999ba3314ff247d5c /sys-apps/ifplugd/files | |
parent | x86 (diff) | |
download | gentoo-2-b92d0bd3db1f67c27cad19f16fd1aab8fc6fa1d9.tar.gz gentoo-2-b92d0bd3db1f67c27cad19f16fd1aab8fc6fa1d9.tar.bz2 gentoo-2-b92d0bd3db1f67c27cad19f16fd1aab8fc6fa1d9.zip |
Version bump.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/ifplugd/files')
-rw-r--r-- | sys-apps/ifplugd/files/digest-ifplugd-0.28 | 1 | ||||
-rw-r--r-- | sys-apps/ifplugd/files/ifplugd-0.28-gentoo.diff | 24 |
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; + } |