summaryrefslogtreecommitdiffstats
path: root/print/acroread5
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-07-25 22:33:43 +0000
committertrevor <trevor@FreeBSD.org>2002-07-25 22:33:43 +0000
commita7b173e557a30809d0bd9cc386d27bb47e98d35d (patch)
treecefc99a53927807dd9007adcbd34a967cd1c5951 /print/acroread5
parent089eadba32ff0d9b76ca85954a790af79b5bfb34 (diff)
downloadFreeBSD-ports-a7b173e557a30809d0bd9cc386d27bb47e98d35d.zip
FreeBSD-ports-a7b173e557a30809d0bd9cc386d27bb47e98d35d.tar.gz
Update to 5.0.6.
The README says: A security patch was applied that solves the problem reported in http://online.securityfocus.com/archive/1/278984 where opening the font cache when the application starts up can unintentionally cause the permissions of other files to change. I failed to reproduce the bug in version 5.0.5 and I have not tried to reproduce it with this version. The discoverer, Paul Szabo, said that linked files could have not just their permissions changed, but could be overwritten. caveat lector. PR: 40987 Submitted by: Oliver Braun Add a DIST_SUBDIR because neither the name of the distfile nor the list of its contents ("tar tzvf" output) mention the name of the program.
Diffstat (limited to 'print/acroread5')
-rw-r--r--print/acroread5/Makefile19
-rw-r--r--print/acroread5/distinfo2
-rw-r--r--print/acroread5/pkg-plist6
3 files changed, 17 insertions, 10 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile
index 7a526ff..a5806d7 100644
--- a/print/acroread5/Makefile
+++ b/print/acroread5/Makefile
@@ -6,21 +6,22 @@
#
PORTNAME= acroread
-PORTVERSION= 5.05
+PORTVERSION= 5.0.6
CATEGORIES= print linux
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
-DISTNAME= linux-505
+DISTNAME= linux-506
.endif
+DIST_SUBDIR= acroread
MAINTAINER= trevor@FreeBSD.org
-FORBIDDEN= "unconfirmed suspicion of temporary file bug--see http://online.securityfocus.com/archive/1/278984 "
-
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i
NO_FILTER_SHLIBS= yes
.if ${ARCH} == "i386"
@@ -29,7 +30,7 @@ PLIST_SUB= "ARCHDIR=intellinux"
WRKSRC= ${WRKDIR}
pre-configure:
- @${PERL} -pi.fbsd -e 's:Linux\):FreeBSD|Linux):g' ${WRKDIR}/INSTALL
+ ${REINPLACE_CMD} -E 's:Linux):FreeBSD|Linux):g' ${WRKDIR}/INSTALL
do-build:
@${ECHO_MSG} "Do a \`make install' as root."
@@ -37,12 +38,16 @@ do-build:
do-install:
@${MKDIR} ${PREFIX}/Acrobat5
@ReadInstallDir=${PREFIX}/Acrobat5 ${WRKDIR}/INSTALL
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ strings -1 ${WRKDIR}/README > ${DOCSDIR}/README
+.endif
post-install:
- @${PERL} -pi -e 's:Linux\):FreeBSD|Linux):g' ${PREFIX}/Acrobat5/bin/acroread
+ ${REINPLACE_CMD} -E 's:Linux):FreeBSD|Linux):g' ${PREFIX}/Acrobat5/bin/acroread
-@/compat/linux/usr/bin/strip ${PREFIX}/Acrobat5/Reader/intellinux/bin/acroread
@brandelf -t Linux ${PREFIX}/Acrobat5/Reader/intellinux/bin/acroread
- @${PERL} -pi -e 's:OSF1\):FreeBSD|OSF1):g' ${PREFIX}/Acrobat5/bin/acroread
+ ${REINPLACE_CMD} -E 's:OSF1):FreeBSD|OSF1):g' ${PREFIX}/Acrobat5/bin/acroread
@cd ${PREFIX}/Acrobat5/bin && \
${INSTALL_SCRIPT} ${PREFIX}/Acrobat5/bin/acroread \
${PREFIX}/bin/acroread5
diff --git a/print/acroread5/distinfo b/print/acroread5/distinfo
index 631405d..a090fb5 100644
--- a/print/acroread5/distinfo
+++ b/print/acroread5/distinfo
@@ -1 +1 @@
-MD5 (linux-505.tar.gz) = 5c1cef0b5b1eb75ed01fefb3d6a88ce0
+MD5 (acroread/linux-506.tar.gz) = c5ca1f2fac7f2530d85de18ee6fffc26
diff --git a/print/acroread5/pkg-plist b/print/acroread5/pkg-plist
index a5071aa..bd45534 100644
--- a/print/acroread5/pkg-plist
+++ b/print/acroread5/pkg-plist
@@ -48,7 +48,7 @@ Acrobat5/Reader/%%ARCHDIR%%/lib/libAGM.so.4.08
Acrobat5/Reader/%%ARCHDIR%%/lib/libBIB.so
Acrobat5/Reader/%%ARCHDIR%%/lib/libBIB.so.1.1
Acrobat5/Reader/%%ARCHDIR%%/lib/libCoolType.so
-Acrobat5/Reader/%%ARCHDIR%%/lib/libCoolType.so.3.06
+Acrobat5/Reader/%%ARCHDIR%%/lib/libCoolType.so.4.10
Acrobat5/Reader/%%ARCHDIR%%/lib/libOPP.so
Acrobat5/Reader/%%ARCHDIR%%/lib/libOPP.so.1.02
Acrobat5/Reader/%%ARCHDIR%%/plug_ins/AcroForm.api
@@ -64,12 +64,13 @@ Acrobat5/Reader/res/splashScreen18R.xpm
Acrobat5/Reader/license.txt
Acrobat5/bin/acroread
bin/acroread5
+%%PORTDOCS%%share/doc/acroread/README
@exec ln -sf ../../Resource/Font/ %D/Acrobat5/Reader/%%ARCHDIR%%/fonts
@unexec rm -f %D/Acrobat5/Reader/%%ARCHDIR%%/fonts
@exec ln -sf ../res %D/Acrobat5/Reader/%%ARCHDIR%%/res
@unexec rm -f %D/Acrobat5/Reader/%%ARCHDIR%%/res
@exec echo "Be sure to read the license agreement in"
-@exec echo "%D/Acrobat5/Reader/License.pdf"
+@exec echo "%D/Acrobat5/Reader/license.txt"
@dirrm Acrobat5/bin
@dirrm Acrobat5/Reader/res
@comment ALPHA-ONLY:@dirrm Acrobat5/Reader/%%ARCHDIR%%/plug_ins/vdkHome/language
@@ -87,3 +88,4 @@ bin/acroread5
@dirrm Acrobat5/Browsers/%%ARCHDIR%%
@dirrm Acrobat5/Browsers
@dirrm Acrobat5
+@dirrm share/doc/acroread
OpenPOWER on IntegriCloud