From naddy@unix-ag.uni-kl.de  Thu Apr 27 08:09:26 2000
Return-Path: <naddy@unix-ag.uni-kl.de>
Received: from news.uni-kl.de (news.uni-kl.de [131.246.137.51])
	by hub.freebsd.org (Postfix) with SMTP id 45E2F37B678
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Apr 2000 08:09:21 -0700 (PDT)
	(envelope-from naddy@unix-ag.uni-kl.de)
Received: from sushi.unix-ag.uni-kl.de
           ( root@sushi.unix-ag.uni-kl.de [131.246.89.13] ) by news.uni-kl.de
          id aa29642 for <FreeBSD-gnats-submit@freebsd.org>;
          27 Apr 2000 17:09 MESZ
Received: from gnocchi.unix-ag.uni-kl.de (gnocchi.unix-ag.uni-kl.de [131.246.89.12])
	by sushi.unix-ag.uni-kl.de (8.9.3/8.9.1) with ESMTP id RAA08866
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Apr 2000 17:09:10 +0200
Received: (from naddy@localhost)
	by gnocchi.unix-ag.uni-kl.de (8.9.3/8.9.3) id RAA18052;
	Thu, 27 Apr 2000 17:09:21 +0200 (CEST)
	(envelope-from naddy)
Message-Id: <200004271509.RAA18052@gnocchi.unix-ag.uni-kl.de>
Date: Thu, 27 Apr 2000 17:09:21 +0200 (CEST)
From: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Reply-To: naddy@unix-ag.uni-kl.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: www/netscape4* lacks Fortify on alpha
X-Send-Pr-Version: 3.2

>Number:         18256
>Category:       ports
>Synopsis:       www/netscape4* lacks Fortify on alpha
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sada
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 27 08:10:01 PDT 2000
>Closed-Date:    Fri Jun 8 06:10:32 PDT 2001
>Last-Modified:  Fri Jun 08 06:12:35 PDT 2001
>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:
Responsible-Changed-From-To: freebsd-ports->sada 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sat Apr 29 16:27:22 PDT 2000 
Responsible-Changed-Why:  
Over to port's maintainer. 

From: SADA Kenji <sada@bsdclub.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/18256: www/netscape4* lacks Fortify on alpha
Date: Sun, 07 May 2000 20:33:57 +0900

 In article <200004271509.RAA18052@gnocchi.unix-ag.uni-kl.de>
 naddy@unix-ag.uni-kl.de writes:
 
 >> >Number:         18256
 >> >Category:       ports
 >> >Synopsis:       www/netscape4* lacks Fortify on alpha
 :
 >> >Description:
 >> 
 >> The www/netscape4* ports don't support WITH_128BIT on alpha because
 >> the appropriate Fortify isn't used.
 
 I have no alpha machine.
 Could anybody verify this PR with alpha plathome ?
 
 I guess this patch would be okay on i386 machines.
 
State-Changed-From-To: open->closed 
State-Changed-By: sada 
State-Changed-When: Fri Jun 8 06:10:32 PDT 2001 
State-Changed-Why:  
Submitter's will, this PR is obsoleted now. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18256 
>Unformatted:
