summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authortez <tez>2010-01-14 19:35:55 +0000
committertez <tez>2010-01-14 19:35:55 +0000
commit559edb6ca48601be7e07d8e68de0d56cf5129685 (patch)
treebb02c61459948f6b891dcd5d8281b19d47137516 /print
parentce566347dcd2900c22786170ee634d069ef2832d (diff)
downloadpkgsrc-559edb6ca48601be7e07d8e68de0d56cf5129685.tar.gz
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 (limited to 'print')
-rw-r--r--print/acroread8/Makefile6
-rw-r--r--print/acroread8/files/reader_prefs.diff8
2 files changed, 13 insertions, 1 deletions
diff --git a/print/acroread8/Makefile b/print/acroread8/Makefile
index 5c64889b4f8..28320435d6d 100644
--- a/print/acroread8/Makefile
+++ b/print/acroread8/Makefile
@@ -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 @@ do-install:
( ${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 --git a/print/acroread8/files/reader_prefs.diff b/print/acroread8/files/reader_prefs.diff
new file mode 100644
index 00000000000..082f24c4c16
--- /dev/null
+++ b/print/acroread8/files/reader_prefs.diff
@@ -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) ] >> ]
++