compile http://www.openamt.org/trac/wiki/LocalManageabilityService
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 16 Sep 2009 20:57:00 +0000 (20:57 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 16 Sep 2009 20:57:00 +0000 (20:57 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@144 191e9f34-6774-4a6d-acfc-7664dacd4a2a

recepies/amt/openamt/2.lms.diff [new file with mode: 0644]
recepies/amt/openamt/2.lms.sh [new file with mode: 0755]

diff --git a/recepies/amt/openamt/2.lms.diff b/recepies/amt/openamt/2.lms.diff
new file mode 100644 (file)
index 0000000..5706e0a
--- /dev/null
@@ -0,0 +1,13 @@
+Index: src/LMEConnection.cpp
+===================================================================
+--- src/LMEConnection.cpp      (revision 213)
++++ src/LMEConnection.cpp      (working copy)
+@@ -41,6 +41,8 @@
+ #include <arpa/inet.h>
+ #endif
++#include <pthread.h>
++
+ #define HECI_BUFF_SIZE 0x1000
+ #define HECI_IO_TIMEOUT 5000
diff --git a/recepies/amt/openamt/2.lms.sh b/recepies/amt/openamt/2.lms.sh
new file mode 100755 (executable)
index 0000000..733a5b1
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+test -d lms || svn co https://openamt.svn.sourceforge.net/svnroot/openamt/lms/trunk lms
+
+cd lms && patch -N -p0 < ../2.lms.diff
+cd -
+
+test -x lms/src/lms || ( cd lms && ./bootstrap.sh && ./configure --enable-debug && make )
+