sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (19e4551943023b74fb35721ad97b0ae08bc5f9e6)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (19e4551943023b74fb35721ad97b0ae08bc5f9e6)
- Date: Mon, 9 Jan 2012 14:07:51 -0600
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
utils/ipmitool/DETAILS | 9 ++++-----
utils/ipmitool/HISTORY | 5 +++++
utils/ipmitool/PRE_BUILD | 4 ++++
utils/ipmitool/umask.patch | 10 ++++++++++
4 files changed, 23 insertions(+), 5 deletions(-)
New commits:
commit 9c93b19663b0d4d1cff249cd3d244b8ffc7fd95d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
ipmitool: security update
diff --git a/utils/ipmitool/DETAILS b/utils/ipmitool/DETAILS
index 26d4d88..e1d9930 100755
--- a/utils/ipmitool/DETAILS
+++ b/utils/ipmitool/DETAILS
@@ -1,15 +1,14 @@
SPELL=ipmitool
VERSION=1.8.11
+ SECURITY_PATCH=1
SOURCE_HASH=sha512:48093790baf2532887ac87de9b55fbe38f46f271b84e6152e6b0ba11170b29aad78dfcd42036389750edbedff325476b8366b3ea1401b97148b8bc8c1bd71e4b
SOURCE="$SPELL-$VERSION.tar.gz"
SOURCE_URL[0]="$SOURCEFORGE_URL/$SPELL/$SOURCE"
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
- WEB_SITE="http://$SPELL.sourceforge.net"
- FRESHMEAT_URL="http://freshmeat.net/projects/$SPELL/"
+ WEB_SITE=http://ipmitool.sourceforge.net
LICENSE[0]='BSD'
- UPDATED=20060214
- SHORT='A command-line utility to control IPMI-enabled devices'
-## Auto-generated from Freshmeat.net's project descriptor
+ ENTERED=20060214
+ SHORT="command-line utility to control IPMI-enabled devices"
cat << EOF
IPMItool is a simple command-line interface to systems that support the
Intelligent Platform Management Interface (IPMI) specification. It provides
diff --git a/utils/ipmitool/HISTORY b/utils/ipmitool/HISTORY
index fc76260..2135e79 100644
--- a/utils/ipmitool/HISTORY
+++ b/utils/ipmitool/HISTORY
@@ -1,3 +1,8 @@
+2012-01-10 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: SECURITY_PATCH=1; UPDATED -> ENTERED; cleaned up
+ * PRE_BUILD: added, to apply the patch
+ * umask.patch: added, to fix security issue (CVE-2011-4339)
+
2011-10-14 Bor Kraljič <pyrobor AT ver.si>
* DETAILS: fixed long description wrap (scripted)
diff --git a/utils/ipmitool/PRE_BUILD b/utils/ipmitool/PRE_BUILD
new file mode 100755
index 0000000..06fbbe0
--- /dev/null
+++ b/utils/ipmitool/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/umask.patch"
diff --git a/utils/ipmitool/umask.patch b/utils/ipmitool/umask.patch
new file mode 100644
index 0000000..58b9898
--- /dev/null
+++ b/utils/ipmitool/umask.patch
@@ -0,0 +1,10 @@
+--- lib/helper.c.orig
++++ 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)
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (19e4551943023b74fb35721ad97b0ae08bc5f9e6), Vlad Glagolev, 01/09/2012
Archive powered by MHonArc 2.6.24.