Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2008 15:45:04 -0600
From:      Paul Schmehl <pauls@utdallas.edu>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Suggested improvements for ports
Message-ID:  <00DB7D8B21D4C5EE984BCE63@utd59514.utdallas.edu>
In-Reply-To: <20080111182331.GB1823@soaustin.net>
References:  <ED8842DFA28376008F3CA3A4@utd59514.utdallas.edu> <790a9fff0801110834s532a7282lf63061ad2b73acf5@mail.gmail.com> <C5131A30CA17872122E4A5A3@utd59514.utdallas.edu> <20080111182331.GB1823@soaustin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Friday, January 11, 2008 12:23:31 -0600 Mark Linimon 
<linimon@lonesome.com> wrote:

> On Fri, Jan 11, 2008 at 11:10:45AM -0600, Paul Schmehl wrote:
>> The porters handbook seems written from the standpoint of a guide more
>> than a manual.
>
> That's something that I was going to work on, um, last year :-)
>
> We need both.  Right now we have this hybrid which isn't a completely
> satisfactory solution for either one.
>
> This is historical; it kind of grew out of an initial short how-to
> document, then, as new things were stuffed into the ports infrastructure,
> there was no better place to document them.
>
> The "quick porting" text should turn into a "guide"; the "slow porting"
> text should become the reference.
>

I like this idea.  The problem for new porters is that a brief skim of the "how 
to" leaves out a lot of details that become important once you actually start 
creating that first port.

Perhaps the right way to approach this is a guide that links to a reference 
doc?  The guide covers the basic "rules" (if you're going to do this, do it 
this way, if you're not going to do that, you need to do this instead) and then 
the reference provides both links and examples to show how something is done.

I agree we shouldn't formalize it too much, but I *do* think some things should 
be standardized.  For example, the default conf file should have a standardized 
name throughout, either -sample or -dist or -example or something, and that 
should be followed throughout.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00DB7D8B21D4C5EE984BCE63>