Wed Feb 8 17:53:52 2017 UTC ()
Release 1.13
Some critical bugs in the processing of BMP files were fixed. These
bugs allowed the program to be crashed, or potentially to be abused
in other ways, by feeding it specially crafted BMP files. Thanks to
Tomasz Buchert and Agostino Sarubbo for reporting these bugs.
Portability was improved for C99 and for MSVC++. Thanks to Peter
Breitenlohner, Nelson Beebe, and Martin Gieseking for reporting
portability issues.


(adam)
diff -r1.10 -r1.11 pkgsrc/graphics/potrace/Makefile
diff -r0 -r1.1 pkgsrc/graphics/potrace/buildlink3.mk
diff -r1.8 -r1.9 pkgsrc/graphics/potrace/distinfo
diff -r1.1 -r1.2 pkgsrc/graphics/potrace/patches/patch-src_Makefile.am
diff -r1.2 -r1.3 pkgsrc/graphics/potrace/patches/patch-src_Makefile.in

cvs diff -r1.10 -r1.11 pkgsrc/graphics/potrace/Makefile (expand / switch to context diff)
--- pkgsrc/graphics/potrace/Makefile 2017/01/19 18:52:12 1.10
+++ pkgsrc/graphics/potrace/Makefile 2017/02/08 17:53:51 1.11
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2017/01/19 18:52:12 agc Exp $
+# $NetBSD: Makefile,v 1.11 2017/02/08 17:53:51 adam Exp $
 
-DISTNAME=	potrace-1.11
+DISTNAME=	potrace-1.13
 CATEGORIES=	graphics
 MASTER_SITES=	http://potrace.sourceforge.net/download/
 MASTER_SITES+=	${MASTER_SITE_SOURCEFORGE:=potrace/}

File Added: pkgsrc/graphics/potrace/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2017/02/08 17:53:51 adam Exp $

BUILDLINK_TREE+=	potrace

.if !defined(POTRACE_BUILDLINK3_MK)
POTRACE_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.potrace+=	potrace>=1.13
BUILDLINK_PKGSRCDIR.potrace?=	../../graphics/potrace

.endif	# POTRACE_BUILDLINK3_MK

BUILDLINK_TREE+=	-potrace

cvs diff -r1.8 -r1.9 pkgsrc/graphics/potrace/distinfo (expand / switch to context diff)
--- pkgsrc/graphics/potrace/distinfo 2015/11/03 21:34:15 1.8
+++ pkgsrc/graphics/potrace/distinfo 2017/02/08 17:53:51 1.9
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 21:34:15 agc Exp $
+$NetBSD: distinfo,v 1.9 2017/02/08 17:53:51 adam Exp $
 
-SHA1 (potrace-1.11.tar.gz) = 7296baf27bf35298263cb3ed3df34a38fed0b441
+SHA1 (potrace-1.13.tar.gz) = fe8e42e0b5f7d3130b494818d6b1872e29097cd5
-RMD160 (potrace-1.11.tar.gz) = ea03b188e93d02766ff3b546a199fd76bc72271a
+RMD160 (potrace-1.13.tar.gz) = ff51f938641bfc81236dd4daba54c00915e883c0
-SHA512 (potrace-1.11.tar.gz) = d0ff037ed989a1742a099bb9d120c5f10cf1eae6ed9adb20d1d37eee713e569925eff6235825dfbdd7b1649dc46ad4507982ae001d6d3d49cc281ed16ddf1843
+SHA512 (potrace-1.13.tar.gz) = d7b1e72bee388aa309a5fbf3944b9409d912f2ed8a089a44dfca597b55d88bdf08778d40fc487e6689a873631c24cd393894ff353442dc778dfd0d3068121484
-Size (potrace-1.11.tar.gz) = 662085 bytes
+Size (potrace-1.13.tar.gz) = 605931 bytes
-SHA1 (patch-src_Makefile.am) = e26b4395a7d1b79fe85346a926c348216c870ef3
+SHA1 (patch-src_Makefile.am) = 4476e3719269afd1d8455eca89baba8feeaaa18d
-SHA1 (patch-src_Makefile.in) = 2bcf24c3104879c12feba6402b9850e11976166a
+SHA1 (patch-src_Makefile.in) = a4eae96751dc22a75594e91347bff6c4e6aff45c

