Date: Thu, 20 Mar 2008 14:24:04 -0500 From: Doug Poland <doug@polands.org> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Transferring ports Message-ID: <47E2B9D4.7070000@polands.org> In-Reply-To: <9bbcef730803200952t3058f247k3913fbbfbc1ef214@mail.gmail.com> References: <frb0ku$a2n$1@ger.gmane.org> <20080313210242.GA55395@hades.panopticon> <20080320152314.GA1586@straylight.m.ringlet.net> <47E287EF.1010802@polands.org> <9bbcef730803200952t3058f247k3913fbbfbc1ef214@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras wrote: > On 20/03/2008, Doug Poland <doug@polands.org> wrote: >> Peter Pentchev wrote: >> > On Fri, Mar 14, 2008 at 12:02:42AM +0300, Dmitry Marakasov wrote: >> >> * Ivan Voras (ivoras@freebsd.org) wrote: >> >>> Is there a utility that would do that, and if not, does anyone have the >> >>> time to write one? >> >> >> >> Would this not be an appropriate use for packages? If one creates a >> package for every installed port on the "host" system, then one simply >> installs the package on the target system. > > Yes, that's exactly what I need (the same functionality as "pkg_create > -b" + install on the other system), only without the actual package > file being created. Pipes would also be acceptable (piping the output > of pkg_create from one machine to the other, etc). > Too bad you cannot accept the package file. If pkg_create would accept a - instead of specifying the output tarball, then one could do some foo with nc, i.e., target# nc -l 1234 | tar -xf - source# pkg_create -b mypackage - | nc target 1234 -- Regards, Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E2B9D4.7070000>