[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PACKAGES info file into cvs?

From: Christian Hopp
Subject: Re: PACKAGES info file into cvs?
Date: Tue, 16 Jul 2002 10:07:53 +0200 (CEST)

On Tue, 16 Jul 2002, Martin Pala wrote:

> Yeah. Maybe it will be useful to have common Makefile (either realy
> common/single by extending  present Makefile or new in ditributions
> directory) for building distributions from sources. It can be then possible
> to do:
> make redhat (or suse/solaris/debian/etc.)
> that will make apropriate package. I think it will be simple and consistent
> packaging method.

So, you have all the package generation "code" in the main Makefile?
Doesn't sound anyhow complicated and a bit more consistent then
running a pile of different scripts for every OS.

But, might be a bit tricky for some OSes.  Debian needs usually it's
"debian" directory with a bunch of scripts and additional files.
Solaris  needs its obscure pkginfo/prototype file.  RPM based OSes do
need usually different specs, some need even different init.scripts to
be included.  Should all those files be already available or should
the be made in configure? Remember changing version numbers, dates,
descriptions, file lists all those have to be maintained.

There should be some kind of files around clearly marking files have
to be installed (like DOCUMENTATION or FILES).  It's maybe easier to
maintain than hacking the or, everytime
somebody makes a new doc or whatever file.

> The PACKAGES file can then contain instructions for adding new
> package type. It can also contain specific notes for packages or
> they can be separated in more README files for given system (for
> example README.solaris, etc.)

I think it's first of all important to have a README.<os> with every
package with information about installation / deinstallation /
generation of the package.  That makes it easier for the user to read
the necessary stuff compared to scanning through a PACKAGES file.

On the other hand the PACKAGES file give better access to the
information "who does what package".  Thus, this better for the
developers and packagers.

> What do the people on the list think about it?


Christian Hopp                                email: address@hidden
Institut für Elektrische Informationstechnik             fon: +49-5323-72-2113
Technische Universität Clausthal                         fax: +49-5323-72-3197
  pgpkey:  (2001-11-22)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]