Re: Secure PKG_PATH for doas

2016-05-23 Thread Alexander Hall
On May 19, 2016 12:49:25 AM GMT+02:00, Igor Mironov <mcs6502-...@yahoo.com.au> wrote: >The packages and ports' FAQ mentions that those using doas need to pass >keepenv { PKG_PATH } in the config file. Is there a way to instruct >doas to take PKG_PATH (or another variable)

Re: Secure PKG_PATH for doas

2016-05-22 Thread lists
t; > > > > Thank you Mart, Ted and Stuart--I understood that installpath in > > > > pkg.conf provides a secure default, and PKG_PATH should probably > > > > be used for overrides only (if at all). > > > > > > PKG_PATH is essential - installpa

Re: Secure PKG_PATH for doas

2016-05-21 Thread Raf Czlonka
; > pkg.conf provides a secure default, and PKG_PATH should probably > > > be used for overrides only (if at all). > > > > Hi Igor, > > > > PKG_PATH is essential - installpath= in pkg.conf(5) won't suffice > > - if you don't want to build ports' depen

Re: Secure PKG_PATH for doas

2016-05-21 Thread Marc Espie
On Fri, May 20, 2016 at 03:37:48PM +0100, Raf Czlonka wrote: > On Fri, May 20, 2016 at 12:39:46PM BST, Igor Mironov wrote: > > > Thank you Mart, Ted and Stuart--I understood that installpath in > > pkg.conf provides a secure default, and PKG_PATH should probably > > be

Re: Secure PKG_PATH for doas

2016-05-20 Thread Raf Czlonka
On Fri, May 20, 2016 at 12:39:46PM BST, Igor Mironov wrote: > Thank you Mart, Ted and Stuart--I understood that installpath in > pkg.conf provides a secure default, and PKG_PATH should probably > be used for overrides only (if at all). Hi Igor, PKG_PATH is essential - installpath= in p

Re: Secure PKG_PATH for doas

2016-05-20 Thread lists
ich reminds the installer already picks the nearest mirror, an idea to set it in /etc/pkg.conf at install time, and leave PKG_PATH for the user.

Re: Secure PKG_PATH for doas

2016-05-20 Thread lists
> > http://www.openbsd.org/ftp.html > > > > Or in /etc/examples/pkg.conf. > > Which reminds the installer already picks the nearest mirror, an idea to > set it in /etc/pkg.conf at install time, and leave PKG_PATH for the user. [http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/

Re: Secure PKG_PATH for doas

2016-05-20 Thread Igor Mironov
Thank you Mart, Ted and Stuart--I understood that installpath in pkg.conf provides a secure default, and PKG_PATH should probably be used for overrides only (if at all). On Friday, 20 May 2016, 3:41, Mart Tõnso <xti...@gmail.com> wrote: There is an alternative to PKG_PATH env var:

Re: Secure PKG_PATH for doas

2016-05-19 Thread Stuart Henderson
On 2016-05-19, Mart Tõnso wrote: > Do feel free to select from the list of actual mirrors: > http://www.openbsd.org/ftp.html Or in /etc/examples/pkg.conf.

Re: Secure PKG_PATH for doas

2016-05-19 Thread Mart Tõnso
Do feel free to select from the list of actual mirrors: http://www.openbsd.org/ftp.html Mart On Thu, May 19, 2016 at 10:02 PM, Mihai Popescu wrote: >> echo "installpath = http://your.favorite.mirror/; > /etc/pkg.conf > >> .. and enjoy! > > Error from

Re: Secure PKG_PATH for doas

2016-05-19 Thread Mihai Popescu
> echo "installpath = http://your.favorite.mirror/; > /etc/pkg.conf > .. and enjoy! Error from http://your.favorite.mirror/ ftp: your.favorite.mirror: no address associated with name http://your.favorite.mirror/ is empty :-)

Re: Secure PKG_PATH for doas

2016-05-19 Thread Mart Tõnso
There is an alternative to PKG_PATH env var: http://man.openbsd.org/OpenBSD-current/man5/pkg.conf.5 echo "installpath = http://your.favorite.mirror/; > /etc/pkg.conf .. and enjoy! Mart On Thu, May 19, 2016 at 4:32 AM, Ted Unangst <t...@tedunangst.com> wrote: > I

Re: Secure PKG_PATH for doas

2016-05-18 Thread Ted Unangst
Igor Mironov wrote: > The packages and ports' FAQ mentions that those using doas need to pass > keepenv { PKG_PATH } in the config file. Is there a way to instruct doas to > take PKG_PATH (or another variable) from the target account's environment > (~/.profile)? No, but you can

