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

Florin Braescu florin at lunar-linux.org
Sun May 22 22:16:32 CEST 2011


commit 7fb5873e1f152c3292b4f675490cc2bdf36caf46
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon May 23 00:16:32 2011 +0400

    jasper: add a security related patch.
---
 science/jasper/BUILD   |    2 ++
 science/jasper/DETAILS |    9 ++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/science/jasper/BUILD b/science/jasper/BUILD
old mode 100755
new mode 100644
index 68a588f..b865925
--- a/science/jasper/BUILD
+++ b/science/jasper/BUILD
@@ -2,6 +2,8 @@
 
   export CFLAGS="$CFLAGS -fPIC"
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
   ./configure  --prefix=/usr            \
                --sysconfdir=/etc        \
                --mandir=/usr/share/man  \
diff --git a/science/jasper/DETAILS b/science/jasper/DETAILS
index 8c027b1..3a13bc3 100644
--- a/science/jasper/DETAILS
+++ b/science/jasper/DETAILS
@@ -1,11 +1,14 @@
        MODULE=jasper
       VERSION=1.900.1
        SOURCE=$MODULE-$VERSION.zip
-   SOURCE_URL=http://www.ece.uvic.ca/~mdadams/jasper/software/
+      SOURCE2=$MODULE-$VERSION-security_fixes-1.patch.bz2
+   SOURCE_URL=http://www.ece.uvic.ca/~mdadams/jasper/software
+  SOURCE2_URL=$PATCH_URL
    SOURCE_VFY=sha1:9c5735f773922e580bf98c7c7dfda9bbed4c5191
-     WEB_SITE=http://www.ece.uvic.ca/~mdadams/jasper/
+  SOURCE2_VFY=sha1:4821df055d59c5b8cf83751e45579a49a4411de9
+     WEB_SITE=http://www.ece.uvic.ca/~mdadams/jasper
       ENTERED=20050902
-      UPDATED=20070305
+      UPDATED=20110522
         SHORT="codec specified in the JPEG-2000 Part-1 standard"
 
 cat << EOF


More information about the Lunar-commits mailing list