From owner-freebsd-java@FreeBSD.ORG Sun Sep 8 21:00:01 2013 Return-Path: Delivered-To: freebsd-java@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5177B2AD for ; Sun, 8 Sep 2013 21:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3EE222117 for ; Sun, 8 Sep 2013 21:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r88L01FS018685 for ; Sun, 8 Sep 2013 21:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r88L007L018308; Sun, 8 Sep 2013 21:00:00 GMT (envelope-from gnats) Date: Sun, 8 Sep 2013 21:00:00 GMT Message-Id: <201309082100.r88L007L018308@freefall.freebsd.org> To: freebsd-java@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/179927: commit references a PR X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Sep 2013 21:00:01 -0000 The following reply was made to PR ports/179927; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/179927: commit references a PR Date: Sun, 8 Sep 2013 20:56:44 +0000 (UTC) Author: crees Date: Sun Sep 8 20:56:37 2013 New Revision: 326770 URL: http://svnweb.freebsd.org/changeset/ports/326770 Log: The format for bind.address has changed, so document and alert users. At the same time, fix some errors for logging in the rc script. PR: ports/179927 Submitted by: Alexander Yerenkow (maintainer) Added: head/java/jboss72/pkg-message (contents, props changed) Modified: head/java/jboss72/Makefile head/java/jboss72/files/jboss72.in Modified: head/java/jboss72/Makefile ============================================================================== --- head/java/jboss72/Makefile Sun Sep 8 20:01:03 2013 (r326769) +++ head/java/jboss72/Makefile Sun Sep 8 20:56:37 2013 (r326770) @@ -55,6 +55,9 @@ do-build: do-install: ${MKDIR} ${PREFIX}/${DISTNAME} && cd ${JBOSSOUTPUT} && ${FIND} . | ${CPIO} -pdmu -R ${USER}:${GROUP} ${PREFIX}/${DISTNAME} +post-install: + @${CAT} ${PKGMESSAGE} + .include .if ${OSVERSION} < 800000 Modified: head/java/jboss72/files/jboss72.in ============================================================================== --- head/java/jboss72/files/jboss72.in Sun Sep 8 20:01:03 2013 (r326769) +++ head/java/jboss72/files/jboss72.in Sun Sep 8 20:56:37 2013 (r326770) @@ -11,9 +11,9 @@ # Add the following lines to /etc/rc.conf to enable %%APP_SHORTNAME%%: # %%APP_SHORTNAME%%_enable (bool): Set to "YES" to enable %%APP_SHORTNAME%% -# %%APP_SHORTNAME%%_jvm_opts (str): Extra JVM flags. # %%APP_SHORTNAME%%_args (str): Optional arguments to JBoss -# %%APP_SHORTNAME%%_logging (str) JBoss log output. A pipe command may be used. +# %%APP_SHORTNAME%%_log_stdout (str) JBoss log output stdout, filename. +# %%APP_SHORTNAME%%_log_stderr (str) JBoss log output stderr, filename. # . /etc/rc.subr @@ -24,7 +24,9 @@ rcvar=%%APP_SHORTNAME%%_enable load_rc_config $name %%APP_SHORTNAME%%_enable="${%%APP_SHORTNAME%%_enable:-"NO"}" -%%APP_SHORTNAME%%_logging="${%%APP_SHORTNAME%%_logging:-">> ${%%APP_SHORTNAME%%_logdir}/stdout.log 2>> ${%%APP_SHORTNAME%%_logdir}/stderr.log"}" +%%APP_SHORTNAME%%_log_stdout="${%%APP_SHORTNAME%%_log_stdout:-"${%%APP_SHORTNAME%%_logdir}/stdout.log"}" +%%APP_SHORTNAME%%_log_stderr="${%%APP_SHORTNAME%%_log_stderr:-"${%%APP_SHORTNAME%%_logdir}/stderr.log"}" +%%APP_SHORTNAME%%_args="${%%APP_SHORTNAME%%_args:-""}" %%APP_SHORTNAME%%_sleep="${%%APP_SHORTNAME%%_sleep:-"5"}" %%APP_SHORTNAME%%_kill9="${%%APP_SHORTNAME%%_kill9:-""}" %%APP_SHORTNAME%%_additional_killall="${%%APP_SHORTNAME%%_additional_killall:-""}" @@ -45,7 +47,7 @@ JBOSS_HOME="%%APP_HOME%%" fi echo "Starting %%APP_SHORTNAME%%." - daemon -u ${%%APP_SHORTNAME%%_user} ${JBOSS_HOME}/bin/standalone.sh ${%%APP_SHORTNAME%%_logging} >> ${%%APP_SHORTNAME%%_logdir}/boot.log 2>> ${%%APP_SHORTNAME%%_logdir}/boot.log + daemon -u ${%%APP_SHORTNAME%%_user} ${JBOSS_HOME}/bin/standalone.sh ${%%APP_SHORTNAME%%_args} >> ${%%APP_SHORTNAME%%_log_stdout} 2>> ${%%APP_SHORTNAME%%_log_stderr} >> ${%%APP_SHORTNAME%%_logdir}/boot.log 2>> ${%%APP_SHORTNAME%%_logdir}/boot.log sleep ${%%APP_SHORTNAME%%_sleep} # let daemon(8) and sh(1) finish before executing pgrep(1) pgrep -U ${%%APP_SHORTNAME%%_user} -f ${JBOSS_HOME}/modules > ${pidfile} Added: head/java/jboss72/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/java/jboss72/pkg-message Sun Sep 8 20:56:37 2013 (r326770) @@ -0,0 +1,8 @@ +To make JBoss bind to all interfaces add this to /etc/rc.conf: + +jboss72_args="-Djboss.bind.address=0.0.0.0" + +Old format (-b 0.0.0.0 are not working in 7.2). + +You can also specify any other tunables which could be parsed by start scripts. +To change JVM args, edit appropriate standalone.conf. _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"