Bug 252114

Summary: graphics/libwmf: Update to 0.2.12
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 251512    
Attachments:
Description Flags
Patch for libwmf none

Description Daniel Engberg freebsd_committer freebsd_triage 2020-12-24 17:54:47 UTC
Created attachment 220897 [details]
Patch for libwmf

Switch to active fork (removes the need to patch for mutliple CVEs)
This is what Alpine Linux, Arch Linux, Debian and Fedora uses.
Add patch to use pkg-config (pkgconfig) to detect freetype(2)

References:
https://github.com/caolanm/libwmf (no proper release notes available)
https://github.com/archlinux/svntogit-packages/blob/packages/libwmf/trunk/libwmf-freetype.patch

Compile tested on FreeBSD 13.0-CURRENT #0 r367711 (amd64)
Poudriere testport OK 12.2-RELEASE (amd64)
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2021-01-01 16:38:56 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-01-01 16:39:07 UTC
A commit references this bug:

Author: pi
Date: Fri Jan  1 16:38:53 UTC 2021
New revision: 559851
URL: https://svnweb.freebsd.org/changeset/ports/559851

Log:
  graphics/libwmf: update 0.2.8.4 -> 0.2.12

  - Switch to active fork (removes the need to patch for mutliple CVEs)
    This is what Alpine Linux, Arch Linux, Debian and Fedora uses.
  - Add patch to use pkg-config (pkgconfig) to detect freetype(2)

  References:
  https://github.com/caolanm/libwmf (no proper release notes available)
  https://github.com/archlinux/svntogit-packages/blob/packages/libwmf/trunk/libwmf-freetype.patch

  PR:		252114
  Submitted by:	daniel.engberg.lists@pyret.net

Changes:
  head/graphics/libwmf/Makefile
  head/graphics/libwmf/distinfo
  head/graphics/libwmf/files/patch-CAN-2004-0941
  head/graphics/libwmf/files/patch-CVE-2007-0455
  head/graphics/libwmf/files/patch-CVE-2007-2756
  head/graphics/libwmf/files/patch-CVE-2007-3472
  head/graphics/libwmf/files/patch-CVE-2007-3473
  head/graphics/libwmf/files/patch-CVE-2007-3477
  head/graphics/libwmf/files/patch-CVE-2009-3546
  head/graphics/libwmf/files/patch-configure.ac
  head/graphics/libwmf/files/patch-cve-2006-3376
  head/graphics/libwmf/files/patch-cve-2009-1364
  head/graphics/libwmf/files/patch-deb784192-CVE-2015-4696
  head/graphics/libwmf/files/patch-deb784205-CVE-2015-4695
  head/graphics/libwmf/files/patch-gd_png.c
  head/graphics/libwmf/files/patch-rh1227243-CVE-2015-0848
  head/graphics/libwmf/files/patch-rh1227243-CVE-2015-4588
  head/graphics/libwmf/files/patch-src_extra_gd_gd__png.c
  head/graphics/libwmf/pkg-plist