Date: Mon, 26 May 2003 17:36:32 +0400 From: Vladik Kozin <epbox@yandex.ru> To: freebsd-questions@freebsd.org Subject: Re: PACKAGESITE ??/pub/unix/FreeBSD/ports/i386/packages-4.8-release/sysutils/ Message-ID: <200305261736.33348.epbox@yandex.ru> In-Reply-To: <20030525113105.GK90914@freepuppy.bellavista.cz> References: <20030525111828.GA353@pooh.nagual.st> <20030525113105.GK90914@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
What if I'd like the "pkg_add -r" to work exactly the same way as it does by default but using an alternative url? Now, let say, there is a url: "ftp://fbsd.local/" with the following directory structure "/FreeBSD/ports/i386/packages-4.8-release/" (all the 4.8-release packages can be found in this directory). I'd like to tell "pkg_add -r foopackage" and have it installed with all its dependencies from the url mentioned above. As far as I understand the PACKAGESITE var specifies the exact path to the package, thus if the "/sysutils/foopackage.tgz" depends on "/rubysomething/foodep.tgz" then the latest won't be retrieved and the pkg_adding process will fail. Probably I need to use the PACKAGEROOT var? But in this case the site I intend to use is supposed to have some specific "default FreeBSD" structure, isn't it? Any ideas about how to solve the problem? On Sunday 25 May 2003 15:31, Roman Neuhauser wrote: > # dick@nagual.st / 2003-05-25 13:18:28 +0200: > > I have to set the "PACKAGESITE" for pkg_add or portinstall -PP to work > > properly, but I cannot find where to do this. > > I search the manual/handbook for a location, but alas.. > > > > Does anybody know how and where to set this, so I can do a > > "portupgrade -PPrR kde" and get the latest 3.1.2-packages? > > this is a basic-shell-usage question. > > bourne shell compatible: > > PACKAGESITE=http://example.com/this/that/ portupgrade -PPrR kde > > or > > export PACKAGESITE=http://example.com/this/that/ > portupgrade -PPrR kde > > (t)csh: > > env PACKAGESITE=http://example.com/this/that/ portupgrade -PPrR kde > > or > > setenv PACKAGESITE http://example.com/this/that/ > portupgrade -PPrR kde
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305261736.33348.epbox>