GNU Readline should be replaced with libedit
Dieses Issue hat noch niemand übernommen.
- #13184 von @petk — ohne Merge geschlossen
- Vorherrschende Sprache
- C
- Sterne
- 40.4k
- Forks
- 8.1k
- Ø Merge
- 2 T. 13 Std.
- Gemergte PRs (30 T.)
- 96
Beschreibung
Description
The following when using Autotools build system:
./buildconf
./configure --with-readline
# or ./configure --with-readline --enable-phpdbg-readline
make
Results in successful build, but the linked library GNU Readline is licensed under the GNU GPL 3 license, which means that PHP then shouldn't be distributed to anyone. PHP provides linking with the libedit library (--with-libedit) as a replacement in this case. However, build system should not contain such issues. This is not that obvious for people just starting to build PHP and trying to provide it to other users.
There is https://github.com/php/php-src/pull/13184 where the GNU Readline is replaced with libedit only.
Should we target PHP 8.4?
PHP Version
any
Operating System
*nix
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem Autotools-Pfad in buildconf und den configure-Optionen --with-readline, --with-libedit und --enable-phpdbg-readline. Überprüfe den geschlossenen PR 13184 und verifiziere, dass die relevanten Build-Befehle nicht mehr GNU Readline auswählen und dennoch erfolgreich abgeschlossen werden; das Issue zielt auf PHP 8.4 ab, gibt jedoch kein bestätigtes Ziel an.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- c
- Bereich
- build-system
- Issue-Typ
- Refactoring
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100