[PECL-DEV] Re: [External] : Re: [PECL-DEV] New PECL Extension, mysqlnd based

2021-05-10 Thread Remi Collet

Please provide LICENSE file in pecl package

Else anyone dsitributing it will violate the license terms


Remi

--
PECL development discussion Mailing List (https://pecl.php.net/)
To unsubscribe, visit: https://www.php.net/unsub.php



[PECL-DEV] Re: [External] : Re: [PECL-DEV] New PECL Extension, mysqlnd based

2021-05-10 Thread Remi Collet

Le 10/05/2021 à 11:27, Filip Janiszewski a écrit :

Hi Remi,

Yes, it should work only with 8.0 onward, the source code has not been released 
yet to a public repository, we're working here to create a mirror of our 
private repo on github so that the code will be available.

As for the KRB5 issue, what OS/release are you using to build the code? I might 
have to check for compatibility issues and fix them.


Fedora 32, 33, 34
RHEL 7, 8

Remi



Thanks a lot

From: Remi Collet 
Sent: Monday, May 10, 2021 11:21 AM
To: pecl-dev@lists.php.net ; Filip Janiszewski 

Subject: [External] : Re: [PECL-DEV] New PECL Extension, mysqlnd based


Also krb5 support seems broken

  PKG_CHECK_MODULES([KRB5], [libkrb5])

Which library provides this

  PKG_CHECK_MODULES([KRB5], [krb5])

Seems better (build passes), but cannot be loaded

  modules/mysqlnd.so: undefined symbol: GSS_C_NT_USER_NAME


Remi



--
PECL development discussion Mailing List (https://pecl.php.net/)
To unsubscribe, visit: https://www.php.net/unsub.php



[PECL-DEV] Re: [External] : Re: [PECL-DEV] New PECL Extension, mysqlnd based

2021-05-10 Thread Filip Janiszewski
Hi Remi,

Yes, it should work only with 8.0 onward, the source code has not been released 
yet to a public repository, we're working here to create a mirror of our 
private repo on github so that the code will be available.

As for the KRB5 issue, what OS/release are you using to build the code? I might 
have to check for compatibility issues and fix them.

Thanks a lot

From: Remi Collet 
Sent: Monday, May 10, 2021 11:21 AM
To: pecl-dev@lists.php.net ; Filip Janiszewski 

Subject: [External] : Re: [PECL-DEV] New PECL Extension, mysqlnd based


Also krb5 support seems broken

 PKG_CHECK_MODULES([KRB5], [libkrb5])

Which library provides this

 PKG_CHECK_MODULES([KRB5], [krb5])

Seems better (build passes), but cannot be loaded

 modules/mysqlnd.so: undefined symbol: GSS_C_NT_USER_NAME


Remi


Re: [PECL-DEV] New PECL Extension, mysqlnd based

2021-05-10 Thread Remi Collet

Le 10/05/2021 à 11:21, Remi Collet a écrit :


Also krb5 support seems broken

     PKG_CHECK_MODULES([KRB5], [libkrb5])

Which library provides this

     PKG_CHECK_MODULES([KRB5], [krb5])

Seems better (build passes), but cannot be loaded

     modules/mysqlnd.so: undefined symbol: GSS_C_NT_USER_NAME


Remi




Fixed by a simple

  PHP_SUBST(MYSQLND_SHARED_LIBADD)



Remi

--
PECL development discussion Mailing List (https://pecl.php.net/)
To unsubscribe, visit: https://www.php.net/unsub.php



Re: [PECL-DEV] New PECL Extension, mysqlnd based

2021-05-10 Thread Remi Collet



Also krb5 support seems broken

PKG_CHECK_MODULES([KRB5], [libkrb5])

Which library provides this

PKG_CHECK_MODULES([KRB5], [krb5])

Seems better (build passes), but cannot be loaded

modules/mysqlnd.so: undefined symbol: GSS_C_NT_USER_NAME


Remi

--
PECL development discussion Mailing List (https://pecl.php.net/)
To unsubscribe, visit: https://www.php.net/unsub.php



Re: [PECL-DEV] New PECL Extension, mysqlnd based

2021-05-10 Thread Remi Collet

Le 22/04/2021 à 10:23, Filip Janiszewski a écrit :

Hi,

I would like to publish a new extension on PECL, the proposed name is 
mysqlnd_ngen (where ngen stands for next gen) and it would contain mysqlnd, 
mysqli and pdo (forked from php and bundled in one extension with building 
scripts that will prepare the 3 extension builds which the user can load into 
php instead of the original version in the repo) with a bunch of modifications 
that Oracle (Where I work and on behalf of which I'm submitting the request) is 
providing and that are expected to be used from hopefully community and 
certainly corporate users. (Like, support for specific auth mechanism like 
kerberos, or support for high availability, topology discover etc).

I can login to PECL (fjanisze) and I saw that before submitting a new package 
request I should inquiry this list for comments, so here I'm, please comment 
for further details or suggestions on different names - The maintainer of the 
repo would be me and the extension will be up to date with php-8.0.


I noticed thant mysqlnd_ngen 8.0.25 was released

BTW, despite https://pecl.php.net/package/mysqlnd_ngen
claims it is compatible with 7.1+, build fails with 7.x

Seems to be PHP 8 only


More, there is no link to sources repository



Remi

--
PECL development discussion Mailing List (https://pecl.php.net/)
To unsubscribe, visit: https://www.php.net/unsub.php



[PECL-DEV] New PECL Extension, mysqlnd based

2021-04-22 Thread Filip Janiszewski
Hi,

I would like to publish a new extension on PECL, the proposed name is 
mysqlnd_ngen (where ngen stands for next gen) and it would contain mysqlnd, 
mysqli and pdo (forked from php and bundled in one extension with building 
scripts that will prepare the 3 extension builds which the user can load into 
php instead of the original version in the repo) with a bunch of modifications 
that Oracle (Where I work and on behalf of which I'm submitting the request) is 
providing and that are expected to be used from hopefully community and 
certainly corporate users. (Like, support for specific auth mechanism like 
kerberos, or support for high availability, topology discover etc).

I can login to PECL (fjanisze) and I saw that before submitting a new package 
request I should inquiry this list for comments, so here I'm, please comment 
for further details or suggestions on different names - The maintainer of the 
repo would be me and the extension will be up to date with php-8.0.

Thanks.