Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 1995 10:31:31 -0400
From:      Coranth Gryphon <gryphon@healer.com>
To:        hackers@freebsd.org, peter@taronga.com
Subject:   Re: ports startup scripts
Message-ID:  <199509281431.KAA24354@healer.com>

next in thread | raw e-mail | index | archive | help
From: peter@taronga.com (Peter da Silva)
> One possibility is to abstract the dependencies in the makefile, so that you
> have your package set up like so (I say, use command syntax to make

Definately abstract as much as possible. For example, almost all of the
standard unix sub-systems (nfs-client, nfs-server, mount-remote, mount-local,
mail-agent, name-service, routes, ...) can be abstracted.

>			config
>				depends-on smtp-server nfs-client
>				satisfies sql-server
>				name oracle
>
> This also allows the config tool to do a static dependency analysis and
> tell you "snmp-manager requires snmp-service, aborting".

This is an interesting concept. A little more work, but you verify at
config time (rather than boot time) if it is a valid dependency chain.

I don't know how much outside of standard services could really be
abstracted though - except in the case if interdependent packages,
which could come up with abstractions names within that group.
Which is most of what you need to worry about anyway...

I like it.

-coranth

------------------------------------------+------------------------+
Coranth Gryphon <gryphon@healer.com>      |  "Faith Manages."      |
                                          |        - Satai Delenn  |
Phone: 603-598-3440   Fax: 603-598-3430   +------------------------+
USMail: 3 Hansom Drive, Merrimack, NH  03054
Disclaimer: All these words are yours, except Europa... 






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