Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2020 08:31:16 +0100
From:      =?utf-8?Q?Peter_Ankerst=C3=A5l?= <peter@pean.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        "elastic@freebsd.org" <elastic@FreeBSD.org>
Subject:   Re: Beats 7
Message-ID:  <BB664694-C051-4F06-ADC6-22CC127D8481@pean.org>
In-Reply-To: <51a99528-d45e-95dc-a365-621c2966f545@quip.cz>
References:  <97FB5F71-B110-4F31-9E62-C0EFCF2E0464@pean.org> <51a99528-d45e-95dc-a365-621c2966f545@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 17 Mar 2020, at 01:42, Miroslav Lachman <000.fbsd@quip.cz> wrote:
>=20
> Peter Ankerst=C3=A5l wrote on 2020/03/17 00:10:
>> Hi!
>> https://forums.freebsd.org/threads/logstash6-issue.74359/#post-454612
>> Would it be possible to update the port for beat? or add a new one. =
It seems it builds without any big changes. I removed all patches, but =
other than that I just changed the version number of the port.
>> torus:/usr/ports/sysutils/beats # svn diff
>> Index: Makefile
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> --- Makefile    (revision 528517)
>> +++ Makefile    (working copy)
>> @@ -2,7 +2,7 @@
>>  # $FreeBSD$
>>    PORTNAME=3D      beats
>> -PORTVERSION=3D   6.8.7
>> +PORTVERSION=3D   7.6.1
>>  DISTVERSIONPREFIX=3Dv
>>  CATEGORIES=3D    sysutils
>>  Index: distinfo
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> --- distinfo    (revision 528517)
>> +++ distinfo    (working copy)
>> @@ -1,3 +1,3 @@
>> -TIMESTAMP =3D 1584068609
>> -SHA256 (elastic-beats-v6.8.7_GH0.tar.gz) =3D =
2de29f889d0ee806e479c1607d5e36b3fba4232502771ef3196ee564b4a3e0bc
>> -SIZE (elastic-beats-v6.8.7_GH0.tar.gz) =3D 35559504
>> +TIMESTAMP =3D 1584399934
>> +SHA256 (elastic-beats-v7.6.1_GH0.tar.gz) =3D =
ab7921a6f76fa5010cc3f2ef6fcff8fba9fb06ac4afa703a5fb2901be0698c5b
>> +SIZE (elastic-beats-v7.6.1_GH0.tar.gz) =3D 77795975
>=20
> There must be some changes in pkg-plist too.
>=20
> Would you mind to test this version?
>=20
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244849
>=20
> Kind regards
> Miroslav Lachman
>=20
Oh, there it is.=20

I tested it and there seems to be some problem with the post install:

Installing beats7-7.6.1...
pkg-static: Fail to create hardlink: =
/var/db/beats/filebeat/kibana/7/dashboard/.pkgtemp.Filebeat-Kafka-overview=
.json.67sFQiaemu2r:Cross-device link
cp: /usr/local/etc/heartbeat.yml.sample: No such file or directory
cp: /usr/local/etc/metricbeat.yml.sample: No such file or directory
pkg-static: POST-INSTALL script failed
*** Error code 70

Stop.
make[1]: stopped i

Thanks!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BB664694-C051-4F06-ADC6-22CC127D8481>