[Lunar-commits] <moonbase> libpng: add a security patch.

Florin Braescu florin at lunar-linux.org
Sun Mar 4 08:27:11 CET 2012


commit 477a0ac8ca33d0852ea5b56298f7c7db55ccd886
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Mar 4 08:27:11 2012 +0100

    libpng: add a security patch.
---
 graphics/libpng/BUILD   |    4 +++-
 graphics/libpng/DETAILS |    5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/graphics/libpng/BUILD b/graphics/libpng/BUILD
index e2fbd21..48a7611 100644
--- a/graphics/libpng/BUILD
+++ b/graphics/libpng/BUILD
@@ -1,6 +1,8 @@
 (
 
-  OPTS+=" --disable-static" &&
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
+  OPTS+=" --disable-static"  &&
 
   default_build
 
diff --git a/graphics/libpng/DETAILS b/graphics/libpng/DETAILS
index 9848bd9..f1ad0a3 100644
--- a/graphics/libpng/DETAILS
+++ b/graphics/libpng/DETAILS
@@ -1,12 +1,15 @@
           MODULE=libpng
          VERSION=1.2.46
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-$VERSION-pngrutil.patch.gz
    SOURCE_URL[0]=$SFORGE_URL/$MODULE
    SOURCE_URL[1]=ftp://ftp.simplesystems.org/pub/libpng/png/src
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:d5f3a2439b0b6d85a26499b2be09918eb54ea13a
+     SOURCE2_VFY=sha1:8d664bf51b73d0e4b9622d80ce91a1aaa8fde752
         WEB_SITE=http://www.libpng.org/pub/png/libpng.html
          ENTERED=20010922
-         UPDATED=20100914
+         UPDATED=20120304
            SHORT="Library that supports the PNG graphics format"
 
 cat << EOF


More information about the Lunar-commits mailing list