[Aboriginal] ulfs-bootstrap, shrinking LFS.

David Seikel onefang at gmail.com
Sat Apr 16 05:47:45 PDT 2011


On Fri, 8 Apr 2011 07:36:06 +1000 David Seikel <onefang at gmail.com>
wrote:

> On Sat, 2 Apr 2011 01:15:17 -0500 Rob Landley <rlandley at parallels.com>
> wrote:
> 
> > On 04/01/2011 09:04 AM, David Seikel wrote:
> > > I may just cut iana-etc down to the few ports I actually need for
> > > this project.  The next project will need it for sure.  I've not
> > > actually looked at what iana-etc uses gawk for, but it does smell
> > > of overkill to just create two text files.  Why not just ship the
> > > two text files?
> > 
> > I know.  (Haven't looked at it since october, I think there was some
> > kind of hammer I could hit it with to make it stop...)
> 
> It's on my hit list for this project.

Just a quick look before breakfast.

It looks like iana-etc's purpose in life is to take two files provided
by IANA, and massage them into something that distros tend to prefer.
The two IANI files are provided in the source package, but there are
extra scripts provided to get fresh copies.

For the services file - it adds some "#" comment characters where
needed, and adds aliases from the included port-aliases file (a very
short file with only one actual alias).

The protocols file processing also adds comment characters where needed,
and makes a lower case copy of the keyword to tack at the beginning of
each line of data.  I think this is the only part that needs the
features of gawk.

There is an option to strip the comments out of the results.  The rest
is pretty much installing the files, wrapping the process up in typical
make invocations, and administrivia text files.

I don't see any architectural differences in what happens.  I don't see
any problem with providing a package that has just the resulting files,
plus the license, credits, and a short readme that refers to the source
package. Though perhaps a stripped and an unstripped version?

I might tackle this later today, after breakfast, and if the weekend
social niceties don't get in the way too early.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/aboriginal-landley.net/attachments/20110416/3e0c64f3/attachment-0003.pgp>


More information about the Aboriginal mailing list