aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/png
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-04-06 07:48:52 +0800
committerdinoex <dinoex@FreeBSD.org>2012-04-06 07:48:52 +0800
commite27d03792fc47af90ff3686579f2e6696b3dcf2e (patch)
treeadf41f94f9ecf67926af903bf3435bac35555237 /graphics/png
parent80b0683df5236e4e0693dfe1b9a76360ffd9271c (diff)
downloadfreebsd-ports-gnome-e27d03792fc47af90ff3686579f2e6696b3dcf2e.tar.gz
freebsd-ports-gnome-e27d03792fc47af90ff3686579f2e6696b3dcf2e.tar.zst
freebsd-ports-gnome-e27d03792fc47af90ff3686579f2e6696b3dcf2e.zip
- new path on MASTER_SITES
- Security update to 1.4.11 Security: CVE-2011-3048 Feature safe: yes
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/Makefile16
-rw-r--r--graphics/png/distinfo8
-rw-r--r--graphics/png/files/patch-libpng.pc.in2
3 files changed, 13 insertions, 13 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 8fb65c3fe130..02145532f074 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= png
-PORTVERSION= 1.4.8
-PORTREVISION= 1
+PORTVERSION= 1.4.11
CATEGORIES= graphics
MASTER_SITES= SF/lib${PORTNAME}/lib${PORTNAME}14/${PORTVERSION}
DISTNAME= lib${PORTNAME}-${PORTVERSION}
@@ -17,7 +16,6 @@ MAINTAINER= dinoex@FreeBSD.org
COMMENT= Library for manipulating PNG images
MAKE_JOBS_SAFE= yes
-FROBIDDEN= Vulnerable http://www.libpng.org/pub/png/libpng.html
USE_XZ= yes
USE_LDCONFIG= yes
@@ -35,22 +33,24 @@ MANCOMPRESSED= maybe
OPTIONS= APNG "Animated PNG support" On
+APNGDISTNAME= ${DISTNAME}-apng.patch
+
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_APNG) || make(makesum) || defined(FETCH_ALL)
-MASTER_SITES+= SF/lib${PORTNAME}-apng/libpng-master/${PORTVERSION}:apng
-DISTFILES+= ${DISTNAME}-apng.patch.gz:apng
+MASTER_SITES+= SF/apng/libpng/libpng14:apng
+DISTFILES+= ${APNGDISTNAME}.gz:apng
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
.endif
.if !defined(WITHOUT_APNG)
-EXTRA_PATCHES= ${WRKSRC}/${DISTNAME}-apng.patch
+EXTRA_PATCHES= ${WRKSRC}/${APNGDISTNAME}
.endif
post-extract:
.if !defined(WITHOUT_APNG)
@${LN} -sf ${WRKSRC} ${WRKSRC}/
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}-apng.patch.gz ${WRKSRC}/
- ${GZIP_CMD} -d ${WRKSRC}/${DISTNAME}-apng.patch.gz
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/${APNGDISTNAME}.gz ${WRKSRC}/
+ ${GZIP_CMD} -d ${WRKSRC}/${APNGDISTNAME}.gz
.endif
pre-su-install:
diff --git a/graphics/png/distinfo b/graphics/png/distinfo
index faa866041e94..1ea447a092b1 100644
--- a/graphics/png/distinfo
+++ b/graphics/png/distinfo
@@ -1,4 +1,4 @@
-SHA256 (libpng-1.4.8.tar.xz) = ad246b0d9df56bb0807d0e59e91d79c17ed78567a985d540956eb3d51ab76c46
-SIZE (libpng-1.4.8.tar.xz) = 548124
-SHA256 (libpng-1.4.8-apng.patch.gz) = 0d8cef7886863aebe412ba8f121347e6b4d886cf32677201d7294ae0e797b399
-SIZE (libpng-1.4.8-apng.patch.gz) = 10437
+SHA256 (libpng-1.4.11.tar.xz) = 4200ca1c758ffda2a85af573bf057bbe00f209d6d1b8e2d7d75ace38115e5eb1
+SIZE (libpng-1.4.11.tar.xz) = 548088
+SHA256 (libpng-1.4.11-apng.patch.gz) = 4e697de6d5fd87231aaee5055f17c3de1fd61c19757f5506f3e6239277fced91
+SIZE (libpng-1.4.11-apng.patch.gz) = 9199
diff --git a/graphics/png/files/patch-libpng.pc.in b/graphics/png/files/patch-libpng.pc.in
index 2f77b48f13f2..372f46391835 100644
--- a/graphics/png/files/patch-libpng.pc.in
+++ b/graphics/png/files/patch-libpng.pc.in
@@ -12,7 +12,7 @@
Name: libpng
Description: Loads and saves PNG files
- Version: 1.4.8
+ Version: 1.4.11
-Libs: -L${libdir} -lpng14
+Libs: -L${libdir} -lpng -lz -lm
Cflags: -I${includedir}