From owner-freebsd-ports@FreeBSD.ORG Thu Mar 20 19:24:12 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E5651065671; Thu, 20 Mar 2008 19:24:12 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id 069658FC17; Thu, 20 Mar 2008 19:24:11 +0000 (UTC) (envelope-from doug@polands.org) Received: from corinth.polands.org ([75.87.219.217]) by hrndva-omta01.mail.rr.com with ESMTP id <20080320192411.XUXQ6098.hrndva-omta01.mail.rr.com@corinth.polands.org>; Thu, 20 Mar 2008 19:24:11 +0000 Received: from omnihp.polands.org ([208.49.58.254]) by corinth.polands.org (8.14.2/8.14.2) with ESMTP id m2KJOAlg023222; Thu, 20 Mar 2008 14:24:10 -0500 (CDT) (envelope-from doug@polands.org) Message-ID: <47E2B9D4.7070000@polands.org> Date: Thu, 20 Mar 2008 14:24:04 -0500 From: Doug Poland User-Agent: Thunderbird 2.0.0.12 (X11/20080315) MIME-Version: 1.0 To: Ivan Voras References: <20080313210242.GA55395@hades.panopticon> <20080320152314.GA1586@straylight.m.ringlet.net> <47E287EF.1010802@polands.org> <9bbcef730803200952t3058f247k3913fbbfbc1ef214@mail.gmail.com> In-Reply-To: <9bbcef730803200952t3058f247k3913fbbfbc1ef214@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/6311/Thu Mar 20 11:35:54 2008 on corinth.polands.org X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Transferring ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 19:24:12 -0000 Ivan Voras wrote: > On 20/03/2008, Doug Poland 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