NetBSD Problem Report #9935

Received: (qmail 302 invoked from network); 19 Apr 2000 21:32:11 -0000
Message-Id: <20000419213209.52018E4@proven.weird.com>
Date: Wed, 19 Apr 2000 17:32:09 -0400 (EDT)
From: woods@weird.com
Sender: woods@proven.weird.com
Reply-To: woods@planix.com
To: gnats-bugs@gnats.netbsd.org
Subject: lang/nawk update for release "updated June 20, 1999"
X-Send-Pr-Version: 3.95

>Number:         9935
>Category:       pkg
>Synopsis:       lang/nawk update for release "updated June 20, 1999"
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    agc
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 19 21:33:00 +0000 2000
>Closed-Date:    Thu Apr 20 08:29:45 +0000 2000
>Last-Modified:  Thu Apr 20 08:29:45 +0000 2000
>Originator:     Greg A. Woods
>Release:        2000/04/19
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:

System: NetBSD

>Description:

	Unfortunately the distribution file for nawk doesn't have any
	release identifier in its name and thus any update of the
	release will foil pkgsrc.

	Perhaps somone can convince Mr. Kernighan to include a release
	identifier of some sort in the filename(s) used for the
	distribution(s) of nawk.....

>How-To-Repeat:

	Try building nawk without a local copy of the distribution
	file and note that the newly fetched one doesn't have a
	matching MD5 signature; visit the home page and discover that
	there was an update last June....

>Fix:

	unpack the enclosed shar in pkgsrc/lang/nawk

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	files/md5
#	pkg/COMMENT
#	pkg/DESCR
#	pkg/PLIST
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# $NetBSD: Makefile,v 1.1.1.1 1998/10/15 13:19:21 agc Exp $
X#
X
XDISTNAME=       awk
X# last updated June 20, 1999
XPKGNAME=        nawk-19990620
XCATEGORIES=	lang
XMASTER_SITES=   http://cm.bell-labs.com/who/bwk/
X
XMAINTAINER=	packages@netbsd.org
XHOMEPAGE=	http://cm.bell-labs.com/who/bwk/
X
XNO_PATCH=	yes
XNO_CONFIGURE=	yes
X
XNO_WRKSUBDIR=	yes
XMAKEFILE=	makefile
XALL_TARGET=	a.out
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/nawk
X	${SED} -e 's|awk|nawk|g' ${WRKSRC}/awk.1 > ${PREFIX}/man/man1/nawk.1
X
X.include "../../mk/bsd.pkg.mk"
END-of-Makefile
echo x - files/md5
sed 's/^X//' >files/md5 << 'END-of-files/md5'
X$NetBSD$
X
XMD5 (awk.tar.gz) = d85853b63b117415d16daba456c0e6c5
END-of-files/md5
echo x - pkg/COMMENT
sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT'
XBrian Kernighan's pattern-directed scanning and processing language
END-of-pkg/COMMENT
echo x - pkg/DESCR
sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR'
XThe one, true implementation of the AWK pattern-directed scanning and
Xprocessing language, by one of the language's creators, Brian
XKernighan.  This is the version of awk described in "The AWK
XProgramming Language", by Al Aho, Brian Kernighan, and Peter
XWeinberger (Addison-Wesley, 1988, ISBN 0-201-07981-X).
XIt is also known as new awk, or nawk.
END-of-pkg/DESCR
echo x - pkg/PLIST
sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST'
X@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/15 13:19:21 agc Exp $
Xbin/nawk
Xman/man1/nawk.1
END-of-pkg/PLIST
exit

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: agc 
State-Changed-When: Thu Apr 20 01:27:36 PDT 2000 
State-Changed-Why:  
agc looked at the problem - our package had the right distfile checksum 
for 19990620 source, the version in the package Makefile was wrong. I 
also modified the pkg Makefile to put the distfile in its own uniquely 
named directory, so we get around the "lack of date or version on the 
distfile" problem. 

Thanks for the PR. 


Responsible-Changed-From-To: pkg-manager->agc 
Responsible-Changed-By: agc 
Responsible-Changed-When: Thu Apr 20 01:27:36 PDT 2000 
Responsible-Changed-Why:  
agc took responsibility for this one. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.