svn commit: r351353 - in head/ports-mgmt/pkg-devel: . files

Baptiste Daroussin bapt at FreeBSD.org
Tue Apr 15 17:24:29 UTC 2014


Author: bapt
Date: Tue Apr 15 17:24:28 2014
New Revision: 351353
URL: http://svnweb.freebsd.org/changeset/ports/351353
QAT: https://qat.redports.org/buildarchive/r351353/

Log:
  New patch to avoid tons of cores to be created in case of bad failures
  
  This time bump portrevision

Added:
  head/ports-mgmt/pkg-devel/files/patch-signal   (contents, props changed)
Modified:
  head/ports-mgmt/pkg-devel/Makefile

Modified: head/ports-mgmt/pkg-devel/Makefile
==============================================================================
--- head/ports-mgmt/pkg-devel/Makefile	Tue Apr 15 17:08:46 2014	(r351352)
+++ head/ports-mgmt/pkg-devel/Makefile	Tue Apr 15 17:24:28 2014	(r351353)
@@ -2,6 +2,7 @@
 
 PORTNAME=	pkg
 DISTVERSION=	1.3.0.a8
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	\
 		http://files.etoilebsd.net/pkg/ \

Added: head/ports-mgmt/pkg-devel/files/patch-signal
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/pkg-devel/files/patch-signal	Tue Apr 15 17:24:28 2014	(r351353)
@@ -0,0 +1,15 @@
+diff --git src/main.c src/main.c
+index b5c5320..2398687 100644
+--- src/main.c
++++ src/main.c
+@@ -444,6 +444,10 @@ start_process_worker(void)
+ 
+ 			if (WIFEXITED(status) && ret != EX_NEEDRESTART)
+ 				break;
++			if (WIFSIGNALED(status)) {
++				/* Process got some terminating signal, hence stop the loop */
++				break;
++			}
+ 		}
+ 	}
+ 


More information about the svn-ports-all mailing list