Re: Secure PKG_PATH for doas

2016-05-18 Thread Stuart Henderson
On 2016-05-18, Igor Mironov <mcs6502-...@yahoo.com.au> wrote: > The packages and ports' FAQ mentions that those using doas need to pass > keepenv { PKG_PATH } in the config file. Is there a way to instruct doas to > take PKG_PATH (or another variable) from the target accoun

Secure PKG_PATH for doas

2016-05-18 Thread Igor Mironov
The packages and ports' FAQ mentions that those using doas need to pass keepenv { PKG_PATH } in the config file. Is there a way to instruct doas to take PKG_PATH (or another variable) from the target account's environment (~/.profile)?

Re: PKG_PATH - SOLVED

2016-04-08 Thread Teno Deuter
ust installed a 5.9 AMD64 version and get issues with adding packages as a >> :regular system user. 'env' shows me the correct setting for PKG_PATH but >> :seems that the user environment isn't able to contact the source. >> : >> :As long as I change to 'root', everything works

Re: PKG_PATH

2016-04-08 Thread Antoine Jacoutot
On Fri, Apr 08, 2016 at 09:16:13AM +0200, Peter Hessler wrote: > On 2016 Apr 07 (Thu) at 22:56:42 +0200 (+0200), Teno Deuter wrote: > :Hi, > : > :just installed a 5.9 AMD64 version and get issues with adding packages as a > :regular system user. 'env' shows me the correct setti

Re: PKG_PATH

2016-04-08 Thread Peter Hessler
On 2016 Apr 07 (Thu) at 22:56:42 +0200 (+0200), Teno Deuter wrote: :Hi, : :just installed a 5.9 AMD64 version and get issues with adding packages as a :regular system user. 'env' shows me the correct setting for PKG_PATH but :seems that the user environment isn't able to contact the source

Re: PKG_PATH - SOLVED

2016-04-07 Thread Teno Deuter
Doesn't say anything about >> 'root'. >> >> Also, why 'pkg_add' has to be run as root only? In previous OpenBSD version >> this wasn't the case. Is that due to 'doas'? > > doas resets the environment. > If you want to keep PKG_PATH then use something like th

Re: PKG_PATH

2016-04-07 Thread Antoine Jacoutot
this wasn't the case. Is that due to 'doas'? doas resets the environment. If you want to keep PKG_PATH then use something like this in doas.conf: permit keepenv { PKG_PATH } nopass :wheel -- Antoine

Re: PKG_PATH

2016-04-07 Thread Teno Deuter
Popescu <mih...@gmail.com> wrote: > > just installed a 5.9 AMD64 version and get issues with adding packages > as a > > regular system user. 'env' shows me the correct setting for PKG_PATH but > > seems that the user environment isn't able to contact the source. >

Re: PKG_PATH

2016-04-07 Thread Pedro Tender
And how are you installing packages as a non root user? On Apr 7, 2016 22:08, "Teno Deuter" <gvg...@googlemail.com> wrote: > Hi, > > just installed a 5.9 AMD64 version and get issues with adding packages as a > regular system user. 'env' shows me the correct sett

Re: PKG_PATH

2016-04-07 Thread Mihai Popescu
> just installed a 5.9 AMD64 version and get issues with adding packages as a > regular system user. 'env' shows me the correct setting for PKG_PATH but > seems that the user environment isn't able to contact the source. "Get issues" is not a valid problem report. I am get

PKG_PATH

2016-04-07 Thread Teno Deuter
Hi, just installed a 5.9 AMD64 version and get issues with adding packages as a regular system user. 'env' shows me the correct setting for PKG_PATH but seems that the user environment isn't able to contact the source. As long as I change to 'root', everything works fine! Thank you for your

Re: Set PKG_PATH using Time Zone?

2015-03-27 Thread Stuart Henderson
(and the mirror selection offers nearby mirrors first, and proposes a timezone). For example, if you set Japan as your zone, then run export PKG_PATH=http://www.ftp.ne.jp/OpenBSD/'uname -r'/packages/'uname -m'/ That should be arch -s (it matters for powerpc, arm, loongson etc), and doesn't take

Re: Set PKG_PATH using Time Zone?

2015-03-26 Thread Felipe Scarel
: On Thu, Mar 26, 2015 at 06:55:50PM +, L.R. D.S. wrote: Is really boring write the package repository everytime we install. Why not set the repository using the Time Zone as a reference? For example, if you set Japan as your zone, then run export PKG_PATH=http://www.ftp.ne.jp/OpenBSD/'uname -r

