help needed for a nodejs + npm port: mongosh

2024-05-23 Thread Ronald Klop

Hi,

I'm trying to port MongoDB Shell to FreeBSD.
See the attached Makefile.

The build stage starts to fetch some npm packages which is not possible in 
poudriere.
How can I install NPM packages upfront?

The Mk/Uses/nodejs.mk file does not mention this and the porters handbook is 
also pretty limited on nodejs/npm information.

A pointer to some existing port as an example would also help.

Regards,
Ronald.


Makefile
Description: Binary data


Re: help needed for a nodejs + npm port: mongosh

2024-05-23 Thread Ronald Klop

Hi,

Nevermind.
Just found out that I don't need a port to massage the github repo into an 
executable.

As root:
# pkg install npm

As user:
$ npm install mongosh
$ ./node_modules/.bin/mongosh mongodb://127.0.0.1:27117/

And it all works.

Or use "npm install -g mongosh" as root if you trust the sources and need to 
install it globally.

Cheers,
Ronald.


Van: Ronald Klop 
Datum: donderdag, 23 mei 2024 11:34
Aan: freebsd-po...@freebsd.org
Onderwerp: help needed for a nodejs + npm port: mongosh


Hi,

I'm trying to port MongoDB Shell to FreeBSD.
See the attached Makefile.

The build stage starts to fetch some npm packages which is not possible in 
poudriere.
How can I install NPM packages upfront?

The Mk/Uses/nodejs.mk file does not mention this and the porters handbook is 
also pretty limited on nodejs/npm information.

A pointer to some existing port as an example would also help.

Regards,
Ronald.
 
 




Re: FreeBSD Port: tcl86-sql-20000114_8

2024-05-23 Thread Vladimir Druzenko

23.05.2024 05:51, Mikhail T. пишет:

22.05.24 22:38, David Probst:

Hi Team,

A quick question.

Is there any way of running tcl86-sql-2114_8 with MariaDB? Running FreeBSD 
14 and TCL8.6.

Many thanks,

David.


The databases/tcl-Mysql should work against any MySQL server, yes. 
Which client-library implementation is used at build-time, is 
determined by the logic inside Mk/Uses/mysql.mk. By default it is 
databases/mysql80-client, but it should be possible to change that 
somehow. CC-ing flo and vvd as the last two committers to mysql.mk...


Yours,

-mi

Just build databases/tcl-Mysql with mariadb1011-client-10.11.7 in 
poudriere 13.3-p2 amd64 without errors.

See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277922

--
Best regards,
Vladimir Druzenko



OpenPGP_0x8006FAABBF942F73.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


poudriere jails accidentally broken

2024-05-23 Thread void

Hi,

I was a bit too zealous in deleting some snapshots
and deleted ones like this:

ssd/poudriere/jails/14S-amd64@clean

Now, that jail won't run - this happens:

ssd/poudriere/jails/14S-amd64@clean': dataset does not exist

when I try to run it. If the jail is updated with "poudriere jail
-j jailname -u", the @clean gets made somewhere in the process
and it works again. But this means that all the ports the jail has 
already built get re-built from scratch.


Is there a way to re-create the '@clean' without having to rebuild
all the ports? I realise this is my own idiot fault, and that the answer
to this is probably "no", but I thought I'd ask here first.
--



Re: poudriere jails accidentally broken

2024-05-23 Thread void

On Thu, May 23, 2024 at 05:12:03PM +0100, void wrote:

Hi,

I was a bit too zealous in deleting some snapshots
and deleted ones like this:

ssd/poudriere/jails/14S-amd64@clean

Now, that jail won't run - this happens:

ssd/poudriere/jails/14S-amd64@clean': dataset does not exist

when I try to run it. If the jail is updated with "poudriere jail
-j jailname -u", the @clean gets made somewhere in the process
and it works again. But this means that all the ports the jail has 
already built get re-built from scratch.


Is there a way to re-create the '@clean' without having to rebuild
all the ports? I realise this is my own idiot fault, and that the answer
to this is probably "no", but I thought I'd ask here first.
--



Seems that making an @clean snapshot fixes this without having to rebuild!!!
Sorry for the noise
--



Re: poudriere jails accidentally broken

2024-05-23 Thread Olivier Certner
Hi,

> Is there a way to re-create the '@clean' without having to rebuild
> all the ports? I realise this is my own idiot fault, and that the answer
> to this is probably "no", but I thought I'd ask here first.

This should work (assuming your poudriere jails are under 
'/usr/local/poudriere/jails'):

rm /usr/local/poudriere/jails/14S-amd64/.poudriere-snap-clean
zfs snapshot ssd/poudriere/jails/14S-amd64@clean
touch /usr/local/poudriere/jails/14S-amd64/.poudriere-snap-clean

Regards.

-- 
Olivier Certner

signature.asc
Description: This is a digitally signed message part.


Re: poudriere jails accidentally broken

2024-05-23 Thread void

On Thu, May 23, 2024 at 06:21:26PM +0200, Olivier Certner wrote:


This should work (assuming your poudriere jails are under 
'/usr/local/poudriere/jails'):

rm /usr/local/poudriere/jails/14S-amd64/.poudriere-snap-clean
zfs snapshot ssd/poudriere/jails/14S-amd64@clean
touch /usr/local/poudriere/jails/14S-amd64/.poudriere-snap-clean


I just re-created the @clean. Do you think it's sufficient?

thank you for your (very quick) response
--



Re: poudriere jails accidentally broken

2024-05-23 Thread Olivier Certner
> I just re-created the @clean. Do you think it's sufficient?

Not sure, having '/.poudriere-snap-clean' in the jail's snapshot might cause 
problems later.  What I'm sure about is that this file is normally not part of 
the snapshot, so I've taken the habit to remove the former before recreating 
the latter.

-- 
Olivier Certner

signature.asc
Description: This is a digitally signed message part.


Unmaintained FreeBSD ports which are out of date

2024-05-23 Thread portscout
Dear port maintainers,

The portscout new distfile checker has detected that one or more
unmaintained ports appears to be out of date. Please take the opportunity
to check each of the ports listed below, and if possible and appropriate,
submit/commit an update. Please consider also adopting this port.
If any ports have already been updated, you can safely ignore the entry.

An e-mail will not be sent again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
cad/ifcopenshell| 0.6.0   | 
blenderbim-240523
+-+
java/apache-commons-cli | 1.4 | 1.8.0
+-+
textproc/R-cran-rio | 0.5.29  | 1.1.0
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

Reported by:portscout!