SF.net SVN: gar:[25582] csw/mgar/pkg/freeipmi/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Feb 26 14:26:15 CET 2016


Revision: 25582
          http://sourceforge.net/p/gar/code/25582
Author:   dmichelsen
Date:     2016-02-26 13:26:15 +0000 (Fri, 26 Feb 2016)
Log Message:
-----------
freeipmi/trunk: Update to 1.5.1

Modified Paths:
--------------
    csw/mgar/pkg/freeipmi/trunk/Makefile
    csw/mgar/pkg/freeipmi/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/freeipmi/trunk/files/0001-Disable-optimization-for-now.patch

Removed Paths:
-------------
    csw/mgar/pkg/freeipmi/trunk/files/0001-Add-missing-sighandler_t-on-Solaris.patch

Modified: csw/mgar/pkg/freeipmi/trunk/Makefile
===================================================================
--- csw/mgar/pkg/freeipmi/trunk/Makefile	2016-02-24 18:13:18 UTC (rev 25581)
+++ csw/mgar/pkg/freeipmi/trunk/Makefile	2016-02-26 13:26:15 UTC (rev 25582)
@@ -2,43 +2,68 @@
 # TODO (release-critical prefixed with !, non release-critical with *)
 #
 NAME = freeipmi
-VERSION = 1.2.5
+VERSION = 1.5.1
 
 DESCRIPTION = IPMI software based on the IPMI v1.5/2.0 specification
 
 MASTER_SITES = $(GNU_MIRROR)
 DISTFILES += $(DISTNAME).tar.gz
 
-# This should better be detected during autoconf time
-PATCHFILES += 0001-Add-missing-sighandler_t-on-Solaris.patch
+PATCHFILES += 0001-Disable-optimization-for-now.patch
 
 VENDOR_URL = http://www.gnu.org/software/freeipmi/index.html
 
 PACKAGES += CSWfreeipmi
 SPKG_DESC_CSWfreeipmi = IPMI software based on the IPMI v1.5/2.0 specification
-RUNTIME_DEP_PKGS_CSWfreeipmi += CSWlibgcc-s1
-RUNTIME_DEP_PKGS_CSWfreeipmi += CSWlibgcrypt11
+RUNTIME_DEP_PKGS_CSWfreeipmi += CSWlibipmiconsole2
+RUNTIME_DEP_PKGS_CSWfreeipmi += CSWlibipmidetect0
+RUNTIME_DEP_PKGS_CSWfreeipmi += CSWlibfreeipmi17
 RUNTIME_DEP_PKGS_CSWfreeipmi += CSWperl
 
-# I don't care for now
-CHECKPKG_OVERRIDES_CSWfreeipmi += file-with-bad-content|/usr/local|root/opt/csw/share/doc/freeipmi/README.build
-CHECKPKG_OVERRIDES_CSWfreeipmi += file-with-bad-content|/usr/local|root/opt/csw/share/doc/freeipmi/INSTALL
-CHECKPKG_OVERRIDES_CSWfreeipmi += file-with-bad-content|/usr/local|root/opt/csw/share/doc/freeipmi/ChangeLog
-CHECKPKG_OVERRIDES_CSWfreeipmi += file-with-bad-content|/usr/share|root/opt/csw/share/doc/freeipmi/README.build
-CHECKPKG_OVERRIDES_CSWfreeipmi += file-with-bad-content|/usr/share|root/opt/csw/share/doc/freeipmi/contrib/pet/README
-CHECKPKG_OVERRIDES_CSWfreeipmi += shared-lib-pkgname-mismatch
-CHECKPKG_OVERRIDES_CSWfreeipmi += shared-lib-package-contains-so-symlink
-CHECKPKG_OVERRIDES_CSWfreeipmi += init-file-missing-cswinitsmf-class|/etc/opt/csw/init.d/bmc-watchdog|class=none
-CHECKPKG_OVERRIDES_CSWfreeipmi += init-file-missing-cswinitsmf-class|/etc/opt/csw/init.d/ipmidetectd|class=none
-CHECKPKG_OVERRIDES_CSWfreeipmi += init-file-missing-cswinitsmf-class|/etc/opt/csw/init.d/ipmiseld|class=none
+PACKAGES += CSWlibfreeipmi17
+SPKG_DESC_CSWlibfreeipmi17 = FreeIPMI library, libfreeipmi.so.17
+PKGFILES_CSWlibfreeipmi17 += $(call pkgfiles_lib,libfreeipmi.so.17)
+RUNTIME_DEP_PKGS_CSWlibfreeipmi17 += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibfreeipmi17 += CSWlibgcrypt20
 
-GARCOMPILER = GCC4
+PACKAGES += CSWlibipmiconsole2
+SPKG_DESC_CSWlibipmiconsole2 = FreeIPMI library, libipmiconsole.so.2
+PKGFILES_CSWlibipmiconsole2 += $(call pkgfiles_lib,libipmiconsole.so.2)
+RUNTIME_DEP_PKGS_CSWlibipmiconsole2 += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibipmiconsole2 += CSWlibfreeipmi17
 
