net-mgmt/net-snmp needs JAIL : off to get Memory usage

2023-12-28 Thread Dan Langille
Hello,

I've just solved a long-puzzling issue with net-mgmt/net-snmp which was not 
reporting Memory Usage on my hosts.

Tests show it is related to the JAIL build-time configuration option.

  JAIL=off: Options for running snmpd within a jail(8)

If off, the default, Memory Usage is available via snmpd.

If on, it is not.

One might ask: why have it on if not running in a jail?

Simplicity: I build my own packages. I could have one repo specifically for 
hosts (i.e. non-jails), but until now, it's never been an issue.

However, I want to point that that JAIL=off does not seem to affect usage 
within a jail.

It becomes clear what JAIL does when looking at the Makefile:

if ${PORT_OPTIONS:MJAIL}
NET_SNMP_WITHOUT_MIB_MODULE_LIST+=  host
NET_SNMP_WITHOUT_MIB_MODULE_LIST+=  ucd-snmp/memory
CONFIGURE_ARGS+=--without-kmem-usage
endif

Not it's clear.  Don't report host-like objects when within a jail.

It is time for some flavors on this port?  I know I'd like one for my use: one 
without the above and with.

I'll see if I can mangle something up which works.

-- 
  Dan Langille
  d...@langille.org



Re: net-mgmt/net-snmp needs JAIL : off to get Memory usage

2023-12-28 Thread Dan Langille
On Thu, Dec 28, 2023, at 11:28 AM, Dan Langille wrote:
> Hello,
>
> I've just solved a long-puzzling issue with net-mgmt/net-snmp which was 
> not reporting Memory Usage on my hosts.
>
> Tests show it is related to the JAIL build-time configuration option.
>
>   JAIL=off: Options for running snmpd within a jail(8)
>
> If off, the default, Memory Usage is available via snmpd.
>
> If on, it is not.
>
> One might ask: why have it on if not running in a jail?
>
> Simplicity: I build my own packages. I could have one repo specifically 
> for hosts (i.e. non-jails), but until now, it's never been an issue.
>
> However, I want to point that that JAIL=off does not seem to affect 
> usage within a jail.
>
> It becomes clear what JAIL does when looking at the Makefile:
>
> if ${PORT_OPTIONS:MJAIL}
> NET_SNMP_WITHOUT_MIB_MODULE_LIST+=  host
> NET_SNMP_WITHOUT_MIB_MODULE_LIST+=  ucd-snmp/memory
> CONFIGURE_ARGS+=--without-kmem-usage
> endif
>
> Not it's clear.  Don't report host-like objects when within a jail.
>
> It is time for some flavors on this port?  I know I'd like one for my 
> use: one without the above and with.
>
> I'll see if I can mangle something up which works.

This works for me.

-- 
  Dan Langille
  d...@langille.org

patch-net-snmp-jail-flavor
Description: Binary data


CI for ports

2023-12-28 Thread Rozhuk Ivan
Hi!


Can we please have at least BASIC continues integration for ports?
Just check that it can be build and if tests exist then it run without errors.

Or a bit advanced CI that also will build ports with all SSL/SAMBA/LLVM/etc
versions.

portlint and other atochekers and helpers can be integrateg to CI too.

This all will make life easy for maiteiner and users will more happy.



Also will be very nice to move from phabricator+Bugzilla to something more
modern and useful, like gitea/gitlab...




Re: CI for ports

2023-12-28 Thread Moin Rahman


> On Dec 29, 2023, at 2:07 AM, Rozhuk Ivan  wrote:
> 
> Hi!
> 
> 
> Can we please have at least BASIC continues integration for ports?
> Just check that it can be build and if tests exist then it run without errors.
> 
> Or a bit advanced CI that also will build ports with all SSL/SAMBA/LLVM/etc
> versions.
> 
> portlint and other atochekers and helpers can be integrateg to CI too.
> 
> This all will make life easy for maiteiner and users will more happy.
> 
> 
> 
> Also will be very nice to move from phabricator+Bugzilla to something more
> modern and useful, like gitea/gitlab...
> 
> 

Ah damn. I totally forgot about it. I have worked on one and it's functional.

But I will activate it sometimes in the next month.

You will be able to open a Github PR and the test will be done through Cirrus 
CI.

Kind regards,
Moin


signature.asc
Description: Message signed with OpenPGP


Unmaintained FreeBSD ports which are out of date

2023-12-28 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-231228
+-+
databases/clickhouse| 22.1.3.7| 
v23.12.1.1368-stable
+-+


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!



Is the ZPOOL option broken in poudriere?

2023-12-28 Thread Yuri

Hi,



I have a valid ZFS pool assigned to the ZPOOL variable.

poudriere creates these directories in this pool:

poudriere/

poudriere/jails


These directories remain empty.


poudriere works fine, but after the reboot all built packages disappear, 
and poudriere begins to rebuild them from scratch.



I believe that ZPOOL either worked before, or it have never worked, 
because ZOOL was set like this for a long time without package disappearing.



What is wrong?


Thanks,

Yuri