From knu@idaemons.org  Thu Feb 10 05:12:24 2000
Return-Path: <knu@idaemons.org>
Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18])
	by builder.freebsd.org (Postfix) with ESMTP id 76CD942A3
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 10 Feb 2000 05:12:23 -0800 (PST)
Received: from daemon.local.idaemons.org (pc062023.tokyo.jcom.ne.jp [210.155.62.23])
	by ms.tokyo.jcom.ne.jp (8.9.1/3.7W 06/01/99) with ESMTP id WAA04102
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 10 Feb 2000 22:12:01 +0900 (JST)
Received: by daemon.local.idaemons.org (8.9.3/3.7W) id WAA22234; Thu, 10 Feb 2000 22:11:30 +0900 (JST)
Message-Id: <86ln4t5hj2.wl@archon.local.idaemons.org>
Date: Thu, 10 Feb 2000 22:11:29 +0900
From: "Akinori -Aki- MUSHA" <knu@idaemons.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: www/flashplugin: mark as broken for 4.0-CURRENT

>Number:         16628
>Category:       ports
>Synopsis:       www/flashplugin: mark as broken for 4.0-CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 10 05:20:00 PST 2000
>Closed-Date:    Sat Feb 12 00:54:54 PST 2000
>Last-Modified:  Sat Feb 12 00:55:09 PST 2000
>Originator:     "Akinori -Aki- MUSHA" <knu@idaemons.org>
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Associated I. Daemons
>Environment:

	FreeBSD archon.local.idaemons.org 4.0-CURRENT FreeBSD 4.0-CURRENT #25: Thu Feb 10 18:51:07 JST 2000     root@archon.local.idaemons.org:/usr/src/sys/compile/ARCHON  i386

>Description:

	Under 4.0-CURRENT, this port can only build a broken binary.
It complains of gcc-2.95.2's C++ library missing a certain function
(___get_eh_context) because none is prepared for a.out unlike elf.

	It seems very difficult to build all the required a.out
libraries as we can no longer build a world with WANT_AOUT support.


	Thus we have to mark this port as broken for 4.0-CURRENT and
notify users to use 3-STABLE's package with compat30.

>How-To-Repeat:

>Fix:

	Apply the patch below. It includes addition and correction of
some terms.


diff -ruN flashplugin.orig/Makefile flashplugin/Makefile
--- flashplugin.orig/Makefile	Wed Oct 13 08:23:31 1999
+++ flashplugin/Makefile	Thu Feb 10 21:13:28 2000
@@ -18,6 +18,12 @@
 
 MAINTAINER=	knu@idaemons.org
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400000
+BROKEN=		"This port will only build a broken binary under FreeBSD 4.0 or later. Try pkg_add'ing 3-STABLE's package with compat30 installed."
+.endif
+
 USE_XLIB=	yes
 MAKE_ENV=	OBJFORMAT=aout LIBRARY_PATH=${PREFIX}/lib/aout
 PORTOBJFORMAT=	aout
@@ -36,4 +42,4 @@
 	${MKDIR} ${PREFIX}/lib/netscape/plugins
 	cd ${WRKSRC} && ${SETENV} OBJFORMAT=aout ${INSTALL_PROGRAM} libswf.so ${PREFIX}/lib/netscape/plugins
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN flashplugin.orig/files/message.nolib flashplugin/files/message.nolib
--- flashplugin.orig/files/message.nolib	Mon Oct 18 08:23:52 1999
+++ flashplugin/files/message.nolib	Thu Feb 10 20:59:18 2000
@@ -1,6 +1,6 @@
 ===
-You couldn't build this port for lack of aout csu library files.
-You could prepare them as:
+You can't build this port without a.out csu library.
+Please install them as follows:
 
 1. extract /usr/src/lib (distribution files: src/slib.??)
 2. cd /usr/src/lib/csu/i386
diff -ruN flashplugin.orig/pkg/COMMENT flashplugin/pkg/COMMENT
--- flashplugin.orig/pkg/COMMENT	Sat Oct  2 15:19:35 1999
+++ flashplugin/pkg/COMMENT	Thu Feb 10 21:14:51 2000
@@ -1 +1 @@
-A Macromedia Flash plugin for Netscape
+An implementation of Macromedia Flash plugin for Netscape
diff -ruN flashplugin.orig/pkg/DESCR flashplugin/pkg/DESCR
--- flashplugin.orig/pkg/DESCR	Sun Oct  3 03:15:07 1999
+++ flashplugin/pkg/DESCR	Thu Feb 10 21:26:19 2000
@@ -1,12 +1,15 @@
-This is a Macromedia Flash plugin for Netscape.
+This is an implementation of Macromedia Flash plugin for Netscape.
+Note that this is an unofficial implementation, not done by Macromedia itself.
 
 WWW:	http://www.geocities.com/TimesSquare/Labyrinth/5084/flash.html
 	http://perso.club-internet.fr/odebon/flash.html (mirror)
 
 Author:	Olivier Debon <odebon@club-internet.fr>
 
+Porting to FreeBSD was done by <yamagata@nwgpc.kek.jp>, whose works are
+available at:
+
+	http://leed.t.u-tokyo.ac.jp/~yamagata/flash/
+
 -- 
-                     /
-                    /__  __
-                   / )  )  ) )  /  http://www.idaemons.org/knu/
-Akinori MUSHA aka / (_ /  ( (__(   mailto:knu@idaemons.org
+Akinori MUSHA aka knu <knu@idaemons.org>
diff -ruN flashplugin.orig/pkg/REQ flashplugin/pkg/REQ
--- flashplugin.orig/pkg/REQ	Wed Oct  6 15:54:37 1999
+++ flashplugin/pkg/REQ	Thu Feb 10 21:12:34 2000
@@ -17,13 +17,13 @@
 if file $check | grep -qw ELF ; then
     cat <<EOF
 ****
-You seem to be using Netscape for Linux, but the binary 
+It seems you are using Netscape for Linux, but the binary
 that you are going to install is a FreeBSD's a.out.
 
-Go get the Linux binary to:
+Go get the Linux binary at:
    http://www.geocities.com/TimesSquare/Labyrinth/5084/flash.html
 
-or use Netscape for FreeBSD.
+or use Netscape for FreeBSD with this port.
 ****
 EOF
     exit 1

-- 
                           /
                          /__  __
                         / )  )  ) )  /
Akinori -Aki- MUSHA aka / (_ /  ( (__(  <knu@idaemons.org>

"If you choose not to decide you still have made a choice."

>Release-Note:
>Audit-Trail:

From: "Akinori -Aki- MUSHA" <knu@idaemons.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/16628: www/flashplugin: mark as broken for 4.0-CURRENT
Date: Sat, 12 Feb 2000 17:38:15 +0900

   Hi,
 
   Could any of the committers handle this PR?  Sada-san who is in
 charge of the port says he's still too busy to deal with it.
 
   The fix is somewhat important because flashplugin is now broken
 despite its popularity.  If released with it unmarked as broken,
 probably tons of problem reports will come over. X-(
 
   So, somebody do it please.  Just a tiny one, huh? :-)
 
 -- 
                            /
                           /__  __
                          / )  )  ) )  /
 Akinori -Aki- MUSHA aka / (_ /  ( (__(  <knu@idaemons.org>
 
 "If you choose not to decide you still have made a choice."
 
State-Changed-From-To: open->closed  
State-Changed-By: cpiazza 
State-Changed-When: Sat Feb 12 00:54:54 PST 2000 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
