Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
configure: do not build doc
Fixes:
http://autobuild.buildroot.org/results/2ec/2ecfb1143ba89ffa5cdc8096bb175b2c396c4670/
http://autobuild.buildroot.org/results/c49/c497fc446140694084922d51fe6be308ce5c1c1a/
http://autobuild.buildroot.org/results/434/434b156b5c9b5c7b65ffe6174cf4e029e7e3ffd8/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
diff --git a/configure.ac b/configure.ac
index 344b27a71a35..41b6ea89167a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,7 @@ LIB_DIR="/usr/lib"
isredhat=0
init_scripts="scripts/ipmi_port.sh scripts/ipmiutil_evt scripts/ipmiutil_asy scripts/ipmiutil_wdt"
projdir=`pwd`
-SUBDIR_S="doc scripts lib util"
+SUBDIR_S="scripts lib util"
os=Linux
# ltmain.sh, config.sub, et al should have been created, but check to be sure.
@@ -162,7 +162,7 @@ AC_ARG_ENABLE([standalone],
LANPLUS_SAM="no"
LD_SAMX=""
CFLAGS="-O2"
- SUBDIR_S="doc scripts util"
+ SUBDIR_S="scripts util"
if test "x$cross_compiling" = "xyes"; then
# cross-compiling, so link with -static (e.g. Android ARM)
CROSS_LFLAGS="-static"

View File

@@ -0,0 +1,38 @@
From: Baruch Siach <baruch@tkos.co.il>
Date: Tue, 27 Oct 2015 14:23:44 +0200
Subject: [PATCH] lib/Makefile.am: fix lanplus disable
Protect the install target as well when lanplus is disabled. Fixes the
following installation failure when openssl is missing:
In file included from lanplus.c:78:0:
./inc/ipmitool/ipmi.h:51:25: fatal error: openssl/evp.h: No such file or directory
Patch status: sent upstream
(http://sourceforge.net/p/ipmiutil/mailman/message/34572580/)
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
lib/Makefile.am | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 805a218ab7eb..939594cfd3e5 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -51,8 +51,10 @@ distclean:
cd lanplus; make distclean
install:
- $(MKDIR) ${datato}
- cd lanplus; make install
+ if [ "$(PLUSFLAGS)" = "-DHAVE_LANPLUS" ]; then \
+ $(MKDIR) ${datato} ; \
+ cd lanplus; make install ; \
+ fi
check:
--
2.6.1

View File

@@ -0,0 +1,45 @@
From: Baruch Siach <baruch@tkos.co.il>
Date: Tue, 27 Oct 2015 13:58:24 +0200
Subject: [PATCH] configure.ac: fix stack protector test
gcc does not generate stack protection check code for function that does not
use its stack. Some toolchain (most notable uClibc based) accept the
-fstack-protector option, but don't provide libssp. The current test will
incorrectly identify this case, leading to link failures like:
ipmiutil.o: In function `main':
ipmiutil.c:(.text.startup+0x1c0): undefined reference to
`__stack_chk_fail_local'
ialarms.o: In function `get_alarms_picmg':
ialarms.c:(.text+0x1c5): undefined reference to `__stack_chk_fail_local'
ialarms.o: In function `.L46':
ialarms.c:(.text+0x362): undefined reference to `__stack_chk_fail_local'
ialarms.o: In function `get_enc_leds':
ialarms.c:(.text+0x45f): undefined reference to `__stack_chk_fail_local'
Add stack usage code to the test to correctly identify missing libssp.
Patch status: sent upstream
(http://sourceforge.net/p/ipmiutil/mailman/message/34572536/)
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 41b6ea89167a..f3f60fb9ff69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -334,7 +334,7 @@ else
rm -f $tmpc $tmpo >/dev/null 2>&1
echo $ECHO_N "checking compile fortify flags ... $ECHO_C"
cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
- echo "int main() { return(1); }" >$tmpc
+ echo "int main() { alloca(100); return(1); }" >$tmpc
$CC -o $tmpo $cfhard $tmpc >/dev/null 2>&1
if test $? -ne 0 ; then
cfhard=
--
2.6.1

View File

@@ -0,0 +1,18 @@
config BR2_PACKAGE_IPMIUTIL
bool "ipmiutil"
depends on BR2_USE_MMU
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_x86_64 || BR2_i386
help
The ipmiutil package provides easy-to-use utilities to view
the SEL, perform an IPMI chassis reset, set up the IPMI LAN
and Platform Event Filter entries to allow SNMP alerts,
Serial-Over-LAN console, event daemon, and other IPMI tasks.
http://ipmiutil.sourceforge.net/
comment "ipmiutil needs a toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
depends on BR2_x86_64 || BR2_i386

View File

@@ -0,0 +1,2 @@
# From http://sourceforge.net/projects/ipmiutil/files/?source=navbar
sha1 cc26d977afc87717812ef25aa02b2d5ab84843c4 ipmiutil-2.9.7.tar.gz

View File

@@ -0,0 +1,27 @@
################################################################################
#
# ipmiutil
#
################################################################################
IPMIUTIL_VERSION = 2.9.7
IPMIUTIL_SITE = http://sourceforge.net/projects/ipmiutil/files
IPMIUTIL_LICENSE = BSD-3c
IPMIUTIL_LICENSE_FILES = COPYING
# We're patching configure.ac, lib/Makefile.am
IPMIUTIL_AUTORECONF = YES
IPMIUTIL_MAKE = $(MAKE1)
# forgets to link against libcrypto dependencies breaking static link
ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx)
# tests against distro libcrypto so it might get a false positive when
# the openssl version is old, so force it off
# SKIP_MD2 can be used only if ALLOW_GNU is defined.
IPMIUTIL_CONF_OPTS += CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2"
IPMIUTIL_DEPENDENCIES += openssl
else
IPMIUTIL_CONF_OPTS += --disable-lanplus
endif
$(eval $(autotools-package))