Commit graph

4 commits

Author SHA1 Message Date
Michael Heimpold
9d50c48a21 php7-pecl-krb5: adapt to PHP 7.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-21 16:59:53 +01:00
Michael Heimpold
dc137819de php7-pecl-krb5: fix build error and runtime loading
The build throws several (non-fatal) build errors:
-snip-
...
checking for kerberos support... yes, shared
checking path to krb5config tool... no
checking for kerberos KADM5 support... no
checking whether we have krb5config...
./configure: line 3974: --libs: command not found
./configure: line 3975: --cflags: command not found
checking for required linker flags...
checking for required compiler flags...
./configure: line 3988: --version: command not found
checking for kerberos library version...
checking for krb5_free_string... no
checking for krb5_chpw_message... no
checking for krb5_principal_get_realm... no
checking how to print strings... printf
...
-snap-

To fix this give configure the path to krb5-config tool.

The runtime error which is fixed by the change is:
PHP Warning:  PHP Startup: Unable to load dynamic library 'krb5.so'
 (tried: /usr/lib/php/krb5.so (Error relocating
 /usr/lib/php/krb5.so: krb5_get_init_creds_opt_free: symbol not found),
 ...

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-11-30 22:04:41 +01:00
Michael Heimpold
cafcc8b292 php7-pecl-krb5: fix PKG_LICENSE tag
According to the included license file in the package,
the license is MIT not BSD, so fix it.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-09-10 21:45:59 +02:00
W. Michael Petullo
c27403d8f8 php7-pecl-krb5: add new package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-05-26 19:49:53 -04:00