Ports PHP 4.4.9 - GD Extension

Grant Peel gpeel at thenetnow.com
Thu Jul 8 14:42:18 UTC 2010


Hi all,

I am attempting to insall the GD PHP extension on FreeBSD 8 and am getting this at build time. (I need to have a php4 and mysql 4 server for compatability reasons).

It appears that the PNG version the port is trying to build has a security issue. How can I work arround this (I really need the GD extension).

Any help would be appreciated.

ds9# pwd
/usr/ports/lang/php4-extensions

ds9# make
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for php4-extensions-1.0
===>  Extracting for php4-extensions-1.0
===>  Patching for php4-extensions-1.0
===>   php4-extensions-1.0 depends on file: /usr/local/include/php/main/php.h - found
===>   php4-extensions-1.0 depends on file: /usr/local/lib/php/20020429/gd.so - not found
===>    Verifying install for /usr/local/lib/php/20020429/gd.so in /usr/ports/graphics/php4-gd
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for php4-gd-4.4.9_4
===>  Extracting for php4-gd-4.4.9_4
=> MD5 Checksum OK for php-4.4.9.tar.bz2.
=> SHA256 Checksum OK for php-4.4.9.tar.bz2.
===>  Patching for php4-gd-4.4.9_4
===>  Applying FreeBSD patches for php4-gd-4.4.9_4
===>   php4-gd-4.4.9_4 depends on file: /usr/local/bin/phpize - found
===>   php4-gd-4.4.9_4 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found
===>   php4-gd-4.4.9_4 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   php4-gd-4.4.9_4 depends on shared library: freetype.9 - found
===>   php4-gd-4.4.9_4 depends on shared library: png.6 - not found
===>    Verifying install for png.6 in /usr/ports/graphics/png
===>  png-1.4.1_1 is forbidden: vulnerable to remote buffer overflow.
*** Error code 1

Stop in /usr/ports/graphics/png.
*** Error code 1

Stop in /usr/ports/graphics/php4-gd.
*** Error code 1

Stop in /usr/ports/graphics/php4-gd.
*** Error code 1

Stop in /usr/ports/lang/php4-extensions.
*** Error code 1

Stop in /usr/ports/lang/php4-extensions.
ds9#

-Grant


More information about the freebsd-questions mailing list