cvs diff -r1.1 -r1.2 pkgsrc/graphics/potrace/patches/Attic/patch-src_Makefile.am (expand / switch to context diff)
--- pkgsrc/graphics/potrace/patches/Attic/patch-src_Makefile.am 2013/03/15 23:21:39 1.1
+++ pkgsrc/graphics/potrace/patches/Attic/patch-src_Makefile.am 2017/02/08 17:53:52 1.2
@@ -1,9 +1,9 @@
-$NetBSD: patch-src_Makefile.am,v 1.1 2013/03/15 23:21:39 wiz Exp $
+$NetBSD: patch-src_Makefile.am,v 1.2 2017/02/08 17:53:52 adam Exp $
 
 The result of replacing EXTRA_LIBRARIES with lib_LTLIBRARIES
 and rerunning automake-1.11.3 to make it install the needed libpotrace.
 
---- src/Makefile.am.orig	2013-02-20 00:43:08.000000000 +0000
+--- src/Makefile.am.orig	2015-10-23 01:25:37.000000000 +0000
 +++ src/Makefile.am
 @@ -39,8 +39,7 @@ libsources = curve.c curve.h trace.c tra
   decompose.h potracelib.c potracelib.h lists.h auxiliary.h bitmap.h	\
@@ -13,5 +13,5 @@
 -EXTRA_LTLIBRARIES = libpotrace.la
 +lib_LTLIBRARIES = libpotrace.la
  libpotrace_la_SOURCES = $(libsources)
- libpotrace_la_LDFLAGS = -version-info 0:1:0 -rpath '$(libdir)' \
+ libpotrace_la_LDFLAGS = -version-info 0:3:0 -rpath '$(libdir)' \
   -export-symbols $(srcdir)/libpotrace-export.sym -no-undefined

cvs diff -r1.2 -r1.3 pkgsrc/graphics/potrace/patches/Attic/patch-src_Makefile.in (expand / switch to context diff)
--- pkgsrc/graphics/potrace/patches/Attic/patch-src_Makefile.in 2013/03/15 23:21:39 1.2
+++ pkgsrc/graphics/potrace/patches/Attic/patch-src_Makefile.in 2017/02/08 17:53:52 1.3
@@ -1,11 +1,11 @@
-$NetBSD: patch-src_Makefile.in,v 1.2 2013/03/15 23:21:39 wiz Exp $
+$NetBSD: patch-src_Makefile.in,v 1.3 2017/02/08 17:53:52 adam Exp $
 
 The result of replacing EXTRA_LIBRARIES with lib_LTLIBRARIES
 and rerunning automake-1.11.3 to make it install the needed libpotrace.
 
---- src/Makefile.in.orig	2013-02-20 00:49:08.000000000 +0000
+--- src/Makefile.in.orig	2015-10-23 01:42:02.000000000 +0000
 +++ src/Makefile.in
-@@ -296,8 +339,7 @@ libsources = curve.c curve.h trace.c tra
+@@ -378,8 +378,7 @@ libsources = curve.c curve.h trace.c tra
   decompose.h potracelib.c potracelib.h lists.h auxiliary.h bitmap.h	\
   progress.h
  
@@ -13,20 +13,13 @@
 -EXTRA_LTLIBRARIES = libpotrace.la
 +lib_LTLIBRARIES = libpotrace.la
  libpotrace_la_SOURCES = $(libsources)
- libpotrace_la_LDFLAGS = -version-info 0:1:0 -rpath '$(libdir)' \
+ libpotrace_la_LDFLAGS = -version-info 0:3:0 -rpath '$(libdir)' \
   -export-symbols $(srcdir)/libpotrace-export.sym -no-undefined
-@@ -372,14 +415,14 @@ uninstall-libLTLIBRARIES:
+@@ -464,7 +463,7 @@ clean-libLTLIBRARIES:
+ 	}
  
- clean-libLTLIBRARIES:
- 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
- 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
- 	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- 	  test "$$dir" != "$$p" || dir=.; \
- 	  echo "rm -f \"$${dir}/so_locations\""; \
- 	  rm -f "$${dir}/so_locations"; \
- 	done
  libpotrace.la: $(libpotrace_la_OBJECTS) $(libpotrace_la_DEPENDENCIES) $(EXTRA_libpotrace_la_DEPENDENCIES) 
--	$(libpotrace_la_LINK)  $(libpotrace_la_OBJECTS) $(libpotrace_la_LIBADD) $(LIBS)
+-	$(AM_V_CCLD)$(libpotrace_la_LINK)  $(libpotrace_la_OBJECTS) $(libpotrace_la_LIBADD) $(LIBS)
 +	$(AM_V_CCLD)$(libpotrace_la_LINK) -rpath $(libdir) $(libpotrace_la_OBJECTS) $(libpotrace_la_LIBADD) $(LIBS)
  install-binPROGRAMS: $(bin_PROGRAMS)
  	@$(NORMAL_INSTALL)