Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2020 11:32:30 +0000 (UTC)
From:      =?UTF-8?Q?Vin=c3=adcius_Zavam?= <egypcio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553185 - in head/sysutils/openipmi: . files
Message-ID:  <202010241132.09OBWUPF019387@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: egypcio
Date: Sat Oct 24 11:32:30 2020
New Revision: 553185
URL: https://svnweb.freebsd.org/changeset/ports/553185

Log:
  sysutils/openipmi: update 2.0.28 to 2.0.29
  
    * sourceforge.net/p/openipmi/code/commit_browser
      - 2.0.28 == 1666c8d5a4ee8874
      - 2.0.29 == 7a1d1ce556ce5d3d
  
    files/patch-unix_selector.c:
      - upstream reworked previous patch changes, we removed those changes;
      - patch was updated to handle the non-existing 'EBADFD' errno;
      - 'EBADFD' is Solaris/Linux specific, as per "bsm/audit_errno.h"

Modified:
  head/sysutils/openipmi/Makefile
  head/sysutils/openipmi/distinfo
  head/sysutils/openipmi/files/patch-unix_selector.c

Modified: head/sysutils/openipmi/Makefile
==============================================================================
--- head/sysutils/openipmi/Makefile	Sat Oct 24 11:30:11 2020	(r553184)
+++ head/sysutils/openipmi/Makefile	Sat Oct 24 11:32:30 2020	(r553185)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	openipmi
-PORTVERSION=	2.0.28
+PORTVERSION=	2.0.29
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME}/OpenIPMI%202.0%20Library
 DISTNAME=	OpenIPMI-${PORTVERSION}

Modified: head/sysutils/openipmi/distinfo
==============================================================================
--- head/sysutils/openipmi/distinfo	Sat Oct 24 11:30:11 2020	(r553184)
+++ head/sysutils/openipmi/distinfo	Sat Oct 24 11:32:30 2020	(r553185)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1578057982
-SHA256 (OpenIPMI-2.0.28.tar.gz) = 8e8b1de2a9a041b419133ecb21f956e999841cf2e759e973eeba9a36f8b40996
-SIZE (OpenIPMI-2.0.28.tar.gz) = 3118911
+TIMESTAMP = 1603534455
+SHA256 (OpenIPMI-2.0.29.tar.gz) = 2244124579afb14e569f34393e9ac61e658a28b6ffa8e5c0d2c1c12a8ce695cd
+SIZE (OpenIPMI-2.0.29.tar.gz) = 3119530

Modified: head/sysutils/openipmi/files/patch-unix_selector.c
==============================================================================
--- head/sysutils/openipmi/files/patch-unix_selector.c	Sat Oct 24 11:30:11 2020	(r553184)
+++ head/sysutils/openipmi/files/patch-unix_selector.c	Sat Oct 24 11:32:30 2020	(r553185)
@@ -1,16 +1,14 @@
---- unix/selector.c.orig	2018-12-28 13:36:00 UTC
+--- unix/selector.c.orig	2020-10-24 10:59:38 UTC
 +++ unix/selector.c
-@@ -459,7 +459,13 @@ i_sel_clear_fd_handler(struct selector_s
- 	fdc->state = NULL;
- 
- 	sel_update_epoll(sel, fd, EPOLL_CTL_DEL, 0);
-+	/* We do not set HAVE_EPOLL_PWAIT, so 'fd_control_s' will never
-+	 * have 'saved_events', and sel_update_epoll() will always return 1.
-+	 * 
-+	 * See lines 340 (HAVE_EPOLL_PWAIT), and 369 (no HAVE_EPOLL_PWAIT).
-+	 *
- 	fdc->saved_events = 0;
+@@ -1030,7 +1030,10 @@ process_fds(struct selector_s	    *sel,
+ 		  &tmp_except_set,
+ 		  &ts, &sigmask);
+     if (err < 0) {
+-	if (errno == EBADF || errno == EBADFD)
++	/* We do not have EBADFD, as it is Solaris and Linux specific;
++	 * if (errno == EBADF || errno == EBADFD)
 +	 */
-     }
- 
-     init_fd(fdc);
++	if (errno == EBADF)
+ 	    /* We raced, just retry it. */
+ 	    goto retry;
+ 	goto out;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010241132.09OBWUPF019387>