Summary: | dev-php/PEAR-Archive_Tar should depend on dev-lang/php[bzip2,posix,zlib] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthew Schultz <mattsch> |
Component: | [OLD] Development | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | creffett, gentoo.org |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
PEAR-Archive_Tar-1.3.10.ebuild
PEAR-Archive_Tar-1.3.10.ebuild |
Description
Matthew Schultz
2012-12-14 00:59:49 UTC
and include the ${DEPEND} var of course (In reply to comment #1) > and include the ${DEPEND} var of course Correction: ${DEPEND} is not needed in RDEPEND at all, DEPEND should be dropped entirely because there aren't any build dependencies and PEAR-PEAR should be moved to RDEPEND. Created attachment 332254 [details]
PEAR-Archive_Tar-1.3.10.ebuild
bumped, simplified and fixed repend on ebuild
(In reply to comment #3) > Created attachment 332254 [details] > PEAR-Archive_Tar-1.3.10.ebuild > > bumped, simplified and fixed repend on ebuild RDEPEND that is PEAR_Archive_Tar cannot use the php-pear-r1 since pear in itself depends on PEAR_Archive_Tar. That is why PEAR_Archive_Tar is installed using that particular src_install. The RDEPEND could still be added though. Created attachment 334036 [details]
PEAR-Archive_Tar-1.3.10.ebuild
Removed php-pear-r1 usage as per previous comments.
--- ./ChangeLog +++ ./ChangeLog @@ -4,0 +5,3 @@ + 16 Feb 2015; Brian Evans <grknight@gentoo.org> PEAR-Archive_Tar-1.3.13.ebuild: + Add missing RDEPEND for bug 447180 + I would recommend dropping the 'posix' USE flag requirement as many web hosts don't like having PHP built with the POSIX extensions for general client usage. Within 'Tar.php', there is a conditional that tests for: if (function_exists('posix_getpwuid')) { ... } else { ... } therefore it is not a strict requirement. This is also important because to get 'pear' itself installed, it depends on this dev-php/pear-1.9.4 (>=dev-php/PEAR-Archive_Tar-1.3.7) which in turn forces PHP + POSIX on everyone. Please reconsider the forced 'posix' USE flag requirement. As an aside, the same could be said for 'function_exists()' and bzip2, zlib, and also for lzma2 ('xzopen') $ grep function_exists Tar.php I don't believe there needs to be any USE flag constraints on PHP via >=dev-php/PEAR-Archive_Tar-1.3.15 Thank you for your consideration! (In reply to Terra from comment #8) > I would recommend dropping the 'posix' USE flag requirement as many web > hosts don't like having PHP built with the POSIX extensions for general > client usage. > > Within 'Tar.php', there is a conditional that tests for: > if (function_exists('posix_getpwuid')) { ... } else { ... } > > therefore it is not a strict requirement. > > This is also important because to get 'pear' itself installed, it depends on > this > dev-php/pear-1.9.4 (>=dev-php/PEAR-Archive_Tar-1.3.7) > > which in turn forces PHP + POSIX on everyone. > > Please reconsider the forced 'posix' USE flag requirement. > > As an aside, the same could be said for 'function_exists()' and bzip2, zlib, > and also for lzma2 ('xzopen') > $ grep function_exists Tar.php > > I don't believe there needs to be any USE flag constraints on PHP via > >=dev-php/PEAR-Archive_Tar-1.3.15 > > Thank you for your consideration! Yes it appears the PEAR-Archive_Tar-1.3.15 makes function checks it didn't originally do when I filed this bug. Please file a new bug though since this bug has already been resolved. |