SHA256
1
0
forked from pool/ipmitool
OBS User unknown 2008-10-14 17:04:59 +00:00 committed by Git OBS Bridge
parent 557cede139
commit c811467632
3 changed files with 52 additions and 12 deletions

View File

@ -0,0 +1,37 @@
Index: lib/ipmi_sdradd.c
===================================================================
--- lib/ipmi_sdradd.c.orig 2007-07-11 16:27:46.000000000 +0200
+++ lib/ipmi_sdradd.c 2008-10-14 17:51:50.000000000 +0200
@@ -38,6 +38,7 @@
#include <stdio.h>
#include <time.h>
#include <fcntl.h>
+#include <unistd.h>
#include <ipmitool/helper.h>
#include <ipmitool/log.h>
Index: lib/ipmi_hpmfwupg.c
===================================================================
--- lib/ipmi_hpmfwupg.c.orig 2008-10-14 17:50:09.000000000 +0200
+++ lib/ipmi_hpmfwupg.c 2008-10-14 18:06:44.000000000 +0200
@@ -40,6 +40,8 @@
#include "../src/plugins/lan/md5.h"
#include <stdio.h>
#include <time.h>
+#include <ctype.h>
+#include <unistd.h>
#if HAVE_CONFIG_H
#include <config.h>
Index: configure.in
===================================================================
--- configure.in.orig 2008-08-07 20:26:08.000000000 +0200
+++ configure.in 2008-10-14 18:12:43.000000000 +0200
@@ -25,6 +25,7 @@ AC_CHECK_HEADERS([sys/byteorder.h bytesw
AC_C_CONST
AC_C_INLINE
AC_C_BIGENDIAN
+AC_GNU_SOURCE
AC_FUNC_MALLOC
AC_FUNC_SELECT_ARGTYPES

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 14 18:21:55 CEST 2008 - crrodriguez@suse.de
- fix implicit-fortify-decl errors
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 26 13:55:29 CEST 2008 - duwe@suse.de Fri Sep 26 13:55:29 CEST 2008 - duwe@suse.de

View File

@ -23,11 +23,12 @@ BuildRequires: openssl-devel readline-devel
Url: http://ipmitool.sourceforge.net/ Url: http://ipmitool.sourceforge.net/
Summary: Utility for IPMI Control Summary: Utility for IPMI Control
Version: 1.8.10 Version: 1.8.10
Release: 2 Release: 3
License: BSD 3-Clause License: BSD 3-Clause
Group: System/Management Group: System/Management
Source: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 Source: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
Patch: compile-fixes Patch: compile-fixes
Patch1: ipmitool-1.8.10-implicit-fortify-decl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -49,20 +50,15 @@ and setting LAN configuration, and chassis power control.
%prep %prep
%setup %setup -q
%patch -p1 %patch -p1
%patch1
%build %build
CFLAGS="$RPM_OPT_FLAGS" ./configure \ touch INSTALL NEWS
--prefix=%{_prefix} \ autoreconf -fiv
--bindir=%{_bindir} \ %configure --with-pic
--sbindir=%{_sbindir} \ %{__make} %{?jobs:-j%jobs}
--datadir=%{_datadir} \
--includedir=%{_includedir} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir}
make
%install %install
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
@ -82,6 +78,8 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man8/* %doc %{_mandir}/man8/*
%changelog %changelog
* Tue Oct 14 2008 crrodriguez@suse.de
- fix implicit-fortify-decl errors
* Fri Sep 26 2008 duwe@suse.de * Fri Sep 26 2008 duwe@suse.de
- fix ugly code and sloppy programming found by RPMlint - fix ugly code and sloppy programming found by RPMlint
* Fri Sep 12 2008 duwe@suse.de * Fri Sep 12 2008 duwe@suse.de