Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1240158cdfa3dfaa6f3c4933f1391ab609834dd7)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1240158cdfa3dfaa6f3c4933f1391ab609834dd7)
  • Date: Tue, 14 Feb 2012 18:23:43 -0600

GIT changes to master grimoire by Ladislav Hagara <hgr AT vabo.cz>:

security/shadow/HISTORY | 3 +++
security/shadow/PRE_BUILD | 4 ++++
security/shadow/copydir.c.patch | 10 ++++++++++
3 files changed, 17 insertions(+)

New commits:
commit 1240158cdfa3dfaa6f3c4933f1391ab609834dd7
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

shadow: upstream patch added

Building on newer systems fails due to using stdargs but not including
the header file:

http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/2012-February/009119.html

diff --git a/security/shadow/HISTORY b/security/shadow/HISTORY
index afd3bfb..1393838 100644
--- a/security/shadow/HISTORY
+++ b/security/shadow/HISTORY
@@ -1,3 +1,6 @@
+2012-02-15 Ladislav Hagara <hgr AT vabo.cz>
+ * PRE_BUILD, copydir.c.patch: upstream patch added
+
2012-02-15 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 4.1.5; SECURITY_PATCH++ (CVE-2005-4890);
renewed SOURCE_URL
diff --git a/security/shadow/PRE_BUILD b/security/shadow/PRE_BUILD
new file mode 100755
index 0000000..2d7980c
--- /dev/null
+++ b/security/shadow/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p2 < "$SPELL_DIRECTORY/copydir.c.patch"
diff --git a/security/shadow/copydir.c.patch b/security/shadow/copydir.c.patch
new file mode 100644
index 0000000..57fef5f
--- /dev/null
+++ b/security/shadow/copydir.c.patch
@@ -0,0 +1,10 @@
+--- upstream/trunk/libmisc/copydir.c 2011/12/09 22:13:02 3655
++++ upstream/trunk/libmisc/copydir.c 2012/02/13 19:16:29 3706
+@@ -46,6 +46,7 @@
+ #include <selinux/selinux.h>
+ #endif /* WITH_SELINUX */
+ #if defined(WITH_ACL) || defined(WITH_ATTR)
++#include <stdarg.h>
+ #include <attr/error_context.h>
+ #endif /* WITH_ACL || WITH_ATTR */
+ #ifdef WITH_ACL



  • [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1240158cdfa3dfaa6f3c4933f1391ab609834dd7), Ladislav Hagara, 02/14/2012

Archive powered by MHonArc 2.6.24.

Top of Page