Re: Distribution making

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: The Hermit Hacker <scrappy(at)hub(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Distribution making
Date: 2000-07-11 15:58:25
Message-ID: 396B4421.6A3570BC@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Karel Zak wrote:
> On Mon, 10 Jul 2000, The Hermit Hacker wrote:
> > Is this something that can be 'extended' to do the RPM also? :)

> Into standard *source* tree? I was long time glad of PG's devevelopment,
> that create dateless and OS independent source.

> Well, we will have support for RPM, do you want support for Debian too?
> If yes, do you accept /Debian directory in top source tree?
> Do you accept different directory philosophy for several dists.?

I don't mind one bit to have multiple distribution support in the
tarball.

> ...etc.

> IMHO to *source* tree belong to matter for binary making only. A
> distribution must be out of source.

There are more files in the RPM set, for instance, than just the
binaries -- there is the spec file, which controls the building of the
RPM's; there is a patch file (to patch around some madness in the source
that breaks the RPM package in some way); there are a couple of scripts
(startup and upgrade); there is a man page for the upgrade script; as
well as other things. Now, getting the *source* of the RPM distribution
packaging into the tarball might be OK -- I'm certainly not advocating
packaging binaries in the tarball!

RPM is used on many more systems than just RedHat Linux -- and I am
actively trying to get the *source* RPM to be buildable on as many
RPM-based systems as possible -- including being buildable on a Solaris
system that might have RPM installed, or a Tru64 system with RPM
installed (they DO exist). Unfortunately there are a number of
RedHat-isms in the current RPMset that are having to be worked around --
although, this situation promises to improve in the near future, if I
have anything to do with it.

Therefore, a separate source RPM would not need to be distributed -- a
person can just download the tarball, execute a single command, and have
properly built RPM's for their system ready to install. Can't get much
easier than that!

> PS. is it this equation right: "OS = Linux = RH"? I hope that not.

No, and neither is RPM == "RedHat Linux Only."

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-07-11 16:03:25 Re: [HACKERS] Foreign key bugs (Re: "New" bug?? Serious - crashes backend.)
Previous Message Zeugswetter Andreas SB 2000-07-11 15:51:14 fmgr changes not yet ported to AIX