diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2002-07-25 22:33:43 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2002-07-25 22:33:43 +0000 |
commit | fbd4ddac4ad21abc7819c7973e6354bb342fff96 (patch) | |
tree | 8ec53ce7b9f7ba46bf011b00568fac7910248b7d /print/acroread5 | |
parent | Fix installation of message catalogs for WITH_GNOME=yes. (diff) |
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.
Notes
Notes:
svn path=/head/; revision=63569
Diffstat (limited to 'print/acroread5')
-rw-r--r-- | print/acroread5/Makefile | 19 | ||||
-rw-r--r-- | print/acroread5/distinfo | 2 | ||||
-rw-r--r-- | print/acroread5/pkg-plist | 6 |
3 files changed, 17 insertions, 10 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile index 7a526ff43243..a5806d779c3e 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 631405de1fd8..a090fb525661 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 a5071aa9c688..bd45534a6656 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 |