Date: Fri, 10 May 2002 12:36:58 -0700 (PDT) From: Doug Silver <dsilver@urchin.com> To: "Gregory (Grisha) Trubetskoy" <grisha@ispol.com> Cc: ports@FreeBSD.ORG Subject: Re: How to make packages and dependency packages Message-ID: <Pine.LNX.4.21.0205101233430.11032-100000@danzig.sd.quantified.net> In-Reply-To: <3CDC1E3F.F581848@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 May 2002, Maxim Sobolev wrote: > "Gregory (Grisha) Trubetskoy" wrote: > > > > Is there a way to tell "make package" also make packages for depndencies? > > > > By default, if /usr/ports/pckages directory exists, then "make package" > > will place the packages there. I am trying to make use of this by NFS > > mounting this directory from multiple servers, so that I can build a port > > on only one machine, then do pkg_add on all the others. > > > > The problem is that "make package" will not make packages for > > dependencies. > > > > As an example, I'm looking for the following functionality: > > > > # mkdir /usr/ports/packages # now packages will be put here > > > > # cd /usr/ports/misc/amanda-client > > # make package > > > > ....this will also build gtar-1.13.25_1, gettext-0.11.1_2 > > and libiconv-1.7_4... > > > > # cd /usr/ports/packages/ALL > > # ls -l > > total 336 > > -rw-r--r-- 1 root wheel 319301 May 10 13:12 amanda-client-2.4.3b2.tgz > > # > > So why aren't gtar, gettext and liibiconv packages in there too, and is > > there a simple way to make them go there, or I would need write my own > > script for this? > > # cd /usr/ports/somecat/someport ; for dir in `make package-depends | > awk '{print $2}'`; do cd $dir; make package; done > > -Maxim > If you're doing this across NFS, why don't you simple run 'make install' on one box and 'make reinstall' on the others? I'm doing that and it takes care of the dependencies. I see that having it as a package makes it easier, but I've found my method to be pretty easy with or without using the portupgrade utility. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Doug Silver Network Manager Urchin Corporation http://www.urchin.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0205101233430.11032-100000>