From owner-svn-ports-head@freebsd.org Fri Dec 21 20:51:20 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53014135697E; Fri, 21 Dec 2018 20:51:20 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE21283A9A; Fri, 21 Dec 2018 20:51:19 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DB3711ABF4; Fri, 21 Dec 2018 20:51:19 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBLKpJOQ024074; Fri, 21 Dec 2018 20:51:19 GMT (envelope-from dch@FreeBSD.org) Received: (from dch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBLKpJXL024072; Fri, 21 Dec 2018 20:51:19 GMT (envelope-from dch@FreeBSD.org) Message-Id: <201812212051.wBLKpJXL024072@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dch set sender to dch@FreeBSD.org using -f From: Dave Cottlehuber Date: Fri, 21 Dec 2018 20:51:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488025 - in head/databases/couchdb2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: dch X-SVN-Commit-Paths: in head/databases/couchdb2: . files X-SVN-Commit-Revision: 488025 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EE21283A9A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2018 20:51:20 -0000 Author: dch Date: Fri Dec 21 20:51:19 2018 New Revision: 488025 URL: https://svnweb.freebsd.org/changeset/ports/488025 Log: databases/couchdb2: detach stdout from daemon invocation When CouchDB is started whithout a parent tty, for example, via ssh, the daemon invocation retains a connection to stdout, thus blocking disconnection of the ssh command. The Erlang VM provides a `-detach` flag for avoiding this situation. Add additional notes on debugging to the config file to aid users. PR: 234100 Reported by: Reshad Patuck Reviewed by: Reshad Patuck Approved by: jrm (mentor) Added: head/databases/couchdb2/files/patch-rel_overlay_etc_vm.args (contents, props changed) Modified: head/databases/couchdb2/Makefile Modified: head/databases/couchdb2/Makefile ============================================================================== --- head/databases/couchdb2/Makefile Fri Dec 21 20:32:04 2018 (r488024) +++ head/databases/couchdb2/Makefile Fri Dec 21 20:51:19 2018 (r488025) @@ -3,7 +3,7 @@ PORTNAME= couchdb2 DISTVERSION= 2.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= APACHE/couchdb/source/${DISTVERSION} DISTNAME= apache-couchdb-${DISTVERSION} Added: head/databases/couchdb2/files/patch-rel_overlay_etc_vm.args ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/couchdb2/files/patch-rel_overlay_etc_vm.args Fri Dec 21 20:51:19 2018 (r488025) @@ -0,0 +1,14 @@ +--- rel/overlay/etc/vm.args.orig 2018-12-19 09:30:35 UTC ++++ rel/overlay/etc/vm.args +@@ -43,9 +43,9 @@ + # Start a pool of asynchronous IO threads + +A 16 + +-# Comment this line out to enable the interactive Erlang shell on startup ++# Comment these lines out to enable the interactive Erlang shell on startup + +Bd -noinput +- ++-detached + # Force use of the smp scheduler, fixes #1296 + -smp enable +