Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2000 22:11:29 +0900
From:      "Akinori -Aki- MUSHA" <knu@idaemons.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16628: www/flashplugin: mark as broken for 4.0-CURRENT
Message-ID:  <86ln4t5hj2.wl@archon.local.idaemons.org>

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

>Number:         16628
>Category:       ports
>Synopsis:       www/flashplugin: mark as broken for 4.0-CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 10 05:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>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:
>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?86ln4t5hj2.wl>