FreeBSD Port: php72-7.2.0 : trouble with lang/php72 & libargon2

Oliver Schonrock oliver at schonrocks.com
Mon Dec 11 08:35:48 UTC 2017


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 
>> Christopher - the maintainer of libargon2 - needs to fix libargon.
>> Than i can fix PHP. :)
>  
> I closed out my existing bug #222344 on libargon2 pkg-config support and
> put the entire patch to add both pkg-config and SONAME support as an
> attachment to bug #224190.
> 
> Would you try this patch to see if it fixes the problem.
> 

works for me:

# cd /usr/ports/security/libargon2/
# make deinstall clean
# wget -qO-
'https://bz-attachments.freebsd.org/attachment.cgi?id=188700&action=diff&format=raw&headers=1'
| 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=19$m=1024,t=2,p=2$Vm1uSkpXLldNZnBxZWhxeQ$qGk/xMWUTuOz9yGFXFPCJi4HK5vexbFkQ14msvEYcPY

Good to commit?

Thanks


-- 
Oliver Schönrock
email    : oliver at schonrocks.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20171211/115dcf40/attachment.sig>


More information about the freebsd-ports mailing list