Third "RFC" on on pkg-data ideas for ports
Alexey Dokuchaev
danfe at nsu.ru
Mon May 24 06:32:16 PDT 2004
On Mon, May 24, 2004 at 12:07:34AM -0400, Garance A Drosihn wrote:
> c) [minor] in the pkg-data section for distinfo, I'd
> like to change the format for each file from, eg:
> MD5 (bash-2.05b.tar.gz) = 5238251b4926d778dfe162f6ce729733
> SIZE (bash-2.05b.tar.gz) = 1956216
> to
> 5238251b4926d778dfe162f6ce729733 1956216 bash-2.05b.tar.gz
Hmm, this is gonna be hard for possible usage of non-MD5 hashing schemes.
See NetBSD pkgsrc collection for examples. I personally see nothing
wrong with current format of ``distinfo''. It is readable, easily
extendible, and compact at the same time. Plus, it's coherent with
md5(1) output.
>
> So it collapses most standard files into the pkg-data file, and
> collapses the patch-related files for a given port into files
> such as: ports/Patches/shells/patches-bash2. This will not
^^^^^^^^
Do you really need this ``patches-'' prefix here? This way you spell
out ``[Pp]atches'' twice in a path.
Thanks for doing this. Keep up a good work.
./danfe
More information about the freebsd-ports
mailing list