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 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 >e

Re: Secure PKG_PATH for doas

2016-05-22 Thread lists
> 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 - installpath= in pkg.conf(5) w

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 po

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 use

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
st 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
t; 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/distrib/miniroot/ins tall.sub] 2259 # Crea

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 wrote: There is an alternative to PKG_PATH env var: http://man.openbsd.org

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 http://your.favorite.mirror/ > ftp: your.fav

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 wrote: > Igor Mironov wrote: >> The p

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

Re: Secure PKG_PATH for doas

2016-05-18 Thread Stuart Henderson
On 2016-05-18, 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 > (~/.pro

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
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

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

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 th

Re: PKG_PATH - SOLVED

2016-04-07 Thread Teno Deuter
x27;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 this in doas.conf: > permit keepenv { PKG_PATH } nopass :wheel > > > -- > Antoine

Re: PKG_PATH

2016-04-07 Thread Antoine Jacoutot
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 this in doas.conf: permit keepenv { PKG_PATH } nopass :wheel -- Antoine

Re: PKG_PATH

2016-04-07 Thread Teno Deuter
7;doas'? Thank you On Thu, Apr 7, 2016 at 11:17 PM, Mihai Popescu 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 en

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" 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 &

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 r

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

Re: Set PKG_PATH using Time Zone?

2015-03-27 Thread Stuart Henderson
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),

Re: Set PKG_PATH using Time Zone?

2015-03-26 Thread Sean Kamath
zone, 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( '/', ( spli

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/'u

Re: Set PKG_PATH using Time Zone?

2015-03-26 Thread Felipe Scarel
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.n

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.n

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'/

[SOLVED] Re: No address associated with PKG_PATH mirror

2014-11-20 Thread John Smith
.2.4p1 (installed) Thanks for the help   Sent: Thursday, November 20, 2014 at 9:04 PM From: Adriaan To: "OpenBSD general usage list" 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/ roo

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: ;; ->>H

Re: No address associated with PKG_PATH mirror

2014-11-20 Thread John Smith
IZE rcvd: 88 Sent: Thursday, November 20, 2014 at 8:00 PM From: "Cosmo Wu" To: "John Smith" 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 John Smith
    Sent: Thursday, November 20, 2014 at 8:06 PM From: "John Smith" 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/amd64/ $ p

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: Why are there no PKG_PATH defaults?

2014-09-25 Thread Ville Valkonen
o? >> >> 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. ... > > FWIW the idea of presenting the list of mirrors

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Paolo Aglialoro
d'origine- > De : owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] De la part de > 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 2

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 l

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Romain FABBRI - Alien Consulting
embre 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

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 ca

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Ville Valkonen
>>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 Liviu Daia
On 24 September 2014, Mihai Popescu 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 the new

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 fil

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 Alexander Hall
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 it for you? (Y/n) y > >

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 opendaddy
ow 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. ... There is currently no ports collection in `/usr/ports`. W

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Alexander Hall
/Alexander > >O.D. > >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_configurati

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 st

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Ville Valkonen
On 24 September 2014 14:12, Barbier, Jason 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 problem* > > -- >

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 Jay Patel
e: > > 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

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

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? I

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread opendaddy
nfiguration 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}/ Because /etc/pkg.conf ? /Alexander > >Thanks! > >O.D.

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 th

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Ingo Schwarze
t; # loglevel = 0 > > # URL to package repository updated during installation. Used > # for accessing packages 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-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 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=$(unam

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: 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 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 >

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 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 Paolo Aglialoro
THX to all for insight On Wed, Nov 10, 2010 at 1:48 PM, Stuart Henderson wrote: > On 2010-11-10, Paolo Aglialoro wrote: > >> Every time use mirrors for packages, it saves bandwidth and you can > >> have couple of them in PKG_PATH. > >> > > > > By which

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 Stuart Henderson
On 2010-11-10, Paolo Aglialoro 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

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 Tomas Bodzar
On Wed, Nov 10, 2010 at 1:24 PM, Paolo Aglialoro 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 James Hartley
On Wed, Nov 10, 2010 at 1:48 AM, Ersin Akinci wrote: > 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 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

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 p

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 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://ww

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 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 >

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=ports&sektion=7 Sorry, I should ha

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 w

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 is

Re: PKG_PATH never works as stated

2009-10-26 Thread Jacob Meuser
an page (for 4.5) states: > >> > >> "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 ent

Re: PKG_PATH never works as stated

2009-10-26 Thread Juan Miscaro
nnot 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 >> appro

Re: PKG_PATH never works as stated

2009-10-26 Thread frantisek holop
, 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. URL schemes such as FTP, HTTP, HTTPS, or S

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 > >^^^ > > > P

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 co

Re: PKG_PATH never works as stated

2009-10-26 Thread Nick Guenther
On Sun, Oct 25, 2009 at 10:29 PM, 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 are searched. It

Re: PKG_PATH never works as stated

2009-10-25 Thread Jacob Meuser
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. URL schemes such as FTP, HTTP, HTTPS, or SCP are also > appropriate." > > On a client machine: > > PKG_PATH=htt

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

Re: Help with PKG_PATH=

2009-05-14 Thread Tomáš Bodžár
dard package: > > B http://www.openbsd.org/faq/faq1.html#Included > > Dankeschoen... > > -Original Message- >>From: Mike Erdely >>Sent: May 14, 2009 1:59 PM >>To: Fortunato >>Cc: misc@openbsd.org >>Subject: Re: Help with PKG_PATH= >> &

Re: Help with PKG_PATH=

2009-05-14 Thread Tomáš Bodžár
8 PM >>To: Fortunato >>Cc: OpenBSD-misc list >>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

Re: Help with PKG_PATH=

2009-05-14 Thread Fortunato
Newbie slap to head - D'OH! I'm gonna have to memorize the standard package: http://www.openbsd.org/faq/faq1.html#Included Dankeschoen... -Original Message- >From: Mike Erdely >Sent: May 14, 2009 1:59 PM >To: Fortunato >Cc: misc@openbsd.org >Subject: Re:

Re: Help with PKG_PATH=

2009-05-14 Thread Tomáš Bodžár
m...@openbsd.org [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: >

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 1

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/Des

Re: Help with PKG_PATH=

2009-05-14 Thread Fortunato
> -Original Message- > From: owner-m...@openbsd.org [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, Francisc

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 wrote: > > > From: Jose Perez Rodriguez > > Subject: Help with PKG_PATH= > > To: misc@openbsd.org > > Date: Thursday

Re: Help with PKG_PATH=

2009-05-14 Thread Francisco Valladolid Hdez.
Hi --- On Thu, 5/14/09, Jose Perez Rodriguez wrote: > From: Jose Perez Rodriguez > 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://tp.openbsd.org/pub

Re: Help with PKG_PATH=

2009-05-14 Thread Stuart Henderson
On 2009-05-14, Jose Perez Rodriguez 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 wo

Re: Help with PKG_PATH=

2009-05-14 Thread Johan Beisser
On Thu, May 14, 2009 at 10:41 AM, Jose Perez Rodriguez 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"?

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/&qu

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 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 /usr/src/usr.sbin/pkg_add/OpenBSD #

Re: pkg_add adds an extra / to pkg_path

2009-02-03 Thread Siju George
On 2/3/09, Stuart Henderson 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: -- |Index:

Re: pkg_add adds an extra / to pkg_path

2009-02-03 Thread Stuart Henderson
On 2009-02-03, Stuart Henderson 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 sho

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:

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 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 working. Thankyou so

  1   2   >