From owner-freebsd-ports@freebsd.org Thu Sep 1 15:28:27 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BA5FBCB8EB for ; Thu, 1 Sep 2016 15:28:27 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2001:608:a02::33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4027C8F2 for ; Thu, 1 Sep 2016 15:28:27 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (unknown [IPv6:2001:a61:129f:ef01:dacb:8aff:febf:62dd]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 44BEE5C6580; Thu, 1 Sep 2016 17:28:24 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de 44BEE5C6580 Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1472743704; bh=nu3fuZDUwWOjEfJ3luO1T6A1AEwecDVaI/QDW7Kd4Mk=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=vNMeKb0jRmcVVaognfWjieCJF4v9tsMWwHKitWagdZ89cgXd5Q+SVqclHc3D/7Nq4 zc27LrEQkk8g+mPm9bGtpRX/sA16I2EQ2nAZ1+YtlnAmgMIsIvSpXS8cyD0eNlQcxE m+2m33hEfdO0UU3GhxK+eGu03jWQeR0ADHiY91mI= Received: from [192.168.0.151] (aftr-88-217-181-200.dynamic.mnet-online.de [88.217.181.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id 37BDE55FF60; Thu, 1 Sep 2016 17:28:22 +0200 (CEST) Subject: Re: apache-solr PR: 201455 (I think 212104 blocks usage of apache-solr) To: Kurt Jaeger References: <403d02ce-a9be-acc6-2d3e-ca24fb267399@fechner.net> <6af81830-d841-b1fa-e5b2-53ea06403153@fechner.net> <20160901132915.GJ96200@home.opsec.eu> Cc: freebsd-ports@freebsd.org From: Matthias Fechner Message-ID: <91a30d2b-ff04-c2a9-280b-ebb51320424b@fechner.net> Date: Thu, 1 Sep 2016 17:28:07 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20160901132915.GJ96200@home.opsec.eu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2016 15:28:27 -0000 Hi, Am 01.09.2016 um 15:29 schrieb Kurt Jaeger: > Yes, please. It was me who messed up that port, sorry for that. > The startup and config is still messy, it does not look easy. > I started with the port and have it running. The current version can be found here: https://github.com/idefix6/freebsd-apache-solr/tree/6.2.0 Upstream was a lot changed and I'm not sure how to tackle this: - directory structure was changed completely (currently I have everything under /usr/local/solr which does not respect hier but for the first step it should be fine) - solr uses now its own startup script and I see no reason to write this script again -> so I will use the bash script to start solr I changed the current startup script that it can start a solr instance without problems. But the startup script does not return the PID and I'm not sure how to handle, so stopping the solr instance via FreeBSD startup script is not possible. What is here best practise? Gru=DF Matthias --=20 "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook