Bug #78349 [PATCH]: Bundled pcre2 library missing LICENCE file

From: Date: Mon, 29 Jul 2019 17:17:20 +0000
Subject: Bug #78349 [PATCH]: Bundled pcre2 library missing LICENCE file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222001@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78349&edit=1 ID: 78349 Patch added by: petk@php.net Reported by: rainer dot jung at kippdata dot de Summary: Bundled pcre2 library missing LICENCE file Status: Assigned Type: Bug Package: PCRE related Operating System: Any PHP Version: 7.4.0beta1 Assigned To: petk Block user comment: N Private report: N New Comment: The following pull request has been associated: Patch Name: Fix #78349: Bundled pcre2 library missing LICENCE file On GitHub: https://github.com/php/php-src/pull/4483 Patch: https://github.com/php/php-src/pull/4483.patch Previous Comments: ------------------------------------------------------------------------ [2019-07-29 15:54:28] petk@php.net Hello, also a more relevant linkage for the pcre library is noted in the CONTRIBUTING.md file where to send upstream patches. The LICENSE file can and should be added back probably, yes since it is a "standard" one and copy of it should most likely be included besides the README file in the project root. Regarding the other doc files and contributing info, they will be outdated soon and are basically more like an inconsistent noise from the php-src point of view. They should be included also to support the upstream library and its authors? ------------------------------------------------------------------------ [2019-07-29 15:48:21] rainer dot jung at kippdata dot de Ah, had not seen that. For me the licence was the critical file. I think the other files are less critial. I don't know what mechanism is used to sync the bundled pcre2 lib with upstreams. It might be easy to include those files in the sync (if it is not done manually). But if you like you can also close this ticket. Thanks! ------------------------------------------------------------------------ [2019-07-29 15:27:53] cmb@php.net The license is already contained in README.REDIST.BINS[1]. Not sure what to do regarding the other files. [1] <https://github.com/php/php-src/blob/php-7.4.0beta1/README.REDIST.BINS#L23-L116> ------------------------------------------------------------------------ [2019-07-29 14:56:29] rainer dot jung at kippdata dot de Description: ------------ In PHP 7.3 and 7.4 the bundled pcrelib was updated from PCRE 1 to PCRE 2. When updating, all non-code files were dropped, expecially the LICENCE file. I think it would be better to add the upstream PCRE 2 LICENCE file back and maybe also the other ones: AUTHORS ChangeLog COPYING HACKING INSTALL LICENCE NEWS NON-AUTOTOOLS-BUILD README doc The loss might be due to the fact, that in PCRE 1 source file were located in the top directory, just as these accompanying files, in PCRE 2 they are located in a sub folder "src", so just syncing the src folder misses the accompanying files. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78349&edit=1

« previous php.bugs (#222001) next »