Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 08:35:38 +0000
From:      Oliver Schonrock <oliver@schonrocks.com>
To:        Christopher Hall <hsw@bitmark.com>, Torsten Zuehlsdorff <tz@FreeBSD.org>
Cc:        ports <ports@FreeBSD.org>
Subject:   Re: FreeBSD Port: php72-7.2.0 : trouble with lang/php72 & libargon2
Message-ID:  <9a0e9cb0-90ca-1fe9-698f-5a915c49aae6@schonrocks.com>
In-Reply-To: <20171211103053.0a50e47d@arria.bitmark.lan>
References:  <6a2752ce-ee15-84a4-bd2b-150f614cf1a2@schonrocks.com> <f0ddbb9e-a0ed-7a91-75b4-01061a2cd633@FreeBSD.org> <20171211103053.0a50e47d@arria.bitmark.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--wtoiaUJBxWg92iN2EoRp35DVMMHVINqpt
Content-Type: multipart/mixed; boundary="hh4TCoXkkOkWddh6NPQnJJWwKrX81jps2";
 protected-headers="v1"
From: Oliver Schonrock <oliver@schonrocks.com>
To: Christopher Hall <hsw@bitmark.com>, Torsten Zuehlsdorff <tz@FreeBSD.org>
Cc: ports <ports@FreeBSD.org>
Message-ID: <9a0e9cb0-90ca-1fe9-698f-5a915c49aae6@schonrocks.com>
Subject: Re: FreeBSD Port: php72-7.2.0 : trouble with lang/php72 & libargon2
References: <6a2752ce-ee15-84a4-bd2b-150f614cf1a2@schonrocks.com>
 <f0ddbb9e-a0ed-7a91-75b4-01061a2cd633@FreeBSD.org>
 <20171211103053.0a50e47d@arria.bitmark.lan>
In-Reply-To: <20171211103053.0a50e47d@arria.bitmark.lan>

--hh4TCoXkkOkWddh6NPQnJJWwKrX81jps2
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable

On 11/12/17 02:30, Christopher Hall wrote:
>> Error: /usr/local/bin/php is linked to /usr/local/lib/libargon2.so
>> which does not have a SONAME.  security/libargon2 needs to be fixed.
>>
>> I would say that this is the cause of the problem. So at first=20
>> Christopher - the maintainer of libargon2 - needs to fix libargon.
>> Than i can fix PHP. :)
> =20
> I closed out my existing bug #222344 on libargon2 pkg-config support an=
d
> put the entire patch to add both pkg-config and SONAME support as an
> attachment to bug #224190.
>=20
> Would you try this patch to see if it fixes the problem.
>=20

works for me:

# cd /usr/ports/security/libargon2/
# make deinstall clean
# wget -qO-
'https://bz-attachments.freebsd.org/attachment.cgi?id=3D188700&action=3Dd=
iff&format=3Draw&headers=3D1'
| patch -p3

# cd /usr/ports/lang/php72
# make deinstall clean install

# # builds both php72 and libargon

# pkg check --dependencies
Checking all packages: 100%

# php -r 'echo password_hash("password", PASSWORD_ARGON2I). "\n";'
$argon2i$v=3D19$m=3D1024,t=3D2,p=3D2$Vm1uSkpXLldNZnBxZWhxeQ$qGk/xMWUTuOz9=
yGFXFPCJi4HK5vexbFkQ14msvEYcPY

Good to commit?

Thanks


--=20
Oliver Sch=C3=B6nrock
email    : oliver@schonrocks.com


--hh4TCoXkkOkWddh6NPQnJJWwKrX81jps2--

--wtoiaUJBxWg92iN2EoRp35DVMMHVINqpt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJaLkNaAAoJEF6SumULDx4P944H/1Valk0kF4SMlu07oekLpkXL
S0/id4Zt1MzlD81VzZZU2pE0PqOjA7dsRRCBe5mbKrq9WTWLrj4pYAiNz9WztfAH
CxD+Kbvsm88ZhGIzixRNzOCuRX6bT6zd/5g26Fbqsupt+ThC5qHaERDyMqZNQy72
PjDqP77XxngIyI+f5PTqQmB1aTC39Nv2AnIphZvcGPIQtbbGVempGglJ21u7m9Kp
OEheW2X4p/WrJVljCetI5UlsP8oif8MQCX8XL0ylgFnMR8Dix/AgaVAUw9E83UpI
6jeE27vXR+jtkNjVN0wq1Zlouu57YRezlC3bsK3xkxqg8ipjYy0s5SLT++TjAiw=
=EW7q
-----END PGP SIGNATURE-----

--wtoiaUJBxWg92iN2EoRp35DVMMHVINqpt--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9a0e9cb0-90ca-1fe9-698f-5a915c49aae6>