tech-pkg archive

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

pkg_add and remote packages

Hi all,
as you might have seen on pkgsrc-changes, I started to commit the
support for pkg_admin and pkg_info to use libfetch instead of external
ftp. Next big item on the list is pkg_add. This is also a requirement
for converting pkg_add to use libarchive.

The big question here is how to deal with packages that have missing
dependencies. It is not possible to start open the stream from the
remote side, figure out something is missing and start to install that.
Consider the connection limit on for reasons.

One way to greatly simplify the code is to just fetch the package to
/var/tmp or whatever and install it afterwards like a local package.
This does increase the temporary space used, but as the next step in the
evolution will switch to inplace extraction, that is only temporary.
It also makes it easy to provide a local cache directory.

What do others think about this?


Home | Main Index | Thread Index | Old Index