svn commit: r376495 - in head/net-mgmt/icinga2: . files
Lars Engels
lme at FreeBSD.org
Wed Jan 7 19:43:41 UTC 2015
Author: lme
Date: Wed Jan 7 19:43:40 2015
New Revision: 376495
URL: https://svnweb.freebsd.org/changeset/ports/376495
QAT: https://qat.redports.org/buildarchive/r376495/
Log:
- Fix segfault at startup by hardcoding "--no-stack-rlimit" in lib/base/application.cpp
- Bump PORTREVISION
Noticed by: ohauer
Added:
head/net-mgmt/icinga2/files/patch-lib_base_application.cpp (contents, props changed)
Modified:
head/net-mgmt/icinga2/Makefile
Modified: head/net-mgmt/icinga2/Makefile
==============================================================================
--- head/net-mgmt/icinga2/Makefile Wed Jan 7 19:19:31 2015 (r376494)
+++ head/net-mgmt/icinga2/Makefile Wed Jan 7 19:43:40 2015 (r376495)
@@ -2,6 +2,7 @@
PORTNAME= icinga2
DISTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://github.com/Icinga/${PORTNAME}/archive/v${DISTVERSION}.tar.gz?dummy=/
Added: head/net-mgmt/icinga2/files/patch-lib_base_application.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/icinga2/files/patch-lib_base_application.cpp Wed Jan 7 19:43:40 2015 (r376495)
@@ -0,0 +1,14 @@
+--- lib/base/application.cpp.orig 2015-01-07 20:24:52.914349279 +0100
++++ lib/base/application.cpp 2015-01-07 20:28:25.822333330 +0100
+@@ -216,10 +216,7 @@
+ rl.rlim_max = RLIM_INFINITY;
+ }
+
+- if (set_stack_rlimit)
+- rl.rlim_cur = 256 * 1024;
+- else
+- rl.rlim_cur = rl.rlim_max;
++ rl.rlim_cur = rl.rlim_max;
+
+ if (setrlimit(RLIMIT_STACK, &rl) < 0)
+ Log(LogNotice, "Application", "Could not adjust resource limit for stack size (RLIMIT_STACK)");
More information about the svn-ports-all
mailing list