Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2000 17:09:21 +0200 (CEST)
From:      Christian Weisgerber <naddy@unix-ag.uni-kl.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18256: www/netscape4* lacks Fortify on alpha
Message-ID:  <200004271509.RAA18052@gnocchi.unix-ag.uni-kl.de>

next in thread | raw e-mail | index | archive | help

>Number:         18256
>Category:       ports
>Synopsis:       www/netscape4* lacks Fortify on alpha
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 27 08:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Christian Weisgerber
>Release:        FreeBSD 4.0-STABLE alpha
>Organization:
>Environment:

FreeBSD/alpha with OSF/1 binary compatibility.

>Description:

The www/netscape4* ports don't support WITH_128BIT on alpha because
the appropriate Fortify isn't used.

>How-To-Repeat:

>Fix:

diff -uNr /usr/ports/www/netscape4-communicator/Makefile netscape4-communicator/Makefile
--- /usr/ports/www/netscape4-communicator/Makefile	Thu Apr 20 22:23:36 2000
+++ netscape4-communicator/Makefile	Thu Apr 27 16:48:40 2000
@@ -31,7 +31,11 @@
 BROWSER?=	communicator
 BROWSER_ARC?=	${BROWSER}
 BROWSER_VER?=	4.08
+.if ${ARCH} == "i386"
 FORTIFY=	Fortify-1.4.6-unix-x86
+.elif ${ARCH} == "alpha"
+FORTIFY=	Fortify-1.4.6-unix-alpha
+.endif
 NDIR=		${PREFIX}/${NSUBDIR}
 NSUBDIR?=	lib/netscape
 BINDIR=		${PREFIX}/bin
@@ -51,6 +55,9 @@
 		ftp://ftp.za.freebsd.org/pub/Fortify/
 DISTFILES+=	${FORTIFY}.tar.gz
 RESTRICTED=     "Contains strong cryptography"
+.if ${ARCH} == alpha
+EXTRA_PATCHES=	${FILESDIR}/patch-aa
+.endif
 .endif
 
 .if !defined(_PREMKINCLUDED)
diff -uNr /usr/ports/www/netscape4-communicator/files/md5 netscape4-communicator/files/md5
--- /usr/ports/www/netscape4-communicator/files/md5	Wed Mar  8 12:15:13 2000
+++ netscape4-communicator/files/md5	Thu Apr 27 15:52:38 2000
@@ -9,6 +9,7 @@
 MD5 (communicator-v47-us.x86-unknown-freebsd.tar.gz) = fae5e2d150dfe9c05c5d8b577e99a8c3
 MD5 (navigator-v472-export.x86-unknown-freebsd.tar.gz) = 2b1301edf4006f0d9195fc2bae5ffdd5
 MD5 (Fortify-1.4.6-unix-x86.tar.gz) = 93fd03a90dcfbf8d55ce0785d2a42ffc
+MD5 (Fortify-1.4.6-unix-alpha.tar.gz) = 0569aee45038ff534791ac042064ab82
 MD5 (communicator-v472-export.alpha-dec-osf4.0.tar.gz) = 474e77c256c7aff48268d58b3682372e
 MD5 (navigator-v472-export.alpha-dec-osf4.0.tar.gz) = 685a6614d81a2b8a632bc3f39e7fc070
 MD5 (communicator-v472-export.x86-unknown-linuxglibc2.0.tar.gz) = c287d5c1322a752773bc552a1dbc44c1
diff -uNr /usr/ports/www/netscape4-communicator/files/patch-aa netscape4-communicator/files/patch-aa
--- /usr/ports/www/netscape4-communicator/files/patch-aa	Thu Jan  1 01:00:00 1970
+++ netscape4-communicator/files/patch-aa	Thu Apr 27 16:36:40 2000
@@ -0,0 +1,16 @@
+--- ../Fortify-1.4.6-unix-alpha/Fortify.sh.orig	Thu Apr 27 16:00:23 2000
++++ ../Fortify-1.4.6-unix-alpha/Fortify.sh	Thu Apr 27 16:02:22 2000
+@@ -21,7 +21,12 @@
+                         ;;
+                 esac
+                 ;;
+-*BSD*)		myarch=x86-unknown-bsd
++*BSD*)		case `uname -m` in
++		i386)	myarch=x86-unknown-bsd
++			;;
++		alpha)	myarch=alpha-dec-osf2.0
++			;;
++		esac
+ 		;;
+ HP-UX*)		myarch=hppa1.1-hp-hpux10
+ 		;;

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004271509.RAA18052>