From owner-freebsd-ports@FreeBSD.ORG Fri Jul 6 19:58:23 2007 Return-Path: X-Original-To: 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 E67F516A46B for ; Fri, 6 Jul 2007 19:58:22 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id BF5E513C457 for ; Fri, 6 Jul 2007 19:58:22 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from [172.16.1.35] (unknown [76.210.34.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id 88DED66A01; Fri, 6 Jul 2007 14:58:21 -0500 (CDT) Date: Fri, 06 Jul 2007 14:58:20 -0500 From: Paul Schmehl To: Wesley Shields Message-ID: <53E14D50C561CDF5A571FE4A@[172.16.1.35]> In-Reply-To: <20070705132104.GI46809@atarininja.org> References: <20070703182834.GA70894@bewilderbeast.blackhelicopters.org> <131F5B7A274BB3D15F1D1B70@utd59514.utdallas.edu> <20070704132845.GA76491@bewilderbeast.blackhelicopters.org> <20070704144933.GG57271@e.0x20.net> <7DC8544585C7B7B23C7374CA@paul-schmehls-powerbook59.local> <20070705132104.GI46809@atarininja.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========46C3803F1E8A693C2288==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: Re: My First Port 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: Fri, 06 Jul 2007 19:58:23 -0000 --==========46C3803F1E8A693C2288========== Content-Type: multipart/mixed; boundary="==========46B3A4C5DC5BB4135734==========" --==========46B3A4C5DC5BB4135734========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On July 5, 2007 9:21:04 AM -0400 Wesley Shields =20 wrote: >> > >> Speaking of difficult ports..... >> >> I'm working on the upgrade to security/bro. It's a royal PITA. The >> author hardcodes destinations for everything so that the software >> doesn't follow FreeBSD conventions at all, *and* there's no "master" >> setting that you can alter in configure or the top level Makefile.in >> file. So, I've had to edit almost every Makefile.in in the distro to >> get the darn thing to behave. Even the docs don't want to install >> where they should! >> > > Paul, > > As I mentioned before, I took a stab at this port a while ago and came > to the same conclusions. I'll gladly take a look at where you are and > see if I can help you out at all. Can you send a patch of where you > currently are so I can take a look? > Sure, I'd be glad to. The only thing I'm not satisfied with at this point = is the installation of broccoli's libraries into /usr/local/share.=20 Libraries should be installed in /usr/local/lib. I'm using = USE_LDCONFIG=3D=20 to specify the location (/usr/local/share), but I really shouldn't have to = do that. My problem is, I can't figure out where, in broccoli's configure = and/or Makefiles that it's specifying to put the libs in share instead of=20 lib. I've attached a tar'd gzip'd file containing patches for the existing port = as well as all the new patch files (in FILESDIR) that I've created to=20 force this thing to install where I want it. Any advice would be=20 appreciated. Part of me says I should be doing all this in the port's Makefile rather=20 than patching all the Makefile.in files, but when I tried that, the=20 software created the directories anyway, even though they were empty.=20 This is, by far, the most irritating port I've ever worked on, but I'm=20 close to getting it done. Once it's done, I'm going to create a devel port for the latest version.=20 All of this work is being done, by request, for another project that is=20 being worked on. I was asked to update/create ports for parts that are=20 required for the project. Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========46B3A4C5DC5BB4135734==========-- --==========46C3803F1E8A693C2288==========--