Re: Set PKG_PATH using Time Zone?

2015-03-26 Thread Dale Lindskog
On Thu, 26 Mar 2015, L.R. D.S. wrote: Is really boring write the package repository everytime we install. Why not set the repository using the Time Zone as a reference? For example, if you set Japan as your zone, then run export PKG_PATH=http://www.ftp.ne.jp/OpenBSD/'uname -r'/packages

Set PKG_PATH using Time Zone?

2015-03-26 Thread L.R. D.S.
Is really boring write the package repository everytime we install. Why not set the repository using the Time Zone as a reference? For example, if you set Japan as your zone, then run export PKG_PATH=http://www.ftp.ne.jp/OpenBSD/'uname -r'/packages/'uname -m'/

Re: Set PKG_PATH using Time Zone?

2015-03-26 Thread Joshua Smith
On Thu, Mar 26, 2015 at 06:55:50PM +, L.R. D.S. wrote: Is really boring write the package repository everytime we install. Why not set the repository using the Time Zone as a reference? For example, if you set Japan as your zone, then run export PKG_PATH=http://www.ftp.ne.jp/OpenBSD

Re: Set PKG_PATH using Time Zone?

2015-03-26 Thread Sean Kamath
, then run export PKG_PATH=http://www.ftp.ne.jp/OpenBSD/'uname -r'/packages/'uname -m'/ #!/usr/bin/perl -w use strict; chomp( my( $uname_r, $uname_m ) = ( `uname -r`, `uname -m` ) ); chomp( my $zone = join( '/', ( split('/', `ls -l /etc/localtime`) )[-2,-1] ) ); my %mirror = ( Canada

No address associated with PKG_PATH mirror

2014-11-20 Thread John Smith
Hello, I get the following error when using any of the pkg_* commands:$ echo $PKG_PATH http://ftp.nluug.nl/pub/OpenBSD/5.6/packages/amd64/ $ pkg_info -Q mosh Error from http://ftp.nluug.nl/pub/OpenBSD/5.6/packages/amd64/ ftp: ftp.nluug.nl: no address associated with namehttp://ftp.nluug.nl

Re: No address associated with PKG_PATH mirror

2014-11-20 Thread John Smith
    Sent: Thursday, November 20, 2014 at 8:06 PM From: John Smith hufflep...@bsdmail.com To: misc@openbsd.org Subject: No address associated with PKG_PATH mirror Hello, I get the following error when using any of the pkg_* commands:$ echo $PKG_PATH http://ftp.nluug.nl/pub/OpenBSD/5.6/packages

Re: No address associated with PKG_PATH mirror

2014-11-20 Thread John Smith
Sent: Thursday, November 20, 2014 at 8:00 PM From: Cosmo Wu co...@tetrachina.com To: John Smith hufflep...@bsdmail.com Subject: Re: No address associated with PKG_PATH mirror Hi , Is there anything wrong with the DNS or network connection on your OpenBSD box? I could access that using the mirror

Re: No address associated with PKG_PATH mirror

2014-11-20 Thread Adriaan
Works for me :) root@rel56[~] echo $PKG_PATH http://ftp.nluug.nl/pub/OpenBSD/5.6/packages/amd64/ root@rel56[~] pkg_info -Q mosh mosh-1.2.4p1 root@rel56[~] dig ftp.nluug.nl ; DiG 9.4.2-P2 ftp.nluug.nl ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id

[SOLVED] Re: No address associated with PKG_PATH mirror

2014-11-20 Thread John Smith
for the help   Sent: Thursday, November 20, 2014 at 9:04 PM From: Adriaan misc.adri...@gmail.com To: OpenBSD general usage list misc@openbsd.org Subject: Re: No address associated with PKG_PATH mirror Works for me :) root@rel56[~] echo $PKG_PATH http://ftp.nluug.nl/pub/OpenBSD/5.6/packages/amd64

Re: Why are there no PKG_PATH defaults?

2014-09-25 Thread Paolo Aglialoro
Alexander Hall Envoyé : mercredi 24 septembre 2014 23:20 À : Ville Valkonen Cc : PPC Miscellaneous Discussions Objet : Re: Why are there no PKG_PATH defaults? On 09/24/14 23:09, Ville Valkonen wrote: Out of curiosity, what's wrong with the one that installer uses? Nothing, however

Re: Why are there no PKG_PATH defaults?

