From owner-freebsd-ports@FreeBSD.ORG Thu Jun 7 16:15:17 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 892D716A400 for ; Thu, 7 Jun 2007 16:15:17 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp2.utdallas.edu (smtp2.utdallas.edu [129.110.10.33]) by mx1.freebsd.org (Postfix) with ESMTP id 6DF0F13C465 for ; Thu, 7 Jun 2007 16:15:17 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp2.utdallas.edu (Postfix) with ESMTP id 0CBFB5C2BA for ; Thu, 7 Jun 2007 11:15:17 -0500 (CDT) Date: Thu, 07 Jun 2007 11:15:17 -0500 From: Paul Schmehl To: FreeBSD Ports Message-ID: X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========E7914B07E8AE607F1349==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: An install conundrum X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 16:15:17 -0000 --==========E7914B07E8AE607F1349========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm working on an update to security/bro, and I plan to take over=20 maintainership. However, I've run into a problem that I don't know how to=20 solve. By default this program installs everything in /usr/local/bro. This=20 includes the docs, the binaries, the libraries, includes, everything. I=20 can use configure args to define datadir, bindir, sysconfdir, libdir and=20 includedir, but that leaves the rest of the programs directories installing = in /usr/local. The program creates a number of directories, including=20 archive, logs, policy, reports, scripts, site and var. If I use the configure arg --prefix=3D${PREFIX}/bro, that solves the = problem=20 of the "extra" dirs and files, but then it changes --prefix, and so the=20 bindir, etc. is now in the wrong place again. Has anyone run across this type of problem? If so, how do you solve it? --=20 Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========E7914B07E8AE607F1349==========--