From owner-freebsd-ports@freebsd.org Wed Aug 22 15:47:35 2018 Return-Path: Delivered-To: freebsd-ports@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 D8920108C4A0 for ; Wed, 22 Aug 2018 15:47:35 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A2B37A86E; Wed, 22 Aug 2018 15:47:34 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id w7MFlMCc075625 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 22 Aug 2018 17:47:29 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: net-mgmt/ocsinventory-ng To: Kurt Jaeger Cc: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= , kurt.buff@gmail.com, FreeBSD Mailing List References: <408a8527-c5a1-7b72-67a5-76fd966e5b4f@netfence.it> <0c72aa4f-8635-8f8a-8c56-2c621c3ec80d@netfence.it> <20180818075747.GP2118@home.opsec.eu> From: Andrea Venturoli Message-ID: Date: Wed, 22 Aug 2018 17:47:22 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180818075747.GP2118@home.opsec.eu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2018 15:47:36 -0000 On 8/18/18 9:57 AM, Kurt Jaeger wrote: > Hi! > >> Finally the setup.sh script fails with "cp: ocsreports/*: No such file >> or directory". You mentioned ocsreports is not included? Could you >> please explain this? > > Attached to > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227550 > > is the diff for the new port net-mgmt/ocsinventory-ocsreports as > > https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192559 > > This is probably a dependency. > Thanks. However, even after installing this new port, my setup.sh run ends with an error. Last lines of the logs: > Creating PHP directory /usr/local/share/ocsinventory-reports/ocsreports > Copying PHP files to /usr/local/share/ocsinventory-reports/ocsreports > cp: ocsreports/*: No such file or directory Is setup.sh the suggested way to go? Or should I install the management interface manually? Can't I just point apache to serve files directly from /usr/local/www/ocsreports (where the port installed them)? Should I? Wouldn't this make maintenance/upgrades easier? bye & Thanks av.