Re: Transferring ports

2008-03-20 Thread Doug Poland
Ivan Voras wrote: On 20/03/2008, Doug Poland <[EMAIL PROTECTED]> wrote: Peter Pentchev wrote: > On Fri, Mar 14, 2008 at 12:02:42AM +0300, Dmitry Marakasov wrote: >> * Ivan Voras ([EMAIL PROTECTED]) wrote: >>> Is there a utility that would do that, and if not, does anyone have the >>> time to

Re: Transferring ports

2008-03-20 Thread Julian Elischer
Peter Pentchev wrote: On Fri, Mar 14, 2008 at 12:02:42AM +0300, Dmitry Marakasov wrote: The purpose is similar - creating jails out of host system in fast and easy way, possibility to strip everything unneeded (useful for secure minimal jails or flash/livecd/embedded installations of minimal

Re: Transferring ports

2008-03-20 Thread Doug Poland
ates a package for every installed port on the "host" system, then one simply installs the package on the target system. I have used this technique with some success when "transferring" ports from one system to another. In my situation, I'm using the same architec

Re: Transferring ports

2008-03-20 Thread Ivan Voras
On 20/03/2008, Doug Poland <[EMAIL PROTECTED]> wrote: > Peter Pentchev wrote: > > On Fri, Mar 14, 2008 at 12:02:42AM +0300, Dmitry Marakasov wrote: > >> * Ivan Voras ([EMAIL PROTECTED]) wrote: > >>> Is there a utility that would do that, and if not, does anyone have the > >>> time to write one?

Re: Transferring ports

2008-03-20 Thread Peter Pentchev
On Fri, Mar 14, 2008 at 12:02:42AM +0300, Dmitry Marakasov wrote: > * Ivan Voras ([EMAIL PROTECTED]) wrote: > > Is there a utility that would do that, and if not, does anyone have the > > time to write one? > > Actually, I've already had an idea of utility with pretty similar > functionality for a

Re: Transferring ports

2008-03-13 Thread Mike Meyer
On Fri, 14 Mar 2008 00:02:42 +0300 Dmitry Marakasov <[EMAIL PROTECTED]> wrote: > Actually, I've already had an idea of utility with pretty similar > functionality for a long time. The utility would copy directory > hierarchies recursively based on file include/exclude list, like this: You mean li

Re: Transferring ports

2008-03-13 Thread Ivan Voras
On 13/03/2008, Dmitry Marakasov <[EMAIL PROTECTED]> wrote: > * Ivan Voras ([EMAIL PROTECTED]) wrote: > > > I have an idea and a request for people familiar with ports & pkgdb > > infrastructure: a utility (preferably written in C, Python or as a shell > > script) that would transfer *installed*

Re: Transferring ports

2008-03-13 Thread Dmitry Marakasov
* Ivan Voras ([EMAIL PROTECTED]) wrote: > I have an idea and a request for people familiar with ports & pkgdb > infrastructure: a utility (preferably written in C, Python or as a shell > script) that would transfer *installed* ports from one system tree to > the other, including their dependencies

Re: Transferring ports

2008-03-13 Thread Ivan Voras
On 13/03/2008, Sean C. Farley <[EMAIL PROTECTED]> wrote: > I do not know of any such scripts but a possible solution is to use > nullfs. > A basic jail runs about 9MB (mainly /etc and /usr/local/etc). Does this > help? No, I really need to copy them :) __

Re: Transferring ports

2008-03-13 Thread Sean C. Farley
On Thu, 13 Mar 2008, Ivan Voras wrote: *snip* The details: imagine there are two or more full FreeBSD installation trees in the file system (e.g. complete jails). The utility would transfer (installed) packages from one tree to the other. The easy, brute-force way would be to generate package f