2014-09-25 Thread Ville Valkonen
not have a `PKG_PATH` set for `pkg_add`. Would you like us to set it for you? (Y/n) y Choose your nearest mirror: 1. Continent 2. Whatever 3. ... FWIW the idea of presenting the list of mirrors suddenly starts to make sense, as now there is no browser in base install. But Alexander

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Ingo Schwarze
if the environment variable PKG_PATH # is not defined and no further options are defined. # installpath = # Set to yes to waive checksums during package deletions. # nochecksum = yes # Set to yes to display (done/total) number of package # messages. # ntogo = yes

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Ingo, On 09/24/14 11:29, Ingo Schwarze wrote: Hi, Harald Dunkel wrote on Wed, Sep 24, 2014 at 07:14:21AM +0200: This is something that could be added to /etc/examples. See the attachment suggesting a first version. I hate that.

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread opendaddy
there any sane PKG_PATH defaults? Ie.: release=$(uname -r) architecture=$(uname -p) export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/${release}/packages/${architecture}/ Because /etc/pkg.conf ? /Alexander Thanks! O.D.

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread opendaddy
OpenBSD solution is to ask the user to choose a mirror at installation time. I don't see this preference being remembered after the installation though. O.D. On 23. september 2014 at 1:25 PM, ludovic coues wrote: why aren't there any sane PKG_PATH defaults? Ie.: release=$(uname -r

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread opendaddy
Because your sane default includes ftp.openbsd.org, which is not sane at all. If PKG_PATH or /etc/pkg.conf were set to default to ftp.openbsd.org then that host would get hammered instead of the user being put in the position of choosing a local mirror. The proper local mirror should ofcourse

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Jay Patel
: OpenBSD solution is to ask the user to choose a mirror at installation time. I don't see this preference being remembered after the installation though. O.D. On 23. september 2014 at 1:25 PM, ludovic coues wrote: why aren't there any sane PKG_PATH defaults? Ie.: release=$(uname -r

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Barbier, Jason
Just to point out if you do an install where you do select a mirror your mirror settings do seem to persist beyond the install, so it sounds like the problem is solved and user education is in order. *washes hands of the problem* -- Jason Barbier | jab...@serversave.us Pro Patria Vigilans

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Ville Valkonen
On 24 September 2014 14:12, Barbier, Jason jab...@serversave.us wrote: Just to point out if you do an install where you do select a mirror your mirror settings do seem to persist beyond the install, so it sounds like the problem is solved and user education is in order. *washes hands of the

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Ingo Schwarze
Hi, Harald Dunkel wrote on Wed, Sep 24, 2014 at 12:22:32PM +0200: I completely agree, but that seems 2b the case for _all_ files in /etc/examples (or for config files in general). Not really all. Take dhcpd.conf for example. Here the complexity comes from the fact that a wide variety of

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Alexander Hall
. On 23. september 2014 at 1:47 PM, Alexander Hall wrote:On September 23, 2014 3:00:41 PM CEST, openda...@hushmail.com wrote: Hi, Expanding on the whole http://en.wikipedia.org/wiki/Convention_over_configuration thing -- why aren't there any sane PKG_PATH defaults? Ie.: release=$(uname -r

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread opendaddy
a one-time script upon first root login to ask for such info? You do not have a `PKG_PATH` set for `pkg_add`. Would you like us to set it for you? (Y/n) y Choose your nearest mirror: 1. Continent 2. Whatever 3. ... There is currently no ports collection in `/usr/ports`. Would you

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread openbsd2012
| -Original Message- | From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On | Behalf Of openda...@hushmail.com | Sent: Tuesday, September 23, 2014 6:01 AM | Subject: Why are there no PKG_PATH defaults? ... | Expanding on the whole | http://en.wikipedia.org/wiki

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Alexander Hall
an ISO or some pre-defined VM (ie. a DigitalOcean droplets) -- how about a one-time script upon first root login to ask for such info? You do not have a `PKG_PATH` set for `pkg_add`. Would you like us to set it for you? (Y/n) y Choose your nearest mirror: 1. Continent 2. Whatever 3

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Mihai Popescu
I thought this kind of suggestion are not answered anymore on this list ... @Ingo Schwarze: why don't you remove the files in /etc/examples and put some examples in man pages, for the apps that have no such thing yet?

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Ingo Schwarze
Hi Mihai, Mihai Popescu wrote on Wed, Sep 24, 2014 at 08:19:39PM +0200: I thought this kind of suggestion are not answered anymore on this list ... What i saw didn't look like a troll to me. Sorry for the noise in case i accidentally fed one. @Ingo Schwarze: why don't you remove the files

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Liviu Daia
On 24 September 2014, Mihai Popescu mih...@gmail.com wrote: I thought this kind of suggestion are not answered anymore on this list ... @Ingo Schwarze: why don't you remove the files in /etc/examples and put some examples in man pages, for the apps that have no such thing yet? I believe

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Ville Valkonen
not have a `PKG_PATH` set for `pkg_add`. Would you like us to set it for you? (Y/n) y Choose your nearest mirror: 1. Continent 2. Whatever 3. ... There is currently no ports collection in `/usr/ports`. Would you like us to get it for you? (Y/n) I can't speak for others, but I'd

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Alexander Hall
to ask for such info? You do not have a `PKG_PATH` set for `pkg_add`. Would you like us to set it for you? (Y/n) y Choose your nearest mirror: 1. Continent 2. Whatever 3. ... There is currently no ports collection in `/usr/ports`. Would you like us to get it for you? (Y/n) I can't

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Romain FABBRI - Alien Consulting
2014 23:20 À : Ville Valkonen Cc : PPC Miscellaneous Discussions Objet : Re: Why are there no PKG_PATH defaults? On 09/24/14 23:09, Ville Valkonen wrote: Out of curiosity, what's wrong with the one that installer uses? Nothing, however the installer only cares about a mirror if you actually

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Dmitrij D. Czarkoff
openda...@hushmail.com said: Then, in the event that someone installed via an ISO or some pre-defined VM (ie. a DigitalOcean droplets) -- how about a one-time script upon first root login to ask for such info? You do not have a `PKG_PATH` set for `pkg_add`. Would you like us to set

Why are there no PKG_PATH defaults?

2014-09-23 Thread opendaddy
Hi, Expanding on the whole http://en.wikipedia.org/wiki/Convention_over_configuration thing -- why aren't there any sane PKG_PATH defaults? Ie.: release=$(uname -r) architecture=$(uname -p) export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/${release}/packages/${architecture}/ Thanks! O.D.

Re: Why are there no PKG_PATH defaults?

2014-09-23 Thread Alexander Hall
On September 23, 2014 3:00:41 PM CEST, openda...@hushmail.com wrote: Hi, Expanding on the whole http://en.wikipedia.org/wiki/Convention_over_configuration thing -- why aren't there any sane PKG_PATH defaults? Ie.: release=$(uname -r) architecture=$(uname -p) export PKG_PATH=ftp

Re: Why are there no PKG_PATH defaults?

2014-09-23 Thread Harald Dunkel
On 09/23/14 15:48, Alexander Hall wrote: On September 23, 2014 3:00:41 PM CEST, openda...@hushmail.com wrote: Hi, Expanding on the whole http://en.wikipedia.org/wiki/Convention_over_configuration thing -- why aren't there any sane PKG_PATH defaults? Ie.: release=$(uname -r) architecture

Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Ersin Akinci
But you wrote that you upgraded ports from release to current. Did you upgrade your system to current too? Every time use mirrors for packages, it saves bandwidth and you can have couple of them in PKG_PATH. Quoth section 15 of the FAQ: Do NOT check out a -current ports tree and expect

Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread James Hartley
On Wed, Nov 10, 2010 at 1:48 AM, Ersin Akinci ersin.aki...@gmail.comwrote: Do the packages in current normally find themselves in the next release? Yes.

Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Tomas Bodzar
On Wed, Nov 10, 2010 at 8:59 AM, Ersin Akinci ersin.aki...@gmail.com wrote: But you wrote that you upgraded ports from release to current. Did you upgrade your system to current too? Every time use mirrors for packages, it saves bandwidth and you can have couple of them in PKG_PATH. Quoth

Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Tomas Bodzar
On Wed, Nov 10, 2010 at 1:24 PM, Paolo Aglialoro paol...@gmail.com wrote: Every time use mirrors for packages, it saves bandwidth and you can have couple of them in PKG_PATH. By which exact syntax? It's written in FAQ and in man. Use colon ( : ) for separation of entries.

Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Ersin Akinci
You found that so no problem ;-) Now you can do rm -rf /usr/ports and then unpack ports.tar.gz for 4.8 release again I just wish there was some way to get gnash 0.88 on stable...that was really the only reason I tried to upgrade. Do the packages in current normally find themselves in the next

Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Stuart Henderson
On 2010-11-10, Paolo Aglialoro paol...@gmail.com wrote: Every time use mirrors for packages, it saves bandwidth and you can have couple of them in PKG_PATH. By which exact syntax? pkg_add(1) gives you the syntax, personally I don't see much advantage to listing more than one mirror

Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Paolo Aglialoro
Every time use mirrors for packages, it saves bandwidth and you can have couple of them in PKG_PATH. By which exact syntax?

Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Paolo Aglialoro
THX to all for insight On Wed, Nov 10, 2010 at 1:48 PM, Stuart Henderson s...@spacehopper.orgwrote: On 2010-11-10, Paolo Aglialoro paol...@gmail.com wrote: Every time use mirrors for packages, it saves bandwidth and you can have couple of them in PKG_PATH. By which exact syntax

Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Kevin Chadwick
On Wed, 10 Nov 2010 08:39:35 +0100 Tomas Bodzar tomas.bod...@gmail.com wrote: Sorry, I should have specified that I have FETCH_PACKAGES=Yes in /etc/mk.conf. I found when using fetch_packages I had to use make install rather than make package. Hardly a big deal, but is that expected?

Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Marc Espie
On Wed, Nov 10, 2010 at 05:42:24PM +, Kevin Chadwick wrote: On Wed, 10 Nov 2010 08:39:35 +0100 Tomas Bodzar tomas.bod...@gmail.com wrote: Sorry, I should have specified that I have FETCH_PACKAGES=Yes in /etc/mk.conf. I found when using fetch_packages I had to use make install

ports not detecting packages in PKG_PATH

2010-11-09 Thread Ersin Akinci
Hi, I recently upgraded my ports tree from 4.8 release to current, but now it's not detecting any dependency packages in my PKG_PATH. PKG_PATH is set to the main openbsd.org package site and pkg_add works perfectly fine. I did notice that I was trying to use ports earlier tonight

Re: ports not detecting packages in PKG_PATH

2010-11-09 Thread Ersin Akinci
read this first http://www.openbsd.org/faq/faq15.html ports don't use PKG_PATH, but AnonCVS for updates/upgrades. Ports are using PKG_PATH only when you set FETCH_PACKAGES see here http://www.openbsd.org/cgi-bin/man.cgi?query=portssektion=7 Sorry, I should have specified that I have

Re: ports not detecting packages in PKG_PATH

2010-11-09 Thread Tomas Bodzar
On Wed, Nov 10, 2010 at 8:01 AM, Ersin Akinci ersin.aki...@gmail.com wrote: Hi, I recently upgraded my ports tree from 4.8 release to current, but now it's not detecting any dependency packages in my PKG_PATH. B PKG_PATH is set to the main openbsd.org package site and pkg_add works perfectly

Re: ports not detecting packages in PKG_PATH

2010-11-09 Thread Tomas Bodzar
On Wed, Nov 10, 2010 at 8:32 AM, Ersin Akinci ersin.aki...@gmail.com wrote: read this first http://www.openbsd.org/faq/faq15.html ports don't use PKG_PATH, but AnonCVS for updates/upgrades. Ports are using PKG_PATH only when you set FETCH_PACKAGES see here http://www.openbsd.org/cgi-bin

4.6 upgrade problem with 'pkg_add -u' and PKG_PATH

2010-03-24 Thread Juan Miscaro
I am having trouble upgrading to 4.6. I always upgrade from a local master repository. First, from the latter I set up reverse port forwarding on the target server so that PKG_PATH=http://localhost:/ Then I do: pkg_add -v -ui -F update -F updatedepends -F alwaysupdate The error I get

Re: PKG_PATH never works as stated

2009-10-26 Thread Nick Guenther
On Sun, Oct 25, 2009 at 10:29 PM, Juan Miscaro jmisc...@gmail.com wrote: I've had this problem for a long time (over many OpenBSD releases). The pkg_add man page (for 4.5) states: If a given package name cannot be found, the directories named by PKG_PATH are searched. It should contain

Re: PKG_PATH never works as stated

2009-10-26 Thread frantisek holop
hmm, on Mon, Oct 26, 2009 at 02:56:49AM +, Jacob Meuser said that If a given package name cannot be found, the directories named by ^^^ PKG_PATH are searched. It should contain a series of entries separated by colons. Each entry consists

Re: PKG_PATH never works as stated

2009-10-26 Thread Jacob Meuser
On Mon, Oct 26, 2009 at 08:41:44PM +0100, frantisek holop wrote: hmm, on Mon, Oct 26, 2009 at 02:56:49AM +, Jacob Meuser said that If a given package name cannot be found, the directories named by ^^^ PKG_PATH are searched. It should contain

Re: PKG_PATH never works as stated

2009-10-26 Thread frantisek holop
by ^^^ PKG_PATH are searched. It should contain a series of entries separated by colons. Each entry consists of a directory name. URL schemes such as FTP, HTTP, HTTPS, or SCP are also appropriate. later man pages go like this: If the given package

Re: PKG_PATH never works as stated

2009-10-26 Thread Juan Miscaro
^^^ PKG_PATH are searched. B It should contain a series of entries separated by colons. B Each entry consists of a directory name. B URL schemes such as FTP, HTTP, HTTPS, or SCP are also appropriate. On a client machine: PKG_PATH=http://$HTTP_MASTER/:http

Re: PKG_PATH never works as stated

2009-10-26 Thread Jacob Meuser
: If a given package name cannot be found, the directories named by B ^^^ PKG_PATH are searched. B It should contain a series of entries separated by colons. B Each entry consists of a directory name. B URL schemes such as FTP, HTTP, HTTPS, or SCP are also

PKG_PATH never works as stated

2009-10-25 Thread Juan Miscaro
I've had this problem for a long time (over many OpenBSD releases). The pkg_add man page (for 4.5) states: If a given package name cannot be found, the directories named by PKG_PATH are searched. It should contain a series of entries separated by colons. Each entry consists of a directory name

Re: PKG_PATH never works as stated

2009-10-25 Thread Jacob Meuser
On Sun, Oct 25, 2009 at 10:29:29PM -0400, Juan Miscaro wrote: I've had this problem for a long time (over many OpenBSD releases). The pkg_add man page (for 4.5) states: If a given package name cannot be found, the directories named by ^^^ PKG_PATH

Help with PKG_PATH=

2009-05-14 Thread Jose Perez Rodriguez
Today i was installing OpenBSD 4.5 and i type: export PKG_PATH=ftp://tp.openbsd.org/pub/OpenBSD/4.5/packages/i386/ chmod u=rwx /home PKG_CACHE=/home pkg_add k3b But when i type pkg_add k3b, is not working, and the url says ftp://tp.openbsd.org//pub/OpenBSD/4.5/packages/i386/;. Strange, isn't

Re: Help with PKG_PATH=

2009-05-14 Thread Johan Beisser
On Thu, May 14, 2009 at 10:41 AM, Jose Perez Rodriguez juangmgald...@gmail.com wrote: Today i was installing OpenBSD 4.5 and i type: export PKG_PATH=ftp://tp.openbsd.org/pub/OpenBSD/4.5/packages/i386/ tp.openbsd.org?

Re: Help with PKG_PATH=

2009-05-14 Thread Stuart Henderson
On 2009-05-14, Jose Perez Rodriguez juangmgald...@gmail.com wrote: Today i was installing OpenBSD 4.5 and i type: export PKG_PATH=ftp://tp.openbsd.org/pub/OpenBSD/4.5/packages/i386/ chmod u=rwx /home PKG_CACHE=/home pkg_add k3b But when i type pkg_add k3b, is not working, and the url says

Re: Help with PKG_PATH=

2009-05-14 Thread Francisco Valladolid Hdez.
Hi --- On Thu, 5/14/09, Jose Perez Rodriguez juangmgald...@gmail.com wrote: From: Jose Perez Rodriguez juangmgald...@gmail.com Subject: Help with PKG_PATH= To: misc@openbsd.org Date: Thursday, May 14, 2009, 6:41 PM Today i was installing OpenBSD 4.5 and i type: export PKG_PATH=ftp

Re: Help with PKG_PATH=

2009-05-14 Thread Jacob Meuser
On Thu, May 14, 2009 at 11:30:52AM -0700, Francisco Valladolid Hdez. wrote: Hi --- On Thu, 5/14/09, Jose Perez Rodriguez juangmgald...@gmail.com wrote: From: Jose Perez Rodriguez juangmgald...@gmail.com Subject: Help with PKG_PATH= To: misc@openbsd.org Date: Thursday, May 14, 2009

Re: Help with PKG_PATH=

2009-05-14 Thread Mike Erdely
On Thu, May 14, 2009 at 01:39:13PM -0700, Fortunato wrote: # pwd /root/Desktop # ls -l openbgpd-4.4.1.tgz -rw-r--r-- 1 root wheel 163070 May 13 18:08 openbgpd-4.4.1.tgz # export PKG_PATH=/root/Desktop # pkg_add openbgpd

Re: Help with PKG_PATH=

2009-05-14 Thread Jacob Meuser
On Thu, May 14, 2009 at 01:39:13PM -0700, Fortunato wrote: I'm also having a problem but with PKG_PATH: # pwd /root/Desktop # ls -l openbgpd-4.4.1.tgz -rw-r--r-- 1 root wheel 163070 May 13 18:08 openbgpd-4.4.1.tgz

Re: Help with PKG_PATH=

2009-05-14 Thread Tomáš Bodžár
[mailto:owner-m...@openbsd.org] On Behalf Of Jacob Meuser Sent: Thursday, May 14, 2009 12:48 PM To: misc@openbsd.org Subject: Re: Help with PKG_PATH= On Thu, May 14, 2009 at 11:30:52AM -0700, Francisco Valladolid Hdez. wrote: Hi --- On Thu, 5/14/09, Jose Perez Rodriguez juangmgald

Re: Help with PKG_PATH=

2009-05-14 Thread Fortunato
@openbsd.org Subject: Re: Help with PKG_PATH= On Thu, May 14, 2009 at 01:39:13PM -0700, Fortunato wrote: # pwd /root/Desktop # ls -l openbgpd-4.4.1.tgz -rw-r--r-- 1 root wheel 163070 May 13 18:08 openbgpd-4.4.1.tgz # export PKG_PATH

Re: Help with PKG_PATH=

2009-05-14 Thread Tomáš Bodžár
fortunato.montre...@earthlink.net Cc: OpenBSD-misc list misc@openbsd.org Subject: Re: Help with PKG_PATH= Eee??? http://www.openbgpd.org/ Why are you trying something with some package?OpenBGPD is in base. And /root/Desktop B ? Are you using Firefox under root?Crazy. 2009/5/14

Re: Help with PKG_PATH=

2009-05-14 Thread Tomáš Bodžár
the standard package: B http://www.openbsd.org/faq/faq1.html#Included Dankeschoen... -Original Message- From: Mike Erdely m...@erdelynet.com Sent: May 14, 2009 1:59 PM To: Fortunato fortunato.montre...@earthlink.net Cc: misc@openbsd.org Subject: Re: Help with PKG_PATH= On Thu, May 14, 2009

Re: pkg_add adds an extra / to pkg_path

2009-02-03 Thread Simen Stavdal
Hello, Checking on my own box (running 4.1), $PKG_PATH echoes ; ftp://ftp.stacken.kth.se/pub/OpenBSD/4.1/packages/i386/ # uname -a OpenBSD ## 4.1 GENERIC.MP#1225 i386 I have export PKG_PATH=ftp://ftp.stacken.kth.se/pub/OpenBSD/4.1/packages/i386/ Set in my .profile, and it works

Re: pkg_add adds an extra / to pkg_path

2009-02-03 Thread Siju George
On Tue, Feb 3, 2009 at 1:41 PM, Simen Stavdal sstav...@start.no wrote: From the error message you are getting, it seems it cannot find the host ftp.openbsd.org... Can you connect to it from a command line (i.e ftp ftp.openbsd.org)? No I was not able to. When I fixed that the update is

Re: pkg_add adds an extra / to pkg_path

2009-02-03 Thread Stuart Henderson
In gmane.os.openbsd.misc, Siju George wrote: I have this in my PKG_PATH variable $ echo $PKG_PATH ftp://ftp.openbsd.org/pub/OpenBSD/4.4/packages/i386/ $ When I try to update a package it shows an error $ sudo pkg_add -ui firefox3 Error from ftp://ftp.openbsd.org//pub/OpenBSD/4.4/packages

Re: pkg_add adds an extra / to pkg_path

2009-02-03 Thread Stuart Henderson
On 2009-02-03, Stuart Henderson s...@spacehopper.org wrote: In gmane.os.openbsd.misc, Siju George wrote: I have this in my PKG_PATH variable $ echo $PKG_PATH ftp://ftp.openbsd.org/pub/OpenBSD/4.4/packages/i386/ $ When I try to update a package it shows an error $ sudo pkg_add -ui

Re: pkg_add adds an extra / to pkg_path

2009-02-03 Thread Siju George
On 2/3/09, Stuart Henderson s...@spacehopper.org wrote: This diff removes the extra / and hasn't broken anything yet in my testing (add/update with ftp and http): Hi, This Diff failed to apply. Hmm... Looks like a unified diff to me... The text leading up to this was:

Re: pkg_add adds an extra / to pkg_path

2009-02-03 Thread Robert
On Tue, 3 Feb 2009 19:28:36 +0530 Siju George sgeorge...@gmail.com wrote: What did I do Wrong? The command I Issued was # pwd /usr/src/usr.sbin/pkg_add/OpenBSD # patch PackageRepository.pm /var/software/patches/PackageRepository.pm # man diff # man patch # cd

  1   2   >