Re: Why are there no PKG_PATH defaults?

2014-09-25 Thread Ville Valkonen
On 25 September 2014 01:30, Dmitrij D. Czarkoff wrote: > 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 hav

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 like us to > set it

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
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 install from one of them. If you install from e.g. CD, you don't have a selected mirror. If you do install or up

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Ville Valkonen
Out of curiosity, what's wrong with the one that installer uses? -- Regards, Ville On 24 September 2014 19:34, Alexander Hall wrote: > On September 24, 2014 6:09:04 PM CEST, openda...@hushmail.com wrote: >>> Indeed, the installer only creates that if you install from a >>mirror. Apart from that

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
On September 24, 2014 6:09:04 PM CEST, openda...@hushmail.com wrote: >> Indeed, the installer only creates that if you install from a >mirror. Apart from that, as someone else pointed out, which mirror >should one choose? > >Cool, I didn't know that. > >Then, in the event that someone installed v

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
> Indeed, the installer only creates that if you install from a mirror. Apart from that, as someone else pointed out, which mirror should one choose? Cool, I didn't know that. Then, in the event that someone installed via an ISO or some pre-defined VM (ie. a DigitalOcean droplets) -- how about

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread Alexander Hall
On September 24, 2014 12:44:14 PM CEST, openda...@hushmail.com wrote: >> Because /etc/pkg.conf ? > >Sorry, no such file over here. Indeed, the installer only creates that if you install from a mirror. Apart from that, as someone else pointed out, which mirror should one choose? /Alexander > >O.

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
I think leave this to devs. to decide what they should and what they shouldn't provide. :) All we can do is remember "echo installpath=ftp://ftp5.usa.openbsd.org/pub/OpenBSD/$(uname -r)/packages/$(uname -m) | sudo tee /etc/pkg.conf" On Wed, Sep 24, 2014 at 4:15 PM, wrote: > > OpenBSD solution

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread opendaddy
mirror should ofcourse be set during the installation. O.D. On 24. september 2014 at 5:37 AM, "openbsd2012" wrote:| -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 | Su

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

Re: Why are there no PKG_PATH defaults?

2014-09-24 Thread opendaddy
> Because /etc/pkg.conf ? Sorry, no such file over here. 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_configuration thing -- >why ar

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
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. Examples should not duplicate manual pages. That merely causes double maintenance effort for developers. Let'

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

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://ftp.

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.