+PACKAGES += CSWlibipmidetect0
+SPKG_DESC_CSWlibipmidetect0 = FreeIPMI library, libipmidetect.so.0
+PKGFILES_CSWlibipmidetect0 += $(call pkgfiles_lib,libipmidetect.so.0)
+RUNTIME_DEP_PKGS_CSWlibipmidetect0 += CSWlibgcc-s1
+
+PACKAGES += CSWlibipmimonitoring5
+SPKG_DESC_CSWlibipmimonitoring5 = FreeIPMI library, libipmimonitoring.so.5
+PKGFILES_CSWlibipmimonitoring5 += $(call pkgfiles_lib,libipmimonitoring.so.5)
+RUNTIME_DEP_PKGS_CSWlibipmimonitoring5 += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibipmimonitoring5 += CSWlibfreeipmi17
+
+PACKAGES += CSWlibfreeipmi-dev
+SPKG_DESC_CSWlibfreeipmi-dev = Development files for libfreeipmi.so.17 and assorted libs
+PKGFILES_CSWlibfreeipmi-dev += $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWlibfreeipmi-dev += CSWlibfreeipmi17
+RUNTIME_DEP_PKGS_CSWlibfreeipmi-dev += CSWlibipmiconsole2
+RUNTIME_DEP_PKGS_CSWlibfreeipmi-dev += CSWlibipmidetect0
+RUNTIME_DEP_PKGS_CSWlibfreeipmi-dev += CSWlibipmimonitoring5
+
+GARCOMPILER = GNU
+
+BUILD64_LIBS_ONLY = 1
+
 CONFIGURE_ARGS = $(DIRPATHS)
 
 # Otherwise it falls back to gcc which interprets the manpage as C code
 EXTRA_CONFIGURE_EXPORTS += CPP
-CONFIGURE_ENV_CPP = $(bindir)/cpp
+CONFIGURE_ENV_CPP = $(bindir_install)/cpp
 
+INITSMF += $(sysconfdir)/init.d/bmc-watchdog
+INITSMF += $(sysconfdir)/init.d/ipmidetectd
+INITSMF += $(sysconfdir)/init.d/ipmiseld
+
 include gar/category.mk
 

Modified: csw/mgar/pkg/freeipmi/trunk/checksums
===================================================================
--- csw/mgar/pkg/freeipmi/trunk/checksums	2016-02-24 18:13:18 UTC (rev 25581)
+++ csw/mgar/pkg/freeipmi/trunk/checksums	2016-02-26 13:26:15 UTC (rev 25582)
@@ -1 +1 @@
-d8441fe365b631c61c7b78a96242763c  freeipmi-1.2.5.tar.gz
+19794bf257820dd2ef33520f75d51d35  freeipmi-1.5.1.tar.gz

Deleted: csw/mgar/pkg/freeipmi/trunk/files/0001-Add-missing-sighandler_t-on-Solaris.patch
===================================================================
--- csw/mgar/pkg/freeipmi/trunk/files/0001-Add-missing-sighandler_t-on-Solaris.patch	2016-02-24 18:13:18 UTC (rev 25581)
+++ csw/mgar/pkg/freeipmi/trunk/files/0001-Add-missing-sighandler_t-on-Solaris.patch	2016-02-26 13:26:15 UTC (rev 25582)
@@ -1,25 +0,0 @@
-From 914449712a08ff8797249162e2e32e8ffaa71d93 Mon Sep 17 00:00:00 2001
-From: Dagobert Michelsen <dam at opencsw.org>
-Date: Sat, 6 Apr 2013 19:32:26 +0200
-Subject: [PATCH] Add missing sighandler_t on Solaris
-
----
- common/toolcommon/tool-daemon-common.h | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/common/toolcommon/tool-daemon-common.h b/common/toolcommon/tool-daemon-common.h
-index a436bcb..eaaf4fa 100644
---- a/common/toolcommon/tool-daemon-common.h
-+++ b/common/toolcommon/tool-daemon-common.h
-@@ -24,6 +24,8 @@
- 
- int daemonize_common (const char *pidfile);
- 
-+typedef void (*sighandler_t)(int);
-+
- /* can pass NULL for no callback */
- int daemon_signal_handler_setup (sighandler_t cb);
- 
--- 
-1.8.1.4
-

Added: csw/mgar/pkg/freeipmi/trunk/files/0001-Disable-optimization-for-now.patch
===================================================================
--- csw/mgar/pkg/freeipmi/trunk/files/0001-Disable-optimization-for-now.patch	                        (rev 0)
+++ csw/mgar/pkg/freeipmi/trunk/files/0001-Disable-optimization-for-now.patch	2016-02-26 13:26:15 UTC (rev 25582)
@@ -0,0 +1,28 @@
+From a527851d2d69a8ee05e5eb0c40682341cc731be8 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 26 Feb 2016 11:18:31 +0100
+Subject: [PATCH] Disable optimization for now
+
+---
+ common/portability/freeipmi-argp-fmtstream.h | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/common/portability/freeipmi-argp-fmtstream.h b/common/portability/freeipmi-argp-fmtstream.h
+index 62a1152..1b1a44b 100644
+--- a/common/portability/freeipmi-argp-fmtstream.h
++++ b/common/portability/freeipmi-argp-fmtstream.h
+@@ -192,7 +192,10 @@ extern void __argp_fmtstream_update (argp_fmtstream_t __fs);
+ extern int _argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
+ extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
+ 
+-#ifdef __OPTIMIZE__
++/* Disable optimization as suggested in
++ *   https://dev.openwrt.org/browser/trunk/package/libs/argp-standalone/patches/002-no_optimize.patch?rev=46813
++ */
++#if 0
+ /* Inline versions of above routines.  */
+ 
+ #if !_LIBC
+-- 
+2.4.0
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list