Re: mongodb port

2020-12-08 Thread Gregory Edigarov



On 12/8/20 4:05 PM, Stuart Henderson wrote:
> On 2020-12-08, Gregory Edigarov  wrote:
>> Hello,
>>
>> Just found that mongodb port/package doesn't not install
>> mongodump/mongorestore binaries.
>> Are there any problems with them?
>>
>> --
>> With best regards,
>>  Gregory Edigarov
>>
>>
> Tempted to just reply with "if it needs backing up it shouldn't be
> in mongodb", but... they aren't included in the main distfile and will
> require modifying to work with OpenBSD.
;-) sure thing, it is rather about copying the data from one server to
another, not a real backup.
> https://github.com/mongodb/mongo-tools#building-tools
>
> $ ./make build
> START  | build
> FAIL   | build in 11.252428ms
>| failed to detect local platform from kernel name "OpenBSD"
> task(s) [build] failed
> exit status 2
Will look into this, thanks for pointing, Stuart.
--
With  best regards,
    Gregory  Edigarov



Re: mongodb port

2020-12-08 Thread Stuart Henderson
On 2020-12-08, Gregory Edigarov  wrote:
>
>
> On 12/8/20 4:05 PM, Stuart Henderson wrote:
>> On 2020-12-08, Gregory Edigarov  wrote:
>>> Hello,
>>>
>>> Just found that mongodb port/package doesn't not install
>>> mongodump/mongorestore binaries.
>>> Are there any problems with them?
>>>
>>> --
>>> With best regards,
>>>  Gregory Edigarov
>>>
>>>
>> Tempted to just reply with "if it needs backing up it shouldn't be
>> in mongodb", but... they aren't included in the main distfile and will
>> require modifying to work with OpenBSD.
> ;-) sure thing, it is rather about copying the data from one server to
> another, not a real backup.
>> https://github.com/mongodb/mongo-tools#building-tools
>>
>> $ ./make build
>> START  | build
>> FAIL   | build in 11.252428ms
>>| failed to detect local platform from kernel name "OpenBSD"
>> task(s) [build] failed
>> exit status 2
> Will look into this, thanks for pointing, Stuart.
> --
> With  best regards,
>     Gregory  Edigarov
>
>

I guess you can probably run it on $other_os to copy things around..




Re: mongodb port

2020-12-08 Thread Stuart Henderson
On 2020-12-08, Gregory Edigarov  wrote:
> Hello,
>
> Just found that mongodb port/package doesn't not install
> mongodump/mongorestore binaries.
> Are there any problems with them?
>
> --
> With best regards,
>  Gregory Edigarov
>
>

Tempted to just reply with "if it needs backing up it shouldn't be
in mongodb", but... they aren't included in the main distfile and will
require modifying to work with OpenBSD.

https://github.com/mongodb/mongo-tools#building-tools

$ ./make build
START  | build
FAIL   | build in 11.252428ms
   | failed to detect local platform from kernel name "OpenBSD"
task(s) [build] failed
exit status 2

There is some info at
https://github.com/mongodb/mongo-tools/blob/master/PLATFORMSUPPORT.md
but it only covers adding new Linux distros, not new OS.




mongodb port

2020-12-08 Thread Gregory Edigarov
Hello,

Just found that mongodb port/package doesn't not install
mongodump/mongorestore binaries.
Are there any problems with them?

--
With best regards,
 Gregory Edigarov



Re: mongodb

2016-01-18 Thread Sonic
On Fri, Nov 22, 2013 at 5:18 PM, Chris Smith  wrote:
> Wondering if mongodb is operational with -current?

Reviving old thread. Mongodb, yes, no?

Thanks,

Chris



PHP and MongoDB package

2013-12-19 Thread Tito Mari Francis Escaño
Good day,
I was trying to implement what they call the MEAN stack on OpenBSD and
found that PHP doesn't (yet?) have a support library to read/write to/from
MongoDB. I saw PHP with Redis is at the port.se site, hopefully Cassandra
is not far behind :)
Can somebody please give me pointers on this? Thank you very much.



Re: mongodb

2013-11-27 Thread Stuart Henderson
On 2013-11-26, Jiri B  wrote:
> On Fri, Nov 22, 2013 at 04:20:39PM -0600, Amit Kulkarni wrote:
>> On Fri, Nov 22, 2013 at 4:18 PM, Chris Smith wrote:
>> 
>> > Mentioned previously:
>> >
>> > On Tue, Oct 22, 2013 at 12:29 PM, Stuart Henderson 
>> > wrote:
>> > > Note that the mongodb port is currently broken (and has been since
>> > 5.3-ish iirc).
>> >
>> > Wondering if mongodb is operational with -current?
>> >
>> > No
>
> Excuse my uneducated question but what kind of technical
> problem is causing mongodb to be broken?

The original problem was something to do with rthreads, but since then
the port has suffered bit-rot and won't even build due to boost changes.

> Would be possible to work with upstream to see things
> getting closer to working state?

Given their "run our binaries" advice they probably don't care, but
maybe it's worth a try. Updating to their current code would be a
good start (I would ignore the current port patches for now, they
conflict with upstream changes but aren't super important for now,
they can be re-added later).



Re: mongodb

2013-11-26 Thread Juan Francisco Cantero Hurtado
On Tue, Nov 26, 2013 at 04:56:20PM -0500, Jiri B wrote:
> On Fri, Nov 22, 2013 at 04:20:39PM -0600, Amit Kulkarni wrote:
> > On Fri, Nov 22, 2013 at 4:18 PM, Chris Smith 
> > wrote:
> > 
> > > Mentioned previously:
> > >
> > > On Tue, Oct 22, 2013 at 12:29 PM, Stuart Henderson 
> > > wrote:
> > > > Note that the mongodb port is currently broken (and has been since
> > > 5.3-ish iirc).
> > >
> > > Wondering if mongodb is operational with -current?
> > >
> > > No
> 
> Excuse my uneducated question but what kind of technical
> problem is causing mongodb to be broken?

"BROKEN = broken after rthreads switch"

> 
> Would be possible to work with upstream to see things
> getting closer to working state?

Feel free to update the port and send the patches to the list :)

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Re: mongodb

2013-11-26 Thread Jiri B
On Fri, Nov 22, 2013 at 04:20:39PM -0600, Amit Kulkarni wrote:
> On Fri, Nov 22, 2013 at 4:18 PM, Chris Smith wrote:
> 
> > Mentioned previously:
> >
> > On Tue, Oct 22, 2013 at 12:29 PM, Stuart Henderson 
> > wrote:
> > > Note that the mongodb port is currently broken (and has been since
> > 5.3-ish iirc).
> >
> > Wondering if mongodb is operational with -current?
> >
> > No

Excuse my uneducated question but what kind of technical
problem is causing mongodb to be broken?

Would be possible to work with upstream to see things
getting closer to working state?

jirib



Re: mongodb

2013-11-22 Thread Amit Kulkarni
On Fri, Nov 22, 2013 at 4:18 PM, Chris Smith wrote:

> Mentioned previously:
>
> On Tue, Oct 22, 2013 at 12:29 PM, Stuart Henderson 
> wrote:
> > Note that the mongodb port is currently broken (and has been since
> 5.3-ish iirc).
>
> Wondering if mongodb is operational with -current?
>
> No



mongodb

2013-11-22 Thread Chris Smith
Mentioned previously:

On Tue, Oct 22, 2013 at 12:29 PM, Stuart Henderson  wrote:
> Note that the mongodb port is currently broken (and has been since 5.3-ish 
> iirc).

Wondering if mongodb is operational with -current?

Thank you,

Chris