NetBSD Problem Report #44879

From www@NetBSD.org  Tue Apr 19 02:37:20 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 8B67363C38B
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 19 Apr 2011 02:37:20 +0000 (UTC)
Message-Id: <20110419023719.818E263BBDB@www.NetBSD.org>
Date: Tue, 19 Apr 2011 02:37:19 +0000 (UTC)
From: dhgutteridge@sympatico.ca
Reply-To: dhgutteridge@sympatico.ca
To: gnats-bugs@NetBSD.org
Subject: Submission to update misc/openoffice3-bin to 3.3.0
X-Send-Pr-Version: www-1.0

>Number:         44879
>Category:       pkg
>Synopsis:       Submission to update misc/openoffice3-bin to 3.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bad
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 19 02:40:00 +0000 2011
>Last-Modified:  Fri Jun 17 22:15:02 +0000 2011
>Originator:     David H. Gutteridge
>Release:        Several
>Organization:
>Environment:
>Description:
I'm aware people are working on getting LibreOffice to build natively on NetBSD, and I can see a Linux binary package for LibreOffice 3.3.2 in wip, but I thought I'd submit this since there's a security advisory against the version of OpenOffice presently in pkgsrc (3.2.1).  (I'm also submitting it as a reference for discussion with the LibreOffice wip developer.)

There are a few points to note about what I've changed, though they're fairly minor.  I didn't find that suse-compat was actually a necessary package anymore, or at least, it didn't impact any uses I've made of OpenOffice, so I removed it.  At the same time, I was experiencing problems (including hangs) that seemed to be related to locale information being missing, so I added a dependency on the suse-locale package, and those problems went away.  Also, this package now must implicitly depend on the suse_113 packages, as the version of glibc available in suse_100 is too old.  And suse_113 requires a 5.99.35 kernel or newer, which takes care of the fact that OpenOffice 3.3.0 is compiled against Linux 2.6.9, rather than the ancient version that 3.2.1 supported.
>How-To-Repeat:

>Fix:
Make file patch:

--- ../../misc/openoffice3-bin/Makefile	2010-12-11 17:23:44.000000000 -0500
+++ ./Makefile	2011-03-01 20:10:26.000000000 -0500
@@ -2,7 +2,7 @@

 DISTNAME=		openoffice3-bin	# overridden below
 PKGNAME=		openoffice3-bin-${OO_RELEASE}
-PKGREVISION=		1
+#PKGREVISION=		
 CATEGORIES=		misc
 MASTER_SITES=		${MASTER_SITE_OPENOFFICE:=stable/${OO_RELEASE}/}

@@ -19,8 +19,8 @@
 CONFLICTS+=		openoffice-linux-[0-9]*

 OO_VER=			3
-OO_BASEVER=		3.2
-OO_RELEASE=		3.2.1
+OO_BASEVER=		3.3
+OO_RELEASE=		3.3.0
 PLIST_SUBST+=		VER=${OO_VER:Q} BASEVER=${OO_BASEVER:Q}
 MESSAGE_SUBST+=		VER=${OO_VER:Q}
 FILES_SUBST+=		VER=${OO_VER:Q}
@@ -35,8 +35,8 @@

 EMUL_PLATFORMS=		linux-i386
 #EMUL_PLATFORMS+=	solaris-i386 solaris-sparc
