diff options
author | drochner <drochner> | 2011-12-22 19:00:04 +0000 |
---|---|---|
committer | drochner <drochner> | 2011-12-22 19:00:04 +0000 |
commit | f3edf2c1a0a2891098c85da04cb81a22ef423314 (patch) | |
tree | 8108e835e86503ff575b39156feff406ae6f4327 | |
parent | 94000a0704206c14f4637d9513ad50ad2ddcab64 (diff) | |
download | pkgsrc-f3edf2c1a0a2891098c85da04cb81a22ef423314.tar.gz |
fix world-writable pidfile creation (CVE-2011-4339), bump PKGREV
-rw-r--r-- | sysutils/ipmitool/Makefile | 3 | ||||
-rw-r--r-- | sysutils/ipmitool/distinfo | 3 | ||||
-rw-r--r-- | sysutils/ipmitool/patches/patch-ae | 14 |
3 files changed, 18 insertions, 2 deletions
diff --git a/sysutils/ipmitool/Makefile b/sysutils/ipmitool/Makefile index 63b4fb9a95d..3f7ea2574e7 100644 --- a/sysutils/ipmitool/Makefile +++ b/sysutils/ipmitool/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2011/02/17 08:38:56 markd Exp $ +# $NetBSD: Makefile,v 1.9 2011/12/22 19:00:04 drochner Exp $ # DISTNAME= ipmitool-1.8.11 +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipmitool/} diff --git a/sysutils/ipmitool/distinfo b/sysutils/ipmitool/distinfo index d8f5dd37f62..2767bb04957 100644 --- a/sysutils/ipmitool/distinfo +++ b/sysutils/ipmitool/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2011/02/17 08:38:56 markd Exp $ +$NetBSD: distinfo,v 1.5 2011/12/22 19:00:05 drochner Exp $ SHA1 (ipmitool-1.8.11.tar.gz) = 4cb6ff3736fd3e166abc5303d6373672327a5db1 RMD160 (ipmitool-1.8.11.tar.gz) = 189b2232bcd148bc89c610dfae73c6f12f42fb36 Size (ipmitool-1.8.11.tar.gz) = 769964 bytes SHA1 (patch-ad) = 3941c5ea9286137e58ae6fb62aea6daff390ffa1 +SHA1 (patch-ae) = 67828b62b46a30b204dd436681c5ecac39bb29b3 diff --git a/sysutils/ipmitool/patches/patch-ae b/sysutils/ipmitool/patches/patch-ae new file mode 100644 index 00000000000..da6e976b671 --- /dev/null +++ b/sysutils/ipmitool/patches/patch-ae @@ -0,0 +1,14 @@ +$NetBSD: patch-ae,v 1.1 2011/12/22 19:00:05 drochner Exp $ + +CVE-2011-4339 + +--- lib/helper.c.orig 2009-02-25 20:38:52.000000000 +0000 ++++ lib/helper.c +@@ -427,7 +427,6 @@ ipmi_start_daemon(struct ipmi_intf *intf + #endif + + chdir("/"); +- umask(0); + + for (fd=0; fd<64; fd++) { + if (fd != intf->fd) |