NetBSD Problem Report #36282
From rhialto@falu.nl Sat May 5 17:37:04 2007
Return-Path: <rhialto@falu.nl>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 1AA9263B853
for <gnats-bugs@gnats.NetBSD.org>; Sat, 5 May 2007 17:37:04 +0000 (UTC)
Message-Id: <200705051737.l45Hb0pP009209@radl.falu.nl>
Date: Sat, 5 May 2007 19:37:00 +0200 (CEST)
From: Rhialto <rhialto@falu.nl>
Reply-To: rhialto@falu.nl
To: gnats-bugs@NetBSD.org
Cc: rhialto@falu.nl
Subject: news/trn fails to build due to ' in uname output
X-Send-Pr-Version: 3.95
>Number: 36282
>Category: pkg
>Synopsis: news/trn fails to build due to ' in uname output
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 05 17:40:00 +0000 2007
>Closed-Date: Tue Sep 18 12:25:53 +0000 2018
>Last-Modified: Tue Sep 18 12:25:53 +0000 2018
>Originator: Rhialto
>Release: NetBSD 3.0
>Organization:
>Environment:
System: NetBSD radl.falu.nl 3.0 NetBSD 3.0 (Radl's Pervasion of the Incorrect Chord) #2: Sun Nov 26 21:46:18 CET 2006 root@radl.falu.nl:/usr/src/sys/arch/amd64/compile/RADL amd64
Architecture: x86_64
Machine: amd64
>Description:
see pr pkg/36277
>How-To-Repeat:
see pr pkg/36277
>Fix:
Same idea, just different lines.
--- Configure.dist 2007-05-05 18:38:50.000000000 +0200
+++ Configure 2007-05-05 19:29:31.000000000 +0200
@@ -1507,7 +1507,7 @@
myuname=`( ($uname -a) 2>/dev/null || hostname) 2>&1`
# tr '[A-Z]' '[a-z]' would not work in EBCDIC
# because the A-Z/a-z are not consecutive.
-myuname=`echo $myuname | $sed -e 's/^[^=]*=//' -e 's/\///g' | \
+myuname=`echo $myuname | $sed -e 's/^[^=]*=//' -e "s/['/]//g" | \
./tr '[A-Z]' '[a-z]' | tr $trnl ' '`
newmyuname="$myuname"
dflt=n
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.
A: Because it messes up the order in which people normally read text.
>Q: Why is top-posting such a bad thing?
>>A: Top-posting.
>>>Q: What is the most annoying thing on usenet?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Tue, 18 Sep 2018 12:25:53 +0000
State-Changed-Why:
Applied via PR pkg/47550.
Thank you Rhialto for the PRs and thanks to Christos for
committing it!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.