FreeType 2.9.1

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
905
Location
🇳🇱
https://www.freetype.org/index.html#news

Fixes CVE-2018-6942

@ DA: Since PHP needs a rebuild to use the new version (this is after ./build freetype):

Code:
php -i | grep "FreeType"
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.9.0

Maybe add a warning after ./build freetype to also do a ./build php? (now only this: Done FreeType.)
 
Added to versions.txt.

Note, for new installs, if you get this error:
Code:
If configure fails try --with-vpx-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype-config not found.


*** There was an error while trying to configure php. Check the configure file
it means the new FreeType 2.9.1 is not being configured with the new
Code:
--enable-freetype-config
option, as mentioned here:
https://sourceforge.net/projects/freetype/files/freetype2/2.9.1/

The build scripts have all been updated, but may take up to 24 hours to get to all mirrors.
The fix is in CB2 rev 1865

If you need this fix immediately, run:
Code:
cd /usr/local/directadmin/custombuild
wget -O build http://files1.directadmin.com/services/custombuild/2.0/custombuild/build
./build freetype
which will then install the freetype-config.

From there, you can re-run the setup.sh (if it's a new install) or continue with any other actions.
If the build script is overwritten during the setup.sh or ./build update to an older rev, that's ok because the freetype-config already exists.
Again, rev 1865 will sync to all other mirrors within 24 hours, so you don't need to repeat the process once the freetype-config is present.
This is also why it slipped past our checks, as we had a freetype-config from older freetype versions, so it mainly just affects new installs.

John
 
The build scripts have all been updated, but may take up to 24 hours to get to all mirrors.
The fix is in CB2 rev 1865
Hi, I just finished updating FreeType to 2.10.4:
Code:
cd /usr/local/directadmin/custombuild/
./build update_script
./build freetype

However, when I check with the following command, I am still using the old version:
Code:
php -i | grep FreeType
Can you tell me what steps I made wrong? Thank you very much
 

Attachments

  • Screen Shot 2021-02-19 at 10.44.27 PM.png
    Screen Shot 2021-02-19 at 10.44.27 PM.png
    153.3 KB · Views: 4
Back
Top