how to get freeBSD 5.1 pkg_add to install .tgz files

Kris Kennaway kris at obsecurity.org
Tue Nov 18 12:28:00 PST 2003


On Tue, Nov 18, 2003 at 03:22:43PM -0500, Loh John Wu wrote:
> Well I had a 4.x system and I want to move to a 5.1 system.
> I had some ports and packages that were on my 4.x system that I want on the
> 5.1 one.
> I thought ports were never versioned?  Is there a split between
> the 4.x ports and the 5.1 ports?  I tried to look for some
> explanation about the differences between a 5.1 port and a 4.x port
> but couldn't find any....

ports != packages

The ports collection is not branched, but that doesn't mean you can
use packages built for one version on another version.

> Does 5.1 not support tgz packages?

I think so.  There was some autodetection code in pkg_add, but it
didn't work and it was removed.

> Like I have a verison of bash on my 4.x system that I wanted to put on 5.1
> so I just did a pkg_ad on the new system but fails out.
> I have also created some custom packages (tarballs with the pkg extras)
> for my 4.x system which were gzipped.  Do I need to rebuild to packages to
> use bzip2
> for them to be usable on a 5.1 system?
> 
> What is the recommended method of putting new packages/ports on a 5.1
> system?

Use packages built for 5.1.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031118/63d5ddfe/attachment.bin


More information about the freebsd-ports mailing list