From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 07:36:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FA6116A420 for ; Tue, 22 Jan 2008 07:36:17 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from exhub015-1.exch015.msoutlookonline.net (exhub015-1.exch015.msoutlookonline.net [207.5.72.93]) by mx1.freebsd.org (Postfix) with ESMTP id 3D56813C4FA for ; Tue, 22 Jan 2008 07:36:17 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from laptop1.p6m7g8.net (70.88.236.22) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.0.744.0; Mon, 21 Jan 2008 23:36:15 -0800 Message-ID: <47959CEE.60902@riderway.com> Date: Tue, 22 Jan 2008 02:36:14 -0500 From: "Philip M. Gollucci" Organization: Riderway Inc. User-Agent: Thunderbird 2.0.0.9 (X11/20071217) MIME-Version: 1.0 To: Dave References: <000301c85cad$3b3b78b0$0200a8c0@satellite> In-Reply-To: <000301c85cad$3b3b78b0$0200a8c0@satellite> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: packaging a metaport X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 07:36:17 -0000 Dave wrote: > Hello, > I'd like to compile and install xorg and gnome via metaports on a > machine, making packages out of the entire process, including dependencies. > My goal is to have a tarball that i can take to other machines, extract it > and do a pkg_add * and have xorg and gnome installed via packages vs. > recompiling the port. I tried a make package but that doesn't work with > metaports, and make package-recursive doesn't happen either. > Thanks. > Dave. $ id ftp uid=14(ftp) gid=14(ftp) groups=14(ftp) In /etc/inetd.conf ftp stream tcp nowait root /usr/libexec/ftpd ftpd -4 -A -l -l -r M -s In /etc/rc.conf inetd_flags="-wW -l -R 1024 -C 60" inetd_enable="YES" $ sudo /etc/rc.d/inetd restart In /etc/make.conf DISTDIR=/home/ftp/pub/FreeBSD/ports/distfiles PACKAGES=/home/ftp/pub/FreeBSD/ports/amd64/packages-7-current (change the arch and os version to match yours) $ sudo mkdir -p /home/ftp/pub/FreeBSD/ports/distfiles $ sudo mkdir -p /home/ftp/pub/FreeBSD/ports/amd64/packages-7-current $ cd /usr/ports/x11/xorg $ make all install package-recursive $ cd /usr/ports/x11-wm/gnome $ make all install package-recursive $ ls /home/ftp/pub/FreeBSD/ports/amd64/packages-7-current/Latest/ NOW, or REMOTE machines $ export PACKAGESITE=ftp://ftp.tld/pub/FreeBSD/ports/amd64/packages-7-current/Latest/ $ sudo pkg_add -r xorg $ sudo pkg_add -r gnome You can probably just do this for gnome and dependencies will work, but I've never used gnome, so I can't say. I don't have the link handy, you can google for the above information. -- ------------------------------------------------------------------------ Philip M. Gollucci (pgollucci@p6m7g8.com) c:703.336.9354 Consultant / http://p6m7g8.net/Resume/resume.txt http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.