-EMUL_MODULES.linux=	compat freetype2 x11
-EMUL_REQD=		suse>=10.0
+EMUL_MODULES.linux=	freetype2 x11 locale
+EMUL_REQD=		suse>=11.3

 EMUL_PKG_FMT=		rpm
 RPMFILES=		${WRKSRC}/RPMS/*.rpm
@@ -53,13 +53,13 @@

 .if ${EMUL_PLATFORM} == "linux-i386"
 DISTNAME=		OOo_${OO_RELEASE}_Linux_x86_install-rpm_en-US
-WRKSRC=			${WRKDIR}/OOO320_m18_native_packed-1_en-US.9502
+WRKSRC=			${WRKDIR}/OOO330_m20_native_packed-1_en-US.9567
 .elif ${EMUL_PLATFORM} == "solaris-i386"
 DISTNAME=		OOo_${OO_RELEASE}_Solaris_x86_install_en-US
-WRKSRC=			${WRKDIR}/OOO320_m18_native_packed-1_en-US.9502/packages
+WRKSRC=			${WRKDIR}/OOO330_m20_native_packed-1_en-US.9567/packages
 .elif ${EMUL_PLATFORM} == "solaris-sparc"
 DISTNAME=		OOo_${OO_RELEASE}_Solaris_Sparc_install_en-US
-WRKSRC=			${WRKDIR}/OOO320_m18_native_packed-1_en-US.9502/packages
+WRKSRC=			${WRKDIR}/OOO330_m20_native_packed-1_en-US.9567/packages
 .endif

 .include "options.mk"

distinfo patch:

--- ../../misc/openoffice3-bin/distinfo	2010-08-02 18:42:46.000000000 -0400
+++ ./distinfo	2011-02-16 12:52:12.000000000 -0500
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.4 2010/06/15 16:48:19 bad Exp $

-SHA1 (OOo_3.2.1_Linux_x86_install-rpm_en-US.tar.gz) = 4848b76debd50b3ec063d2b74f11cfa6a710f000
-RMD160 (OOo_3.2.1_Linux_x86_install-rpm_en-US.tar.gz) = ae7cd0255c9b51f73500c3133eba036d42b556a5
-Size (OOo_3.2.1_Linux_x86_install-rpm_en-US.tar.gz) = 153892134 bytes
+SHA1 (OOo_3.3.0_Linux_x86_install-rpm_en-US.tar.gz) = 78ec29780356606da1cdcd49e46c46902c179aa6
+RMD160 (OOo_3.3.0_Linux_x86_install-rpm_en-US.tar.gz) = 38953bb8669d5e6aee31d03a3a6bf1d772664b3e
+Size (OOo_3.3.0_Linux_x86_install-rpm_en-US.tar.gz) = 155051222 bytes

>Release-Note:

>Audit-Trail:
From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44879: Submission to update misc/openoffice3-bin to 3.3.0
Date: Tue, 19 Apr 2011 07:06:02 +0200

 On Tue, Apr 19, 2011 at 02:40:00AM +0000, dhgutteridge@sympatico.ca wrote:

 I'm not quoting the reason what changed due too the long lines.

 [..]

 > >Fix:
 > Make file patch:
 > 
 > --- ../../misc/openoffice3-bin/Makefile	2010-12-11 17:23:44.000000000 -0500
 > +++ ./Makefile	2011-03-01 20:10:26.000000000 -0500
 [..]

 > @@ -35,8 +35,8 @@
 >  
 >  EMUL_PLATFORMS=		linux-i386
 >  #EMUL_PLATFORMS+=	solaris-i386 solaris-sparc
 > -EMUL_MODULES.linux=	compat freetype2 x11
 > -EMUL_REQD=		suse>=10.0
 > +EMUL_MODULES.linux=	freetype2 x11 locale
 > +EMUL_REQD=		suse>=11.3

 This change will make it unavailable for NetBSD 4 or 5 so this that should be a
 new package and not an upgrade.

From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44879: Submission to update misc/openoffice3-bin to 3.3.0
Date: Tue, 19 Apr 2011 07:21:25 -0400

 On 2011-04-19, at 1:10 AM, Bernd Ernesti wrote:

 > The following reply was made to PR pkg/44879; it has been noted by =
 GNATS.
 >=20
 > From: Bernd Ernesti <netbsd@lists.veego.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:=20
 > Subject: Re: pkg/44879: Submission to update misc/openoffice3-bin to =
 3.3.0
 > Date: Tue, 19 Apr 2011 07:06:02 +0200
 >=20
 > On Tue, Apr 19, 2011 at 02:40:00AM +0000, dhgutteridge@sympatico.ca =
 wrote:
 >=20
 > I'm not quoting the reason what changed due too the long lines.
 >=20
 > [..]
 >=20
 > This change will make it unavailable for NetBSD 4 or 5 so this that =
 should be a
 > new package and not an upgrade.
 >=20

 Sure, that makes sense to me.  I didn't know if security considerations
 trump availability.

 Dave=

Responsible-Changed-From-To: pkg-manager->bad
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 26 Apr 2011 12:20:09 +0000
Responsible-Changed-Why:
Over to maintainer.


From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: <gnats-bugs@netbsd.org>
Cc: 
Subject: RE: pkg/44879: Submission to update misc/openoffice3-bin to 3.3.0
Date: Fri, 17 Jun 2011 18:13:07 -0400

 This PR can be closed=2C unless it's of relevance to anyone else.
 The libreoffice-bin package in WIP is sufficient for my needs=2C
 and addresses the changes I'd proposed.

 Regards=2C

 Dave
  		 	   		  =

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.