My First Port

Paul Schmehl pauls at utdallas.edu
Wed Jul 4 17:53:52 UTC 2007


--On July 4, 2007 4:49:33 PM +0200 Lars Engels <lars.engels at 0x20.net> 
wrote:

> On Wed, Jul 04, 2007 at 09:28:45AM -0400, Michael W. Lucas wrote:
>> On Tue, Jul 03, 2007 at 04:53:46PM -0500, Paul Schmehl wrote:
>> > .... good comments deleted
>>
>> Thanks, Shaun and Paul.  I appreciate the help.  Changes made,
>> portlint ran, port re-tested, PR submitted.
>>
>> Somebody stop me before I port again!  :-)
>
> No, Sir!
>
> Porting is fun, so we won't stop you from having fun.
> And if you're stuck with a more complicated port, just ask
> for help. There are a lot of helpful maintainers and committers
> around.  :)
>
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!

Here's my FILESDIR:

ls files/
patch-Makefile.in 
patch-policy-Makefile.in
patch-aux-scripts-Makefile.in 
patch-policy-sigs-Makefile.in
patch-configure 
patch-scripts-Makefile.in
patch-doc-quick-start-Makefile.in 
patch-scripts-s2b-bro-include-Makefile.in
patch-doc-ref-manual-Makefile.in 
patch-scripts-s2b-example-bro-files--Makefile.in
patch-doc-user-manual-Makefile.in 
patch-src-Makefile.in

{{{sigh}}}

I have one last problem.  This software installs another piece of software 
named "broccoli" (don't ask), and for some reason broccoli puts it's lib 
files in PREFIX/share.  I can't seem to find why it's doing that.  I 
grepped for libdir and it always appears as EPREFIX/lib, which is correct. 
If anyone wants to take a look at this thing and figure it out, I would be 
grateful.  It's the one last piece I need to get this thing working as 
expected.

You can download the source here: 
<ftp://bro-ids.org/bro-1.1d-stable.tar.gz>

Paul Schmehl (pauls at utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


More information about the freebsd-ports mailing list