diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-17 20:33:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-17 20:33:10 +0100 |
commit | 1c9a2b6cf059fca455a527c1bd76a2321f93b310 (patch) | |
tree | 1b35cf6afe711f7eaedfe2e5fe41b14e517ee215 /sys-apps/ipmiutil/files | |
parent | b9d1ad143f4a37061059ce69b1251e23fd760f95 (diff) |
gentoo auto-resync : 17:08:2022 - 20:33:10
Diffstat (limited to 'sys-apps/ipmiutil/files')
3 files changed, 0 insertions, 384 deletions
diff --git a/sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch b/sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch deleted file mode 100644 index ee9917406207..000000000000 --- a/sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ipmiutil-2.9.8/configure.ac -+++ ipmiutil-2.9.8/configure.ac -@@ -162,7 +162,7 @@ - LANPLUS_CRYPTO="" - LANPLUS_SAM="no" - LD_SAMX="" -- CFLAGS="-O2" -+ #CFLAGS="-O2" - SUBDIR_S="doc scripts util" - if test "x$cross_compiling" = "xyes"; then - # cross-compiling, so link with -static (e.g. Android ARM) -@@ -334,7 +334,7 @@ - fi - 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" -+ #cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" - echo "int main() { alloca(100); return(1); }" >$tmpc - $CC -o $tmpo $cfhard $tmpc >/dev/null 2>&1 - if test $? -ne 0 ; then diff --git a/sys-apps/ipmiutil/files/ipmiutil-3.1.5-fix-configure.patch b/sys-apps/ipmiutil/files/ipmiutil-3.1.5-fix-configure.patch deleted file mode 100644 index 8748256be5f6..000000000000 --- a/sys-apps/ipmiutil/files/ipmiutil-3.1.5-fix-configure.patch +++ /dev/null @@ -1,180 +0,0 @@ ---- ipmiutil-3.1.5.orig/configure.ac 2019-11-25 06:53:08.000000000 -0800 -+++ ipmiutil-3.1.5/configure.ac 2020-01-25 22:55:20.577345441 -0800 -@@ -80,40 +80,46 @@ - # fi] - - drv_landesk=0 -+LANDESK_CFLAGS="" -+LANDESK_LDADD="" - dnl configure for LANDESK libipmiapi or not - AC_ARG_ENABLE([landesk], -- [ --enable-landesk adds landesk library support [[default=no]]], -- [if test "x$enableval" = "xyes"; then -- drv_landesk=1 -- LANDESK_CFLAGS="-DLINK_LANDESK" -- LANDESK_LDADD="-lipmiapi -L../lib" -- AC_SUBST(LANDESK_CFLAGS) -- AC_SUBST(LANDESK_LDADD) -- fi] -- ) -+ AS_HELP_STRING([--enable-landesk], [enable landesk support (default=no)]), -+ [], -+ [enable_landesk=no]) -+ -+AS_IF([test "x$enable_landesk" = "xyes"], [ -+ drv_landesk=1 -+ LANDESK_CFLAGS="-DLINK_LANDESK" -+ LANDESK_LDADD="-lipmiapi -L../lib" -+ AC_SUBST(LANDESK_CFLAGS) -+ AC_SUBST(LANDESK_LDADD) -+ ]) - - dnl Configure ipmiutil for lanplus (libipmi_lanplus.a) or not (default yes) - AC_ARG_ENABLE([lanplus], -- [ --enable-lanplus enable lanplus support (default=yes)],[default=yes], --[if test "x$enableval" = "xno"; then -- drv_lanplus="" -- LANPLUS_CFLAGS="" -- LANPLUS_LDADD="" -- LANPLUS_LIB="" -- LANPLUS_CRYPTO="" -- LANPLUS_SAM="no" -- LD_SAMX="" --else -+ AS_HELP_STRING([--disable-lanplus], [enable lanplus support (default=yes)]), -+ [], -+ [enable_lanplus=yes]) -+ -+drv_lanplus="" -+LANPLUS_CFLAGS="" -+LANPLUS_LDADD="" -+LANPLUS_LIB="" -+LANPLUS_CRYPTO="" -+LANPLUS_SAM="no" -+LD_SAMX="" -+AS_IF([test "x$enable_lanplus" = "xyes"], [ - drv_lanplus="lanplus" - LANPLUS_CFLAGS="-DHAVE_LANPLUS" - # LANPLUS_CFLAGS="-DHAVE_LANPLUS -I${projdir}/lib/lanplus/inc" - # LANPLUS_LDADD="-L../lib -lintf_lanplus -L/usr/local/lib -lcrypto" - LANPLUS_LDADD="-L../lib -lipmi_lanplus -L/usr/local/lib -lcrypto" -- LANPLUS_LIB="../lib/libipmi_lanplus.a" -+ LANPLUS_LIB="../lib/libipmi_lanplus.a" - LANPLUS_CRYPTO="-lcrypto" - LANPLUS_SAM="yes" - LD_SAMX="../lib/libipmi_lanplus.a -lcrypto" --fi ]) -+]) - - dnl Configure libipmiutil.a for lanplus or not - dnl Only SOL requires lanplus, so usually build libipmiutil.a without lanplus -@@ -128,21 +134,28 @@ - #fi - - # strings /lib/libssl.so* |grep EVP_sha256 --dnl configure for SHA256, build lanplus with SHA256 support, uses later openssl. -+dnl configure for SHA256, build lanplus with SHA256 support -+dnl requires openssl-1.0.1 which was released in 2012/03 - AC_ARG_ENABLE([sha256], -- [ --enable-sha256 build with SHA256 support, requires later openssl.], -- [if test "x$enableval" = "xyes"; then -- LANPLUS_CFLAGS="$LANPLUS_CFLAGS -DHAVE_SHA256" -- fi] -- ) -+ AS_HELP_STRING([--disable-sha256], [build with SHA256 support (default=yes)]), -+ dnl action if passed -+ [], -+ dnl action if not passed -+ [enable_sha256=yes] -+ ) -+AS_IF([test "x$enable_sha256" = "xyes"], [ -+ LANPLUS_CFLAGS="$LANPLUS_CFLAGS -DHAVE_SHA256" -+]) - - dnl configure for EKANALYZER, build with ekanalyzer function enabled - AC_ARG_ENABLE([ekanalyzer], -- [ --enable-ekanalyzer build with ekanalyzer function enabled.], -- [if test "x$enableval" = "xyes"; then -+ AS_HELP_STRING([--enable-ekanalyzer], [build with ekanalyzer function enabled.]), -+ [], -+ [enable_ekanalyzer=no] -+ ) -+AS_IF([test "x$enable_ekanalyzer" = "xyes"], [ - OS_CFLAGS="$OS_CFLAGS -DHAVE_EKANAL" -- fi] -- ) -+ ]) - - GPL_CFLAGS="" - CROSS_LFLAGS="" -@@ -152,17 +165,20 @@ - SYSTEMD_DIR=/usr/share/ipmiutil - - AC_ARG_ENABLE([useflags], -- [ --enable-useflags include environment CFLAGS and LDFLAGS.], -- [if test "x$enableval" = "xyes"; then -+ AS_HELP_STRING([--enable-useflags], [include environment CFLAGS and LDFLAGS.]), -+ [], -+ [enable_useflags=no]) -+AS_IF([test "x$enable_useflags" = "xyes"], [ - CROSS_CFLAGS="$CFLAGS" - CROSS_LFLAGS="$LDFLAGS" -- fi] -- ) -+]) - - dnl configure for standalone, with no lanplus or GPL libs - AC_ARG_ENABLE([standalone], -- [ --enable-standalone build standalone, with no GPL or LanPlus libs.], -- [if test "x$enableval" = "xyes"; then -+ AS_HELP_STRING([--enable-standalone], [build standalone, with no GPL or LanPlus libs.]), -+ [], -+ [enable_standalone=no]) -+AS_IF([test "x$enable_standalone" = "xyes"], [ - GPL_CFLAGS="" - LANPLUS_CFLAGS="" - LANPLUS_LDADD="" -@@ -176,27 +192,30 @@ - # cross-compiling, so link with -static (e.g. Android ARM) - CROSS_LFLAGS="-static" - CROSS_CFLAGS="-DCROSS_COMPILE" -+ # TODO: how can this be effective? Configure only converts Makefile.in -> Makefile -+ # Configure does not convert Makefile.am->Makefile.in - sed -i -e 's/^# ipmiutil: $(METASOURCE:.c=.o)/ipmiutil:\t$(METASOURCE:.c=.o)\n\t$(CC) $(CFLAGS) $(LDFLAGS) -o ipmiutil $(METASOURCE:.c=.o) $(LDADD)/' util/Makefile.am - fi -- fi] -- ) -+ ]) - - dnl build libipmiutil with sensor modules - AC_ARG_ENABLE([libsensors], -- [ --enable-libsensors build libipmiutil with sensor modules [[default=no]]], -- [if test "x$enableval" = "xyes"; then -- LIBSENSORS="isensor2.o ievents2.o" -- SAM2OBJ="" -- fi] -- ) -+ AS_HELP_STRING([--enable-libsensors], [build libipmiutil with sensor modules (default=no)]), -+ [], -+ [enable_libsensors=no]) -+AS_IF([test "x$enable_libsensors" = "xyes"], [ -+ LIBSENSORS="isensor2.o ievents2.o" -+ SAM2OBJ="" -+ ]) - - dnl configure for GPL build or not (GPL files: md2.h, ipmi_ioctl.h) - AC_ARG_ENABLE([gpl], -- [ --enable-gpl build with some GPL code [[default=no]]], -- [if test "x$enableval" = "xyes"; then -- GPL_CFLAGS="-DALLOW_GPL" -- fi] -- ) -+ AS_HELP_STRING([--enable-gpl], [build with some GPL code (default=no)]), -+ [], -+ [enable_gpl=no]) -+AS_IF([test "x$enable_gpl" = "xyes"], [ -+ GPL_CFLAGS="-DALLOW_GPL" -+ ]) - - dnl Does this Linux have systemd enabled? Otherwise use sysv init. - AC_ARG_ENABLE([systemd], diff --git a/sys-apps/ipmiutil/files/ipmiutil-3.1.7-fix-configure.patch b/sys-apps/ipmiutil/files/ipmiutil-3.1.7-fix-configure.patch deleted file mode 100644 index 16435dacd6b7..000000000000 --- a/sys-apps/ipmiutil/files/ipmiutil-3.1.7-fix-configure.patch +++ /dev/null @@ -1,184 +0,0 @@ ---- ipmiutil-3.1.7/configure.ac -+++ ipmiutil-3.1.7/configure.ac -@@ -80,40 +80,46 @@ - # fi] - - drv_landesk=0 -+LANDESK_CFLAGS="" -+LANDESK_LDADD="" - dnl configure for LANDESK libipmiapi or not - AC_ARG_ENABLE([landesk], -- [ --enable-landesk adds landesk library support [[default=no]]], -- [if test "x$enableval" = "xyes"; then -- drv_landesk=1 -- LANDESK_CFLAGS="-DLINK_LANDESK" -- LANDESK_LDADD="-lipmiapi -L../lib" -- AC_SUBST(LANDESK_CFLAGS) -- AC_SUBST(LANDESK_LDADD) -- fi] -- ) -+ AS_HELP_STRING([--enable-landesk], [enable landesk support (default=no)]), -+ [], -+ [enable_landesk=no]) -+ -+AS_IF([test "x$enable_landesk" = "xyes"], [ -+ drv_landesk=1 -+ LANDESK_CFLAGS="-DLINK_LANDESK" -+ LANDESK_LDADD="-lipmiapi -L../lib" -+ AC_SUBST(LANDESK_CFLAGS) -+ AC_SUBST(LANDESK_LDADD) -+ ]) - - dnl Configure ipmiutil for lanplus (libipmi_lanplus.a) or not (default yes) - AC_ARG_ENABLE([lanplus], -- [ --enable-lanplus enable lanplus support (default=yes)],[default=yes], --[if test "x$enableval" = "xno"; then -- drv_lanplus="" -- LANPLUS_CFLAGS="" -- LANPLUS_LDADD="" -- LANPLUS_LIB="" -- LANPLUS_CRYPTO="" -- LANPLUS_SAM="no" -- LD_SAMX="" --else -+ AS_HELP_STRING([--disable-lanplus], [enable lanplus support (default=yes)]), -+ [], -+ [enable_lanplus=yes]) -+ -+drv_lanplus="" -+LANPLUS_CFLAGS="" -+LANPLUS_LDADD="" -+LANPLUS_LIB="" -+LANPLUS_CRYPTO="" -+LANPLUS_SAM="no" -+LD_SAMX="" -+AS_IF([test "x$enable_lanplus" = "xyes"], [ - drv_lanplus="lanplus" - LANPLUS_CFLAGS="-DHAVE_LANPLUS" - # LANPLUS_CFLAGS="-DHAVE_LANPLUS -I${projdir}/lib/lanplus/inc" - # LANPLUS_LDADD="-L../lib -lintf_lanplus -L/usr/local/lib -lcrypto" - LANPLUS_LDADD="-L../lib -lipmi_lanplus -L/usr/local/lib -lcrypto" -- LANPLUS_LIB="../lib/libipmi_lanplus.a" -+ LANPLUS_LIB="../lib/libipmi_lanplus.a" - LANPLUS_CRYPTO="-lcrypto" - LANPLUS_SAM="yes" - LD_SAMX="../lib/libipmi_lanplus.a -lcrypto" --fi ]) -+]) - - dnl Configure libipmiutil.a for lanplus or not - dnl Only SOL requires lanplus, so usually build libipmiutil.a without lanplus -@@ -128,21 +134,28 @@ - #fi - - # strings /lib/libssl.so* |grep EVP_sha256 --dnl configure for SHA256, build lanplus with SHA256 support, uses later openssl. -+dnl configure for SHA256, build lanplus with SHA256 support -+dnl requires openssl-1.0.1 which was released in 2012/03 - AC_ARG_ENABLE([sha256], -- [ --enable-sha256 build with SHA256 support, requires later openssl.], -- [if test "x$enableval" = "xyes"; then -- LANPLUS_CFLAGS="$LANPLUS_CFLAGS -DHAVE_SHA256" -- fi] -- ) -+ AS_HELP_STRING([--disable-sha256], [build with SHA256 support (default=yes)]), -+ dnl action if passed -+ [], -+ dnl action if not passed -+ [enable_sha256=yes] -+ ) -+AS_IF([test "x$enable_sha256" = "xyes"], [ -+ LANPLUS_CFLAGS="$LANPLUS_CFLAGS -DHAVE_SHA256" -+]) - - dnl configure for EKANALYZER, build with ekanalyzer function enabled - AC_ARG_ENABLE([ekanalyzer], -- [ --enable-ekanalyzer build with ekanalyzer function enabled.], -- [if test "x$enableval" = "xyes"; then -+ AS_HELP_STRING([--enable-ekanalyzer], [build with ekanalyzer function enabled.]), -+ [], -+ [enable_ekanalyzer=no] -+ ) -+AS_IF([test "x$enable_ekanalyzer" = "xyes"], [ - OS_CFLAGS="$OS_CFLAGS -DHAVE_EKANAL" -- fi] -- ) -+ ]) - - GPL_CFLAGS="" - CROSS_LFLAGS="" -@@ -152,17 +165,20 @@ - SYSTEMD_DIR=/usr/share/ipmiutil - - AC_ARG_ENABLE([useflags], -- [ --enable-useflags include environment CFLAGS and LDFLAGS.], -- [if test "x$enableval" = "xyes"; then -+ AS_HELP_STRING([--enable-useflags], [include environment CFLAGS and LDFLAGS.]), -+ [], -+ [enable_useflags=no]) -+AS_IF([test "x$enable_useflags" = "xyes"], [ - CROSS_CFLAGS="$CFLAGS" - CROSS_LFLAGS="$LDFLAGS" -- fi] -- ) -+]) - - dnl configure for standalone, with no lanplus or GPL libs - AC_ARG_ENABLE([standalone], -- [ --enable-standalone build standalone, with no GPL or LanPlus libs.], -- [if test "x$enableval" = "xyes"; then -+ AS_HELP_STRING([--enable-standalone], [build standalone, with no GPL or LanPlus libs.]), -+ [], -+ [enable_standalone=no]) -+AS_IF([test "x$enable_standalone" = "xyes"], [ - GPL_CFLAGS="" - LANPLUS_CFLAGS="" - LANPLUS_LDADD="" -@@ -176,10 +192,11 @@ - # cross-compiling, so link with -static (e.g. Android ARM) - CROSS_LFLAGS="-static" - CROSS_CFLAGS="-DCROSS_COMPILE" -+ # TODO: how can this be effective? Configure only converts Makefile.in -> Makefile -+ # Configure does not convert Makefile.am->Makefile.in - sed -i -e 's/^# ipmiutil: $(METASOURCE:.c=.o)/ipmiutil:\t$(METASOURCE:.c=.o)\n\t$(CC) $(CFLAGS) $(LDFLAGS) -o ipmiutil $(METASOURCE:.c=.o) $(LDADD)/' util/Makefile.am - fi -- fi] -- ) -+ ]) - - AC_ARG_ENABLE([doc], - [ --enable-doc build with documentation [[default=yes]]], -@@ -192,20 +209,22 @@ - - dnl build libipmiutil with sensor modules - AC_ARG_ENABLE([libsensors], -- [ --enable-libsensors build libipmiutil with sensor modules [[default=no]]], -- [if test "x$enableval" = "xyes"; then -- LIBSENSORS="isensor2.o ievents2.o" -- SAM2OBJ="" -- fi] -- ) -+ AS_HELP_STRING([--enable-libsensors], [build libipmiutil with sensor modules (default=no)]), -+ [], -+ [enable_libsensors=no]) -+AS_IF([test "x$enable_libsensors" = "xyes"], [ -+ LIBSENSORS="isensor2.o ievents2.o" -+ SAM2OBJ="" -+ ]) - - dnl configure for GPL build or not (GPL files: md2.h, ipmi_ioctl.h) - AC_ARG_ENABLE([gpl], -- [ --enable-gpl build with some GPL code [[default=no]]], -- [if test "x$enableval" = "xyes"; then -- GPL_CFLAGS="-DALLOW_GPL" -- fi] -- ) -+ AS_HELP_STRING([--enable-gpl], [build with some GPL code (default=no)]), -+ [], -+ [enable_gpl=no]) -+AS_IF([test "x$enable_gpl" = "xyes"], [ -+ GPL_CFLAGS="-DALLOW_GPL" -+ ]) - - dnl Does this Linux have systemd enabled? Otherwise use sysv init. - AC_ARG_ENABLE([systemd], |