Re: RPM and tarballs



Tony Nelson wrote:
At 10:39 AM -0500 5/8/07, Mikkel L. Ellertson wrote:
...
In the long run, I feel it is worth the extra effort to build an RPM
for the tarball package. It makes managing the packages on your
system easier. That is what packaging systems were designed for in
the first place.

ISTM that a tool could make a reasonable RPM from a tarball, as long as the
tarball doesn't have an install script, as all that is needed is the list
of files. Checkinstall is more dynamic and dangerous than just looking at
the output of tar -t, in order to be able to handle install scripts. Are
there tools to make RPMs from tarballs that I haven't found?

For that matter, RPM could install tarballs directly, if given an install
root. RPM could even usually tell when a file conflict could be treated as
a config file and do the .rpmnew or .rpmsave thing. Perhaps in the history
of RPM there is a reason this did not happen, or existed and was removed?

As far as RPM installing from source, I don't believe it ever could
do that. At one time, rpm and rpmbuild were combined into one
program, but that only allowed you to build and install RPMs with
the same command.

I am not sure that trying to build the option of installing from a
tarball is a good idea. Even though it would involve extra steps,
improving the tools that will create a .spec file from a tarball,
building the RPM, and then becoming root to install it still looks
like a better way to do it. It gives you an extra chance to look at
just what you are installing. (I can picture a few ways to hide
nasty scripts inside a make file, or in the RPM install scripts.)

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Redhat to Freebsd
    ... >>researching security updates or in performing kernel or package updates. ... >>I assume it is only the Redhat distro that has the ease of RPM installation? ... So you can build from sources with ports, or install binaries ...
    (comp.unix.bsd.freebsd.misc)
  • Re: ./configure command
    ... The package is not available. ... machines which don't even have an OS at all, let alone RPM, ... There is not a "the tool to package and install on Fedora". ... If he wants to avoid trouble, ...
    (Fedora)
  • Re: Backing up whole system
    ... Amanda is packaged by Fedora and if Gene feels that the packages are ... fedora's rpm is/was incapable of handling the nuances of using only enough ... When an rpm package can build a complete user from scratch, ... Do you really believe that rpm can install every package under the sun, ...
    (Fedora)
  • Re: [SLE] deCSS
    ... >> Anyone know of a reasonably easy decss program to copy DVDs to my hard ... This let's you compile from source but converts it to an rpm ... Then instead of make install you type checkinstall. ... package to meet the dependencies it may not be recognized by the other ...
    (SuSE)
  • Re: Dependencies
    ... Should you install it or no? ... RPM is just a low-level tool that does one thing and that one ... If getting the GPG keys causes you heartburn, ... > To stay in the RPM subject, Apache give keys for their tarball versions. ...
    (linux.redhat)