Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2023 21:45:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273944] security/crowdsec: update to 1.5.4, and more
Message-ID:  <bug-273944-7788-soIbsWSTbB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273944-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273944-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273944

--- Comment #2 from marco@crowdsec.net ---
(In reply to Robert Clausecker from comment #1)

Hi, thanks!

I'll update the patch tomorrow in light of your review


> The quarterly branch is still on Go 1.19.  Is this version of the Go tool=
chain still supported?

This needs Go 1.20, so no quarterly, it's ok. I'll stop proposing that, we
seldom have bugfix-only releases.

> I see that you have removed -mod=3Dvendor from the build options.  Is thi=
s option now supplied by some other means?

Yes, dependencies are now read from github before the build, there is a
vendor.tgz file created at release time by a github action. I tested in
poudriere.

 > I really wonder why you can't just use the standard USES=3Dgo build targ=
et.

I'd like to do that, and have done so for the crowdsec bouncers already.
Maybe for the next release, until this version crowdsec had 5 go.mod files -
one for each notification plugin. Removing gmake should be easier but I hav=
en't
gotten around to do it.

> While I was able to find a binary that links to libre2.so, I didn't find =
one that links with libabsl_base.so.  Is this LIB_DEPENDS correct?

It may depend on the version of re2, because abseil is a new dependency. I
certainly have it in my binaries when building against the main branch.

Not libabsl_base.so, but everything else, I'm not sure what's the right fil=
e to
put there.


ldd /usr/local/bin/crowdsec
/usr/local/bin/crowdsec:
        libthr.so.3 =3D> /lib/libthr.so.3 (0x183fe90cd000)
        libre2.so.11 =3D> /usr/local/lib/libre2.so.11 (0x183fe8301000)
        libabsl_spinlock_wait.so.2301.0.0 =3D>
/usr/local/lib/libabsl_spinlock_wait.so.2301.0.0 (0x183fe913f000)
        libabsl_flags.so.2301.0.0 =3D> /usr/local/lib/libabsl_flags.so.2301=
.0.0
(0x183fe9ee1000)
        libabsl_bad_optional_access.so.2301.0.0 =3D>
/usr/local/lib/libabsl_bad_optional_access.so.2301.0.0 (0x183fea5cb000)
        libabsl_strings_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_strings_internal.so.2301.0.0 (0x183febe96000)
        libabsl_flags_program_name.so.2301.0.0 =3D>
/usr/local/lib/libabsl_flags_program_name.so.2301.0.0 (0x183feb0b1000)
        libabsl_graphcycles_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_graphcycles_internal.so.2301.0.0 (0x183fecc11000)
        libabsl_civil_time.so.2301.0.0 =3D>
/usr/local/lib/libabsl_civil_time.so.2301.0.0 (0x183fee5e5000)
        libabsl_time_zone.so.2301.0.0 =3D>
/usr/local/lib/libabsl_time_zone.so.2301.0.0 (0x183fed953000)
        libabsl_symbolize.so.2301.0.0 =3D>
/usr/local/lib/libabsl_symbolize.so.2301.0.0 (0x183feea4f000)
        libabsl_debugging_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_debugging_internal.so.2301.0.0 (0x183ff04a3000)
        libabsl_demangle_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_demangle_internal.so.2301.0.0 (0x183feec44000)
        libabsl_malloc_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_malloc_internal.so.2301.0.0 (0x183fef573000)
        libabsl_time.so.2301.0.0 =3D> /usr/local/lib/libabsl_time.so.2301.0=
.0
(0x183ff10a2000)
        libabsl_flags_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_flags_internal.so.2301.0.0 (0x183ff1245000)
        libabsl_flags_marshalling.so.2301.0.0 =3D>
/usr/local/lib/libabsl_flags_marshalling.so.2301.0.0 (0x183ff2ec2000)
        libabsl_log_severity.so.2301.0.0 =3D>
/usr/local/lib/libabsl_log_severity.so.2301.0.0 (0x183ff14a6000)
        libabsl_str_format_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_str_format_internal.so.2301.0.0 (0x183ff2318000)
        libabsl_flags_reflection.so.2301.0.0 =3D>
/usr/local/lib/libabsl_flags_reflection.so.2301.0.0 (0x183ff4345000)
        libabsl_flags_private_handle_accessor.so.2301.0.0 =3D>
/usr/local/lib/libabsl_flags_private_handle_accessor.so.2301.0.0
(0x183ff3d93000)
        libabsl_flags_commandlineflag.so.2301.0.0 =3D>
/usr/local/lib/libabsl_flags_commandlineflag.so.2301.0.0 (0x183ff52cc000)
        libabsl_flags_commandlineflag_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_flags_commandlineflag_internal.so.2301.0.0
(0x183ff6222000)
        libabsl_flags_config.so.2301.0.0 =3D>
/usr/local/lib/libabsl_flags_config.so.2301.0.0 (0x183ff6e81000)
        libabsl_cord.so.2301.0.0 =3D> /usr/local/lib/libabsl_cord.so.2301.0=
.0
(0x183ff7c75000)
        libabsl_crc32c.so.2301.0.0 =3D> /usr/local/lib/libabsl_crc32c.so.23=
01.0.0
(0x183ff833a000)
        libabsl_crc_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_crc_internal.so.2301.0.0 (0x183ff97bb000)
        libabsl_crc_cpu_detect.so.2301.0.0 =3D>
/usr/local/lib/libabsl_crc_cpu_detect.so.2301.0.0 (0x183ff8410000)
        libabsl_cordz_functions.so.2301.0.0 =3D>
/usr/local/lib/libabsl_cordz_functions.so.2301.0.0 (0x183ff8f0a000)
        libabsl_cordz_handle.so.2301.0.0 =3D>
/usr/local/lib/libabsl_cordz_handle.so.2301.0.0 (0x183ffa033000)
        libexecinfo.so.1 =3D> /usr/lib/libexecinfo.so.1 (0x183ffb0de000)
        libabsl_stacktrace.so.2301.0.0 =3D>
/usr/local/lib/libabsl_stacktrace.so.2301.0.0 (0x183ffb01b000)
        libabsl_cord_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_cord_internal.so.2301.0.0 (0x183ffb91c000)
        libabsl_cordz_info.so.2301.0.0 =3D>
/usr/local/lib/libabsl_cordz_info.so.2301.0.0 (0x183ffce65000)
        libabsl_crc_cord_state.so.2301.0.0 =3D>
/usr/local/lib/libabsl_crc_cord_state.so.2301.0.0 (0x183ffb988000)
        libabsl_hash.so.2301.0.0 =3D> /usr/local/lib/libabsl_hash.so.2301.0=
.0
(0x183ffbf3d000)
        libabsl_city.so.2301.0.0 =3D> /usr/local/lib/libabsl_city.so.2301.0=
.0
(0x183ffdd80000)
        libabsl_bad_variant_access.so.2301.0.0 =3D>
/usr/local/lib/libabsl_bad_variant_access.so.2301.0.0 (0x183ffe2da000)
        libabsl_low_level_hash.so.2301.0.0 =3D>
/usr/local/lib/libabsl_low_level_hash.so.2301.0.0 (0x183ffed18000)
        libabsl_int128.so.2301.0.0 =3D> /usr/local/lib/libabsl_int128.so.23=
01.0.0
(0x183ffedc8000)
        libabsl_hashtablez_sampler.so.2301.0.0 =3D>
/usr/local/lib/libabsl_hashtablez_sampler.so.2301.0.0 (0x183fffa7f000)
        libabsl_exponential_biased.so.2301.0.0 =3D>
/usr/local/lib/libabsl_exponential_biased.so.2301.0.0 (0x184000372000)
        libabsl_raw_logging_internal.so.2301.0.0 =3D>
/usr/local/lib/libabsl_raw_logging_internal.so.2301.0.0 (0x184001f8e000)
        libabsl_throw_delegate.so.2301.0.0 =3D>
/usr/local/lib/libabsl_throw_delegate.so.2301.0.0 (0x184000a2c000)
        librt.so.1 =3D> /usr/lib/librt.so.1 (0x184000de8000)
        libabsl_base.so.2301.0.0 =3D> /usr/local/lib/libabsl_base.so.2301.0=
.0
(0x1840018c0000)
        libabsl_raw_hash_set.so.2301.0.0 =3D>
/usr/local/lib/libabsl_raw_hash_set.so.2301.0.0 (0x18400278a000)
        libabsl_strings.so.2301.0.0 =3D>
/usr/local/lib/libabsl_strings.so.2301.0.0 (0x184003eff000)
        libabsl_synchronization.so.2301.0.0 =3D>
/usr/local/lib/libabsl_synchronization.so.2301.0.0 (0x184002c7b000)
        libc++.so.1 =3D> /usr/lib/libc++.so.1 (0x184002d4e000)
        libcxxrt.so.1 =3D> /lib/libcxxrt.so.1 (0x1840038d2000)
        libm.so.5 =3D> /lib/libm.so.5 (0x1840050a7000)
        libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x184004595000)
        libc.so.7 =3D> /lib/libc.so.7 (0x184006dd7000)
        libelf.so.2 =3D> /lib/libelf.so.2 (0x18400548a000)
        [vdso] (0x7ffffffff5d0)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273944-7788-soIbsWSTbB>