pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/acroread8 Add work around for



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ce2fd69f99d
branches:  trunk
changeset: 569178:3ce2fd69f99d
user:      tez <tez%pkgsrc.org@localhost>
date:      Thu Jan 14 19:35:55 2010 +0000

description:
Add work around for
 http://www.adobe.com/support/security/advisories/apsa09-07.html
since 8.2 release will not be available for UNIX.

diffstat:

 print/acroread8/Makefile                |  6 +++++-
 print/acroread8/files/reader_prefs.diff |  8 ++++++++
 2 files changed, 13 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 42ba4f661ff0 -r 3ce2fd69f99d print/acroread8/Makefile
--- a/print/acroread8/Makefile  Thu Jan 14 15:08:17 2010 +0000
+++ b/print/acroread8/Makefile  Thu Jan 14 19:35:55 2010 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2009/11/09 19:14:53 tez Exp $
+# $NetBSD: Makefile,v 1.11 2010/01/14 19:35:55 tez Exp $
 
 DISTNAME=      acroread8       # overridden below
 PKGNAME=       acroread8-8.1.7
+PKGREVISION=   1
 CATEGORIES=    print
 MASTER_SITES=  http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.7/enu/
 
@@ -60,6 +61,9 @@
        ( ${ECHO} n; ${ECHO} n ) | InstallDir=${DESTDIR}${PREFIX}/Acrobat8 ${WRKSRC}/INSTALL
 
 post-install:
+       cd ${DESTDIR}${PREFIX}/Acrobat8/Adobe/Reader8/Reader/GlobalPrefs && \
+         ${BIN_PATCH} <${FILESDIR}/reader_prefs.diff && \
+         ${RM} -f reader_prefs.orig
        cd ${DESTDIR}${PREFIX}/Acrobat8/Adobe/Reader8/bin && \
          ${BIN_PATCH} <${FILESDIR}/acroread.diff && \
          ${SED} -e 's:@PREFIX@:${PREFIX}:' \
diff -r 42ba4f661ff0 -r 3ce2fd69f99d print/acroread8/files/reader_prefs.diff
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/acroread8/files/reader_prefs.diff   Thu Jan 14 19:35:55 2010 +0000
@@ -0,0 +1,8 @@
+--- reader_prefs.orig  2010-01-14 13:15:31.064565700 -0600
++++ reader_prefs       2010-01-14 13:14:57.180723500 -0600
+@@ -9,3 +9,5 @@
+ >>]
+ >>
+ 
++      /JavaScriptPerms [/c << /BlackList [/t (DocMedia.newPlayer) ] >> ]
++



Home | Main Index | Thread Index | Old Index